:root {
  --paper: #F6F4EC;
  --paper-deep: #E8F0EB;
  --card: #FCFBF7;
  --ink: #16302B;
  --ink-muted: #2B453F;
  --ink-soft: #3F5952;
  --jade: #1E826A;
  --jade-dark: #145C4B;
  --teal: #1D747A;
  --gold: #C99B3B;
  --gold-light: #F7E9C4;
  --cinnabar: #C84232;
  --cinnabar-dark: #9A2A1E;
  --border-wood: #B5C8BE;
  --shadow: 0 16px 40px rgba(22, 48, 43, 0.10);
  --font-serif: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: radial-gradient(circle at top center, #FFFEFA 0%, var(--paper) 58%, var(--paper-deep) 100%);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.65;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  color: var(--ink);
  letter-spacing: -0.01em;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 22px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(252, 251, 247, 0.90);
  backdrop-filter: blur(12px);
  border-bottom: 1.5px solid rgba(201, 155, 59, 0.32);
}

.nav-inner {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 1.25rem;
}

.brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 1.5px solid var(--gold);
  box-shadow: 0 4px 10px rgba(22, 48, 43, 0.14);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-muted);
  font-weight: 700;
  font-size: 0.98rem;
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--jade);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--jade);
  border: 1.5px solid var(--gold);
  color: #FFFFFF;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(22, 48, 43, 0.16);
  transition: background 0.15s ease, transform 0.15s ease;
}

.nav-cta:hover {
  background: var(--jade-dark);
  transform: translateY(-1px);
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  padding: 58px 0 78px;
}

.hero-mountains {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 220px;
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.hero-badge {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  background: #FDECE8;
  border: 1.5px solid rgba(200, 66, 50, 0.28);
  color: var(--cinnabar-dark);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 18px;
}

.hero-copy h1 {
  margin: 0 0 18px;
  font-size: clamp(2.15rem, 4.2vw, 3.15rem);
  line-height: 1.16;
  font-weight: 900;
}

.hero-copy h1 .accent-gold {
  color: #A97212;
}

.hero-desc {
  margin: 0 0 28px;
  font-size: 1.12rem;
  font-weight: 500;
  color: var(--ink-muted);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.gp-btn {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 13px 26px;
  border-radius: 16px;
  background: var(--ink);
  border: 1.8px solid var(--gold);
  color: #FFFFFF;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(22, 48, 43, 0.24);
  transition: transform 0.15s ease, background 0.15s ease;
}

.gp-btn:hover {
  background: var(--jade-dark);
  transform: translateY(-2px);
}

.gp-icon {
  width: 28px;
  height: 28px;
  color: #5CE1B5;
  flex-shrink: 0;
}

.gp-btn small {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-light);
  line-height: 1.1;
}

.gp-btn strong {
  display: block;
  font-size: 1.16rem;
  font-weight: 800;
  line-height: 1.2;
}

.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 24px;
  border-radius: 16px;
  background: var(--card);
  border: 1.8px solid var(--gold);
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(22, 48, 43, 0.08);
  transition: transform 0.15s ease, background 0.15s ease;
}

.secondary-btn:hover {
  background: #FFF9E9;
  transform: translateY(-2px);
}

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

.pill {
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(252, 251, 247, 0.92);
  border: 1.5px solid rgba(201, 155, 59, 0.45);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 300px;
  background: linear-gradient(145deg, #1E473D 0%, #112A24 100%);
  padding: 12px;
  border-radius: 40px;
  border: 2.5px solid var(--gold);
  box-shadow: 0 26px 60px rgba(18, 42, 36, 0.28);
  position: relative;
}

.phone-notch {
  width: 82px;
  height: 15px;
  background: #14322B;
  border-radius: 0 0 12px 12px;
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.phone-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 28px;
}

/* Shared Section Styling */
.section {
  padding: 68px 0;
}

.section-tinted {
  background: rgba(252, 251, 247, 0.72);
  border-top: 1.5px solid rgba(201, 155, 59, 0.24);
  border-bottom: 1.5px solid rgba(201, 155, 59, 0.24);
}

.section-head {
  text-align: center;
  margin-bottom: 40px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cinnabar);
  margin-bottom: 6px;
}

.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 900;
}

.section-head p {
  margin: 0 auto;
  max-width: 640px;
  color: var(--ink-muted);
  font-size: 1.04rem;
  font-weight: 500;
}

/* How to Play Grid */
.rules-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.rule-card {
  background: var(--card);
  border: 1.5px solid var(--border-wood);
  border-radius: 22px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
}

.rule-card.featured {
  background: linear-gradient(155deg, #FCF8EC 0%, #FFFFFF 100%);
  border: 1.8px solid var(--gold);
}

.rule-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cinnabar);
  border: 1.5px solid var(--gold);
  color: #FFFFFF;
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 1.15rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.rule-card h3 {
  margin: 0 0 10px;
  font-size: 1.24rem;
}

.rule-card p {
  margin: 0;
  font-size: 0.98rem;
  color: var(--ink-muted);
}

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

.feature-card {
  background: var(--card);
  border: 1.5px solid rgba(201, 155, 59, 0.42);
  border-radius: 20px;
  padding: 26px 22px;
  box-shadow: var(--shadow);
}

.f-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #E8F4EE;
  border: 1.4px solid rgba(30, 130, 106, 0.32);
  color: var(--jade);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.f-icon-wrap svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.18rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.97rem;
  color: var(--ink-muted);
}

/* Screenshots Gallery */
.screens-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.screen-item {
  margin: 0;
  text-align: center;
}

.screen-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.screen-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 24px;
  border: 3px solid var(--gold);
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.screen-item img:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px rgba(22, 48, 43, 0.18);
}

.screen-item figcaption {
  margin-top: 12px;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--ink);
}

/* FAQ Grid */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.faq-item {
  background: var(--card);
  border: 1.5px solid var(--border-wood);
  border-radius: 20px;
  padding: 24px 22px;
  box-shadow: var(--shadow);
}

.faq-item h3 {
  margin: 0 0 10px;
  font-size: 1.14rem;
}

.faq-item p {
  margin: 0;
  font-size: 0.97rem;
  color: var(--ink-muted);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(16, 30, 26, 0.84);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(440px, 92vw);
  max-height: 82vh;
  border-radius: 26px;
  border: 3px solid var(--gold);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
}

.lightbox-caption {
  margin-top: 14px;
  color: var(--gold-light);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--card);
  border: 1.5px solid var(--gold);
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 800;
  cursor: pointer;
}

/* Footer */
.site-footer {
  padding: 32px 0;
  border-top: 1.5px solid rgba(201, 155, 59, 0.34);
  background: var(--card);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.footer-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--gold);
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--jade-dark);
  font-weight: 800;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--cinnabar);
  text-decoration: underline;
}

/* Privacy Policy Layout */
.policy-wrap {
  max-width: 840px;
  margin: 38px auto 68px;
  background: var(--card);
  border: 2px solid var(--gold);
  border-radius: 26px;
  padding: 40px 38px;
  box-shadow: var(--shadow);
}

.policy-head {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1.5px solid rgba(201, 155, 59, 0.35);
  margin-bottom: 26px;
}

.policy-head img {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  border: 1.5px solid var(--gold);
}

.policy-head h1 {
  margin: 0 0 4px;
  font-size: 1.9rem;
}

.policy-meta {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--ink-soft);
}

.entity-box {
  background: #F4EFE2;
  border: 1.5px solid rgba(201, 155, 59, 0.55);
  border-radius: 16px;
  padding: 18px 22px;
  margin-bottom: 28px;
  font-size: 0.98rem;
  color: var(--ink);
}

.entity-box p {
  margin: 5px 0;
}

.policy-wrap h2 {
  margin: 28px 0 10px;
  font-size: 1.28rem;
  color: var(--jade-dark);
}

.policy-wrap p,
.policy-wrap li {
  font-size: 1rem;
  color: var(--ink-muted);
  line-height: 1.75;
}

.policy-wrap ul {
  padding-left: 22px;
}

.policy-wrap code {
  background: #E8F0EB;
  color: var(--ink);
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 700;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--jade);
  border: 1.5px solid var(--gold);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  margin-top: 20px;
}

.back-btn:hover {
  background: var(--jade-dark);
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions,
  .trust-pills {
    justify-content: center;
  }
  .rules-grid,
  .features-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  .screens-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .nav-links {
    display: none;
  }
  .screens-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .policy-wrap {
    margin: 22px 14px 48px;
    padding: 26px 20px;
  }
}
