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

/* ── TOKENS (light mode default) ── */
:root {
  --bg:        #f2ede3;
  --bg-card:   #e8e2d7;
  --bg-tile:   #ddd7cb;
  --green:     #006b56;
  --green-l:   #005443;
  --red:       #d93b2a;
  --cream:     #1a2e27;
  --muted:     #3d5c52;
  --border:    rgba(0,80,60,.18);
  --r:         4px;
  --nav-bg:    rgba(242,237,227,.95);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: 'Karla', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── GRID BACKGROUND ── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
  opacity: .5;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(1rem, 4vw, 3rem);
  height: 64px;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}
.nav-logo img { height: 36px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-family: 'Oswald', sans-serif;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--cream); }

.nav-flags { display: flex; align-items: center; gap: .5rem; }
.nav-flags img {
  width: 22px; height: 16px;
  object-fit: cover;
  border-radius: 2px;
  opacity: .6;
  cursor: pointer;
  transition: opacity .2s;
}
.nav-flags img:hover { opacity: 1; }

/* ── SECTIONS ── */
section { position: relative; z-index: 1; }

.section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 5rem clamp(1.5rem, 5vw, 5rem);
}

.section-label {
  font-family: 'Courier Prime', monospace;
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--green-l);
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  position: relative;
  z-index: 1;
  padding: 120px clamp(1.5rem, 5vw, 5rem) 3rem;
  max-width: 1280px;
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}

.page-hero .section-label { margin-bottom: .75rem; }

.page-hero h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--cream);
  line-height: 1.0;
}

/* ── PAGE CONTENT ── */
.page-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 4rem clamp(1.5rem, 5vw, 5rem) 5rem;
}

.page-content h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--cream);
  margin: 2.5rem 0 .75rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--border);
}

.page-content h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--green-l);
  margin: 1.5rem 0 .5rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.page-content p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.page-content ul, .page-content ol {
  padding-left: 1.5rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.page-content li { margin-bottom: .4rem; }

.page-content a {
  color: var(--green-l);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.page-content a:hover { color: var(--cream); }

/* ── HERO (homepage) ── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  padding: 96px clamp(1.5rem, 5vw, 5rem) 4rem;
  max-width: 1280px;
  margin: 0 auto;
}

.hero-content { max-width: 540px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(235,70,55,.12);
  border: 1px solid rgba(235,70,55,.3);
  border-radius: 99px;
  padding: .3rem .8rem;
  font-family: 'Courier Prime', monospace;
  font-size: .75rem;
  letter-spacing: .1em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fade-up .6s ease both;
}
.hero-badge::before { content: '▸'; font-size: .65rem; }

.hero-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.0;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--cream);
  animation: fade-up .6s .1s ease both;
}
.hero-title em { font-style: normal; color: var(--green-l); }
.hero-title .accent { color: var(--red); }

.hero-sub {
  margin-top: 1.25rem;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 420px;
  animation: fade-up .6s .2s ease both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2rem;
  animation: fade-up .6s .3s ease both;
}

/* ── TILES ── */
.tile-row {
  display: flex;
  gap: 3px;
  margin-bottom: 2.5rem;
  animation: fade-up .6s .05s ease both;
}
.tile {
  width: 32px; height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Courier Prime', monospace;
  font-size: .9rem;
  font-weight: 700;
  border: 1px solid var(--border);
  background: var(--bg-tile);
  color: var(--muted);
  border-radius: 2px;
  text-transform: uppercase;
}
.tile.lit {
  background: var(--green);
  border-color: var(--green);
  color: var(--cream);
  box-shadow: 0 0 12px rgba(0,120,100,.5);
}
.tile.red {
  background: var(--red);
  border-color: var(--red);
  color: var(--cream);
  box-shadow: 0 0 12px rgba(235,70,55,.4);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.4rem;
  border-radius: var(--r);
  font-family: 'Oswald', sans-serif;
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); }

.btn-store {
  background: var(--bg-tile);
  border: 1px solid var(--border);
  color: var(--cream);
}
.btn-store:hover { box-shadow: 0 4px 20px rgba(0,120,100,.25); }
.btn-store img { height: 20px; width: auto; filter: brightness(1.1); }

.btn-white {
  background: #fff;
  color: var(--green);
  padding: .75rem 1.75rem;
  font-size: .9rem;
}
.btn-white:hover { box-shadow: 0 6px 24px rgba(0,0,0,.2); }

.btn-outline {
  background: transparent;
  border: 2px solid rgba(255,255,255,.5);
  color: #fff;
  padding: .65rem 1.6rem;
  font-size: .9rem;
}
.btn-outline:hover { border-color: #fff; }

/* ── HERO VISUAL ── */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fade-in .8s .2s ease both;
  position: relative;
}
.hero-visual::before {
  content: '';
  position: absolute;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(0,120,100,.3) 0%, transparent 70%);
  border-radius: 50%;
  z-index: -1;
}
.hero-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  filter: drop-shadow(0 24px 48px rgba(0,0,0,.6));
  transform: perspective(1000px) rotateY(-4deg) rotateX(2deg);
  transition: transform .4s ease;
}
.hero-img:hover { transform: perspective(1000px) rotateY(0) rotateX(0); }

/* ── NEWS ── */
.news {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.news-card {
  background: var(--bg-tile);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.5rem;
  transition: border-color .2s, transform .2s;
}
.news-card:hover { border-color: var(--green); transform: translateY(-3px); }
.news-card-tag {
  font-family: 'Courier Prime', monospace;
  font-size: .65rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .5rem;
}
.news-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: .5rem;
}
.news-card p { font-size: .9rem; color: var(--muted); line-height: 1.6; }

/* ── HOW TO PLAY ── */
.how-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 2rem;
}
.how-steps { display: flex; flex-direction: column; gap: 1.5rem; }
.step { display: flex; gap: 1rem; align-items: flex-start; }
.step-num {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border: 1px solid var(--green);
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Courier Prime', monospace;
  font-size: .85rem;
  font-weight: 700;
  color: var(--green-l);
}
.step-text h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--cream);
  margin-bottom: .25rem;
}
.step-text p { font-size: .9rem; color: var(--muted); line-height: 1.6; }

.how-visual { display: flex; justify-content: center; }
.how-visual img {
  max-width: 90%;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}

/* ── FAQ ── */
.faq-list { margin-top: 2rem; display: flex; flex-direction: column; gap: .75rem; }

.faq-item {
  background: var(--bg-tile);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 1.1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  color: var(--cream);
  font-family: 'Karla', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  text-align: left;
  gap: 1rem;
  transition: background .15s;
}
.faq-q:hover { background: rgba(0,120,100,.08); }
.faq-icon {
  flex-shrink: 0;
  font-family: 'Courier Prime', monospace;
  font-size: 1.2rem;
  color: var(--green-l);
  transition: transform .2s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  display: none;
  padding: 0 1.5rem 1.25rem;
  color: var(--muted);
  line-height: 1.8;
  font-size: .95rem;
}
.faq-item.open .faq-a { display: block; }

/* ── CONTACT CARD ── */
.contact-card {
  background: var(--bg-tile);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 1.5rem 2rem;
  margin-top: 1rem;
}
.contact-card h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--cream);
  margin-bottom: .5rem;
}
.contact-card p { font-size: .95rem; color: var(--muted); margin-bottom: .5rem; }
.contact-card a {
  color: var(--green-l);
  text-decoration: none;
  font-weight: 500;
}
.contact-card a:hover { color: var(--cream); }

/* ── CTA BAND ── */
.cta-band {
  background: var(--green);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: 'CROSS BOSS';
  position: absolute;
  right: -2rem; top: 50%;
  transform: translateY(-50%);
  font-family: 'Oswald', sans-serif;
  font-size: 8rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: rgba(255,255,255,.06);
  white-space: nowrap;
  pointer-events: none;
}
.cta-band .section-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.cta-band h2 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.1;
}
.cta-band-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ── FOOTER ── */
footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  padding: 2.5rem clamp(1.5rem, 5vw, 5rem);
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-logo {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-links { display: flex; gap: 1.5rem; list-style: none; flex-wrap: wrap; }
.footer-links a {
  font-size: .8rem;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
  letter-spacing: .05em;
}
.footer-links a:hover { color: var(--cream); }
.footer-copy { font-size: .75rem; color: var(--muted); opacity: .6; }

/* ── ANIMATIONS ── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 88px; }
  .hero-visual { order: -1; }
  .hero-img { max-height: 45vh; }
  .tile-row { justify-content: center; }
  .hero-cta { justify-content: center; }
  .hero-sub { margin-inline: auto; }
  .how-grid { grid-template-columns: 1fr; }
  .how-visual { display: none; }
  nav .nav-links { display: none; }
}

/* ── DARK MODE ── */
@media (prefers-color-scheme: dark) {
  :root {
    --bg:        #0d1b16;
    --bg-card:   #132319;
    --bg-tile:   #1a2e27;
    --green:     #007864;
    --green-l:   #00a885;
    --red:       #eb4637;
    --cream:     #f0ebe0;
    --muted:     #a8c4bc;
    --border:    rgba(0,120,100,.25);
    --nav-bg:    rgba(13,27,22,.92);
  }

  body::before { opacity: .5; }

  .hero-visual::before {
    background: radial-gradient(circle, rgba(0,120,100,.3) 0%, transparent 70%);
  }

  .cta-band { background: #007864; }

  .btn-store {
    background: var(--bg-tile);
    border-color: var(--border);
    color: var(--cream);
  }
}
