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

:root {
  --orange: #E8751A;
  --orange-light: #F5A623;
  --orange-bg: rgba(232, 117, 26, 0.06);
  --orange-bg-hover: rgba(232, 117, 26, 0.12);
  --teal: #3DBEA9;
  --teal-light: #6DD8C5;
  --teal-bg: rgba(61, 190, 169, 0.06);
  --slate: #3f3f46;
  --slate-bg: rgba(63, 63, 70, 0.07);
  --black: #1a1a1a;
  --dark: #2d2d2d;
  --white: #ffffff;
  --cream: #ffffff;
  --gray-50: #F9F8F6;
  --gray-100: #F2F0EC;
  --gray-200: #E5E2DB;
  --gray-300: #D1CCC3;
  --gray-500: #8A8477;
  --gray-700: #4A4640;
  --font: "Exo", system-ui, sans-serif;
  --max-w: 1200px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.06);
  --shadow-lg: 0 16px 50px rgba(0,0,0,0.08);
  --radius: 16px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

ul, ol {
  list-style: none;
}

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

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4 {
  font-family: var(--font);
  line-height: 1.15;
  color: var(--black);
}

h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 700;
}

h4 {
  font-size: 1.05rem;
  font-weight: 600;
}

p {
  max-width: 68ch;
  font-weight: 400;
}

.accent-orange { color: var(--orange); }
.accent-teal { color: var(--teal); }
.dot { color: var(--orange); font-weight: 900; }

.text-light {
  color: var(--gray-500);
}

/* ========== LAYOUT ========== */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 6rem 0;
}

/* ========== NAVIGATION ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(253, 251, 247, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: var(--transition);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.nav-logo img {
  height: 38px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gray-700);
  transition: var(--transition);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2.5px;
  background: var(--orange);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--black);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: 0.6rem 1.5rem;
  border-radius: 100px;
  font-weight: 700 !important;
  transition: var(--transition);
  letter-spacing: 0.01em;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: #d4680f !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232, 117, 26, 0.3);
}

/* Mobile menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--black);
  transition: var(--transition);
  border-radius: 2px;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2.2rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  font-family: var(--font);
  letter-spacing: 0.01em;
}

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

.btn-primary:hover {
  background: #d4680f;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(232, 117, 26, 0.3);
}

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

.btn-teal:hover {
  background: #34a593;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(61, 190, 169, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 2px solid var(--gray-300);
}

.btn-outline:hover {
  border-color: var(--orange);
  color: var(--orange);
  transform: translateY(-2px);
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 76px;
  background: linear-gradient(180deg, #fdf9f4 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(232, 117, 26, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -15%;
  left: -5%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(61, 190, 169, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  background: var(--orange-bg);
  border: 1px solid rgba(232, 117, 26, 0.15);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero-content > p {
  font-size: 1.15rem;
  color: var(--gray-700);
  margin-bottom: 2.5rem;
  line-height: 1.8;
  font-weight: 400;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-visual img {
  width: 100%;
  max-width: 420px;
  height: auto;
  animation: float 6s ease-in-out infinite;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.08));
}

@keyframes float {
  0%, 100% { transform: none; }
}

/* ========== SECTION HEADERS ========== */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem;
}

.section-header p {
  margin: 1rem auto 0;
  color: var(--gray-500);
  font-size: 1.1rem;
  line-height: 1.7;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

.section-label--teal {
  color: var(--teal);
}

/* ========== PAIN POINTS ========== */
.pain-points {
  background: var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.pain-points::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 117, 26, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.pain-points .section-header h2 {
  color: var(--white);
}

.pain-points .section-header p {
  color: var(--gray-300);
}

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.pain-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: var(--transition);
  cursor: default;
}

.pain-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(232, 117, 26, 0.3);
}

.pain-card .card-icon {
  width: 44px;
  height: 44px;
  background: rgba(232, 117, 26, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.pain-card .card-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pain-card h4 {
  margin-bottom: 0.5rem;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--white);
}

.pain-card p {
  font-size: 0.95rem;
  color: var(--gray-300);
  line-height: 1.65;
  font-weight: 300;
}

/* ========== BENEFITS (timeline style) ========== */
.benefits-section {
  background: var(--white);
}

.benefits-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.benefits-timeline::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gray-200);
  border-radius: 3px;
}

.benefit-item {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 1.5rem 0;
  position: relative;
}

.benefit-item .timeline-dot {
  width: 56px;
  height: 56px;
  min-width: 56px;
  background: var(--white);
  border: 3px solid var(--gray-300);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.benefit-item:nth-child(even) .timeline-dot {
  border-color: var(--gray-300);
}

.benefit-item .timeline-dot svg {
  width: 24px;
  height: 24px;
  stroke: var(--slate);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.benefit-item:nth-child(even) .timeline-dot svg {
  stroke: var(--slate);
}

.benefit-item-content h3 {
  margin-bottom: 0.3rem;
  font-size: 1.15rem;
}

.benefit-item-content p {
  color: var(--gray-500);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.6;
}

/* ========== AUDIENCE ========== */
.audience-section {
  background: var(--gray-50);
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.audience-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  cursor: default;
}

.audience-card:hover {
  border-color: var(--orange);
}

.audience-card .card-icon {
  width: 60px;
  height: 60px;
  background: var(--orange-bg);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  transition: var(--transition);
}

.audience-card:hover .card-icon {
  background: var(--orange);
}

.audience-card .card-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--orange);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: var(--transition);
}

.audience-card:hover .card-icon svg {
  stroke: var(--white);
}

.audience-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.audience-card p {
  color: var(--gray-500);
  font-size: 0.88rem;
  font-weight: 400;
}

/* ========== MINI-GAMES PAGE ========== */
.games-hero {
  padding-top: calc(76px + 5rem);
  padding-bottom: 3rem;
  background: var(--cream);
  text-align: center;
  position: relative;
}

.games-hero p {
  margin: 1.25rem auto 0;
  max-width: 620px;
  color: var(--gray-500);
  font-size: 1.1rem;
}

/* Game detail sections */
.game-detail {
  padding: 5rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.game-detail:nth-child(even) {
  background: var(--white);
}

.game-detail .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.game-detail:nth-child(even) .container {
  direction: rtl;
}

.game-detail:nth-child(even) .container > * {
  direction: ltr;
}

.game-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--orange);
  color: var(--white);
  border-radius: 14px;
  font-weight: 800;
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
}

.game-detail h2 {
  margin-bottom: 1.25rem;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.game-detail .game-text > p {
  color: var(--gray-700);
  margin-bottom: 1.25rem;
  font-size: 1rem;
  line-height: 1.75;
}

.game-phases {
  background: var(--cream);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-top: 1.5rem;
}

.game-detail:nth-child(even) .game-phases {
  background: var(--gray-50);
}

.game-phases h4 {
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.game-phases ol {
  list-style: none;
  counter-reset: phase;
}

.game-phases li {
  counter-increment: phase;
  padding: 0.65rem 0;
  padding-left: 2.2rem;
  position: relative;
  font-size: 0.92rem;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-200);
  line-height: 1.6;
}

.game-phases li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.game-phases li::before {
  content: counter(phase);
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 24px;
  height: 24px;
  background: var(--orange);
  color: var(--white);
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-result {
  margin-top: 1.5rem;
  padding: 1.1rem 1.4rem;
  background: var(--teal-bg);
  border-left: 4px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.95rem;
  color: var(--dark);
}

.game-result strong {
  color: var(--teal);
  font-weight: 700;
}

.game-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-illustration {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: var(--transition);
}

.game-illustration:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

.game-illustration img {
  max-height: 85%;
  max-width: 85%;
  object-fit: contain;
}

.game-illustration--dark {
  background: var(--black);
}

.game-illustration--dark img {
  max-height: 90%;
  max-width: 90%;
}

/* Game status badge */
.game-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.85rem;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-left: 0.75rem;
  vertical-align: middle;
}

.game-status--available {
  background: rgba(61, 190, 169, 0.1);
  color: var(--teal);
}

.game-status--coming {
  background: var(--orange-bg);
  color: var(--orange);
}

/* Per-game number colors in detail sections */
#mur-escalade .game-number {
  background: var(--teal);
}

#pedago-express .game-number {
  background: var(--orange);
}

/* Mur d'Escalade — all accents in teal */
#mur-escalade .game-phases h4 {
  color: var(--teal);
}

#mur-escalade .game-phases li::before {
  background: var(--teal);
}

#mur-escalade .game-result {
  background: var(--teal-bg);
  border-left-color: var(--teal);
}

#mur-escalade .game-result strong {
  color: var(--teal);
}

/* Pédago'Express — all accents in orange */
#pedago-express .game-status--available {
  background: var(--orange-bg);
  color: var(--orange);
}

#pedago-express .game-phases h4 {
  color: var(--orange);
}

#pedago-express .game-result {
  background: var(--orange-bg);
  border-left-color: var(--orange);
}

#pedago-express .game-result strong {
  color: var(--orange);
}

/* ========== GAMES OVERVIEW / ROADMAP ========== */
.games-overview {
  background: var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.games-overview .section-header h2 {
  color: var(--white);
}

.games-overview .section-header p {
  color: var(--gray-300);
}

.process-flow {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  margin-bottom: 2.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.process-step {
  display: flex;
  align-items: center;
  gap: 0;
}

.process-step-content {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 1.1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  white-space: nowrap;
}

.process-step-content .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.75rem;
}

.process-step-content h4 {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.process-arrow {
  color: var(--orange);
  font-size: 1.2rem;
  padding: 0 0.35rem;
  font-weight: 300;
  opacity: 0.5;
}

.process-step:last-child .process-arrow {
  display: none;
}

.bonus-nudge {
  background: linear-gradient(135deg, rgba(61, 190, 169, 0.1) 0%, rgba(232, 117, 26, 0.08) 100%);
  border: 1px dashed var(--teal);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.bonus-nudge p {
  margin: 0 auto;
  color: var(--gray-300);
  font-size: 0.95rem;
}

.bonus-nudge strong {
  color: var(--teal);
}

/* ========== COMPACT GAME CARDS (no illustration) ========== */
.games-compact {
  padding: 3rem 0;
}

.games-compact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.game-compact-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 1.75rem 2rem;
  transition: var(--transition);
  cursor: default;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.game-compact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--slate);
}

.game-compact-card .game-number {
  width: 42px;
  height: 42px;
  min-width: 42px;
  font-size: 1.1rem;
  border-radius: 12px;
  margin-bottom: 0;
  background: var(--slate);
}

.game-compact-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.game-compact-card .game-subtitle {
  color: var(--orange);
  font-weight: 700;
  font-size: 0.82rem;
  display: block;
  margin-bottom: 0.5rem;
}

.game-compact-card p {
  color: var(--gray-500);
  font-size: 0.88rem;
  line-height: 1.55;
}

.games-compact-alt {
  background: var(--gray-50);
}

@media (max-width: 1024px) {
  .process-flow {
    gap: 0.5rem;
  }
  .process-arrow {
    display: none;
  }
}

@media (max-width: 900px) {
  .games-compact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .process-flow {
    flex-direction: column;
    align-items: center;
  }
}

/* ========== TEAM PAGE ========== */
.team-hero {
  padding-top: calc(76px + 5rem);
  padding-bottom: 3rem;
  background: var(--cream);
  text-align: center;
}

.team-hero p {
  margin: 1.25rem auto 0;
  max-width: 620px;
  color: var(--gray-500);
  font-size: 1.1rem;
}

.team-section {
  padding: 4rem 0 5rem;
}

.team-grid-founders {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.team-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.team-card-photo {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.team-card-photo .initials {
  font-weight: 800;
  font-size: 3.5rem;
  color: var(--gray-300);
  letter-spacing: 0.08em;
}

.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  padding: 1.5rem 2rem 0;
}

.team-card-body {
  padding: 2rem;
}

.team-card-body h3 {
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
  font-weight: 800;
}

.team-card-body .role {
  color: var(--orange);
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 1rem;
  display: block;
}

.team-card-body p {
  color: var(--gray-700);
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.7;
}

.team-linkedin {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal);
  text-decoration: none;
  letter-spacing: 0.03em;
}

.team-linkedin:hover {
  color: var(--orange);
}

.team-grid-contributors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.team-divider {
  text-align: center;
  margin: 3.5rem 0;
  position: relative;
}

.team-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gray-200);
}

.team-divider span {
  background: var(--cream);
  padding: 0 1.5rem;
  position: relative;
  color: var(--gray-500);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ========== STORY SECTION ========== */
.story-section {
  background: var(--white);
}

.story-content {
  max-width: 780px;
  margin: 0 auto;
}

.story-content p {
  color: var(--gray-700);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
  line-height: 1.8;
  font-weight: 400;
}

.story-content p:last-child {
  margin-bottom: 0;
}

/* ========== PODCAST SECTION ========== */
.podcast-banner {
  background: var(--black);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.podcast-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(61, 190, 169, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.podcast-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.podcast-info h2 {
  margin-bottom: 0.75rem;
}

.podcast-info p {
  color: var(--gray-300);
  font-size: 1.05rem;
  font-weight: 300;
}

.podcast-stats {
  display: flex;
  gap: 3.5rem;
  text-align: center;
}

.podcast-stat .number {
  display: block;
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1.2;
}

.podcast-stat .label {
  font-size: 0.82rem;
  color: var(--gray-300);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ========== CTA SECTION ========== */
.cta-section {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-section p {
  margin: 0 auto 2.5rem;
  opacity: 0.92;
  font-size: 1.1rem;
  font-weight: 400;
}

.cta-section .btn {
  background: var(--white);
  color: var(--orange);
  font-weight: 800;
}

.cta-section .btn:hover {
  background: var(--black);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* ========== FOOTER ========== */
footer {
  background: var(--black);
  color: var(--gray-300);
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--white);
}

.footer-logo img {
  height: 30px;
  filter: invert(1);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  font-size: 0.88rem;
  font-weight: 500;
  transition: var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray-500);
  font-weight: 400;
}

/* ========== NEWS PAGE ========== */
.news-section {
  padding: 4rem 0 6rem;
}

.news-article {
  display: flex;
  gap: 2.5rem;
  padding: 3rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.news-article:first-child {
  padding-top: 0;
}

.news-article:last-child {
  border-bottom: none;
}

.news-date {
  min-width: 80px;
  text-align: center;
  padding-top: 0.25rem;
}

.news-day {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}

.news-month {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 0.25rem;
}

.news-content h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.news-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 0.6rem;
  color: var(--slate);
}

.news-intro {
  font-size: 1.05rem;
  color: var(--gray-700);
  font-weight: 400;
  line-height: 1.8;
}

.news-content p {
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 0.75rem;
}

.news-content ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.news-content ul li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.65;
}

.news-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
}

.news-sign {
  margin-top: 1rem;
  font-style: italic;
  color: var(--gray-500);
}

.news-image,
.news-images {
  margin: 1.5rem 0;
}

.news-image img,
.news-images img {
  width: 100%;
  max-width: 600px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
}

.news-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.news-images img {
  max-width: 100%;
}

@media (max-width: 640px) {
  .news-article {
    flex-direction: column;
    gap: 1rem;
  }

  .news-date {
    text-align: left;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
  }

  .news-day {
    font-size: 1.8rem;
  }

  .news-images {
    grid-template-columns: 1fr;
  }
}

/* ========== MODAL ========== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 26, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal-box {
  background: var(--white);
  border-radius: 20px;
  max-width: 560px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.25s ease;
  box-shadow: 0 24px 60px rgba(0,0,0,0.15);
}

.modal-overlay.open .modal-box {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--gray-100);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-700);
  transition: var(--transition);
  line-height: 1;
}

.modal-close:hover {
  background: var(--gray-200);
  color: var(--black);
}

.modal-header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 2rem;
  padding-right: 2.5rem;
}

.modal-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: var(--slate);
  color: var(--white);
  border-radius: 14px;
  font-size: 1.3rem;
  font-weight: 800;
}

.modal-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
  line-height: 1.3;
}

.modal-game-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.modal-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--gray-200);
}

.modal-meta-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-500);
}

.modal-meta-item svg {
  stroke: var(--orange);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.modal-section {
  margin-bottom: 1.75rem;
}

.modal-section h4 {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-500);
  margin-bottom: 0.75rem;
}

.modal-section p {
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.75;
}

.modal-section ul {
  list-style: none;
  padding: 0;
}

.modal-section ul li {
  padding: 0.45rem 0 0.45rem 1.4rem;
  position: relative;
  font-size: 0.93rem;
  color: var(--gray-700);
  line-height: 1.6;
  border-bottom: 1px solid var(--gray-100);
}

.modal-section ul li:last-child {
  border-bottom: none;
}

.modal-section ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 7px;
  height: 7px;
  background: var(--orange);
  border-radius: 50%;
}

.modal-note {
  font-size: 0.88rem;
  color: var(--gray-500);
  font-style: italic;
  border-top: 1px solid var(--gray-200);
  padding-top: 1.25rem;
  margin-top: 0.5rem;
}

/* ========== ANIMATIONS ========== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }


/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .audience-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .benefits-timeline::before {
    left: 26px;
  }
}

@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-visual img {
    max-width: 280px;
  }

  .hero-content > p {
    margin-left: auto;
    margin-right: auto;
  }

  .btn-group {
    justify-content: center;
  }

  .game-detail .container,
  .game-detail:nth-child(even) .container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    direction: ltr;
  }

  .game-visual {
    order: -1;
  }

  .game-illustration {
    max-width: 280px;
  }

  .team-grid-founders,
  .team-grid-contributors {
    grid-template-columns: 1fr;
  }

  .podcast-banner .container {
    flex-direction: column;
    text-align: center;
  }

  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  section {
    padding: 4rem 0;
  }

  .container {
    padding: 0 1.25rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
  }

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

  .nav-toggle {
    display: flex;
  }

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

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

  .podcast-stats {
    gap: 2rem;
  }
}
