*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-main: #0f0d11;
  --bg-dark: #121f25;
  --border-color: #5b5b5b;
  --text-white: #ffffff;
  --text-muted: #b5b5b5;
  --star-color: #ffbd30;
  --desktop-padding: 160px;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-main);
  color: var(--text-white);
  font-family: "Urbanist", sans-serif;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

header {
  background-color: var(--bg-main);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px var(--desktop-padding);
}

.header-logo img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.nav-desktop {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-desktop a {
  font-family: "Urbanist", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  color: var(--text-white);
  text-decoration: none;
  transition: opacity 0.2s;
}

.nav-desktop a:hover {
  opacity: 0.7;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: all 0.3s;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 12px;
  right: 12px;
  background-color: #0f0d11;
  border-radius: 20px;
  padding: 20px 0 28px;
  list-style: none;
  text-align: center;
  border: 1px solid var(--border-color);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu li {
  padding: 14px 0;
}

.mobile-menu a {
  font-family: "Urbanist", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  color: var(--text-white);
  text-decoration: none;
}

#home {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px var(--desktop-padding) 100px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
}

#home::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 13, 17, 0.45);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* gap: 20px; */
  max-width: 900px;
}

.hero-title {
  font-family: "Gajraj One", sans-serif;
  font-weight: 400;
  font-size: 72px;
  line-height: 120%;
  color: var(--text-white);
}

.hero-subtitle {
  font-family: "Urbanist", sans-serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 130%;
  color: var(--text-white);
  margin-bottom: 250px;
}

.hero-text {
  font-family: "Urbanist", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  color: var(--text-white);
  text-align: center;
  max-width: 560px;
  padding-top: 50px;
}

.play-btn {
  display: inline-block;
  margin-top: 8px;
}

.play-btn img {
  height: 54px;
  width: auto;
}

.section {
  width: 100%;
  background-color: var(--bg-main);
}

.section-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px var(--desktop-padding);
}

.section-title {
  font-family: "Gajraj One", sans-serif;
  font-weight: 400;
  font-size: 48px;
  line-height: 120%;
  color: var(--text-white);
  text-align: center;
  margin-bottom: 48px;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.feature-card {
  border: 2px solid var(--border-color);
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 28px;
}

.feature-card-img {
  width: 100%;
  object-fit: cover;
  border-top: 1px solid #5b5b5b;
  padding-top: 10px;
}

.feature-card-body {
  padding: 24px 28px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.feature-card-title {
  font-family: "Urbanist", sans-serif;
  font-weight: 600;
  font-size: 28px;
  line-height: 130%;
  color: var(--text-white);
  padding-bottom: 10px;
}

.feature-card-text {
  font-family: "Urbanist", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  color: var(--text-muted);
  text-align: center;
  padding-bottom: 15px;
}
#how-it-works {
  background-color: var(--bg-main);
}

.how-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.how-text-box {
  background-color: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: 32px;
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.how-step-title {
  font-family: "Urbanist", sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 150%;
  color: var(--text-white);
  margin-bottom: 4px;
}

.how-step-text {
  font-family: "Urbanist", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  color: var(--text-muted);
}

.how-img-box {
  border-radius: 32px;
  overflow: hidden;
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.how-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 32px;
}

#testimonials {
  background-color: var(--bg-main);
}

/* Desktop: 3-column grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background-color: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: 32px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.testimonial-stars {
  font-family: "Urbanist", sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 150%;
  color: var(--star-color);
}

.testimonial-text {
  font-family: "Urbanist", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  color: var(--text-muted);
  flex: 1;
}

.testimonial-author {
  font-family: "Urbanist", sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 150%;
  color: var(--text-white);
  text-align: right;
}

.testimonials-slider {
  display: none;
  overflow: hidden;
  position: relative;
}

.testimonials-track {
  display: flex;
  transition: transform 0.4s ease;
}

.testimonials-track .testimonial-card {
  min-width: 100%;
  flex-shrink: 0;
}

#faq {
  background-color: var(--bg-dark);
}

#faq .section-inner {
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 736px;
  width: 100%;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--bg-main);
  border-radius: 20px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  cursor: pointer;
  gap: 16px;
}

.faq-question-text {
  font-family: "Urbanist", sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 150%;
  color: var(--text-white);
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.faq-icon svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--text-white);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-icon svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.35s ease,
    padding 0.35s ease;
  padding: 0 28px;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 28px 22px;
}

.faq-answer-text {
  font-family: "Urbanist", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  color: var(--text-muted);
}

footer {
  background-color: var(--bg-main);
  padding: 40px var(--desktop-padding);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.footer-links a {
  font-family: "Urbanist", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text-white);
}

.footer-copy {
  font-family: "Urbanist", sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 150%;
  color: var(--text-muted);
  text-align: center;
}

@media (max-width: 900px) {
  :root {
    --desktop-padding: 16px;
  }

  .header-inner {
    padding: 12px 16px;
  }

  .nav-desktop {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  #home {
    padding: 60px 20px 80px;
    min-height: 90vh;
  }

  .hero-title {
    font-size: 40px;
  }

  .hero-subtitle {
    font-size: 20px;
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-game-img {
    width: 220px;
  }

  .section-title {
    font-size: 36px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card-title {
    font-size: 22px;
  }

  .how-inner {
    grid-template-columns: 1fr;
  }

  .how-img-box {
    min-height: 220px;
  }

  .testimonials-grid {
    display: none;
  }

  .testimonials-slider {
    display: block;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding: 0 20px;
  }

  .testimonials-slider::-webkit-scrollbar {
    display: none;
  }

  .testimonials-track {
    display: flex;
    gap: 16px;
  }

  .testimonials-track .testimonial-card {
    min-width: 82%;
    max-width: 320px;
    flex-shrink: 0;
    scroll-snap-align: start;
    box-sizing: border-box;
  }

  .testimonial-author {
    margin-top: auto;
  }

  #faq .section-inner {
    padding: 60px 16px;
  }

  footer {
    padding: 32px 16px;
  }
}
