:root {
    --void:       #060a06;
    --forest:     #0c1a0b;
    --bark:       #1a2e18;
    --moss:       #2d4a28;
    --amber:      #e2a9f1;
    --ember:      #e2a9f1;
    --gold:       #e2a9f1;
    --cream:      #f0e6d0;
    --bone:       #d4c4a8;
    --blood:      #6f207a;
    --rust:       #911a9c;
    --fog:        rgba(237, 208, 240, 0.06);
    --fog-heavy:  rgba(240, 208, 240, 0.13);
  }

  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  html { scroll-behavior: smooth; }

  body {
    background: var(--void);
    color: var(--bone);
    font-family: 'Crimson Pro', Georgia, serif;
    font-size: 18px;
    line-height: 1.7;
    overflow-x: hidden;
    cursor: default;
  }

  /* ── SCROLLBAR ── */
  ::-webkit-scrollbar { width: 5px; }
  ::-webkit-scrollbar-track { background: var(--void); }
  ::-webkit-scrollbar-thumb { background: var(--amber); border-radius: 3px; }

  /* ── NOISE OVERLAY ── */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1000;
    opacity: 0.4;
  }
  /* ── HERO ── */
  .hero {
    position: relative;
    height: 100svh;
    min-height: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
  }

  /* layered bg */
  .hero-bg {
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 120% 60% at 50% 80%, rgba(200, 10, 190, 0.12) 0%, transparent 60%),
      radial-gradient(ellipse 80% 50% at 20% 30%, rgba(101, 32, 122, 0.15) 0%, transparent 55%),
      radial-gradient(ellipse 60% 80% at 80% 10%, rgba(45,74,40,0.2) 0%, transparent 60%),
      linear-gradient(180deg, #060a06 0%, #0c1a0b 40%, #0e2010 60%, #060a06 100%);
    animation: bgPulse 12s ease-in-out infinite alternate;
  }
  @keyframes bgPulse {
    from { filter: brightness(1); }
    to   { filter: brightness(1.12); }
  }

  /* tree silhouettes */
  .hero-trees {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 55%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 400' preserveAspectRatio='none'%3E%3Cpath fill='%23040804' d='M0,400 L0,300 Q20,200 40,280 Q55,180 70,250 Q85,120 100,220 Q110,100 120,200 Q130,80 145,180 Q155,60 170,170 Q185,40 200,160 Q215,50 230,155 Q250,120 265,200 Q275,140 285,210 Q295,100 310,190 Q320,60 340,180 Q355,40 370,175 Q390,110 405,200 Q420,75 440,190 Q455,95 470,200 Q490,120 510,210 Q535,95 555,200 Q575,130 590,220 Q610,90 630,200 Q650,110 670,210 Q690,120 705,215 Q720,95 740,200 Q760,115 780,210 Q805,90 825,200 Q845,115 865,210 Q880,95 900,200 Q920,80 940,190 Q960,60 980,180 Q1000,90 1020,200 Q1040,115 1060,210 Q1080,100 1100,200 Q1120,80 1140,190 Q1160,55 1180,175 Q1200,90 1220,200 Q1240,115 1260,205 Q1280,95 1300,200 Q1320,115 1340,210 Q1360,95 1380,200 Q1400,115 1420,205 Q1430,155 1440,210 L1440,400 Z'/%3E%3C/svg%3E") no-repeat bottom / 100% auto;
    opacity: 0.9;
  }

  /* fog layers */
  .fog-layer {
    position: absolute;
    left: -50%; right: -50%;
    height: 180px;
    background: radial-gradient(ellipse 60% 100% at 50% 100%, rgba(180,200,170,0.045) 0%, transparent 70%);
    pointer-events: none;
    animation: fogDrift 18s ease-in-out infinite alternate;
  }
  .fog-layer:nth-child(2) { bottom: 15%; animation-duration: 22s; animation-direction: alternate-reverse; opacity: 0.7; }
  .fog-layer:nth-child(3) { bottom: 0; animation-duration: 15s; }
  @keyframes fogDrift {
    from { transform: translateX(-8%); }
    to   { transform: translateX(8%); }
  }

  /* falling leaves */
  .leaf {
    position: absolute;
    width: 6px; height: 9px;
    background: var(--amber);
    border-radius: 0 50% 0 50%;
    opacity: 0;
    animation: leafFall linear infinite;
    pointer-events: none;
  }
  @keyframes leafFall {
    0%   { opacity: 0; transform: translateY(-20px) rotate(0deg); }
    10%  { opacity: 0.7; }
    90%  { opacity: 0.4; }
    100% { opacity: 0; transform: translateY(100vh) rotate(720deg) translateX(80px); }
  }

  .hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    padding: 0 2rem;
  }

  .hero-eyebrow {
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--amber);
    opacity: 0;
    animation: fadeUp 1s 0.3s forwards;
  }
  .hero-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(3rem, 9vw, 8rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -0.01em;
    color: var(--cream);
    text-shadow:
      0 0 80px var(--amber),
      0 0 160px rgba(130, 10, 200, 0.12);
    opacity: 0;
    animation: fadeUp 1.2s 0.6s forwards;
  }
  .hero-title .accent { color: var(--amber); }
  .hero-version {
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--gold);
    padding: 0.45em 1.4em;
    border: 1px solid rgba(199, 96, 240, 0.35);
    border-radius: 2px;
    background: rgba(156, 10, 200, 0.08);
    opacity: 0;
    animation: fadeUp 1s 0.9s forwards;
  }
  .hero-sub {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--bone);
    opacity: 0;
    max-width: 500px;
    animation: fadeUp 1s 1.1s forwards;
  }
  .hero-cta {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    opacity: 0;
    animation: fadeUp 1s 1.3s forwards;
  }
  .btn-primary {
    font-family: 'Cinzel', serif;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 0.9em 2.2em;
    background: var(--amber);
    color: var(--void);
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  }
  .btn-primary:hover {
    background: var(--ember);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(162, 10, 200, 0.4);
  }
  .btn-ghost {
    font-family: 'Cinzel', serif;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 0.9em 2.2em;
    background: transparent;
    color: var(--bone);
    border: 1px solid rgba(240,230,208,0.3);
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s, transform 0.2s;
  }
  .btn-ghost:hover {
    border-color: var(--amber);
    color: var(--amber);
    transform: translateY(-2px);
  }

  .hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    animation: fadeIn 1s 2s forwards;
  }
  .hero-scroll span {
    font-family: 'Cinzel', serif;
    font-size: 0.6rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--amber);
    opacity: 0.6;
  }
  .scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--amber), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
  }
  @keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50%       { opacity: 1;   transform: scaleY(1.1); }
  }

  /* ── INTRO BAND ── */
  .intro-band {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2.5rem 0;
    background: rgba(70, 14, 83, 0.164);
    overflow: hidden;
  }
  .marquee-track {
    display: flex;
    gap: 4rem;
    animation: marquee 28s linear infinite;
    white-space: nowrap;
  }
  .marquee-track span {
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--amber);
    opacity: 0.7;
    flex-shrink: 0;
  }
  .marquee-track .sep { color: var(--rust); opacity: 1; }
  @keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }

  /* ── SECTIONS ── */
  section { padding: 8rem 0; }
  .container { max-width: 1200px; margin: 0 auto; padding: 0 3rem; }
  .container-narrow { max-width: 780px; margin: 0 auto; padding: 0 3rem; }

  .section-label {
    font-family: 'Cinzel', serif;
    font-size: 0.65rem;
    letter-spacing: 0.45em;
    text-transform: uppercase;
    color: var(--amber);
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    transition: opacity 0.8s, transform 0.8s;
    transform: translateY(20px);
  }
  .section-label::before {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--amber);
  }
  .section-label.visible { opacity: 1; transform: translateY(0); }

  .section-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: 700;
    color: var(--cream);
    line-height: 1.1;
    opacity: 0;
    transition: opacity 0.8s 0.15s, transform 0.8s 0.15s;
    transform: translateY(24px);
  }
  .section-title.visible { opacity: 1; transform: translateY(0); }

  /* ── ABOUT ── */
  .about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
  }
  .about-text p {
    margin-top: 2rem;
    font-size: 1.1rem;
    color: var(--bone);
    line-height: 1.85;
    opacity: 0;
    transition: opacity 0.8s 0.3s, transform 0.8s 0.3s;
    transform: translateY(20px);
  }
  .about-text p.visible { opacity: 1; transform: translateY(0); }
  .about-text p + p { margin-top: 1.2rem; transition-delay: 0.45s; }

  .about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5px;
    margin-top: 3rem;
  }
  .stat {
    padding: 2rem;
    background: var(--fog);
    border: 1px solid rgba(232, 157, 255, 0.12);
    opacity: 0;
    transition: opacity 0.6s, transform 0.6s;
    transform: scale(0.96);
  }
  .stat:nth-child(1) { transition-delay: 0.5s; }
  .stat:nth-child(2) { transition-delay: 0.65s; }
  .stat:nth-child(3) { transition-delay: 0.8s; }
  .stat:nth-child(4) { transition-delay: 0.95s; }
  .stat.visible { opacity: 1; transform: scale(1); }
  .stat-num {
    font-family: 'Cinzel Decorative', serif;
    font-size: 2.4rem;
    color: var(--amber);
    display: block;
    line-height: 1;
  }
  .stat-label {
    font-family: 'Cinzel', serif;
    font-size: 0.62rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--bone);
    opacity: 0.6;
    margin-top: 0.4rem;
    display: block;
  }

  .about-visual {
    position: relative;
  }
  .about-img-wrap {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.9s 0.2s;
  }
  .about-img-wrap.visible { opacity: 1; }
  .about-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(25%) contrast(1.05);
    transition: transform 6s ease;
  }
  .about-img-wrap:hover img { transform: scale(1.03); }
  .about-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6,10,6,0.6) 0%, transparent 50%);
  }
  .about-frame {
    position: absolute;
    top: -16px; right: -16px;
    bottom: 16px; left: 16px;
    border: 1px solid var(--amber);
    pointer-events: none;
  }

  /* ── GALLERY ── */
  .gallery-section { background: var(--forest); }
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 4px;
    margin-top: 3.5rem;
  }
  .gallery-item {
    overflow: hidden;
    cursor: zoom-in;
    position: relative;
    background: var(--bark);
    opacity: 0;
    transition: opacity 0.5s, transform 0.5s;
    transform: scale(0.97);
  }
  .gallery-item.visible { opacity: 1; transform: scale(1); }
  .gallery-item:nth-child(1) { grid-column: span 2; aspect-ratio: 16/9; transition-delay: 0.1s; }
  .gallery-item:nth-child(2) { aspect-ratio: 4/3; transition-delay: 0.2s; }
  .gallery-item:nth-child(3) { aspect-ratio: 4/3; transition-delay: 0.3s; }
  .gallery-item:nth-child(4) { aspect-ratio: 4/3; transition-delay: 0.15s; }
  .gallery-item:nth-child(5) { aspect-ratio: 4/3; transition-delay: 0.25s; }
  .gallery-item:nth-child(6) { grid-column: span 2; aspect-ratio: 16/9; transition-delay: 0.35s; }
  .gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: sepia(15%) contrast(1.05) brightness(0.92);
    transition: transform 0.6s ease, filter 0.6s;
    display: block;
  }
  .gallery-item:hover img {
    transform: scale(1.06);
    filter: sepia(0%) contrast(1.08) brightness(1);
  }
  .gallery-item::after {
    content: '↗';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.5);
    font-size: 2rem;
    color: var(--cream);
    opacity: 0;
    transition: opacity 0.3s, transform 0.3s;
  }
  .gallery-item:hover::after {
    opacity: 0.8;
    transform: translate(-50%, -50%) scale(1);
  }

  /* ── TRAILER ── */
  .trailer-section { background: var(--void); position: relative; }
  .trailer-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--amber), transparent);
  }
  .trailer-tabs {
    display: flex;
    gap: 0;
    margin: 3.5rem 0 2.5rem;
    border-bottom: 1px solid rgba(114, 10, 200, 0.2);
  }
  .tab-btn {
    font-family: 'Cinzel', serif;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 1rem 2rem;
    background: none;
    border: none;
    color: var(--bone);
    opacity: 0.5;
    cursor: pointer;
    position: relative;
    transition: opacity 0.2s;
  }
  .tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 2px;
    background: var(--amber);
    transform: scaleX(0);
    transition: transform 0.3s;
  }
  .tab-btn.active { opacity: 1; color: var(--amber); }
  .tab-btn.active::after { transform: scaleX(1); }
  .tab-panel { display: none; }
  .tab-panel.active { display: block; }
  .video-embed {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--bark);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(124, 10, 200, 0.15);
    position: relative;
    overflow: hidden;
  }
  .play-btn {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: rgba(130, 10, 200, 0.9);
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s, background 0.3s;
    position: relative;
    z-index: 2;
    text-decoration: none;
  }
  .play-btn:hover { transform: scale(1.1); background: var(--amber); }
  .play-btn::before {
    content: '';
    border-left: 28px solid var(--void);
    border-top: 18px solid transparent;
    border-bottom: 18px solid transparent;
    margin-left: 6px;
  }
  .video-label {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Cinzel', serif;
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--amber);
    z-index: 2;
  }

  /* ── DOWNLOAD ── */
  .download-section {
    background:
      radial-gradient(ellipse 80% 60% at 50% 0%, rgba(89, 32, 122, 0.12) 0%, transparent 60%),
      var(--forest);
  }
  .download-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    margin-top: 3.5rem;
  }
  .dl-card {
    padding: 2.5rem;
    background: var(--void);
    border: 1px solid rgba(156, 10, 200, 0.15);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.7s, transform 0.7s, border-color 0.3s;
    transform: translateY(24px);
  }
  .dl-card.visible { opacity: 1; transform: translateY(0); }
  .dl-card:nth-child(2) { transition-delay: 0.15s; }
  .dl-card:hover { border-color: rgba(130, 10, 200, 0.4); }
  .dl-card.featured {
    border-color: var(--amber);
    grid-column: span 2;
  }
  .dl-card.featured::before {
    content: 'RECOMMENDED';
    position: absolute;
    top: 1.2rem; right: 1.2rem;
    font-family: 'Cinzel', serif;
    font-size: 0.6rem;
    letter-spacing: 0.25em;
    padding: 0.3em 0.8em;
    background: var(--amber);
    color: var(--void);
  }
  .dl-platform {
    font-family: 'Cinzel', serif;
    font-size: 0.68rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 1rem;
  }
  .dl-title {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    color: var(--cream);
    margin-bottom: 0.6rem;
  }
  .dl-version {
    font-size: 0.9rem;
    color: var(--bone);
    opacity: 0.55;
    margin-bottom: 2rem;
  }
  .dl-requirements {
    font-size: 0.85rem;
    color: var(--bone);
    opacity: 0.6;
    line-height: 1.7;
    margin-bottom: 2rem;
    padding-left: 1rem;
    border-left: 2px solid var(--amber);
  }
  .dl-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    padding: 0.9em 1.8em;
    text-decoration: none;
    transition: all 0.2s;
  }
  .dl-btn.active {
    background: var(--amber);
    color: var(--void);
  }
  .dl-btn.active:hover {
    background: var(--ember);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--amber);
  }
  .dl-btn.disabled {
    border: 1px solid rgba(240,230,208,0.15);
    color: var(--bone);
    opacity: 0.35;
    cursor: not-allowed;
  }
  .dl-note {
    margin-top: 3rem;
    padding: 1.5rem 2rem;
    border: 1px solid rgba(156, 10, 200, 0.2);
    background: rgba(140, 10, 200, 0.04);
    font-size: 0.88rem;
    color: var(--bone);
    opacity: 0.7;
    line-height: 1.7;
  }
  .dl-note strong {
    color: var(--amber);
    font-style: italic;
  }

  /* ── SOCIAL ── */
  .social-section {
    background: var(--bark);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .social-section::before {
    content: '#ALMOSTHELL';
    position: absolute;
    font-family: 'Cinzel Decorative', serif;
    font-size: clamp(3rem, 8vw, 7rem);
    color: rgba(156, 10, 200, 0.04);
    white-space: nowrap;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    letter-spacing: 0.05em;
  }
  .social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
  }
  .social-link {
    width: 54px; height: 54px;
    border: 1px solid var(--amber);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bone);
    text-decoration: none;
    font-size: 1.2rem;
    transition: border-color 0.2s, background 0.2s, transform 0.2s, color 0.2s;
  }
  .social-link:hover {
    border-color: var(--amber);
    background: rgba(200,114,10,0.1);
    color: var(--amber);
    transform: translateY(-3px);
  }
  .hashtag {
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    color: var(--amber);
    text-transform: uppercase;
    margin-top: 2rem;
    opacity: 0.7;
  }

  /* ── LIGHTBOX ── */
  .lightbox {
    position: fixed;
    inset: 0;
    background: rgba(6,10,6,0.96);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
  }
  .lightbox.open { display: flex; animation: fadeIn 0.3s; }
  .lightbox img {
    max-width: 90vw;
    max-height: 88vh;
    object-fit: contain;
    filter: sepia(5%);
    animation: lbIn 0.35s ease;
  }
  @keyframes lbIn {
    from { transform: scale(0.93); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
  }
  .lb-close {
    position: absolute;
    top: 2rem; right: 2.5rem;
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    color: var(--amber);
    cursor: pointer;
    text-transform: uppercase;
  }
  .lb-prev, .lb-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px; height: 50px;
    background: rgba(200,114,10,0.15);
    border: 1px solid var(--amber);
    color: var(--amber);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.3rem;
    transition: background 0.2s;
  }
  .lb-prev:hover, .lb-next:hover { background: var(--amber); }
  .lb-prev { left: 2rem; }
  .lb-next { right: 2rem; }

  /* ── ANIMATIONS ── */
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
  }

  /* ── RESPONSIVE ── */
  @media (max-width: 900px) {
    .about { grid-template-columns: 1fr; gap: 3rem; }
    .about-visual { display: none; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-item:nth-child(1) { grid-column: span 2; }
    .gallery-item:nth-child(6) { grid-column: span 2; }
    .features-grid { grid-template-columns: 1fr; }
    .download-grid { grid-template-columns: 1fr; }
    .dl-card.featured { grid-column: span 1; }
    .credits-grid { grid-template-columns: 1fr; }
    nav { padding: 0 1.5rem; }
    .nav-links { display: none; }
    .container { padding: 0 1.5rem; }
    .container-narrow { padding: 0 1.5rem; }
    section { padding: 5rem 0; }
  }







        /* Trailer Section */
        .trailer-section {
            padding: 20px 40px 40px;
        }

        .trailers {
            display: flex;
            justify-content: center;
            gap: 60px;
            margin-top: 20px;
        }

        .trailer-item {
            text-align: center;
        }

        .trailer-video {
            width: 520px;
            height: 290px;
            border-radius: 16px;
            position: relative;
            overflow: hidden;
            cursor: pointer;
        }

        .trailer-video::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.3);
        }

        .trailer-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 10px;
        }

        .trailer-top {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
        }

        .trailer-badge {
            background: rgba(0,0,0,0.7);
            color: #fff;
            font-size: 8px;
            padding: 3px 6px;
            border-radius: 2px;
        }

        .trailer-title-overlay {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
            color: #fff;
        }

        .trailer-title-overlay .title {
            font-family: 'Playfair Display', serif;
            font-size: 32px;
            font-weight: 700;
            text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
            line-height: 1;
        }

        .trailer-title-overlay .subtitle {
            font-size: 10px;
            margin-top: 5px;
            opacity: 0.9;
        }

        .play-button {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 50px;
            height: 50px;
            background: rgba(255,0,0,0.9);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .play-button::after {
            content: '';
            width: 0;
            height: 0;
            border-left: 18px solid #fff;
            border-top: 10px solid transparent;
            border-bottom: 10px solid transparent;
            margin-left: 4px;
        }

        .trailer-bottom {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
        }

        .youtube-btn {
            background: #ff0000;
            color: #fff;
            font-size: 8px;
            padding: 4px 8px;
            border-radius: 2px;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .trailer-label {
            font-size: 11px;
            color: #666;
            margin-top: 10px;
        }

        
        /* Footer */
        .footer {
            padding: 20px 40px 40px;
            text-align: center;
        }

        .footer-links {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            font-size: 10px;
            color: #fff;
        }

        .footer-links a {
            color: #fff;
            text-decoration: none;
            font-size: 15px;
        }

        .footer-links a:hover {
            text-decoration: underline;
        }

        .footer-section {
            margin-bottom: 15px;
            text-transform: uppercase;
            color: #fff;
            font-family: 'Bebas Neue', sans-serif;
        }

        .footer-section-title {
            font-family: 'Bebas Neue', sans-serif;
            color: #90986b;
            font-size: 20px;
            text-transform: uppercase;
        }



        /* Overlay */
    .overlay-pop {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(0,0,0,0.6);
      display: none; /* caché par défaut */
      justify-content: center;
      align-items: flex-start;
      overflow-y: auto; /* scroll si contenu long */
      padding: 40px 20px;
      z-index: 9999;
    }

    /* Pop-up box */
    .popup {
      background: #0d121d;
      padding: 30px;
      border-radius: 8px;
      max-width: 900px;
      width: 100%;
      box-shadow: 0 0 15px rgba(0,0,0,0.4);
    }

    .close-btn-pop {
      display: inline-block;
      margin-top: 20px;
      padding: 8px 18px;
      background: #0d121d;
      color: #fff;
      border: none;
      border-radius: 4px;
      cursor: pointer;
    }

    .terms-header-pop {
            font-weight: 700;
            font-size: 14px;
            margin-bottom: 8px;
            color:#fff;
        }

        .terms-version-pop {
            font-size: 11px;
            color: #b3b3b3;
            margin-bottom: 20px;
        }

        .terms-content-pop {
            font-size: 11px;
            line-height: 1.9;
            text-align: justify;
            color:#fff;
        }

        .download-subtitle-pop {
            font-size: 12px;
            color: #fff;
            margin-bottom: 5px;
        }

        .download-subtitle-pop a {
            color: #fa5bdf;
            text-decoration: none;
        }

        .requires-text-pop {
            font-size: 13px;
            margin: 20px 0;
        }

        .requires-text-pop a {
            color: #fa5bdf;
            text-decoration: underline;
        }