/* HexaPlayHub — White Zen Landing */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@600;700;800&family=Inter:wght@400;500;600&display=swap');

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

:root {
  --white: #ffffff;
  --bg-soft: #f8fafc;
  --bg-muted: #f1f5f9;
  --text: #1e293b;
  --text-muted: #64748b;
  --teal: #0d9488;
  --teal-light: #2dd4bf;
  --violet: #7c3aed;
  --pink: #ec4899;
  --coral: #fb7185;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 12px 48px rgba(15, 23, 42, 0.1);
  --radius: 16px;
  --radius-sm: 10px;
  --font-head: 'Syne', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

/* Animated background hexagons */
.bg-hex-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hex-float {
  position: absolute;
  width: 80px;
  height: 92px;
  opacity: 0.04;
  animation: hexDrift linear infinite;
}

.hex-float svg { width: 100%; height: 100%; }

.hex-float:nth-child(1) { top: 8%; left: 5%; animation-duration: 28s; animation-delay: 0s; }
.hex-float:nth-child(2) { top: 25%; right: 8%; animation-duration: 32s; animation-delay: -5s; width: 60px; height: 69px; }
.hex-float:nth-child(3) { top: 55%; left: 12%; animation-duration: 24s; animation-delay: -10s; width: 100px; height: 115px; }
.hex-float:nth-child(4) { top: 70%; right: 15%; animation-duration: 30s; animation-delay: -3s; }
.hex-float:nth-child(5) { top: 40%; left: 45%; animation-duration: 26s; animation-delay: -8s; width: 50px; height: 58px; opacity: 0.03; }
.hex-float:nth-child(6) { top: 85%; left: 60%; animation-duration: 34s; animation-delay: -12s; width: 70px; height: 81px; }

@keyframes hexDrift {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(15deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

/* Gradient mesh overlay */
.bg-mesh {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 40% at 10% 20%, rgba(45, 212, 191, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 50% 35% at 90% 60%, rgba(129, 140, 248, 0.05) 0%, transparent 70%),
    radial-gradient(ellipse 40% 30% at 50% 90%, rgba(244, 114, 182, 0.04) 0%, transparent 70%);
  animation: meshPulse 12s ease-in-out infinite alternate;
}

@keyframes meshPulse {
  0% { opacity: 0.7; }
  100% { opacity: 1; }
}

.page-wrap { position: relative; z-index: 1; }

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.site-header.scrolled { box-shadow: var(--shadow); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.logo-link img { width: 36px; height: 36px; }

.logo-text {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.main-nav { display: flex; gap: 6px; flex-wrap: wrap; }

.main-nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  transition: color var(--transition), background var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--teal);
  background: rgba(13, 148, 136, 0.08);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  cursor: pointer;
  font-size: 1.2rem;
}

/* Play badge */
.play-badge img {
  height: 48px;
  width: auto;
  transition: transform var(--transition), filter var(--transition);
}

.play-badge img:hover {
  transform: scale(1.05);
  filter: brightness(1.05);
}

.play-badge-lg img { height: 64px; }

/* Hero */
.hero {
  padding: 72px 0 56px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.1), rgba(124, 58, 237, 0.08));
  border: 1px solid rgba(13, 148, 136, 0.2);
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 24px;
  animation: fadeUp 0.8s ease both;
}

.hero-badge span.dot {
  width: 8px;
  height: 8px;
  background: var(--teal-light);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  animation: fadeUp 0.8s ease 0.1s both;
}

.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--teal), var(--violet), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 32px;
  animation: fadeUp 0.8s ease 0.2s both;
}

.hero-cta {
  animation: fadeUp 0.8s ease 0.3s both;
}

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

/* Game description block */
.game-intro {
  padding: 48px 0;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.game-intro-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.game-intro p {
  color: var(--text-muted);
  font-size: 0.975rem;
}

.game-intro-label {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--violet);
  margin-bottom: 12px;
}

/* Free strip */
.free-strip {
  padding: 28px 0;
  background: var(--white);
}

.free-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  padding: 28px 36px;
  border: 2px dashed rgba(13, 148, 136, 0.25);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.04), rgba(129, 140, 248, 0.03));
}

.free-strip h2 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
}

.free-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.free-pill {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
  box-shadow: var(--shadow);
}

/* Section common */
.section {
  padding: 72px 0;
}

.section-label {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal);
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-desc {
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 40px;
}

/* Alternating blocks */
.alt-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 64px;
}

.alt-block:last-child { margin-bottom: 0; }

.alt-block.reverse .alt-image { order: 2; }
.alt-block.reverse .alt-text { order: 1; }

.alt-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.alt-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.alt-image:hover img { transform: scale(1.03); }

.alt-text h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.alt-text p {
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* Features hex grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal-light), var(--violet), var(--pink));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-card:hover::before { transform: scaleX(1); }

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-muted);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.feature-card h4 {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Steps */
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step-item {
  text-align: center;
  padding: 32px 20px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  position: relative;
  transition: transform var(--transition);
}

.step-item:hover { transform: translateY(-6px); }

.step-num {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--teal), var(--violet));
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  margin: 0 auto 16px;
}

.step-item h4 {
  font-family: var(--font-head);
  font-weight: 700;
  margin-bottom: 8px;
}

.step-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Screenshots */
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.screenshot-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 9/16;
  transition: transform var(--transition), box-shadow var(--transition);
}

.screenshot-item:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.screenshot-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* India section */
.india-section {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.india-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.india-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  text-align: center;
}

.india-card h4 {
  font-family: var(--font-head);
  font-weight: 700;
  margin: 12px 0 8px;
}

.india-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.india-icon {
  font-size: 2rem;
}

/* FAQ */
.faq-list { max-width: 720px; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--white);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 20px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background var(--transition);
}

.faq-question:hover { background: var(--bg-soft); }

.faq-question .arrow {
  transition: transform var(--transition);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.faq-item.open .faq-question .arrow { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 0 20px 18px;
}

/* CTA band */
.cta-band {
  padding: 64px 0;
  text-align: center;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.06), rgba(124, 58, 237, 0.05));
  border-top: 1px solid var(--border);
}

.cta-band h2 {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-band p {
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* Inner pages */
.page-hero {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}

.page-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 10px;
}

.page-hero p {
  color: var(--text-muted);
  max-width: 600px;
}

.page-content {
  padding: 48px 0 72px;
}

.page-content h2 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 32px 0 12px;
}

.page-content h2:first-child { margin-top: 0; }

.page-content p,
.page-content li {
  color: var(--text-muted);
  margin-bottom: 12px;
  font-size: 0.925rem;
}

.page-content ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.content-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-bottom: 24px;
}

.sticky-cta {
  position: sticky;
  bottom: 20px;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  pointer-events: none;
}

.sticky-cta a { pointer-events: all; }

.sticky-cta img {
  height: 52px;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.15));
  transition: transform var(--transition);
}

.sticky-cta img:hover { transform: scale(1.06); }

/* Footer */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 48px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 36px;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 12px;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 14px;
  color: var(--text);
}

.footer-col a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  padding: 4px 0;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--teal); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 32px rgba(15, 23, 42, 0.1);
  padding: 20px 24px;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.visible { transform: translateY(0); }

.cookie-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-inner p {
  font-size: 0.875rem;
  color: var(--text-muted);
  flex: 1;
  min-width: 260px;
}

.cookie-inner a { color: var(--teal); }

.cookie-actions { display: flex; gap: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background var(--transition), transform var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}

.btn-primary:hover {
  background: #0f766e;
  transform: translateY(-1px);
}

.btn-outline {
  background: var(--white);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover { background: var(--bg-muted); }

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Responsive */
@media (max-width: 900px) {
  .game-intro-inner,
  .alt-block,
  .features-grid,
  .steps-row,
  .screenshots-grid,
  .india-cards,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .alt-block.reverse .alt-image,
  .alt-block.reverse .alt-text { order: unset; }

  .screenshots-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .screenshot-item { max-width: 220px; margin: 0 auto; }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 12px 16px;
    box-shadow: var(--shadow);
  }

  .main-nav.open { display: flex; }

  .nav-toggle { display: block; }

  .header-inner { position: relative; flex-wrap: wrap; }
}

@media (max-width: 600px) {
  .hero { padding: 48px 0 36px; }
  .section { padding: 48px 0; }
  .free-strip-inner { flex-direction: column; text-align: center; }
  .play-badge img { height: 42px; }
}
