/* ================================================
   HOME PAGE — Specific Styles
   ================================================ */

/* ---- KEYFRAMES ---- */
@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(-18px); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- SCROLL-REVEAL ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger children inside a reveal container */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal-stagger.visible > *:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0s; }
.reveal-stagger.visible > *:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
.reveal-stagger.visible > *:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.reveal-stagger.visible > *:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.reveal-stagger.visible > *:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }
.reveal-stagger.visible > *:nth-child(n+6) { opacity: 1; transform: translateY(0); transition-delay: 0.5s; }

/* ---- HERO ---- */
.hero-section {
  background: var(--black);
  padding: 60px 0;
  overflow: hidden;
}

.hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  position: relative;
  min-height: 970px;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  line-height: 0.9;
  white-space: nowrap;
  position: relative;
  z-index: 1;
}

.hero-welcome {
  font-size: 154px;
  color: var(--white);
}

.hero-brand {
  font-size: 130px;
  background: linear-gradient(180deg, rgba(0, 220, 255, 0.75) 0%, rgba(0, 220, 255, 0) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-cta {
  display: flex;
  gap: 643px;
  width: 100%;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.hero-btn {
  flex-shrink: 0;
}

.hero-desc {
  flex: 1 0 0;
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: normal;
  color: var(--white);
}

.hero-char {
  position: absolute;
  width: 646px;
  height: 927px;
  left: calc(50% - 15px);
  top: 41px;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
}

.hero-char img {
  position: absolute;
  width: 100%;
  height: 92.15%;
  top: 1.72%;
  left: 0;
  object-fit: cover;
}

/* ---- ABOUT ---- */
.about-section {
  background: var(--near-black);
  padding: 60px 0;
}

.about-section > .container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: flex-end;
}

.about-row {
  display: flex;
  gap: 60px;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
}

.about-image {
  width: 340px;
  height: 340px;
  border-radius: 30px;
  overflow: hidden;
  flex-shrink: 0;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 30px;
}

.about-title {
  flex: 1 0 0;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 60px;
  line-height: 60px;
  letter-spacing: -1.2px;
  color: var(--white);
  font-style: normal;
}

.about-card {
  width: 100%;
  background: var(--teal);
  backdrop-filter: blur(6.25px);
  border-radius: 30px;
  padding: 20px;
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: normal;
  color: var(--white);
}

.about-mission-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 24px;
}

/* ---- FEATURES ---- */
.features-section {
  background: var(--black);
  padding: 60px 0;
}

.features-section > .container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.features-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 60px;
  line-height: 60px;
  letter-spacing: -1.2px;
  color: var(--white);
  text-align: center;
  width: 100%;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
}

.feature-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border-radius: 30px;
  box-shadow: 0px 3.333px 16.667px 0px rgba(255, 255, 255, 0.12);
  min-height: 198px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0px 10px 30px rgba(0, 220, 255, 0.2);
}

.feature-card--teal {
  background: var(--teal);
  color: var(--white);
}

.feature-card--cyan {
  background: var(--cyan);
  color: var(--black);
}

.feature-card__header {
  display: flex;
  gap: 20px;
  align-items: center;
}

.feature-card__header img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  flex-shrink: 0;
}

.feature-card__header span {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: -0.48px;
}

.feature-card p {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.32px;
}

/* ---- ADVERTISE ---- */
.advertise-section {
  background: linear-gradient(180deg, #005967 0%, #000000 100%);
  padding: 60px 0;
}

.advertise-section > .container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.advertise-card {
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
  border-radius: 30px;
  box-shadow: 0px 0.833px 50px 0px rgba(255, 255, 255, 0.25);
  padding: 40px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.advertise-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 50px;
  line-height: normal;
  letter-spacing: -1px;
  color: var(--white);
  text-align: center;
}

.advertise-desc {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: normal;
  letter-spacing: -0.32px;
  color: var(--white);
  text-align: center;
}

/* ---- FAQ ---- */
.faq-section {
  background: var(--black);
  padding: 60px 0;
}

.faq-section > .container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
}

.faq-title {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 60px;
  line-height: 60px;
  letter-spacing: -1.2px;
  color: var(--white);
  text-align: center;
  width: 100%;
  font-style: normal;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.faq-item {
  padding: 20px;
  border-radius: 30px;
  box-shadow: 0px 3.333px 16.667px 0px rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.faq-item:hover {
  transform: translateY(-4px);
  box-shadow: 0px 8px 24px rgba(0, 220, 255, 0.15);
}

.faq-item--teal {
  background: var(--teal);
  color: var(--white);
}

.faq-item--cyan {
  background: var(--cyan);
  color: var(--black);
}

.faq-question {
  font-family: 'Manrope', sans-serif;
  font-weight: 500;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: -0.48px;
}

.faq-answer {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: -0.32px;
}

/* ---- BRAND / GROW ---- */
.brand-section {
  background: var(--near-black);
  padding: 60px 0;
}

.brand-row {
  display: flex;
  gap: 60px;
  align-items: center;
  justify-content: flex-end;
  width: 100%;
}

.brand-text {
  flex: 1 0 0;
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: flex-start;
}

.brand-title {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 60px;
  line-height: 60px;
  letter-spacing: -1.2px;
  color: var(--white);
  font-style: normal;
  width: 100%;
}

.brand-card {
  background: var(--teal);
  backdrop-filter: blur(6.25px);
  border-radius: 30px;
  padding: 20px;
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: normal;
  color: var(--white);
  width: 100%;
}

.brand-image {
  width: 340px;
  height: 340px;
  border-radius: 30px;
  overflow: hidden;
  flex-shrink: 0;
  transform: scaleX(-1);
}

.brand-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 30px;
}

/* ================================================
   HOME — RESPONSIVE MOBILE (<= 768px)
   ================================================ */
@media (max-width: 768px) {

  /* ---- HERO ---- */
  .hero-section {
    padding: 40px 0;
  }

  .hero-inner {
    width: 100%;
    max-width: none;
    gap: 340px;
    min-height: auto;
    padding: 0 20px;
  }

  .hero-title {
    white-space: normal;
  }

  .hero-welcome {
    font-size: 54px;
  }

  .hero-brand {
    font-size: 44px;
  }

  .hero-cta {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .hero-btn {
    align-self: center;
  }

  .hero-char {
    width: 360px;
    height: 360px;
    left: 50%;
    top: 73px;
    transform: translateX(-50%);
    overflow: hidden;
  }

  .hero-char img {
    position: absolute;
    width: 100%;
    height: 131.97%;
    top: 2.46%;
    left: 0;
    object-fit: cover;
  }

  /* ---- ABOUT ---- */
  .about-section {
    padding: 40px 0;
  }

  .about-section > .container {
    gap: 20px;
    align-items: stretch;
  }

  .about-row {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }

  .about-title {
    font-size: 28px;
    line-height: 1.1;
    letter-spacing: -0.56px;
    width: 100%;
    text-align: left;
  }

  /* ---- FEATURES ---- */
  .features-section {
    padding: 40px 0;
  }

  .features-section > .container {
    gap: 20px;
  }

  .features-title {
    font-size: 28px;
    line-height: 1.1;
    letter-spacing: -0.56px;
    width: 100%;
    text-align: center;
  }

  /* Mobile: switch to flex column with Figma order:
     User-Friendly(3rd) → Free Entertainment(4th) → Instant Access(1st) → Wide Game(2nd) */
  .features-grid {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 20px;
  }

  .feature-card {
    min-height: auto;
    width: 100%;
  }

  .feature-card:nth-child(1) { order: 3; } /* Instant Access      → 3rd */
  .feature-card:nth-child(2) { order: 4; } /* Wide Game Selection  → 4th */
  .feature-card:nth-child(3) { order: 1; } /* User-Friendly        → 1st */
  .feature-card:nth-child(4) { order: 2; } /* Free Entertainment   → 2nd */

  /* ---- ADVERTISE ---- */
  .advertise-section {
    padding: 40px 0;
  }

  .advertise-card {
    padding: 20px;
  }

  .advertise-title {
    font-size: 28px;
    line-height: 1.1;
    letter-spacing: -0.56px;
  }

  /* ---- FAQ ---- */
  .faq-section {
    padding: 40px 0;
  }

  .faq-section > .container {
    gap: 20px;
  }

  .faq-title {
    font-size: 28px;
    line-height: 1.1;
    letter-spacing: -0.56px;
    width: 100%;
    text-align: center;
  }

  /* ---- BRAND ---- */
  .brand-section {
    padding: 40px 0;
  }

  .brand-row {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .brand-image {
    order: -1;
  }

  .brand-text {
    gap: 20px;
    width: 100%;
    align-items: stretch;
  }

  .brand-title {
    font-size: 28px;
    line-height: 1.1;
    letter-spacing: -0.56px;
    width: 100%;
  }
}
