*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

.page {
  min-height: 100vh;
  min-height: 100dvh;
  background-color: #00071b;
  font-family: "Noto Sans Sinhala", sans-serif;
}

.landing {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.landing__visual {
  width: 100%;
  position: relative;
  padding-bottom: 50px;
}

.landing__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
  padding-left: 64px;
  pointer-events: none;
  padding-top: 13px;
  gap: 88px;
}

.landing__logo {
  max-width: 80%;
  height: auto;
}

.landing__slogan {
  color: #fff;
  font-weight: 700;
  font-size: 32px;
  line-height: 48px;
}

.landing__slogan-down {
  text-transform: uppercase;
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 28px;
  color: #fff;
}

.landing__slogan-down__last {
  text-transform: none;
}

.landing__slogan-down__dot {
  color: #ff0000;
  font-size: 24px;
  animation: blink 1s step-end infinite;
}

.landing__picture {
  display: block;
  width: 100%;
}

.landing__hero {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

.landing__panel {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0 16px;
}

/* Figma button: 426×100 desktop, 380×100 mobile */
.landing__btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 380px;
  height: 100px;
  border-radius: 200px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 0 2.6px 0 #ffffff, 0 4px 200px 0 rgba(108, 199, 245, 0.6),
    inset 20px 20px 60px 0 rgba(255, 255, 255, 0.25);
  animation: landing-btn-shadow 3.6s ease-in-out infinite;
}

.landing__btn__layers {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  overflow: hidden;
  pointer-events: none;
}

.landing__btn__bg {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, #1e228a 0%, #051219 100%);
}

.landing__btn__glow-picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.landing__btn__glow {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.landing__btn__glow--bright {
  opacity: 0;
  animation: landing-btn-glow 3.6s ease-in-out infinite;
}

.landing__btn__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  min-height: 60px;
}

.landing__btn__arrow {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
}

.landing__btn__text {
  color: #ffffff;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  text-align: center;
  -webkit-text-stroke: 1px #000000;
  paint-order: stroke fill;
}

.landing__mobile-text {
  display: none;
}

@keyframes landing-btn-glow {
  0%,
  100% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }
}

@keyframes landing-btn-shadow {
  0%,
  100% {
    box-shadow: 0 0 2.6px 0 #ffffff, 0 4px 160px 0 rgba(108, 199, 245, 0.45),
      inset 20px 20px 60px 0 rgba(255, 255, 255, 0.2);
  }

  50% {
    box-shadow: 0 0 4px 0 #ffffff, 0 4px 220px 0 rgba(108, 199, 245, 0.9),
      inset 20px 20px 60px 0 rgba(255, 255, 255, 0.38);
  }
}

@keyframes landing-btn-shadow-mobile {
  0%,
  100% {
    filter: brightness(1);
    box-shadow: 0 0 2.6px 0 #ffffff, 0 4px 72px 0 rgba(108, 199, 245, 0.45),
      inset 20px 20px 60px 0 rgba(255, 255, 255, 0.2);
  }

  50% {
    filter: brightness(1.22);
    box-shadow: 0 0 4px 0 #ffffff, 0 4px 140px 0 rgba(108, 199, 245, 0.9),
      inset 20px 20px 60px 0 rgba(255, 255, 255, 0.38);
  }
}

@media (min-width: 768px) {
  .landing__panel {
    top: auto;
    padding: 0 0 70px 0;
  }

  .landing__btn {
    max-width: 426px;
    filter: none;
    animation: landing-btn-shadow 3.6s ease-in-out infinite;
  }

  .landing__btn__arrow {
    width: 76px;
    height: 76px;
  }

  .landing__btn__text {
    font-size: 38px;
  }
}

@media (max-width: 767px) {
  .landing__overlay {
    display: none;
  }

  .landing__mobile-text {
    display: block;
    text-align: center;
    position: absolute;
    bottom: calc(5% + 100px + 20px);
    left: 0;
    right: 0;
    padding: 0 16px;
    z-index: 2;
    pointer-events: none;
  }

  .landing__mobile-text .landing__slogan-down {
    font-size: 16px;
    line-height: 24px;
  }

  .landing__mobile-text .landing__slogan-down__dot {
    font-size: 20px;
  }

  .page {
    background-color: #00071b;
  }

  .landing {
    max-width: none;
  }

  .landing__panel {
    top: auto;
    bottom: 5%;
    padding: 0 16px;
  }

  .landing__btn {
    animation: landing-btn-shadow-mobile 3.6s ease-in-out infinite;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
  }

  .landing__btn__glow--bright {
    animation: landing-btn-glow 3.6s ease-in-out infinite;
    will-change: opacity;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing__btn,
  .landing__btn__glow--bright {
    animation: none;
  }

  .landing__btn__glow--bright {
    opacity: 0;
  }
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
