:root {
  --bg0: #070a14;
  --bg1: #0b1020;
  --bg2: #0f1733;
  --bg3: #141b2d;
  --card: rgba(255, 255, 255, 0.06);
  --card2: rgba(255, 255, 255, 0.045);
  --border: rgba(255, 255, 255, 0.12);
  --border2: rgba(255, 255, 255, 0.08);
  --text: rgba(255, 255, 255, 0.95);
  --muted: rgba(255, 255, 255, 0.7);
  --muted2: rgba(255, 255, 255, 0.55);
  --primary: #8b5cf6;
  --primary-light: #a78bfa;
  --cyan: #38bdf8;
  --green: #22c55e;
  --orange: #f97316;
  --pink: #ec4899;
  --success: var(--green);
  --danger: #ef4444;
  --shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
  --shadow2: 0 12px 40px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 60px rgba(139, 92, 246, 0.25);
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

a:hover {
  opacity: 0.85;
}

img {
  max-width: 100%;
  height: auto;
}

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

.skip {
  position: absolute;
  left: -999px;
  top: -999px;
}

.skip:focus {
  left: 16px;
  top: 16px;
  background: var(--bg2);
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  z-index: 100;
}

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(20px);
  background: rgba(7, 10, 20, 0.8);
  border-bottom: 1px solid var(--border2);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.3px;
}

.brand:hover {
  opacity: 1;
}

.brandLogo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.3);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
}

.nav a:hover {
  color: var(--text);
  opacity: 1;
}

.navCta {
  padding: 10px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), #6366f1);
  color: white !important;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.navCta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.45);
  opacity: 1;
}

.langSwitch {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  font-weight: 700;
  font-size: 12px;
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 80px;
  overflow: hidden;
}

.heroBackground {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.heroBgGlow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.6;
}

.heroBgGlow1 {
  width: 700px;
  height: 700px;
  top: -150px;
  left: -100px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.18) 0%, transparent 65%);
}

.heroBgGlow2 {
  display: none;
}

.heroBgGlow3 {
  display: none;
}

.heroContent {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.heroText {
  max-width: 560px;
}

.heroBadge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
  margin-bottom: 24px;
}

.heroBadgeDot {
  display: none;
}

.heroTitle {
  margin: 0 0 20px;
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
}

.heroTitleGradient {
  display: block;
  color: var(--primary-light);
}

.heroSubtitle {
  margin: 0 0 32px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--muted);
}

.heroStats {
  display: flex;
  gap: 32px;
  margin-bottom: 36px;
}

.heroStat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.heroStatValue {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.5px;
}

.heroStatLabel {
  font-size: 13px;
  color: var(--muted2);
  font-weight: 600;
}

.heroCta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.heroCtaButton {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), #6366f1);
  color: white;
  font-weight: 700;
  font-size: 15px;
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.heroCtaButton:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.5);
  opacity: 1;
}

.heroCtaIcon {
  width: 22px;
  height: 22px;
}

.heroCtaSecondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s ease;
}

.heroCtaSecondary:hover {
  background: rgba(255, 255, 255, 0.08);
  opacity: 1;
}

.heroNote {
  margin-top: 20px;
  padding: 12px 16px;
  border-radius: 10px;
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.25);
  color: var(--orange);
  font-size: 13px;
  font-weight: 600;
}

/* Hero visual — single phone */
.heroEyebrow {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--muted2);
}

.heroTitleAccent {
  color: var(--primary-light);
}

.heroCtaAlt {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid var(--border) !important;
  box-shadow: none !important;
  color: var(--text) !important;
}

.heroCtaAlt:hover {
  background: rgba(255, 255, 255, 0.1) !important;
  box-shadow: none !important;
}

.heroMeta {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted2);
  font-weight: 600;
}

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

/* App screenshot frame */
.appFrame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #0d0e14;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.07),
    0 40px 100px rgba(0,0,0,0.8),
    0 0 60px rgba(139,92,246,0.12);
  width: 260px;
  flex-shrink: 0;
}

/* Ligne lumineuse en haut */
.appFrame::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139,92,246,0.6), transparent);
  z-index: 2;
}

/* Reflet haut */
.appFrame::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, transparent 100%);
  z-index: 2;
  pointer-events: none;
  border-radius: 20px 20px 0 0;
}

.appFrame img {
  display: block;
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: top center;
}

.appFrameSm {
  width: 185px;
  border-radius: 16px;
}

.appFrameSm img {
  height: 340px;
}

/* Games bar */
.heroGames {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--border2);
}

.heroGamesInner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.heroGamesLabel {
  font-size: 13px;
  color: var(--muted2);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.heroGamesLogos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.gameTag {
  padding: 10px 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border2);
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  transition: all 0.2s ease;
  text-decoration: none;
  cursor: pointer;
}

.gameTag:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: rgba(139, 92, 246, 0.3);
  color: var(--text);
}

/* ========== SECTIONS ========== */
.section {
  padding: 100px 0;
}

.sectionAlt {
  background: linear-gradient(180deg, var(--bg2) 0%, var(--bg0) 100%);
}

.sectionHeader {
  margin-bottom: 48px;
}

.sectionHeaderCenter {
  text-align: center;
}

.sectionHeaderCenter .sectionHeaderContent {
  max-width: 600px;
  margin: 0 auto;
}

.sectionHeader h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.5px;
}

.sectionHeader p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

/* ========== EDITORIAL SECTIONS ========== */
.editSection {
  padding: 120px 0;
}

.editSectionDark {
  background: var(--bg2);
}

.editSectionStatement {
  padding: 100px 0;
  border-top: 1px solid var(--border2);
  border-bottom: 1px solid var(--border2);
}

.editRow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.editRowFlip {
  direction: rtl;
}

.editRowFlip > * {
  direction: ltr;
}

.editLabel {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--primary-light);
  margin-bottom: 20px;
}

.editTitle {
  margin: 0 0 20px;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.05;
}

.editDesc {
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
  max-width: 460px;
}

.editVisual img {
  width: 220px;
  height: 440px;
  object-fit: cover;
  object-position: top center;
  border-radius: 28px;
  border: 2px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), 0 0 40px rgba(139, 92, 246, 0.1);
  display: block;
  margin: 0 auto;
}

.statementText {
  margin: 0;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.3);
}

.statementAccent {
  color: var(--text);
}

/* ========== SCREENSHOTS STRIP ========== */
.stripSection {
  padding: 80px 0 100px;
}

.stripTrack {
  display: flex;
  gap: 24px;
  padding: 20px 24px 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  justify-content: center;
  align-items: flex-end;
}

.stripTrack::-webkit-scrollbar {
  display: none;
}

.stripItem {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transition: transform 0.3s ease;
}

.stripItem:hover {
  transform: translateY(-8px);
}

.stripLabel {
  font-size: 12px;
  font-weight: 700;
  color: var(--muted2);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* ========== DOWNLOAD SECTION ========== */
.dlSection {
  padding: 140px 0;
  text-align: center;
}

.dlTitle {
  margin: 0 0 16px;
  font-size: clamp(52px, 8vw, 96px);
  font-weight: 800;
  letter-spacing: -3px;
  line-height: 1;
}

.dlSub {
  margin: 0 0 40px;
  font-size: 18px;
  color: var(--muted);
}

.dlButtons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== FAQ ========== */
.faqGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.faqCard {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border2);
}

.faqCard h3 {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
}

.faqCard p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.faqCard a {
  color: var(--primary-light);
  text-decoration: underline;
}

/* ========== PRESSE ========== */
.pressGrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
}

.pressCard {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--border2);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
}

.pressCard:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3), 0 0 30px rgba(139, 92, 246, 0.1);
  opacity: 1;
}

.pressLogo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pressLogoYt {
  gap: 12px;
}

.pressLogoImg {
  height: 36px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.pressLogoImgColor {
  filter: none;
  opacity: 1;
  height: 48px;
  border-radius: 8px;
}

.pressLogoText {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.3px;
}

.pressQuote {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--muted);
  font-style: italic;
  flex: 1;
}

.pressLink {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-light);
}

@media (max-width: 600px) {
  .pressGrid {
    grid-template-columns: 1fr;
  }
}

/* ========== CTA SECTION ========== */
.ctaSection {
  padding: 60px 0 100px;
}

.ctaCard {
  position: relative;
  padding: 60px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  text-align: center;
  overflow: hidden;
}

.ctaCardContent {
  position: relative;
  z-index: 1;
}

.ctaCard h2 {
  margin: 0 0 12px;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
}

.ctaCard p {
  margin: 0 0 32px;
  color: var(--muted);
  font-size: 16px;
}

.ctaCardButton {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 32px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), #6366f1);
  color: white;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ctaCardButton:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.5);
  opacity: 1;
}

.ctaCardGlow {
  display: none;
}

/* ========== CONTACT ========== */
.contactGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.contactCard {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border2);
  text-align: center;
}

.contactCard h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
}

.contactCard p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.contactCard a {
  color: var(--primary-light);
}

/* ========== FOOTER ========== */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border2);
  background: var(--bg0);
}

.footerContent {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footerBrand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
}

.footerBrand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.footerLinks {
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: var(--muted);
}

.footerLinks a:hover {
  color: var(--text);
}

.footerCopy {
  font-size: 13px;
  color: var(--muted2);
}

/* ========== BUTTONS ========== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 12px;
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}

.button:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
  opacity: 1;
}

.button:active {
  transform: translateY(0);
}

.button.primary {
  background: linear-gradient(135deg, var(--primary), #6366f1);
  border: none;
  color: white;
  font-weight: 800;
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.3);
}

.button.primary:hover {
  box-shadow: 0 6px 24px rgba(139, 92, 246, 0.45);
  transform: translateY(-2px);
}

.button.ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--muted);
}

.button.ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* ========== CARD (shared) ========== */
.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.cardInner {
  padding: 32px;
}

/* ========== LEGAL PAGES ========== */
.legalPage .content {
  max-width: 860px;
}

.legalCard {
  margin-top: 14px;
  padding: 20px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border2);
  background: rgba(255, 255, 255, 0.03);
}

.legalCard h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

.legalCard p,
.legalCard ul {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

.legalCard ul {
  margin-top: 12px;
  padding-left: 20px;
}

.legalCard li {
  margin: 8px 0;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .heroContent {
    grid-template-columns: 1fr;
    gap: 60px;
    text-align: center;
  }

  .heroText {
    max-width: 100%;
  }

  .heroCta {
    justify-content: center;
    flex-wrap: wrap;
  }

  .heroMeta {
    justify-content: center;
  }

  .phoneMockup {
    width: 220px;
  }

  .phoneMockupScreen img {
    height: 440px;
  }

  .editRow {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }

  .editRowFlip {
    direction: ltr;
  }

  .editDesc {
    max-width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .editSection {
    padding: 80px 0;
  }

  .editSectionStatement {
    padding: 70px 0;
  }

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

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

  .section {
    padding: 60px 0;
  }

  .dlTitle {
    letter-spacing: -2px;
  }

  .dlSection {
    padding: 100px 0;
  }
}

@media (max-width: 480px) {
  .container {
    width: calc(100% - 32px);
  }

  .heroTitle {
    font-size: 40px;
  }

  .heroSubtitle {
    font-size: 16px;
  }

  .heroCta {
    flex-direction: column;
  }

  .heroCtaButton {
    width: 100%;
    justify-content: center;
  }

  .phoneMockup {
    width: 190px;
  }

  .phoneMockupScreen img {
    height: 380px;
  }

  .heroGamesLogos {
    gap: 8px;
  }

  .gameTag {
    padding: 8px 12px;
    font-size: 12px;
  }

  .stripItem {
    width: 130px;
    height: 260px;
  }
}

/* ============================================================
   PREMIUM ANIMATIONS
   ============================================================ */

/* Curseur custom */
* { cursor: none !important; }

.gCursor {
  position: fixed;
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  opacity: 0;
  transition: opacity 0.3s, transform 0.1s, width 0.2s, height 0.2s, background 0.2s;
  top: 0; left: 0;
  will-change: transform;
}

.gCursorRing {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(139, 92, 246, 0.6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  opacity: 0;
  top: 0; left: 0;
  transition: opacity 0.3s, width 0.3s cubic-bezier(0.16,1,0.3,1), height 0.3s cubic-bezier(0.16,1,0.3,1), border-color 0.3s;
  will-change: transform;
}

.gCursorHover {
  width: 6px !important;
  height: 6px !important;
  background: var(--primary-light) !important;
}

.gCursorRingHover {
  width: 52px !important;
  height: 52px !important;
  border-color: rgba(139, 92, 246, 0.9) !important;
}

/* Intro */
.gIntro {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 99990;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1);
}

.gIntroLogo {
  animation: gIntroLogoAnim 1.2s cubic-bezier(0.16,1,0.3,1) forwards;
}

.gIntroLogo img {
  width: 72px;
  height: 72px;
  border-radius: 20px;
}

@keyframes gIntroLogoAnim {
  0% { opacity: 0; transform: scale(0.7); }
  50% { opacity: 1; transform: scale(1); }
  85% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.1); }
}

.gIntroOut {
  opacity: 0;
  transform: scale(1.04);
  pointer-events: none;
}

/* Split text */
.heroTitle .gWord {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
  transition: none;
}

.heroTitle.gTextReady .gWord {
  animation: gWordIn 0.8s cubic-bezier(0.16,1,0.3,1) forwards;
  animation-delay: calc(var(--i) * 90ms + 200ms);
}

@keyframes gWordIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Float téléphone */
.heroVisual .appFrame {
  animation: gFloat 5s ease-in-out infinite;
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
  will-change: transform;
}

@keyframes gFloat {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-14px); }
}

/* Override float quand tilt actif */
.hero:hover .heroVisual .appFrame {
  animation-play-state: paused;
}

/* Scroll reveal */
.gReveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s cubic-bezier(0.16,1,0.3,1), transform 0.9s cubic-bezier(0.16,1,0.3,1);
}

.gRevealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.stripItem.gReveal {
  transform: translateY(48px);
  transition-delay: calc(var(--si, 0) * 80ms);
}

/* Stagger strip */
.stripItem:nth-child(1) { --si: 0; }
.stripItem:nth-child(2) { --si: 1; }
.stripItem:nth-child(3) { --si: 2; }
.stripItem:nth-child(4) { --si: 3; }

/* Nav links */
.gNavLink {
  position: relative;
  overflow: hidden;
}

.gNavLink::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--primary-light);
  transform: translateX(-105%);
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1);
}

.gNavLink:hover::after {
  transform: translateX(0);
}

/* Header scroll */
.headerScrolled {
  background: rgba(7, 10, 20, 0.95) !important;
  box-shadow: 0 1px 0 rgba(255,255,255,0.05);
}

/* Boutons magnétiques */
.heroCtaButton {
  transition: transform 0.3s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s ease !important;
}

/* Statement text reveal */
.statementText {
  transition-delay: 0ms !important;
}

/* Mobile : désactiver cursor */
@media (hover: none) {
  .gCursor, .gCursorRing { display: none !important; }
  * { cursor: auto !important; }
}

/* ============================================================
   PREMIUM REDESIGN OVERRIDES
   ============================================================ */

* {
  cursor: auto !important;
}

:root {
  --bg0: #050711;
  --bg1: #090d1a;
  --bg2: #101528;
  --bg3: #171d31;
  --surface: rgba(13, 18, 34, 0.74);
  --surface-strong: rgba(18, 24, 43, 0.88);
  --line: rgba(255, 255, 255, 0.105);
  --line-soft: rgba(255, 255, 255, 0.065);
  --text: rgba(255, 255, 255, 0.96);
  --muted: rgba(232, 238, 255, 0.72);
  --muted2: rgba(232, 238, 255, 0.52);
  --primary: #8b5cf6;
  --primary-light: #b7a1ff;
  --cyan: #41d1ff;
  --shadow: 0 32px 90px rgba(0, 0, 0, 0.46);
  --radius-xl: 18px;
  --radius-lg: 14px;
  --radius-md: 10px;
  --radius-sm: 8px;
}

body {
  background:
    linear-gradient(180deg, rgba(139, 92, 246, 0.12) 0, rgba(5, 7, 17, 0) 520px),
    radial-gradient(circle at 80% 12%, rgba(65, 209, 255, 0.13), transparent 340px),
    var(--bg0);
}

.container {
  width: min(1180px, calc(100% - 44px));
}

.header {
  background: rgba(5, 7, 17, 0.64);
  border-bottom: 1px solid rgba(255, 255, 255, 0.075);
  backdrop-filter: blur(22px) saturate(145%);
}

.header .container {
  padding: 13px 0;
}

.brand {
  gap: 10px;
  letter-spacing: 0;
}

.brandLogo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
}

.brandName {
  font-weight: 780;
}

.nav {
  gap: 18px;
  font-size: 13px;
  color: rgba(232, 238, 255, 0.66);
}

.navCta,
.langSwitch {
  border-radius: 999px;
}

.navCta {
  padding: 9px 15px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.navCta:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.24);
}

.hero {
  min-height: auto;
  padding: 136px 0 72px;
  background:
    radial-gradient(circle at 70% 10%, rgba(139, 92, 246, 0.14), transparent 360px),
    linear-gradient(180deg, rgba(5, 7, 17, 0) 0%, rgba(12, 10, 36, 0.46) 100%);
}

.heroBackground {
  opacity: 0.84;
}

.heroBgGlow {
  filter: blur(96px);
}

.heroBgGlow1 {
  width: 640px;
  height: 640px;
  top: -180px;
  left: -160px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.24), transparent 64%);
}

.heroBgGlow2 {
  display: block;
  width: 520px;
  height: 520px;
  right: -180px;
  top: 60px;
  background: radial-gradient(circle, rgba(65, 209, 255, 0.15), transparent 68%);
}

.heroBgGlow3 {
  display: block;
  width: 420px;
  height: 420px;
  right: 18%;
  bottom: -220px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.11), transparent 70%);
}

.heroContent {
  grid-template-columns: minmax(0, 0.95fr) minmax(330px, 0.72fr);
  gap: 82px;
}

.heroText {
  max-width: 650px;
}

.heroEyebrow,
.editLabel,
.heroGamesLabel,
.stripLabel {
  letter-spacing: 0.18em;
}

.heroEyebrow {
  color: var(--primary-light);
  margin-bottom: 18px;
}

.heroTitle {
  margin-bottom: 22px;
  max-width: 710px;
  font-size: clamp(58px, 8vw, 112px);
  font-weight: 820;
  line-height: 0.9;
  letter-spacing: 0;
}

.heroTitleAccent {
  color: transparent;
  background: linear-gradient(92deg, #ffffff 0%, var(--primary-light) 44%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.heroSubtitle {
  max-width: 560px;
  margin-bottom: 30px;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.62;
}

.heroCtaButton,
.ctaCardButton,
.button.primary {
  border-radius: 999px;
  background: linear-gradient(135deg, #ffffff, #cfc4ff 42%, #8b5cf6);
  color: #090d1a;
  box-shadow: 0 16px 44px rgba(139, 92, 246, 0.26);
}

.heroCtaButton:hover,
.ctaCardButton:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 54px rgba(139, 92, 246, 0.32);
}

.heroCtaAlt {
  background: rgba(255, 255, 255, 0.075) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  color: var(--text) !important;
  backdrop-filter: blur(14px);
}

.heroMeta {
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.heroMeta span,
.gameTag,
.streamPlatformTag {
  border-radius: 999px;
}

.heroMeta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.045);
  color: rgba(232, 238, 255, 0.7);
}

.heroVisual {
  justify-content: flex-end;
  perspective: 1200px;
}

.appFrame {
  width: min(310px, 78vw);
  border-radius: 32px;
  background: linear-gradient(180deg, #181c2b, #070914);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.09),
    0 0 0 10px rgba(255, 255, 255, 0.025),
    0 42px 100px rgba(0, 0, 0, 0.62),
    0 22px 64px rgba(139, 92, 246, 0.14);
}

.appFrame::before {
  height: 100%;
  background:
    linear-gradient(110deg, rgba(255,255,255,0.18), transparent 18%, transparent 78%, rgba(255,255,255,0.08)),
    linear-gradient(90deg, transparent, rgba(183, 161, 255, 0.42), transparent);
  opacity: 0.55;
}

.appFrame::after {
  height: 42%;
  border-radius: 32px 32px 0 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.075), transparent);
}

.appFrame img {
  height: auto;
  aspect-ratio: 9 / 18.6;
}

.editVisual .appFrame {
  margin: 0 auto;
}

.editVisual img {
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 18.6;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.heroGames {
  margin-top: 72px;
  padding-top: 28px;
  border-top-color: rgba(255, 255, 255, 0.055);
}

.gameTag {
  padding: 9px 15px;
  background: rgba(255, 255, 255, 0.035);
  border-color: var(--line-soft);
}

.gameTag:hover {
  background: rgba(139, 92, 246, 0.14);
  border-color: rgba(183, 161, 255, 0.38);
}

.editSection {
  padding: 118px 0;
}

.editSectionDark,
.sectionAlt {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0)),
    rgba(11, 16, 32, 0.62);
}

.editRow {
  gap: 92px;
}

.editTitle,
.sectionHeader h2,
.dlTitle {
  letter-spacing: 0;
}

.editTitle {
  font-size: clamp(36px, 5vw, 66px);
  line-height: 0.96;
}

.editDesc,
.sectionHeader p,
.faqCard p,
.contactCard p,
.pressQuote {
  color: var(--muted);
}

.statementText {
  max-width: 980px;
  font-size: clamp(34px, 5.4vw, 76px);
  line-height: 1.14;
  color: rgba(255, 255, 255, 0.28);
}

.stripTrack {
  justify-content: flex-start;
  max-width: 1120px;
  margin: 0 auto;
  padding-bottom: 16px;
}

.appFrameSm {
  width: 210px;
  border-radius: 26px;
}

.faqGrid,
.pressGrid,
.contactGrid {
  gap: 14px;
}

.faqCard,
.pressCard,
.contactCard,
.legalCard,
.card,
.ctaCard {
  border-radius: var(--radius-lg);
  border-color: var(--line-soft);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.062), rgba(255, 255, 255, 0.026)),
    rgba(12, 17, 31, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
}

.faqCard {
  padding: 26px;
}

.faqCard h3,
.contactCard h3 {
  letter-spacing: 0;
}

.pressGrid {
  max-width: 1040px;
  grid-template-columns: repeat(3, 1fr);
}

.pressCard {
  padding: 26px;
}

.dlSection {
  padding: 126px 0;
  background:
    radial-gradient(circle at 50% 30%, rgba(139, 92, 246, 0.18), transparent 360px),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.025));
}

.dlTitle {
  font-size: clamp(48px, 8vw, 110px);
}

.footer {
  background: #040610;
}

.gCursor,
.gCursorRing,
.gIntro {
  display: none !important;
}

.gReveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.72s cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms),
    transform 0.72s cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms);
}

.gRevealed,
.motionReduced .gReveal {
  opacity: 1 !important;
  transform: none !important;
}

.heroVisual .appFrame {
  animation: gFloatPremium 7s ease-in-out infinite;
}

@keyframes gFloatPremium {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-1.2deg); }
  50% { transform: translate3d(0, -10px, 0) rotate(1deg); }
}

@media (max-width: 1024px) {
  .heroContent {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .heroText,
  .heroSubtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .heroVisual {
    justify-content: center;
  }

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

@media (max-width: 768px) {
  .container {
    width: min(100% - 32px, 620px);
  }

  .hero {
    padding-top: 112px;
  }

  .heroTitle {
    font-size: clamp(48px, 16vw, 76px);
  }

  .heroSubtitle {
    font-size: 16px;
  }

  .heroMeta {
    justify-content: center;
  }

  .editRow {
    gap: 42px;
  }

  .stripTrack {
    justify-content: flex-start;
  }

  .footerLinks {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 18px;
  }
}

@media (max-width: 480px) {
  .heroCtaButton {
    min-height: 54px;
  }

  .appFrame {
    width: min(270px, 76vw);
  }

  .appFrameSm {
    width: 158px;
  }

  .stripItem {
    width: auto;
    height: auto;
  }

  .heroGames {
    margin-top: 52px;
  }
}

/* English homepage legacy blocks */
.heroScreenshots {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
  perspective: 1200px;
}

.heroScreenshot {
  position: absolute;
  width: 235px;
  overflow: hidden;
  border-radius: 28px;
  background: #0b0f1d;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.09),
    0 30px 90px rgba(0, 0, 0, 0.5);
}

.heroScreenshot img,
.screenshotItem img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 18.6;
  object-fit: cover;
  object-position: top center;
}

.heroScreenshot1 {
  z-index: 3;
  transform: translateX(-20px) rotate(-4deg);
}

.heroScreenshot2 {
  z-index: 2;
  transform: translate(150px, 34px) scale(0.84) rotate(7deg);
  opacity: 0.72;
}

.heroScreenshot3 {
  z-index: 1;
  transform: translate(-165px, 54px) scale(0.8) rotate(-9deg);
  opacity: 0.58;
}

.featuresGrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.featureCard {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.058), rgba(255, 255, 255, 0.024)),
    rgba(12, 17, 31, 0.72);
}

.featureCardLarge {
  grid-column: span 2;
}

.featureIcon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  border-radius: 12px;
  color: var(--primary-light);
  background: rgba(139, 92, 246, 0.15);
}

.featureIconCyan { color: var(--cyan); background: rgba(65, 209, 255, 0.12); }
.featureIconGreen { color: var(--green); background: rgba(34, 197, 94, 0.12); }
.featureIconOrange { color: var(--orange); background: rgba(249, 115, 22, 0.12); }
.featureIconPink { color: var(--pink); background: rgba(236, 72, 153, 0.12); }

.featureCard h3,
.stepCard h3 {
  margin: 0 0 10px;
  font-size: 18px;
  line-height: 1.2;
}

.featureCard p,
.stepCard p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.streamPlatforms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.streamPlatformTag {
  padding: 7px 10px;
  border: 1px solid currentColor;
  font-size: 12px;
  font-weight: 800;
}

.stepsContainer {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: stretch;
  gap: 14px;
}

.stepCard {
  padding: 26px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.04);
}

.stepNumber {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: rgba(183, 161, 255, 0.16);
  color: var(--primary-light);
  font-weight: 800;
}

.stepConnector {
  width: 28px;
  align-self: center;
  border-top: 1px solid var(--line);
}

.screenshotsGallery {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 18px 6px 28px;
  scrollbar-width: none;
}

.screenshotsGallery::-webkit-scrollbar {
  display: none;
}

.screenshotItem {
  flex: 0 0 220px;
  text-align: center;
}

.screenshotItem img {
  border-radius: 26px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.screenshotLabel {
  display: inline-block;
  margin-top: 14px;
  color: var(--muted2);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

@media (max-width: 1024px) {
  .heroScreenshots {
    min-height: 520px;
  }

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

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

  .stepConnector {
    display: none;
  }
}

@media (max-width: 620px) {
  .heroScreenshots {
    min-height: 430px;
  }

  .heroScreenshot {
    width: 190px;
  }

  .heroScreenshot2 {
    transform: translate(88px, 42px) scale(0.78) rotate(7deg);
  }

  .heroScreenshot3 {
    transform: translate(-92px, 58px) scale(0.74) rotate(-9deg);
  }

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

  .featureCardLarge {
    grid-column: auto;
  }
}

/* Mobile polish: final overrides must stay last */
@media (max-width: 768px) {
  html,
  body {
    overflow-x: hidden;
  }

  body {
    background:
      radial-gradient(circle at 50% -8%, rgba(139, 92, 246, 0.18), transparent 280px),
      linear-gradient(180deg, #050711 0%, #080b17 46%, #050711 100%);
  }

  .container {
    width: min(100% - 28px, 540px);
  }

  .header {
    background: rgba(5, 7, 17, 0.82);
  }

  .header .container {
    padding: 11px 0;
  }

  .brandLogo {
    width: 32px;
    height: 32px;
  }

  .brandName {
    font-size: 17px;
  }

  .hero {
    padding: 92px 0 46px;
    background:
      radial-gradient(circle at 52% 0%, rgba(139, 92, 246, 0.16), transparent 260px),
      linear-gradient(180deg, rgba(5, 7, 17, 0) 0%, rgba(11, 10, 31, 0.52) 100%);
  }

  .heroBackground {
    display: none;
  }

  .heroContent {
    display: flex;
    flex-direction: column;
    gap: 34px;
    text-align: left;
    align-items: stretch;
  }

  .heroText,
  .heroSubtitle {
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .heroEyebrow {
    margin-bottom: 14px;
    font-size: 11px;
    letter-spacing: 0.16em;
  }

  .heroTitle {
    max-width: 360px;
    margin-bottom: 18px;
    font-size: clamp(46px, 14vw, 64px);
    line-height: 0.93;
  }

  .heroSubtitle {
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.58;
    color: rgba(232, 238, 255, 0.72);
  }

  .heroCta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 11px;
    align-items: stretch;
  }

  .heroCtaButton {
    width: 100%;
    min-height: 54px;
    justify-content: center;
    padding: 14px 18px;
    font-size: 15px;
  }

  .heroMeta {
    justify-content: flex-start;
    gap: 8px;
    margin-top: 16px;
  }

  .heroMeta span {
    min-height: 32px;
    padding: 6px 10px;
    font-size: 12px;
  }

  .heroVisual {
    justify-content: center;
    margin-top: 4px;
  }

  .heroVisual .appFrame {
    width: min(220px, 62vw);
    border-radius: 26px;
    animation: none;
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.09),
      0 22px 58px rgba(0, 0, 0, 0.48),
      0 16px 42px rgba(139, 92, 246, 0.12);
  }

  .heroGames {
    margin-top: 38px;
    padding: 28px 0 0;
  }

  .heroGamesInner {
    align-items: flex-start;
    width: min(100% - 28px, 540px);
    margin: 0 auto;
  }

  .heroGamesLabel {
    width: 100%;
    text-align: left;
    font-size: 10px;
    letter-spacing: 0.16em;
  }

  .heroGamesLogos {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding: 2px 0 12px;
    scrollbar-width: none;
  }

  .heroGamesLogos::-webkit-scrollbar {
    display: none;
  }

  .gameTag {
    flex: 0 0 auto;
    padding: 8px 12px;
    font-size: 12px;
  }

  .editSection {
    padding: 70px 0;
  }

  .editRow {
    display: flex;
    flex-direction: column;
    gap: 32px;
    text-align: left;
  }

  .editRowFlip {
    direction: ltr;
  }

  .editLabel {
    margin-bottom: 14px;
    font-size: 10px;
  }

  .editTitle {
    font-size: clamp(34px, 11vw, 48px);
    line-height: 1;
  }

  .editDesc {
    max-width: none;
    margin: 0;
    font-size: 15px;
    line-height: 1.65;
  }

  .editVisual .appFrame {
    width: min(230px, 64vw);
  }

  .editSectionStatement {
    padding: 58px 0;
  }

  .statementText {
    font-size: clamp(30px, 10vw, 46px);
    line-height: 1.16;
  }

  .stripSection {
    padding: 52px 0 66px;
  }

  .stripTrack {
    gap: 16px;
    padding: 8px 14px 18px;
  }

  .appFrameSm {
    width: 150px;
    border-radius: 22px;
  }

  .faqGrid,
  .contactGrid,
  .pressGrid,
  .featuresGrid {
    grid-template-columns: 1fr;
  }

  .faqCard,
  .pressCard,
  .contactCard,
  .featureCard,
  .stepCard {
    padding: 22px;
  }

  .section {
    padding: 58px 0;
  }

  .dlSection {
    padding: 76px 0;
  }

  .dlTitle {
    font-size: clamp(44px, 15vw, 70px);
    line-height: 0.96;
  }

  .dlButtons {
    display: grid;
    gap: 11px;
  }

  .footer {
    padding: 32px 0;
  }
}

@media (max-width: 380px) {
  .container {
    width: calc(100% - 24px);
  }

  .heroTitle {
    font-size: 44px;
  }

  .heroVisual .appFrame,
  .editVisual .appFrame {
    width: min(210px, 64vw);
  }

  .appFrameSm {
    width: 138px;
  }
}

.mobileExperience,
.mobileStickyCta {
  display: none;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 84px;
  }

  .hero {
    min-height: 0;
    padding-bottom: 28px;
  }

  .heroContent {
    gap: 22px;
  }

  .heroText {
    position: relative;
    z-index: 2;
  }

  .heroTitle {
    max-width: 320px;
  }

  .heroSubtitle {
    max-width: 330px;
  }

  .heroVisual {
    position: relative;
    min-height: 260px;
    margin-top: -8px;
    overflow: hidden;
    border-radius: 28px;
    background:
      radial-gradient(circle at 50% 22%, rgba(139, 92, 246, 0.24), transparent 180px),
      linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012));
    border: 1px solid rgba(255, 255, 255, 0.07);
  }

  .heroVisual .appFrame {
    position: absolute;
    right: 50%;
    bottom: -128px;
    transform: translateX(50%) rotate(-2deg);
    width: min(238px, 66vw);
  }

  .heroGames {
    margin-top: 20px;
    border-top: 0;
  }

  .mobileExperience {
    display: block;
    padding: 18px 0 54px;
  }

  .editSection,
  .stripSection {
    display: none;
  }

  .mobileDeck {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 0 14px 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .mobileDeck::-webkit-scrollbar {
    display: none;
  }

  .mobileFeatureCard {
    flex: 0 0 min(82vw, 330px);
    min-height: 238px;
    scroll-snap-align: center;
    padding: 22px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.028)),
      #0c1020;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055);
  }

  .mobileFeatureCardPrimary {
    background:
      radial-gradient(circle at 85% 0%, rgba(65, 209, 255, 0.18), transparent 190px),
      linear-gradient(145deg, rgba(139, 92, 246, 0.2), rgba(255, 255, 255, 0.035)),
      #0c1020;
  }

  .mobileCardKicker {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(183, 161, 255, 0.12);
    color: var(--primary-light);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .mobileFeatureCard h2 {
    margin: 0 0 12px;
    max-width: 260px;
    font-size: 28px;
    line-height: 1.02;
    letter-spacing: 0;
  }

  .mobileFeatureCard p {
    margin: 0;
    color: rgba(232, 238, 255, 0.7);
    font-size: 14px;
    line-height: 1.55;
  }

  .mobileScreenRail {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 16px 14px 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .mobileScreenRail::-webkit-scrollbar {
    display: none;
  }

  .mobileScreen {
    flex: 0 0 158px;
    margin: 0;
    scroll-snap-align: start;
  }

  .mobileScreen img {
    display: block;
    width: 100%;
    aspect-ratio: 9 / 18.6;
    object-fit: cover;
    object-position: top center;
    border-radius: 22px;
    background: #090d1a;
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.08),
      0 22px 52px rgba(0, 0, 0, 0.42);
  }

  .mobileScreen figcaption {
    margin-top: 10px;
    color: rgba(232, 238, 255, 0.55);
    font-size: 11px;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.12em;
  }

  .faqGrid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .faqGrid::-webkit-scrollbar {
    display: none;
  }

  .faqCard {
    flex: 0 0 min(82vw, 330px);
    scroll-snap-align: center;
  }

  .pressGrid,
  .contactGrid {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .pressGrid::-webkit-scrollbar,
  .contactGrid::-webkit-scrollbar {
    display: none;
  }

  .pressCard,
  .contactCard {
    flex: 0 0 min(82vw, 330px);
    scroll-snap-align: center;
    text-align: left;
  }

  .dlSection {
    padding: 68px 0 46px;
  }

  .dlButtons {
    display: none;
  }

  .mobileStickyCta {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 120;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 22px;
    background: rgba(7, 10, 20, 0.86);
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.46);
    backdrop-filter: blur(18px) saturate(150%);
  }

  .mobileStickyCta a {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 850;
    background: linear-gradient(135deg, #ffffff, #cfc4ff 42%, #8b5cf6);
    color: #090d1a;
  }

  .mobileStickyCta a + a {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.12);
  }
}

@media (max-width: 380px) {
  .mobileFeatureCard {
    flex-basis: 86vw;
  }

  .mobileScreen {
    flex-basis: 146px;
  }
}
