@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --pink:         #f21b86;
  --pink-dark:    #c70f68;
  --pink-light:   #ff5aa8;
  --green:        #005a46;
  --green-dark:   #003f33;
  --cream:        #f7f2e8;
  --cream-light:  #fffaf2;
  --cream-dark:   #eadfcf;
  --text:         #17231f;
  --muted:        #5d6b66;
  --white:        #ffffff;
  --border:       #e5d8c8;
  --shadow-soft:  0 18px 45px rgba(23,35,31,0.10);
  --shadow-strong:0 28px 70px rgba(23,35,31,0.16);
  --radius:       14px;
  --radius-sm:    8px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', Arial, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

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

.hidden { display: none !important; }

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.22s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--pink);
  color: var(--white);
  border-color: var(--pink);
}
.btn-primary:hover {
  background: var(--pink-dark);
  border-color: var(--pink-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(242,27,134,0.35);
}
.btn-secondary {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}
.btn-secondary:hover {
  background: var(--green);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--pink);
  border-color: var(--pink);
}
.btn-ghost:hover {
  background: var(--pink);
  color: var(--white);
}

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 3000;
  background: rgba(0,63,51,0.98);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 18px rgba(23,35,31,0.07);
  backdrop-filter: blur(16px);
  transition: all 0.25s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(23,35,31,0.13);
}
.header-container {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  transition: min-height 0.25s ease;
}
.site-header.is-scrolled .header-container { min-height: 64px; }
.logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.logo img {
  height: 130px;
  width: auto;
  transition: height 0.25s ease;
}
.site-header.is-scrolled .logo img { height: 100px; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: center;
}
.main-nav a {
  padding: 8px 16px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
  transition: all 0.18s;
}
.main-nav a:hover,
.main-nav a.active {
  background: rgba(255,255,255,0.12);
  color: var(--white);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.header-btn {
  padding: 9px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  background: var(--pink);
  color: var(--white);
  transition: all 0.2s;
}
.header-btn:hover {
  background: var(--pink-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(242,27,134,0.3);
}
.login-link {
  font-weight: 500;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  padding: 9px 14px;
  border-radius: 50px;
  transition: background 0.18s;
}
.login-link:hover { background: rgba(255,255,255,0.1); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.9);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.85);
  padding: 60px 0 0;
  margin-top: 0;
}
.footer-main {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.7;
  margin-top: 16px;
  opacity: 0.8;
  max-width: 300px;
}
.footer-logo img {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.footer-column h3 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 16px;
}
.footer-column a {
  display: block;
  font-size: 0.92rem;
  padding: 4px 0;
  opacity: 0.75;
  transition: opacity 0.15s;
}
.footer-column a:hover { opacity: 1; color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
}
.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  opacity: 0.55;
}

/* ── EYEBROW & HEADINGS ── */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 10px;
}
.section-heading { margin-bottom: 48px; }
.section-heading h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
}

/* ── SECTIONS ── */
.section {
  padding: 96px 0;
  background: var(--cream-light);
}
.section-light { background: var(--cream); }
.section-dark {
  background: var(--green);
  color: var(--white);
}
.section-dark .section-heading h2 { color: var(--white); }
.section-dark .eyebrow { color: var(--pink-light); }

/* ── HERO ── */
.home-hero {
  padding: 100px 0 80px;
  background: linear-gradient(135deg, var(--cream-light) 0%, var(--cream) 100%);
  overflow: hidden;
  position: relative;
}
.home-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(242,27,134,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-content h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  color: var(--text);
}
.hero-text {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 36px;
  max-width: 480px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Hero visual */
.hero-card {
  background: var(--white);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow-strong);
  position: relative;
  overflow: hidden;
}
.mock-map {
  background: #e8f0ee;
  border-radius: 16px;
  height: 280px;
  position: relative;
  overflow: hidden;
}
.map-mountain {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(180deg, #b8d4c8 0%, #90b8a8 100%);
  clip-path: polygon(0 100%,15% 40%,30% 60%,45% 25%,60% 55%,75% 35%,90% 50%,100% 30%,100% 100%);
}
.map-forest {
  position: absolute;
  top: 20%;
  left: 10%;
  width: 80%;
  height: 30%;
  background: radial-gradient(ellipse, rgba(0,90,70,0.15) 0%, transparent 70%);
}
.map-point {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.map-point-user { background: var(--green); top: 50%; left: 35%; transform: translate(-50%,-50%); }
.map-point-quest { background: var(--pink); }
.map-point-quest.one { top: 30%; left: 55%; }
.map-point-quest.two { top: 60%; left: 70%; }
.map-point-partner { background: #f59e0b; top: 40%; left: 20%; }
.mock-popup {
  position: absolute;
  top: 22%;
  left: 48%;
  background: var(--white);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.78rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
  white-space: nowrap;
}
.mock-popup strong { display: block; font-weight: 700; color: var(--text); }
.mock-popup span { color: var(--muted); }

/* ── STEPS ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.step-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s, box-shadow 0.22s;
  position: relative;
}
.step-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}
.step-card > span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--pink);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: 18px;
}
.step-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.step-card p { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }

/* ── QUEST TAGS ── */
.quest-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.quest-tags span, .quest-tag {
  padding: 10px 20px;
  background: var(--cream-dark);
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  border: 2px solid transparent;
  transition: all 0.18s;
  cursor: default;
}
.quest-tags span:hover, .quest-tag:hover {
  border-color: var(--pink);
  color: var(--pink);
  background: var(--white);
}

/* ── MAP PREVIEW ── */
.section-map-preview .map-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.feature-list { display: flex; flex-direction: column; gap: 20px; }
.feature-list > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 24px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  border-left: 4px solid var(--pink);
}
.feature-list strong { font-weight: 700; font-size: 1rem; }
.feature-list span { font-size: 0.9rem; color: var(--muted); }

/* ── SPLIT SECTION ── */
.split-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.split-section h2 { font-size: clamp(1.5rem,3vw,2.1rem); font-weight: 800; margin-bottom: 12px; }
.split-section p { font-size: 1rem; color: var(--muted); max-width: 420px; }

/* ── PARTNER STRIP ── */
.partner-strip {
  background: var(--green);
  color: var(--white);
  padding: 40px 0;
}
.partner-strip-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.partner-strip strong { font-size: 1.05rem; font-weight: 700; display: block; margin-bottom: 6px; }
.partner-strip p { font-size: 0.9rem; opacity: 0.8; }
.partner-strip a {
  white-space: nowrap;
  padding: 12px 28px;
  background: var(--pink);
  color: var(--white);
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
  flex-shrink: 0;
}
.partner-strip a:hover {
  background: var(--pink-dark);
  transform: translateY(-2px);
}

/* ── STATS BAND ── */
.stats-band {
  background: var(--green);
  color: var(--white);
  padding: 64px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 32px;
  text-align: center;
}
.stat-item strong {
  display: block;
  font-size: clamp(2rem,4vw,3rem);
  font-weight: 800;
  color: var(--pink-light);
  line-height: 1;
}
.stat-item span {
  display: block;
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 6px;
  font-weight: 500;
}

/* ── QUEST CARDS (listing) ── */
.quests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px,1fr));
  gap: 24px;
}
.quest-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s, box-shadow 0.22s;
}
.quest-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}
.quest-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.quest-card-title { font-size: 1.05rem; font-weight: 700; color: var(--text); }
.quest-card-desc { font-size: 0.88rem; color: var(--muted); flex: 1; line-height: 1.5; }
.quest-card-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.meta-tag {
  padding: 4px 10px;
  background: var(--cream-dark);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}
.meta-tag.difficulty-green { background: #d1fae5; color: #065f46; }
.meta-tag.difficulty-orange { background: #fef3c7; color: #92400e; }
.meta-tag.difficulty-red { background: #fee2e2; color: #991b1b; }
.quest-card-footer {
  padding: 16px 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.quest-card-footer a {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--pink);
  transition: color 0.15s;
}
.quest-card-footer a:hover { color: var(--pink-dark); }

/* ── QUEST DETAIL ── */
.quest-detail {
  padding: 64px 0;
}
.quest-detail-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: start;
}
.quest-detail h1 {
  font-size: clamp(1.8rem,4vw,2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}
.quest-detail-desc {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 28px;
}
.quest-info-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}
.quest-info-item {
  background: var(--cream-dark);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}
.quest-info-item label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}
.quest-info-item strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}
.start-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-strong);
  position: sticky;
  top: 108px;
}
.start-card h2 { font-size: 1.3rem; font-weight: 700; margin-bottom: 20px; }

/* ── AUTH ── */
.auth-page { padding: 64px 0; }
.auth-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.auth-content h1 {
  font-size: clamp(1.8rem,3vw,2.4rem);
  font-weight: 800;
  margin-bottom: 12px;
}
.auth-content p { font-size: 1rem; color: var(--muted); line-height: 1.7; margin-bottom: 28px; }
.auth-benefits { display: flex; flex-direction: column; gap: 16px; }
.auth-benefits > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 16px 20px;
  background: var(--cream-dark);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--pink);
}
.auth-benefits strong { font-weight: 700; font-size: 0.95rem; }
.auth-benefits span { font-size: 0.85rem; color: var(--muted); }
.auth-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-strong);
}
.auth-card h2 { font-size: 1.4rem; font-weight: 700; margin-bottom: 28px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
}
.form-group input {
  padding: 13px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--cream-light);
  transition: border-color 0.18s, box-shadow 0.18s;
  outline: none;
}
.form-group input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0,90,70,0.12);
}
.auth-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 0.88rem;
}
.auth-options label { display: flex; align-items: center; gap: 6px; cursor: pointer; }
.auth-options a { color: var(--pink); font-weight: 600; }
.auth-submit { width: 100%; justify-content: center; margin-top: 4px; }
.auth-switch { text-align: center; margin-top: 20px; font-size: 0.88rem; color: var(--muted); }
.auth-switch a { color: var(--pink); font-weight: 600; }
.auth-consent {
  margin-bottom: 18px;
  font-size: 0.85rem;
}
.auth-consent label { display: flex; gap: 8px; align-items: flex-start; cursor: pointer; }
.auth-consent a { color: var(--pink); }

/* ── PLAY PAGES ── */
.play-page { min-height: 100vh; background: var(--cream); }
.play-container {
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 16px;
}
.play-header {
  text-align: center;
  margin-bottom: 32px;
}
.play-header img { height: 48px; margin: 0 auto 16px; }
.play-quest-name {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 8px;
}
.play-step-name {
  font-size: clamp(1.4rem,4vw,2rem);
  font-weight: 800;
  color: var(--text);
}
.play-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-strong);
  margin-bottom: 20px;
}
.play-intro-text {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  white-space: pre-line;
}
.play-question-text {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 28px;
}
.play-answers {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.play-answer-label {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--cream-light);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.18s;
}
.play-answer-label:hover {
  border-color: var(--pink);
  background: var(--white);
}
.play-answer-label input[type=radio] {
  width: 18px; height: 18px;
  accent-color: var(--pink);
}
.play-text-input {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  color: var(--text);
  background: var(--cream-light);
  transition: border-color 0.18s;
  outline: none;
}
.play-text-input:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(0,90,70,0.10);
}
.play-btn {
  width: 100%;
  padding: 16px;
  background: var(--pink);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 20px;
}
.play-btn:hover {
  background: var(--pink-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(242,27,134,0.3);
}
.play-feedback {
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
}
.play-feedback.ok { background: #d1fae5; color: #065f46; border-left: 4px solid #059669; }
.play-feedback.ko { background: #fee2e2; color: #991b1b; border-left: 4px solid #dc2626; }
.play-timer {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--pink);
  margin-bottom: 16px;
}
.play-progress {
  height: 4px;
  background: var(--cream-dark);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 28px;
}
.play-progress-bar {
  height: 100%;
  background: var(--pink);
  border-radius: 2px;
  transition: width 0.4s ease;
}
.play-finish-icon {
  font-size: 4rem;
  text-align: center;
  margin-bottom: 20px;
}
.play-finish-title {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
}
.play-finish-subtitle {
  text-align: center;
  color: var(--muted);
  margin-bottom: 32px;
  font-size: 1rem;
}
.play-rewards { display: flex; flex-direction: column; gap: 16px; }
.play-reward-card {
  background: var(--cream-dark);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
  border-left: 4px solid var(--pink);
}
.play-reward-card strong { display: block; font-weight: 700; margin-bottom: 4px; }
.play-reward-card p { font-size: 0.88rem; color: var(--muted); }
.play-warning {
  background: #fef3c7;
  border: 2px solid #fcd34d;
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  color: #92400e;
  font-size: 0.9rem;
  margin-bottom: 20px;
}

/* ── ALERT/NOTIF ── */
.alert {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 18px;
}
.alert-error { background: #fee2e2; color: #991b1b; border-left: 4px solid #dc2626; }
.alert-success { background: #d1fae5; color: #065f46; border-left: 4px solid #059669; }
.alert-info { background: #dbeafe; color: #1e40af; border-left: 4px solid #3b82f6; }

/* ── ONLINE NOTE ── */
.online-note {
  text-align: center;
  margin-top: 40px;
  font-size: 0.92rem;
  color: var(--muted);
}
.online-note a { color: var(--pink); font-weight: 600; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-grid,
  .steps-grid,
  .section-map-preview .map-preview-grid,
  .auth-layout,
  .quest-detail-grid { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .footer-main { grid-template-columns: 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: 1fr; }
  .split-section { flex-direction: column; align-items: flex-start; }
  .partner-strip-content { flex-direction: column; align-items: flex-start; }
  .quest-detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .steps-grid { grid-template-columns: 1fr; }
  .auth-card { padding: 24px; }
  .play-card { padding: 24px; }

  /* Logo mobile */
  .logo img { height: 80px !important; }
  .site-header.is-scrolled .logo img { height: 60px !important; }

  /* Header layout mobile */
  .header-container {
    min-height: 0 !important;
    flex-wrap: wrap;
    padding: 6px 0 !important;
  }
  .header-actions .login-link { display: none; }

  /* Burger visible */
  .nav-toggle { display: flex; }

  /* Nav cachée par défaut, s ouvre en dropdown */
  .main-nav {
    display: none;
    order: 10;
    width: 100%;
    flex-direction: column;
    gap: 4px;
    padding: 12px 0 8px;
    border-top: 1px solid rgba(255,255,255,0.12);
  }
  .main-nav.nav-open {
    display: flex;
  }
  .main-nav a {
    padding: 12px 16px;
    font-size: 1.05rem;
    border-radius: 8px;
  }

  /* Animation burger → croix */
  .nav-toggle.is-open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav-toggle.is-open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
  .nav-toggle span { transition: transform 0.25s ease, opacity 0.2s ease; }
}
