﻿:root {
  --bg: #071019;
  --bg-2: #0c1620;
  --panel: rgba(10, 10, 12, 0.7);
  --panel-2: rgba(11, 16, 20, 0.78);
  --text: #ece2cb;
  --muted: #c6b594;
  --soft: #9f8d6b;
  --gold: #ba8540;
  --gold-bright: #e0b160;
  --gold-dark: #6b4519;
  --line: rgba(196, 139, 57, 0.35);
  --shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  --container: 1360px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(70, 110, 145, 0.14), transparent 36%),
    linear-gradient(180deg, #08111a, #0b1520 30%, #09111a 100%);
  font-family: "Cormorant Garamond", serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.36),
      transparent 14%,
      transparent 86%,
      rgba(0, 0, 0, 0.36)
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.12),
      transparent 18%,
      transparent 82%,
      rgba(0, 0, 0, 0.18)
    );
  z-index: -1;
}

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

button,
a {
  color: inherit;
}

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

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(8, 12, 18, 0.85);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--gold-bright);
}

.mobile-menu {
  display: none;
  position: sticky;
  top: 81px;
  z-index: 35;
  padding: 14px 20px 18px;
  background: rgba(5, 10, 16, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-menu.open {
  display: grid;
  gap: 14px;
}


/* =========================
   HERO
========================= */

.hero {
    position: relative;
    min-height: 860px;
    margin-top: 0;
    overflow: hidden;
    background: #05080c;
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    background: #05080c;
}

.hero-bg-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    opacity: 0;
    transform: scale(1.02);
    filter: brightness(0.72) contrast(1.12) saturate(1.05);
    transition: opacity 1.4s ease;
    pointer-events: none;
    will-change: opacity, transform;
}

    .hero-bg-slide.active {
        opacity: 1;
        animation: heroBackgroundZoom 7s ease forwards;
    }

    /* Keeps the old image zoomed in while it fades out */
    .hero-bg-slide.leaving {
        opacity: 0;
        transform: scale(1.07);
        animation: none;
    }

@keyframes heroBackgroundZoom {
    from {
        transform: scale(1.02);
    }

    to {
        transform: scale(1.07);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient( circle at 24% 38%, rgba(0, 0, 0, 0.34) 0%, rgba(0, 0, 0, 0.12) 38%, transparent 68% ), linear-gradient( to bottom, rgba(8, 12, 16, 0.26) 0%, rgba(8, 12, 16, 0.48) 100% );
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 52px;
    align-items: start;
    padding-top: 92px;
    padding-bottom: 40px;
}

.hero-copy {
    width: 100%;
    max-width: none;
    padding: 56px 42px 34px;
}

    .hero-copy h1,
    .overview h2,
    .news h2,
    .community h2,
    .feature-panel .eyebrow,
    .image-tile span,
    .btn,
    .footer-links {
        font-family: "Cinzel", serif;
    }

    .hero-copy h1 {
        margin: 300px 0 22px;
        font-family: "Cinzel", serif;
        font-size: clamp(2.2rem, 3.5vw, 3.6rem);
        font-weight: 600;
        line-height: 0.95;
        letter-spacing: 0.005em;
        text-transform: uppercase;
        background: linear-gradient( 180deg, #f4d27e 0%, #d4a14c 45%, #9a682c 58%, #dfb663 100% );
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        -webkit-text-fill-color: transparent;
        text-shadow: 0 2px 2px rgba(0, 0, 0, 0.3), 0 0 10px rgba(0, 0, 0, 0);
        filter: none;
        transform: scaleY(1.15);
        transform-origin: center;
    }

        .hero-copy h1 .hero-emphasis {
            margin: 0 0 22px;
            font-family: "Cinzel", serif;
            font-size: clamp(2.2rem, 3.5vw, 3.6rem);
            font-weight: 600;
            line-height: 0.95;
            letter-spacing: 0.005em;
            text-transform: uppercase;
            background: linear-gradient( 180deg, #ffffff 0%, #d8d5cf 45%, #8d8d8d 60%, #f3eee3 100% );
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            -webkit-text-fill-color: transparent;
            text-shadow: 0 2px 2px rgba(0, 0, 0, 0.3), 0 0 5px rgba(0, 0, 0, 0);
            filter: none;
        }

        .hero-copy h1 span:not(.hero-emphasis) {
            color: #cfa04e;
        }

.hero-emphasis {
    color: #f3ead5;
}

.hero-copy p {
    max-width: 620px;
    margin: 0 0 22px;
    color: #eee0c3;
    font-size: clamp(1.3rem, 1.6vw, 1.78rem);
    line-height: 1.27;
}

.ornate-panel {
    position: relative;
    border: 1px solid var(--line);
    background: linear-gradient( 180deg, rgba(9, 12, 18, 0.56), rgba(9, 12, 18, 0.72) );
    box-shadow: inset 0 0 0 1px rgba(226, 177, 95, 0.08), var(--shadow);
    backdrop-filter: blur(6px);
}

    .ornate-panel::before {
        content: "";
        position: absolute;
        inset: 10px;
        border: 1px solid rgba(186, 133, 64, 0.15);
        pointer-events: none;
    }

    .ornate-panel.subtle {
        background: linear-gradient( 180deg, rgba(8, 12, 20, 0.62), rgba(8, 12, 20, 0.42) );
        border: 1px solid rgba(184, 138, 61, 0.18);
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
        backdrop-filter: blur(2px);
    }

.wishlist {
    justify-self: end;
    align-self: center;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: -200px;
    transform: translateX(120px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  border: 1px solid var(--gold-dark);
  color: #23170b;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 1rem;
  background: linear-gradient(180deg, #d8a04f, #b57c34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 10px 18px rgba(0, 0, 0, 0.24);
  transition: transform 180ms ease, filter 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.watch-trailer {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  color: #e8dcc3;
  font-size: 1.45rem;
  font-family: "Cinzel", serif;
  text-transform: uppercase;
}

.play-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  color: var(--gold-bright);
  font-size: 16px;
  box-shadow: 0 0 18px rgba(224, 177, 96, 0.18);
}

.feature-panel {
  width: 100%;
  max-width: 340px;
  padding: 28px 26px;
  justify-self: end;
}

.feature-panel .eyebrow {
  margin: 0 0 18px;
  font-family: "Cinzel", serif;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  color: #d2a24c;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}


.feature-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--gold);
  font-size: 1.7rem;
}

.feature-list h3,
.news-item h3,
.pillars h3 {
  margin: 0;
  color: var(--gold-bright);
  font-family: "Cinzel", serif;
  font-size: 1.45rem;
  text-transform: uppercase;
}

.feature-list p,
.news-item p,
.community p,
.overview p {
  margin: 4px 0 0;
  color: #e2d2b2;
  font-size: 1.3rem;
  line-height: 1.18;
}

.tiles-section {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 8px;
}

.image-tile {
  position: relative;
  display: block;
  min-height: 150px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #12181f;
  text-decoration: none;
}

.image-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 28%, rgba(0, 0, 0, 0.42));
  pointer-events: none;
}

.image-tile img {
  width: 100%;
  height: 100%;
  min-height: 170px;
  object-fit: cover;
  display: block;
  filter: brightness(0.88) contrast(1.04) saturate(1.08);
  transition: transform 0.35s ease, filter 0.35s ease;
}

.image-tile span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  z-index: 2;
  text-align: center;
  color: #dbc38f;
  font-size: 1.55rem;
  text-transform: uppercase;
}

.image-tile:hover img {
  transform: scale(1.04);
  filter: brightness(0.96) contrast(1.06) saturate(1.12);
}

.lower-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr 0.8fr;
  gap: 20px;
  padding: 34px 0 26px;
}

.overview,
.news,
.community {
  padding: 22px 24px;
}

.overview h2,
.news h2,
.community h2 {
  margin: 0 0 14px;
  color: var(--gold-bright);
  text-transform: uppercase;
  font-size: 1.4rem;
  font-weight: 500;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 26px;
}

.pillars div {
  text-align: center;
}

.pillars span {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 2rem;
}

.pillars h3 {
  font-size: 1.22rem;
}

.news-item {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  color: inherit;
}

.news-item:first-of-type {
  border-top: none;
}

.thumb {
  overflow: hidden;
  min-height: 78px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 6px;
  background-position: center;
}

.thumb img {
  width: 100%;
  height: 100%;
  min-height: 72px;
  object-fit: cover;
  display: block;
  filter: brightness(0.92) contrast(1.04) saturate(1.08);
}

.news-item time,
.news-link {
  color: var(--soft);
  font-family: Inter, sans-serif;
  font-size: 0.95rem;
}

.news-link {
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.community {
  display: grid;
  align-content: start;
  justify-items: center;
  text-align: center;
}

.socials {
  display: flex;
  gap: 14px;
  margin: 18px 0 24px;
}

.socials a {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--gold-bright);
  background: rgba(255, 255, 255, 0.02);
}

.footer {
    position: sticky;
    bottom: 0;
    z-index: 1000;
    width: 100%;
    max-width: none;
    margin: 0;
    min-height: 64px;
    padding-inline: max(32px, calc((100vw - var(--container)) / 2));
    padding-block: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    background: linear-gradient(180deg, rgba(8, 9, 12, 0.95), rgba(5, 6, 8, 0.98));
    border-top: 1px solid rgba(186, 133, 64, 0.45);
    box-shadow: 0 -8px 28px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
}

    .footer p {
        margin: 0;
        font-size: 0.95rem;
        color: #bfae8a;
    }
/* =========================
   GLOBAL THEMED SCROLLBAR
========================= */

/* Firefox */

* {
    scrollbar-width: thin;
    scrollbar-color: #b8893d rgba(12, 10, 8, 0.95);
}

    /* Chrome / Edge / Opera */

    *::-webkit-scrollbar {
        width: 14px;
        height: 14px;
    }

    *::-webkit-scrollbar-track {
        background: linear-gradient( 180deg, rgba(28, 22, 16, 0.98), rgba(12, 10, 8, 0.98) );
        border-left: 1px solid rgba(196, 139, 57, 0.18);
    }

    *::-webkit-scrollbar-thumb {
        background: linear-gradient( 180deg, #f0cd79 0%, #c69242 45%, #8f6026 100% );
        border-radius: 999px;
        border: 2px solid rgba(18, 15, 12, 0.95);
        box-shadow: inset 0 0 8px rgba(255, 232, 170, 0.22), 0 0 10px rgba(196, 139, 57, 0.12);
    }

        *::-webkit-scrollbar-thumb:hover {
            background: linear-gradient( 180deg, #ffe19b 0%, #d6a14c 45%, #9e6b2d 100% );
        }

    *::-webkit-scrollbar-corner {
        background: rgba(12, 10, 8, 0.98);
    }

/* =========================
   SOCIAL ICONS
========================= */

.footer-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-links a {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;

    display: grid;
    place-items: center;

    border-radius: 50%;
    border: 1px solid rgba(196, 139, 57, 0.35);
    background: rgba(255, 255, 255, 0.025);

    padding: 0;
    line-height: 0;
    text-decoration: none;

    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.footer-links img {
    width: 17px;
    height: 17px;
    display: block;
    object-fit: contain;
}

.footer-links a:hover {
    transform: translateY(-2px);
    border-color: var(--gold-bright);
    box-shadow: 0 0 10px rgba(224, 177, 96, 0.32);
}

/* =========================
   MOBILE
========================= */

@media (max-width: 640px) {
    .footer {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }
}

.modal {
  width: min(760px, calc(100% - 24px));
  border: none;
  padding: 0;
  background: transparent;
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

.modal-card {
  padding: 26px;
}

.modal-card h2 {
  margin-top: 0;
  font-family: "Cinzel", serif;
  color: var(--gold-bright);
}

.video-placeholder {
  display: grid;
  place-items: center;
  min-height: 320px;
  border: 1px dashed var(--line);
  color: var(--muted);
  font-family: Inter, sans-serif;
  background: rgba(255, 255, 255, 0.02);
}

.modal-close {
  float: right;
  border: none;
  background: transparent;
  color: var(--gold-bright);
  font-size: 2rem;
  cursor: pointer;
}

@media (max-width: 1200px) {
  .hero-content,
  .lower-grid {
    grid-template-columns: 1fr;
  }

  .feature-panel {
    max-width: 720px;
  }

  .tiles-section {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

  .menu-toggle {
    display: inline-block;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    padding-top: 36px;
  }

  .tiles-section {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .topbar {
    padding-inline: 16px;
  }

  .hero-copy p,
  .feature-list p,
  .overview p,
  .news-item p,
  .community p {
    font-size: 1.14rem;
  }

  .tiles-section,
  .pillars {
    grid-template-columns: 1fr;
  }

  .image-tile {
    min-height: 170px;
  }

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

/* =========================
   HEADER / TOPBAR
========================= */

.topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 70px;
    padding-inline: max(32px, calc((100vw - var(--container)) / 2));
    display: grid;
    grid-template-columns: -210px 1fr auto;
    align-items: center; /* center everything vertically */
    gap: 38px;
    background: linear-gradient( 180deg, rgba(5, 6, 8, 0.98), rgba(8, 9, 12, 0.95) );
    border-bottom: 1px solid rgba(186, 133, 64, 0.45);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(6px);
    overflow: visible;
}

/* when at top of page */
.brand.hero {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2000;
    pointer-events: none; /* so it doesn't block clicks */
}

    .brand.hero .brand-logo {
        width: 420px; /* adjust size */
        filter: drop-shadow(0 20px 40px rgba(0,0,0,0.7));
    }

.brand.scrolled {
    position: relative;
    top: auto;
    left: auto;
    transform: translateY(14px);
    pointer-events: auto;
}

    .brand.scrolled .brand-logo {
        width: 185px;
    }

.nav,
.footer-links,
.mobile-menu {
    font-family: "Cinzel", serif;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.nav {
    position: static;
    transform: none;
    display: flex;
    align-items: center; /* center links vertically */
    justify-content: center;
    gap: 38px;
    height: 100%;
    padding-top: 20px; /* IMPORTANT: remove top push */
}

.nav a,
.mobile-menu a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 0 0 55px; 

    font-family: "Cinzel", serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.045em;
    text-transform: uppercase;
    color: #c5b797;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.25s ease, text-shadow 0.25s ease;
}

.nav a::after,
.mobile-menu a::after {
    content: "";
    position: absolute;
    left: 0;

    /* underline position only */
    top: calc(37% + 21px);

    width: 100%;
    height: 2px;

    background: linear-gradient(
        90deg,
        transparent,
        var(--gold-bright),
        transparent
    );

    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.35s ease;
}

    .nav a:hover,
    .mobile-menu a:hover {
        color: #f0d79a;
        text-shadow: 0 0 6px rgba(224, 177, 96, 0.25);
    }

    .nav a.active::after,
    .mobile-menu a.active::after {
        transform: scaleX(1);
    }

/* =========================
   NEW HERO
========================= */

.hero {
    position: relative;
    min-height: 610px;
    overflow: hidden;
    background: #05080c;
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
}

    .hero-backdrop img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center top;
        filter: brightness(0.72) contrast(1.12) saturate(1.05);
        transform: none;
    }

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient( 90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.58) 26%, rgba(0, 0, 0, 0.18) 55%, rgba(0, 0, 0, 0.4) 100% ), linear-gradient( 180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.1) 60%, rgba(0, 0, 0, 0.88) 100% );
}

.hero-content {
    position: relative;
    z-index: 2;
    display: block;
    padding-top: 82px;
    padding-bottom: 130px;
}

.hero-bullets {
    display: grid;
    gap: 11px;
    margin: 0 0 24px;
    padding: 0;
    list-style: none;
}

    .hero-bullets li {
        position: relative;
        padding-left: 34px;
        color: #d9b66c;
        font-family: "Cinzel", serif;
        font-size: 1.08rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.85);
    }

        .hero-bullets li::before {
            content: "âœ¥";
            position: absolute;
            left: 0;
            top: -1px;
            color: #e0b160;
            font-size: 1rem;
        }



.btn {
    min-height: 38px;
    padding: 0 22px;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.055em;
    border: 1px solid #7e5422;
    background: linear-gradient(180deg, #dca84f, #a86b2b);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 8px 18px rgba(0, 0, 0, 0.42);
}


/* =========================
   PROOF STRIP
========================= */

.proof-strip {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: 1fr 1fr 1.8fr 1fr 1fr;
    align-items: center;
    gap: 0;
    min-height: 82px;
    margin-top: -88px;
    margin-bottom: 16px;
    padding: 0 24px;
    border: 1px solid rgba(196, 139, 57, 0.42);
    background: linear-gradient(180deg, rgba(20, 17, 13, 0.9), rgba(8, 8, 8, 0.92));
    box-shadow: inset 0 0 0 1px rgba(226, 177, 95, 0.08), 0 16px 32px rgba(0, 0, 0, 0.45);
}

.proof-item {
    display: grid;
    grid-template-columns: 52px 1fr;
    align-items: center;
    gap: 12px;
    min-height: 82px;
    padding: 0 18px;
    border-right: 1px solid rgba(196, 139, 57, 0.18);
}

    .proof-item:last-child {
        border-right: none;
    }

.proof-icon {
    color: #d9b66c;
    font-size: 2rem;
    text-align: center;
}

.proof-item strong {
    color: #d9b66c;
    font-family: "Cinzel", serif;
    font-size: 1rem;
    line-height: 1.15;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.proof-strip blockquote {
    margin: 0;
    padding: 0 32px;
    color: #ded1b7;
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.25;
    text-align: center;
    border-right: 1px solid rgba(196, 139, 57, 0.18);
}

.proof-strip cite {
    display: block;
    margin-top: 3px;
    color: #c99b55;
    font-size: 1rem;
    font-style: normal;
}


/* =========================
   CARD GRID LIKE REFERENCE
========================= */

.feature-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr) 1.1fr;
    gap: 12px;
    padding: 0 0 16px;
}

.game-card,
.latest-news {
    border: 1px solid rgba(196, 139, 57, 0.35);
    background: linear-gradient(180deg, rgba(19, 17, 14, 0.92), rgba(11, 10, 9, 0.96));
    box-shadow: inset 0 0 0 1px rgba(226, 177, 95, 0.06), 0 12px 24px rgba(0, 0, 0, 0.32);
}

.game-card {
    padding: 8px 8px 16px;
}

    .game-card h2,
    .latest-news h2 {
        margin: 0;
        padding: 6px 8px 10px;
        color: #d9b66c;
        font-family: "Cinzel", serif;
        font-size: 1.05rem;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-align: center;
        text-transform: uppercase;
    }

    .game-card img {
        width: 100%;
        aspect-ratio: 16 / 8.1;
        object-fit: cover;
        border: 1px solid rgba(196, 139, 57, 0.22);
        filter: brightness(0.78) contrast(1.08) saturate(1.02);
    }

    .game-card p {
        margin: 12px 8px 0;
        color: #d9d0be;
        font-size: 1.08rem;
        line-height: 1.22;
        text-align: center;
    }

.latest-news {
    padding: 8px 14px 14px;
}

.news-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

    .news-head h2 {
        padding-left: 0;
        text-align: left;
    }

    .news-head a {
        color: #d9b66c;
        font-family: "Cinzel", serif;
        font-size: 0.8rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-decoration: none;
        text-transform: uppercase;
    }

.latest-news > a {
    display: block;
    padding: 12px 0;
    color: #d9d0be;
    text-decoration: none;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.latest-news strong {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.15;
}

.latest-news time {
    display: block;
    margin-top: 6px;
    color: #9f8d6b;
    font-family: Inter, sans-serif;
    font-size: 0.82rem;
}


/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1200px) {
    .topbar {
        grid-template-columns: 190px 1fr auto;
    }

    .nav {
        gap: 24px;
    }

    .feature-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .latest-news {
        grid-column: span 2;
    }

    .proof-strip {
        grid-template-columns: repeat(2, 1fr);
    }

        .proof-strip blockquote {
            grid-column: span 2;
            padding: 16px;
            border-top: 1px solid rgba(196, 139, 57, 0.18);
        }
}

@media (max-width: 900px) {
    .topbar {
        height: 70px;
        grid-template-columns: 1fr auto;
    }

    .nav,
    .buy-button {
        display: none;
    }

    .menu-toggle {
        display: inline-block;
        justify-self: end;
    }

    .hero {
        min-height: auto;
    }

    .hero-content {
        padding-top: 120px;
        padding-bottom: 130px;
    }

    .proof-strip {
        margin-top: -70px;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(calc(100% - 24px), var(--container));
    }

    .hero-copy h1 {
        font-size: clamp(2.6rem, 13vw, 4rem);
    }

    .hero-copy p {
        font-size: 1.25rem;
    }

    .hero-bullets li {
        font-size: 0.88rem;
    }

    .proof-strip,
    .feature-cards {
        grid-template-columns: 1fr;
    }

    .proof-strip blockquote,
    .latest-news {
        grid-column: auto;
    }
}

.steam-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 20px;
    position: relative;
}

.steam-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    object-fit: contain;
    display: block;
    /* makes the icon black */
    filter: brightness(0);
}

.steam-btn span {
    line-height: 1;
    transition: opacity 0.2s ease;
}

.steam-btn:hover span {
    opacity: 0;
}


.steam-btn::after {
    content: "Coming Soon";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
    color: inherit;
    font: inherit;
    pointer-events: none;
}

.steam-btn:hover::after {
    opacity: 1;
}














.ai-system-page {
    position: relative;
    min-height: 100vh;
    padding: 120px 0 70px;
    overflow: hidden;
    background: #05080c;
}

.ai-system-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(160, 110, 50, 0.14), transparent 34%), linear-gradient(180deg, rgba(3, 5, 8, 0.7), rgba(3, 5, 8, 1));
    z-index: 0;
}

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

.ai-system-header {
    max-width: 980px;
    margin: 0 auto 34px;
    text-align: center;
}

    .ai-system-header .eyebrow {
        margin: 0 0 10px;
        color: var(--gold-bright);
        font-family: "Cinzel", serif;
        font-size: 0.95rem;
        letter-spacing: 0.16em;
        text-transform: uppercase;
    }

    .ai-system-header h1 {
        margin: 0;
        color: #d9ad61;
        font-family: "Cinzel", serif;
        font-size: clamp(2.4rem, 5vw, 5rem);
        font-weight: 600;
        line-height: 1;
        text-transform: uppercase;
        text-shadow: 0 3px 3px rgba(0, 0, 0, 0.75), 0 0 18px rgba(0, 0, 0, 0.65);
    }

    .ai-system-header p {
        max-width: 760px;
        margin: 16px auto 0;
        color: #e3d6bd;
        font-size: 1.35rem;
        line-height: 1.25;
    }

.ai-graphic-frame {
    margin: 0 auto;
    padding: 10px;
    max-width: 1120px;
    border: 1px solid rgba(196, 139, 57, 0.45);
    background: linear-gradient(180deg, rgba(20, 17, 13, 0.92), rgba(8, 8, 8, 0.96));
    box-shadow: inset 0 0 0 1px rgba(226, 177, 95, 0.08), 0 24px 60px rgba(0, 0, 0, 0.55);
}

    .ai-graphic-frame img {
        width: 100%;
        height: auto;
        display: block;
        border: 1px solid rgba(196, 139, 57, 0.25);
    }

@media (max-width: 700px) {
    .ai-system-page {
        padding-top: 105px;
    }

    .ai-system-header p {
        font-size: 1.15rem;
    }

    .ai-graphic-frame {
        padding: 6px;
    }
}

.brand {
    position: fixed;
    z-index: 2000;
    left: 50%;
    top: 400%;
    width: 420px;
    transform: translate(-50%, -50%);
    transition: left 0.65s ease, top 0.65s ease, width 0.65s ease, transform 0.65s ease;
    pointer-events: none;
}

.brand-logo {
    display: block;
    width: 100%;
    height: auto;
    transform: none;
    filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.75));
}

body.logo-docked .brand {
    left: max(32px, calc((100vw - var(--container)) / 2 + 15px));
    top: 6px;
    width: 185px;
    transform: translate(0, 0);
    pointer-events: auto;
}

















/* =========================
   GAME STORY SECTION
========================= */

.about-section {
    width: 100%;
    background: #05080c;
    overflow: hidden;
}

.story-row {
    --story-height: 720px;
    --story-bleed: 180px;
    position: relative;
    height: var(--story-height);
    min-height: var(--story-height);
    display: flex;
    align-items: center;
    overflow: visible;
}

    /* overlap without changing each section's own height */
    .story-row + .story-row {
        margin-top: calc(var(--story-bleed) * -1);
    }

    /* background image layer */
    .story-row::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 0;
        background-image: linear-gradient( 90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.38) 38%, rgba(0, 0, 0, 0.22) 62%, rgba(0, 0, 0, 0.74) 100% ), var(--story-bg);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .story-row + .story-row::before {
        -webkit-mask-image: linear-gradient( to bottom, transparent 0%, rgba(0, 0, 0, 0.4) 6%, rgba(0, 0, 0, 0.85) 12%, black 18%, black 100% );
        mask-image: linear-gradient( to bottom, transparent 0%, rgba(0, 0, 0, 0.4) 6%, rgba(0, 0, 0, 0.85) 12%, black 18%, black 100% );
    }

    .story-row.left {
        justify-content: flex-start;
        padding-left: max(40px, calc((100vw - var(--container)) / 2));
    }

    .story-row.right {
        justify-content: flex-end;
        padding-right: max(40px, calc((100vw - var(--container)) / 2));
    }

.story-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding: 0;
    transform: translateY(calc(var(--story-bleed) * -0.25));
}

    .story-content::before {
        content: "";
        position: absolute;
        inset: -45px -70px;
        z-index: -1;
        background: radial-gradient( ellipse at center, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.32) 42%, rgba(0,0,0,0) 75% );
        pointer-events: none;
    }

    .story-content h2 {
        margin: 0;
        font-family: "Cinzel", serif;
        font-size: clamp(1.6rem, 2.4vw, 2.25rem);
        font-weight: 500;
        line-height: 1.28;
        text-transform: none;
        color: #e8dcc3;
        /* heavy readability shadow */
        text-shadow: 0 0 2px rgba(0,0,0,1), /* tight edge definition */
        0 0 6px rgba(0,0,0,0.95), /* glow around letters */
        0 4px 12px rgba(0,0,0,0.9), 0 10px 28px rgba(0,0,0,0.85), 0 20px 60px rgba(0,0,0,0.75);
    }

@media (max-width: 900px) {
    .story-row {
        --story-height: 620px;
        --story-bleed: 220px;
    }

        .story-row,
        .story-row.left,
        .story-row.right {
            justify-content: center;
            padding-left: 24px;
            padding-right: 24px;
            text-align: center;
        }

    .story-content {
        max-width: 100%;
    }
}

.about-section {
    position: relative;
}

.about-header {
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    pointer-events: none;
    text-align: center;
    width: 100%;
    /* smooth fade if you animate later */
    transition: opacity 0.4s ease;
    /* subtle lift from background */
    filter: drop-shadow(0 8px 30px rgba(0,0,0,0.6));
}

    .about-header .eyebrow {
        margin: 0 0 8px;
        color: var(--gold-bright);
        font-family: "Cinzel", serif;
        font-size: 0.95rem;
        letter-spacing: 0.16em;
        text-transform: uppercase;
    }

    .about-header h2 {
        margin: 0;
        font-family: "Cinzel", serif;
        font-size: clamp(2.2rem, 4vw, 4rem);
        font-weight: 600;
        text-transform: uppercase;
        background: linear-gradient(180deg, #f4d27e 0%, #d4a14c 45%, #9a682c 58%, #dfb663 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }





#about {
    scroll-margin-top: 60px;
}

    /* soft vignette behind text for readability */
    .about-header::before {
        content: "";
        position: absolute;
        inset: -40px 0;
        background: radial-gradient( ellipse at center, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.25) 40%, rgba(0,0,0,0.0) 70% );
        z-index: -1;
        pointer-events: none;
    }

    .about-header h2 {
        margin: 0;
        font-family: "Cinzel", serif;
        font-size: clamp(2rem, 3.5vw, 3rem);
        font-weight: 500;
        line-height: 1.1;
        background: linear-gradient( 180deg, #f4d27e 0%, #d4a14c 45%, #9a682c 58%, #dfb663 100% );
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        text-shadow: 0 4px 18px rgba(0,0,0,0.8);
    }

/* =========================
   NEWS SECTION
========================= */

.news-section {
    position: relative;
    padding: 90px 0 110px;
    background-image: linear-gradient( 180deg, rgba(5, 8, 12, 0.35) 0%, rgba(5, 8, 12, 0.55) 60%, rgba(5, 8, 12, 0.75) 100% ), url("../gfx/news-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    border-top: 1px solid rgba(186, 133, 64, 0.25);
}

.news-header {
    margin-bottom: 34px;
    text-align: center;
}

    .news-header .eyebrow {
        margin: 0 0 8px;
        color: var(--gold-bright);
        font-family: "Cinzel", serif;
        font-size: 0.95rem;
        letter-spacing: 0.16em;
        text-transform: uppercase;
    }

    .news-header h2 {
        margin: 0;
        font-family: "Cinzel", serif;
        font-size: clamp(2.2rem, 4vw, 4rem);
        font-weight: 600;
        text-transform: uppercase;
        background: linear-gradient( 180deg, #f4d27e 0%, #d4a14c 45%, #9a682c 58%, #dfb663 100% );
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.news-card {
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(196, 139, 57, 0.35);
    background: linear-gradient( 180deg, rgba(19, 17, 14, 0.92), rgba(11, 10, 9, 0.96) );
    box-shadow: inset 0 0 0 1px rgba(226, 177, 95, 0.06), 0 12px 24px rgba(0, 0, 0, 0.32);
}

    .news-card img {
        width: 100%;
        aspect-ratio: 16 / 8.5;
        object-fit: cover;
        border-bottom: 1px solid rgba(196, 139, 57, 0.25);
        filter: brightness(0.82) contrast(1.08) saturate(1.05);
        transform-origin: center;
        transition: transform 0.45s ease, filter 0.45s ease;
    }

    .news-card:hover img {
        transform: scale(1.08);
        filter: brightness(0.92) contrast(1.1) saturate(1.12);
    }

    .news-card div {
        padding: 20px 22px 24px;
    }

    .news-card time {
        color: var(--soft);
        font-family: Inter, sans-serif;
        font-size: 0.88rem;
    }

    .news-card h3 {
        margin: 8px 0 10px;
        color: var(--gold-bright);
        font-family: "Cinzel", serif;
        font-size: 1.35rem;
        text-transform: uppercase;
    }

    .news-card p {
        margin: 0;
        color: #d9d0be;
        font-size: 1.18rem;
        line-height: 1.25;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

.news-hidden {
    display: none;
}

.news-more {
    margin-top: 40px;
    text-align: center;
}
/* =========================
      About Game SECTION MODAL
========================= */

.about-game-section {
    position: relative;
    overflow: hidden;
    padding: 130px 0 140px;
    color: #f1ead8;
    background: radial-gradient(circle at 15% 15%, rgba(194, 141, 58, 0.22), transparent 34%), radial-gradient(circle at 82% 20%, rgba(106, 88, 52, 0.22), transparent 32%), linear-gradient(180deg, #100e0b 0%, #17130d 48%, #0d0c0a 100%);
}

    .about-game-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(0,0,0,0.65), transparent 40%, rgba(0,0,0,0.45)), url("../gfx/hero-bg-5.png") center / cover no-repeat;
        opacity: 0.16;
        transform: scale(1.04);
        pointer-events: none;
    }

.about-noise {
    position: absolute;
    inset: 0;
    opacity: 0.08;
    background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(circle at center, black, transparent 78%);
    pointer-events: none;
}

.about-glow {
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 999px;
    filter: blur(90px);
    opacity: 0.32;
    pointer-events: none;
}

.about-glow-one {
    left: -160px;
    top: 120px;
    background: rgba(199, 134, 45, 0.55);
}

.about-glow-two {
    right: -180px;
    bottom: 120px;
    background: rgba(120, 92, 48, 0.5);
}

.about-showcase-inner {
    position: relative;
    z-index: 2;
}

.about-showcase-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 70px;
    align-items: center;
    margin-bottom: 72px;
}

.about-showcase-copy h2 {
    max-width: 760px;
    margin: 0;
    font-size: clamp(2.2rem, 4vw, 4.2rem);
    line-height: 0.92;
    letter-spacing: -0.07em;
    text-transform: uppercase;
    color: #fff6df;
    text-shadow: 0 16px 45px rgba(0,0,0,0.65);
}

.about-showcase-eyebrow {
    margin-bottom: 18px;
    color: #d9a651;
}

.about-showcase-description {
    max-width: 720px;
    margin: 32px 0 0;
    font-size: 1.18rem;
    line-height: 1.8;
    color: rgba(241, 234, 216, 0.78);
}

.about-pillars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 38px;
    max-width: 760px;
}

.about-pillar {
    position: relative;
    overflow: hidden;
    min-height: 118px;
    padding: 20px;
    border: 1px solid rgba(221, 175, 93, 0.22);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025)), rgba(12, 10, 8, 0.68);
    box-shadow: 0 22px 55px rgba(0,0,0,0.28);
    backdrop-filter: blur(12px);
}

    .about-pillar::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at top left, rgba(221,175,93,0.2), transparent 55%);
        opacity: 0;
        transition: opacity 0.25s ease;
    }

    .about-pillar:hover::before {
        opacity: 1;
    }

    .about-pillar span {
        position: relative;
        display: block;
        margin-bottom: 10px;
        font-size: 0.72rem;
        font-weight: 800;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        color: #c79545;
    }

    .about-pillar strong {
        position: relative;
        display: block;
        font-size: 1.05rem;
        line-height: 1.25;
        color: #fff3d6;
    }

.about-showcase-visual {
    position: relative;
}

.about-image-stack {
    position: relative;
    min-height: 560px;
    perspective: 1200px;
}

.about-image-main {
    position: absolute;
    inset: 32px 22px 34px 0;
    overflow: hidden;
    border: 1px solid rgba(236, 190, 101, 0.22);
    border-radius: 34px;
    background: #14100b;
    box-shadow: 0 42px 110px rgba(0,0,0,0.55), inset 0 0 0 1px rgba(255,255,255,0.04);
    transform: rotate(2deg);
}

    .about-image-main::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,0.58)), radial-gradient(circle at 30% 20%, rgba(255,225,145,0.2), transparent 34%);
        pointer-events: none;
    }

    .about-image-main img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: contrast(1.08) saturate(0.95) brightness(0.88);
        transform: scale(1.04);
    }

.about-floating-card {
    position: absolute;
    z-index: 3;
    width: min(270px, 70%);
    padding: 18px 20px;
    border: 1px solid rgba(236, 190, 101, 0.28);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(36, 28, 17, 0.88), rgba(14, 12, 9, 0.88));
    box-shadow: 0 26px 70px rgba(0,0,0,0.48);
    backdrop-filter: blur(14px);
}

    .about-floating-card span {
        display: block;
        margin-bottom: 7px;
        font-size: 0.7rem;
        font-weight: 800;
        letter-spacing: 0.16em;
        text-transform: uppercase;
        color: #d3a14f;
    }

    .about-floating-card strong {
        display: block;
        color: #fff1d0;
        line-height: 1.2;
    }

.about-floating-card-top {
    top: 0;
    right: 0;
}

.about-floating-card-bottom {
    left: -18px;
    bottom: 16px;
}

.about-feature-showcase {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.about-feature-card {
    position: relative;
    overflow: hidden;
    display: flex;
    gap: 18px;
    min-height: 245px;
    padding: 28px;
    border: 1px solid rgba(221, 175, 93, 0.16);
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(255,255,255,0.07), rgba(255,255,255,0.018)), rgba(18, 15, 11, 0.76);
    box-shadow: 0 24px 70px rgba(0,0,0,0.28);
    backdrop-filter: blur(14px);
    transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

    .about-feature-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(226, 171, 82, 0.22), transparent 34%);
        opacity: 0;
        transition: opacity 0.25s ease;
        pointer-events: none;
    }

    .about-feature-card::after {
        content: "";
        position: absolute;
        left: 28px;
        right: 28px;
        bottom: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(236, 190, 101, 0.55), transparent);
        opacity: 0.55;
    }

    .about-feature-card:hover {
        transform: translateY(-8px);
        border-color: rgba(236, 190, 101, 0.36);
        background: linear-gradient(145deg, rgba(255,255,255,0.095), rgba(255,255,255,0.025)), rgba(23, 18, 12, 0.84);
        box-shadow: 0 34px 90px rgba(0,0,0,0.4);
    }

        .about-feature-card:hover::before {
            opacity: 1;
        }

.about-feature-card-large {
    grid-column: span 2;
}

.about-feature-icon {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border: 1px solid rgba(236, 190, 101, 0.35);
    border-radius: 18px;
    background: radial-gradient(circle at top, rgba(236, 190, 101, 0.28), transparent 65%), rgba(255,255,255,0.055);
    color: #f1c979;
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    box-shadow: inset 0 0 24px rgba(236, 190, 101, 0.08);
}

.about-feature-card div:last-child {
    position: relative;
    z-index: 1;
}

.about-feature-card p {
    margin: 0 0 10px;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #c79545;
}

.about-feature-card h3 {
    margin: 0 0 14px;
    font-size: 1.48rem;
    line-height: 1.12;
    color: #fff2d4;
}

.about-feature-card span {
    display: block;
    color: rgba(241, 234, 216, 0.7);
    font-size: 0.98rem;
    line-height: 1.65;
}

[data-about-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

    [data-about-reveal].is-visible {
        opacity: 1;
        transform: translateY(0);
    }

@media (max-width: 1100px) {
    .about-showcase-hero {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .about-image-stack {
        min-height: 460px;
    }

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

    .about-feature-card-large {
        grid-column: span 2;
    }
}

@media (max-width: 760px) {
    .about-game-section {
        padding: 88px 0 96px;
    }

    .about-showcase-copy h2 {
        font-size: clamp(2.4rem, 13vw, 4.2rem);
    }

    .about-showcase-description {
        font-size: 1.02rem;
        line-height: 1.7;
    }

    .about-pillars {
        grid-template-columns: 1fr;
    }

    .about-image-stack {
        min-height: 360px;
    }

    .about-image-main {
        inset: 18px 0 28px;
        border-radius: 24px;
        transform: none;
    }

    .about-floating-card {
        width: 78%;
        padding: 15px 16px;
    }

    .about-floating-card-top {
        right: 8px;
    }

    .about-floating-card-bottom {
        left: 8px;
    }

    .about-feature-showcase {
        grid-template-columns: 1fr;
    }

    .about-feature-card,
    .about-feature-card-large {
        grid-column: span 1;
    }

    .about-feature-card {
        min-height: auto;
        padding: 24px;
        border-radius: 24px;
    }
}
/* =========================
   NEWS MODAL
========================= */

body.news-modal-open {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    overflow: hidden;
}

.news-modal {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    color: #f3e7cf;
    overflow: hidden;
}

    .news-modal::backdrop {
        background: rgba(0, 0, 0, 0.82);
        backdrop-filter: blur(6px);
    }

.news-modal-card {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 10;
    width: min(1100px, calc(100vw - 180px));
    height: min(900px, 92dvh);
    transform: translate(-50%, -50%);
    overflow-y: auto;
    border: 1px solid rgba(196, 139, 57, 0.55);
    background: rgba(8, 7, 6, 0.98);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.75);
}

.news-modal-card img {
    width: 100%;
    object-fit: cover;
    border-bottom: 1px solid rgba(196, 139, 57, 0.35);
}

.news-modal-content {
    padding: clamp(28px, 5vw, 60px);
}

    .news-modal-content time {
        color: var(--soft);
        font-family: Inter, sans-serif;
    }

    .news-modal-content h2 {
        margin: 12px 0 24px;
        color: var(--gold-bright);
        font-family: "Cinzel", serif;
        font-size: clamp(2rem, 4vw, 4rem);
        text-transform: uppercase;
    }

    .news-modal-content p {
        white-space: pre-line;
        color: #e2d8c7;
        font-size: 1.25rem;
        line-height: 1.55;
    }

/* =========================
   NEWS MODAL BUTTONS
========================= */

.news-modal-close {
    position: fixed;
    top: 22px;
    right: 28px;
    z-index: 100000;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(196, 139, 57, 0.5);
    background: rgba(12, 10, 8, 0.94);
    color: var(--gold-bright);
    font-size: 2.2rem;
    line-height: 1;
    cursor: pointer;
}

.news-modal-nav {
    position: fixed;
    top: 50%;
    z-index: 100000;
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    border-radius: 50%;
    border: 1px solid rgba(196, 139, 57, 0.65);
    background: radial-gradient( circle at top, rgba(52, 42, 28, 0.98), rgba(12, 10, 8, 0.98) );
    color: var(--gold-bright);
    font-family: "Cinzel", serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 0 18px rgba(0, 0, 0, 0.7);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

    .news-modal-nav:hover {
        transform: translateY(-50%) scale(1.08);
        border-color: rgba(240, 201, 120, 0.75);
        background: radial-gradient( circle at top, rgba(78, 62, 38, 0.98), rgba(18, 15, 12, 0.98) );
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 0 22px rgba(224, 177, 96, 0.35);
    }

.news-modal-prev {
    left: 24px;
}

.news-modal-next {
    right: 24px;
}

/* =========================
   NEWS MODAL RESPONSIVE
========================= */

@media (max-width: 900px) {
    .news-modal-card {
        width: 94vw;
        height: 88dvh;
    }

    .news-modal-nav {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }

    .news-modal-prev {
        left: 10px;
    }

    .news-modal-next {
        right: 10px;
    }

    .news-modal-close {
        top: 14px;
        right: 14px;
    }
}


/* =========================
   ROADMAP SECTION
========================= */

.roadmap-section {
    position: relative;
    padding: 100px 0 120px;
    overflow: hidden;
    background: #05080c;
    border-top: 1px solid rgba(186, 133, 64, 0.25);
}

.roadmap-bg {
    position: absolute;
    inset: 0;
    background-image: linear-gradient( 180deg, rgba(5, 8, 12, 0.35) 0%, rgba(5, 8, 12, 0.55) 60%, rgba(5, 8, 12, 0.75) 100% ), url("../gfx/roadmap-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

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

.roadmap-header {
    max-width: 820px;
    margin: 0 auto 34px;
    text-align: center;
}

    .roadmap-header .eyebrow {
        margin: 0 0 8px;
        color: var(--gold-bright);
        font-family: "Cinzel", serif;
        font-size: 0.95rem;
        letter-spacing: 0.16em;
        text-transform: uppercase;
    }

    .roadmap-header h2 {
        margin: 0;
        font-family: "Cinzel", serif;
        font-size: clamp(2.2rem, 4vw, 4rem);
        font-weight: 600;
        text-transform: uppercase;
        background: linear-gradient(180deg, #f4d27e 0%, #d4a14c 45%, #9a682c 58%, #dfb663 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

    .roadmap-header p {
        margin: 14px auto 0;
        color: #e3d6bd;
        font-size: 1.3rem;
        line-height: 1.25;
    }

.roadmap-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 38px;
}

.roadmap-filter {
    min-height: 38px;
    padding: 0 18px;
    cursor: pointer;
    color: #c5b797;
    font-family: "Cinzel", serif;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid rgba(196, 139, 57, 0.35);
    background: rgba(8, 10, 12, 0.72);
    transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

    .roadmap-filter:hover,
    .roadmap-filter.active {
        color: #f0d79a;
        border-color: var(--gold-bright);
        box-shadow: 0 0 14px rgba(224, 177, 96, 0.22);
        transform: translateY(-2px);
    }

.roadmap-layout {
    display: grid;
    grid-template-columns: 310px 1fr;
    gap: 28px;
    align-items: start;
}

.roadmap-timeline {
    position: sticky;
    top: 96px;
    display: grid;
    gap: 8px;
    padding: 18px;
    border: 1px solid rgba(196, 139, 57, 0.35);
    background: linear-gradient(180deg, rgba(19, 17, 14, 0.88), rgba(8, 8, 8, 0.92));
    box-shadow: inset 0 0 0 1px rgba(226, 177, 95, 0.06), 0 12px 24px rgba(0, 0, 0, 0.32);
}

.roadmap-step {
    position: relative;
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: 12px;
    padding: 12px;
    text-align: left;
    cursor: pointer;
    border: 1px solid transparent;
    background: transparent;
    color: #d9d0be;
}

    .roadmap-step:hover {
        border-color: rgba(224, 177, 96, 0.28);
        background: rgba(255, 255, 255, 0.025);
    }

    .roadmap-step span {
        width: 15px;
        height: 15px;
        margin-top: 3px;
        border-radius: 50%;
        border: 1px solid var(--gold-bright);
        box-shadow: 0 0 12px rgba(224, 177, 96, 0.25);
    }

    .roadmap-step strong {
        display: block;
        color: #e8dcc3;
        font-family: "Cinzel", serif;
        font-size: 0.96rem;
        text-transform: uppercase;
    }

    .roadmap-step small {
        display: block;
        margin-top: 3px;
        color: var(--soft);
        font-family: Inter, sans-serif;
    }

    .roadmap-step.done span {
        background: #d9b66c;
    }

    .roadmap-step.active span {
        background: #e0b160;
        animation: roadmapPulse 1.8s ease-in-out infinite;
    }

    .roadmap-step.next span {
        background: rgba(224, 177, 96, 0.45);
    }

    .roadmap-step.later span {
        background: transparent;
    }

@keyframes roadmapPulse {
    0%, 100% {
        box-shadow: 0 0 8px rgba(224, 177, 96, 0.22);
    }

    50% {
        box-shadow: 0 0 24px rgba(224, 177, 96, 0.65);
    }
}

.roadmap-cards {
    display: grid;
    gap: 16px;
}

.roadmap-card {
    border: 1px solid rgba(196, 139, 57, 0.35);
    background: linear-gradient(180deg, rgba(19, 17, 14, 0.9), rgba(11, 10, 9, 0.96));
    box-shadow: inset 0 0 0 1px rgba(226, 177, 95, 0.06), 0 12px 24px rgba(0, 0, 0, 0.32);
    overflow: hidden;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

    .roadmap-card:hover {
        transform: translateY(-3px);
        border-color: rgba(224, 177, 96, 0.55);
        box-shadow: inset 0 0 0 1px rgba(226, 177, 95, 0.08), 0 18px 34px rgba(0, 0, 0, 0.42);
    }

.roadmap-card-head {
    width: 100%;
    padding: 22px;
    border: none;
    background: transparent;
    text-align: left;
    cursor: pointer;
    color: inherit;
}

.roadmap-status {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 5px 10px;
    border: 1px solid rgba(196, 139, 57, 0.35);
    font-family: Inter, sans-serif;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

    .roadmap-status.done {
        color: #f0d79a;
    }

    .roadmap-status.active {
        color: #e0b160;
    }

    .roadmap-status.next {
        color: #d9d0be;
    }

    .roadmap-status.later {
        color: #9f8d6b;
    }

.roadmap-card h3 {
    margin: 0 0 8px;
    color: var(--gold-bright);
    font-family: "Cinzel", serif;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    text-transform: uppercase;
}

.roadmap-card p {
    max-width: 780px;
    margin: 0;
    color: #d9d0be;
    font-size: 1.15rem;
    line-height: 1.25;
}

.roadmap-progress {
    height: 8px;
    margin-top: 18px;
    overflow: hidden;
    border: 1px solid rgba(196, 139, 57, 0.28);
    background: rgba(0, 0, 0, 0.35);
}

    .roadmap-progress span {
        display: block;
        height: 100%;
        background: linear-gradient(90deg, #8c5a24, #e0b160);
    }

.roadmap-card-body {
    display: none;
    padding: 0 22px 22px;
}

.roadmap-card.open .roadmap-card-body {
    display: block;
}

.roadmap-card-body ul {
    margin: 0;
    padding-left: 22px;
    color: #e3d6bd;
    font-size: 1.12rem;
    line-height: 1.35;
}

.roadmap-card.hidden {
    display: none;
}

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

    .roadmap-timeline {
        position: relative;
        top: auto;
    }
}

@media (max-width: 640px) {
    .roadmap-section {
        padding: 80px 0 90px;
    }

    .roadmap-filter {
        width: 100%;
    }
}

/* =========================
   SYSTEMS SECTION
========================= */

.systems-section {
    position: relative;
    padding: 110px 0 125px;
    overflow: hidden;
    background: #05080c;
    border-top: 1px solid rgba(186, 133, 64, 0.25);
}

.systems-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.0) 40%, rgba(0, 0, 0, 0.35) 100%), linear-gradient(180deg, rgba(5, 8, 12, 0.35) 0%, rgba(5, 8, 12, 0.60) 100%), url("../gfx/systems-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

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

.systems-header {
    max-width: 880px;
    margin: 0 auto 44px;
    text-align: center;
}

    .systems-header .eyebrow {
        margin: 0 0 8px;
        color: var(--gold-bright);
        font-family: "Cinzel", serif;
        font-size: 0.95rem;
        letter-spacing: 0.16em;
        text-transform: uppercase;
    }

    .systems-header h2 {
        margin: 0;
        font-family: "Cinzel", serif;
        font-size: clamp(2.2rem, 4vw, 4rem);
        font-weight: 600;
        text-transform: uppercase;
        background: linear-gradient( 180deg, #f4d27e 0%, #d4a14c 45%, #9a682c 58%, #dfb663 100% );
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

    .systems-header p {
        margin: 14px auto 0;
        color: #e3d6bd;
        font-size: 1.3rem;
        line-height: 1.25;
    }

/* =========================
   SYSTEMS CARD GRID
========================= */

.systems-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.system-card {
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(196, 139, 57, 0.35);
    background: linear-gradient( 180deg, rgba(19, 17, 14, 0.92), rgba(11, 10, 9, 0.96) );
    box-shadow: inset 0 0 0 1px rgba(226, 177, 95, 0.06), 0 12px 24px rgba(0, 0, 0, 0.32);
}

    .system-card img {
        width: 100%;
        aspect-ratio: 16 / 8.5;
        object-fit: cover;
        border-bottom: 1px solid rgba(196, 139, 57, 0.25);
        filter: brightness(0.82) contrast(1.08) saturate(1.05);
        transform-origin: center;
        transition: transform 0.45s ease, filter 0.45s ease;
    }

    .system-card:hover img {
        transform: scale(1.08);
        filter: brightness(0.92) contrast(1.1) saturate(1.12);
    }

    .system-card > div {
        padding: 20px 22px 24px;
    }

    .system-card .system-card-kicker {
        margin: 0 0 8px;
        color: var(--soft);
        font-family: Inter, sans-serif;
        font-size: 0.82rem;
        letter-spacing: 0.14em;
        text-transform: uppercase;
    }

    .system-card h3 {
        margin: 8px 0 10px;
        color: var(--gold-bright);
        font-family: "Cinzel", serif;
        font-size: 1.35rem;
        text-transform: uppercase;
    }

    .system-card p:not(.system-card-kicker) {
        margin: 0;
        color: #d9d0be;
        font-size: 1.18rem;
        line-height: 1.25;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

/* =========================
   SYSTEM MODAL
========================= */

body.system-modal-open {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    overflow: hidden;
}

.system-modal {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100dvh;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    color: #f3e7cf;
    overflow: hidden;
}

    .system-modal::backdrop {
        background: rgba(0, 0, 0, 0.82);
        backdrop-filter: blur(6px);
    }

.system-modal-card {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 10;
    width: min(1100px, calc(100vw - 180px));
    height: min(900px, 92dvh);
    transform: translate(-50%, -50%);
    overflow-y: auto;
    border: 1px solid rgba(196, 139, 57, 0.55);
    background: rgba(8, 7, 6, 0.98);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.75);
}

    .system-modal-card img {
        width: 100%;
        object-fit: cover;
        border-bottom: 1px solid rgba(196, 139, 57, 0.35);
    }

.system-modal-content {
    padding: clamp(28px, 5vw, 60px);
}

    .system-modal-content .system-modal-kicker {
        margin: 0 0 12px;
        color: var(--soft);
        font-family: Inter, sans-serif;
        font-size: 0.82rem;
        letter-spacing: 0.14em;
        text-transform: uppercase;
    }

    .system-modal-content h2 {
        margin: 0 0 24px;
        color: var(--gold-bright);
        font-family: "Cinzel", serif;
        font-size: clamp(2rem, 4vw, 4rem);
        text-transform: uppercase;
    }

    .system-modal-content p:not(.system-modal-kicker) {
        white-space: pre-line;
        color: #e2d8c7;
        font-size: 1.25rem;
        line-height: 1.55;
    }

.system-modal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

    .system-modal-tags span {
        padding: 7px 12px;
        color: #d9b66c;
        font-family: Inter, sans-serif;
        font-size: 0.82rem;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        border: 1px solid rgba(196, 139, 57, 0.35);
        background: rgba(255, 255, 255, 0.025);
    }

/* =========================
   SYSTEM MODAL BUTTONS
========================= */

.system-modal-close {
    position: fixed;
    top: 22px;
    right: 28px;
    z-index: 100000;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(196, 139, 57, 0.5);
    background: rgba(12, 10, 8, 0.94);
    color: var(--gold-bright);
    font-size: 2.2rem;
    line-height: 1;
    cursor: pointer;
}

.system-modal-nav {
    position: fixed;
    top: 50%;
    z-index: 100000;
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    border-radius: 50%;
    border: 1px solid rgba(196, 139, 57, 0.65);
    background: radial-gradient( circle at top, rgba(52, 42, 28, 0.98), rgba(12, 10, 8, 0.98) );
    color: var(--gold-bright);
    font-family: "Cinzel", serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 0 18px rgba(0, 0, 0, 0.7);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

    .system-modal-nav:hover {
        transform: translateY(-50%) scale(1.08);
        border-color: rgba(240, 201, 120, 0.75);
        background: radial-gradient( circle at top, rgba(78, 62, 38, 0.98), rgba(18, 15, 12, 0.98) );
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 0 22px rgba(224, 177, 96, 0.35);
    }

.system-modal-prev {
    left: 24px;
}

.system-modal-next {
    right: 24px;
}

/* =========================
   SYSTEMS RESPONSIVE
========================= */

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

    .system-modal-card {
        width: 94vw;
        height: 88dvh;
    }

    .system-modal-nav {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }

    .system-modal-prev {
        left: 10px;
    }

    .system-modal-next {
        right: 10px;
    }

    .system-modal-close {
        top: 14px;
        right: 14px;
    }
}

@media (max-width: 640px) {
    .systems-section {
        padding: 80px 0 90px;
    }
}

/* =========================
   SYSTEMS INTERIOR
========================= */

.full-width-infographic {
    margin: 2rem 0 3rem 0;
    width: 100%;
    overflow-x: auto;
}

.full-width-infographic img.pipeline-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: none !important;
    object-fit: contain;
    display: block;
    border: 1px solid rgba(186,133,64,.4);
    border-radius: 8px;
}

.full-width-infographic {
    margin: 2rem 0 3rem 0;
    width: 100%;
    overflow-x: auto;
}

.pipeline-image {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid rgba(186,133,64,.4);
    border-radius: 8px;
    object-fit: contain;
}

pre[class*="language-"] {
    margin: 2rem 0;
    border-radius: 8px;
    border: 1px solid rgba(186,133,64,.35);
    background: #080706;
    font-size: .9rem;
    line-height: 1.55;
}

code[class*="language-"] {
    font-family: Consolas, Monaco, "Courier New", monospace;
}



/* =========================
   MEDIA SECTION
========================= */

.media-section {
    position: relative;
    padding: 110px 0 125px;
    overflow: hidden;
    background: #05080c;
    border-top: 1px solid rgba(186, 133, 64, 0.25);
}

.media-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: linear-gradient( 180deg, rgba(5, 8, 12, 0.35) 0%, rgba(5, 8, 12, 0.55) 60%, rgba(5, 8, 12, 0.75) 100% ), url("../gfx/media-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

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

/* =========================
   MEDIA HEADER
========================= */

.media-header {
    max-width: 880px;
    margin: 0 auto 38px;
    text-align: center;
}

    .media-header .eyebrow {
        margin: 0 0 8px;
        color: var(--gold-bright);
        font-family: "Cinzel", serif;
        font-size: 0.95rem;
        letter-spacing: 0.16em;
        text-transform: uppercase;
    }

    .media-header h2 {
        margin: 0;
        font-family: "Cinzel", serif;
        font-size: clamp(2.2rem, 4vw, 4rem);
        font-weight: 600;
        text-transform: uppercase;
        background: linear-gradient( 180deg, #f4d27e 0%, #d4a14c 45%, #9a682c 58%, #dfb663 100% );
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

    .media-header p {
        margin: 14px auto 0;
        color: #e3d6bd;
        font-size: 1.3rem;
        line-height: 1.25;
    }

/* =========================
   MEDIA FILTERS
========================= */

.media-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 34px;
}

.media-filter {
    appearance: none;
    -webkit-appearance: none;
    min-height: 38px;
    padding: 0 18px;
    cursor: pointer;
    color: #c5b797;
    font-family: "Cinzel", serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid rgba(196, 139, 57, 0.35);
    border-radius: 0;
    background: rgba(8, 10, 12, 0.72);
    transition: color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

    .media-filter:hover,
    .media-filter.active {
        color: #f0d79a;
        border-color: var(--gold-bright);
        box-shadow: 0 0 14px rgba(224, 177, 96, 0.22);
        transform: translateY(-2px);
    }

/* =========================
   FEATURED MEDIA
========================= */

.media-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.85fr);
    margin-bottom: 28px;
    border: 1px solid rgba(196, 139, 57, 0.38);
    background: linear-gradient( 180deg, rgba(19, 17, 14, 0.92), rgba(8, 8, 8, 0.98) );
    box-shadow: inset 0 0 0 1px rgba(226, 177, 95, 0.06), 0 20px 44px rgba(0, 0, 0, 0.44);
    overflow: hidden;
}

.media-feature-image {
    position: relative;
    min-height: 460px;
    overflow: hidden;
    background: #05080c;
}

    .media-feature-image::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 2;
        background: linear-gradient(90deg, transparent 55%, rgba(0, 0, 0, 0.35)), radial-gradient(circle at center, transparent 45%, rgba(0, 0, 0, 0.38));
        pointer-events: none;
    }

    .media-feature-image img {
        width: 100%;
        height: 100%;
        min-height: 460px;
        object-fit: cover;
        display: block;
        cursor: pointer;
        filter: brightness(0.84) contrast(1.08) saturate(1.08);
        transition: transform 0.55s ease, filter 0.55s ease, opacity 0.22s ease;
    }

.media-feature:hover .media-feature-image img {
    transform: scale(1.045);
    filter: brightness(0.92) contrast(1.1) saturate(1.12);
}

/* =========================
   FEATURE TEXT PANEL
========================= */

.media-feature-copy {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 460px;
    padding: 42px;
    background: radial-gradient(circle at top left, rgba(224, 177, 96, 0.08), transparent 38%), linear-gradient(180deg, rgba(11, 10, 9, 0.96), rgba(5, 6, 8, 0.98));
}

.media-kicker,
#mediaFeatureCategory {
    display: block;
    margin: 0 0 10px;
    color: var(--gold-bright);
    font-family: Inter, sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.media-feature-copy h3,
#mediaFeatureTitle {
    display: block;
    margin: 0 0 14px;
    color: var(--gold-bright);
    font-family: "Cinzel", serif;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1.02;
    text-transform: uppercase;
}

.media-feature-copy p,
#mediaFeatureText {
    display: block;
    margin: 0;
    color: #e3d6bd;
    font-size: 1.25rem;
    line-height: 1.3;
}

.media-open {
    appearance: none;
    -webkit-appearance: none;
    margin-top: 28px;
    width: fit-content;
}

/* =========================
   MEDIA ARROWS
========================= */

.media-nav {
    appearance: none;
    -webkit-appearance: none;
    position: absolute;
    top: 50%;
    z-index: 10;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(224, 177, 96, 0.75);
    background: radial-gradient(circle, rgba(224, 177, 96, 0.16), rgba(5, 6, 8, 0.92) 62%);
    color: #f0d79a;
    font-family: "Cinzel", serif;
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    text-shadow: 0 0 8px rgba(224, 177, 96, 0.45);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04), 0 0 18px rgba(0, 0, 0, 0.7);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

    .media-nav:hover {
        transform: translateY(-50%) scale(1.08);
        border-color: var(--gold-bright);
        background: radial-gradient(circle, rgba(224, 177, 96, 0.28), rgba(5, 6, 8, 0.96) 64%);
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 0 22px rgba(224, 177, 96, 0.35);
    }

.media-prev {
    left: 18px;
}

.media-next {
    right: 18px;
}

/* =========================
   MEDIA GRID
========================= */

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

.media-tile {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    display: block;
    width: 100%;
    min-height: 185px;
    padding: 0;
    margin: 0;
    cursor: pointer;
    overflow: hidden;
    border: 1px solid rgba(196, 139, 57, 0.32);
    border-radius: 0;
    background: #090b0e;
    color: inherit;
    text-align: left;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

    .media-tile::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 2;
        background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.72));
        pointer-events: none;
    }

    .media-tile img {
        width: 100%;
        height: 100%;
        min-height: 185px;
        object-fit: cover;
        display: block;
        filter: brightness(0.78) contrast(1.08) saturate(1.05);
        transition: transform 0.45s ease, filter 0.45s ease, opacity 0.25s ease;
    }

    .media-tile span {
        position: absolute;
        left: 14px;
        right: 14px;
        bottom: 14px;
        z-index: 3;
        display: block;
        color: #d9b66c;
        font-family: "Cinzel", serif;
        font-size: 1rem;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
    }

    .media-tile:hover,
    .media-tile.active {
        transform: translateY(-4px);
        border-color: var(--gold-bright);
        box-shadow: 0 0 18px rgba(224, 177, 96, 0.22);
    }

        .media-tile:hover img,
        .media-tile.active img {
            transform: scale(1.08);
            filter: brightness(0.92) contrast(1.1) saturate(1.12);
        }

    .media-tile.hidden {
        display: none;
    }

/* =========================
   MEDIA VIEWER
========================= */

.media-viewer {
    width: min(1200px, calc(100% - 28px));
    border: none;
    padding: 0;
    background: transparent;
}

    .media-viewer::backdrop {
        background: rgba(0, 0, 0, 0.82);
        backdrop-filter: blur(5px);
    }

    .media-viewer img {
        width: 100%;
        max-height: 86vh;
        object-fit: contain;
        display: block;
        border: 1px solid rgba(196, 139, 57, 0.45);
        background: #05080c;
        box-shadow: 0 24px 70px rgba(0, 0, 0, 0.75);
    }

.media-viewer-close {
    appearance: none;
    -webkit-appearance: none;
    position: fixed;
    top: 22px;
    right: 28px;
    z-index: 10;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    padding: 0;
    cursor: pointer;
    color: var(--gold-bright);
    font-size: 2.2rem;
    line-height: 1;
    border: 1px solid rgba(196, 139, 57, 0.45);
    border-radius: 0;
    background: rgba(5, 6, 8, 0.92);
}

/* =========================
   MEDIA RESPONSIVE
========================= */

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

    .media-feature-image,
    .media-feature-image img,
    .media-feature-copy {
        min-height: 360px;
    }

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

@media (max-width: 640px) {
    .media-section {
        padding: 80px 0 90px;
    }

    .media-filter {
        width: 100%;
    }

    .media-feature-copy {
        padding: 24px;
    }

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

    .media-nav {
        width: 42px;
        height: 42px;
        font-size: 1.35rem;
    }

    .media-prev {
        left: 10px;
    }

    .media-next {
        right: 10px;
    }
}

/* =========================
// VIDEO PLAYING - START
========================= */

.infographic-panel img,
.infographic-panel video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: inherit;
}

.system-video {
    background: #050403;
}

/* =========================
// VIDEO PLAYING - END
========================= */


/* =========================
// LANGUAGES - START
========================= */

.language-form {
    display: flex;
    align-items: center;
    margin: 0;
}

.language-select {
    height: 38px;
    min-width: 62px;
    padding: 0 28px 0 12px;
    color: #23170b;
    background: linear-gradient(180deg, #dca84f, #a86b2b);
    border: 1px solid #7e5422;
    font-family: "Cinzel", serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.055em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 8px 18px rgba(0, 0, 0, 0.42);
}

.language-select:hover {
    filter: brightness(1.06);
}

.language-select:focus {
    outline: 1px solid var(--gold-bright);
    outline-offset: 2px;
}

/* =========================
// VIDEO PLAYING - END
========================= */


/* =========================
// ADMIN  - START
========================= */

.admin-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.admin-dashboard-card {
    display: block;
    padding: 24px;
    min-height: 180px;
    color: var(--text);
    text-decoration: none;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(20, 17, 13, 0.92), rgba(8, 8, 8, 0.96));
    box-shadow: inset 0 0 0 1px rgba(226, 177, 95, 0.06), 0 12px 24px rgba(0, 0, 0, 0.32);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

    .admin-dashboard-card:hover {
        transform: translateY(-3px);
        border-color: var(--gold-bright);
    }

    .admin-dashboard-card h2 {
        margin: 0 0 12px;
        color: var(--gold-bright);
        font-family: "Cinzel", serif;
    }

    .admin-dashboard-card p {
        margin: 0;
        color: var(--muted);
        font-family: Inter, sans-serif;
        line-height: 1.4;
    }

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

.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #111;
    border-bottom: 1px solid rgba(255, 215, 120, 0.35);
    padding: 14px 32px;
}

.admin-nav {
    display: flex;
    gap: 24px;
    align-items: center;
}

    .admin-nav a {
        color: #f0d28a;
        text-decoration: none;
        font-weight: 600;
    }

        .admin-nav a:hover {
            color: white;
        }

/* =========================
// ADMIN  - END
========================= */


/* =========================
// ADMIN CORE SYSTEMS - START
========================= */

.admin-page {
    padding: 120px 0 80px;
}

    .admin-page h1,
    .admin-page h2 {
        font-family: "Cinzel", serif;
        color: var(--gold-bright);
    }

.admin-form {
    display: grid;
    gap: 18px;
    max-width: 1100px;
}

    .admin-form label {
        display: grid;
        gap: 6px;
        color: var(--muted);
        font-family: Inter, sans-serif;
    }

    .admin-form input,
    .admin-form textarea {
        width: 100%;
        padding: 12px;
        color: var(--text);
        background: rgba(5, 8, 12, 0.9);
        border: 1px solid var(--line);
        font-family: Consolas, monospace;
    }

    .admin-form textarea {
        resize: vertical;
    }

.checkbox-row {
    display: flex !important;
    align-items: center;
    gap: 10px;
}

    .checkbox-row input {
        width: auto;
    }

.admin-table {
    width: 100%;
    border-collapse: collapse;
    color: var(--text);
}

    .admin-table th,
    .admin-table td {
        padding: 12px;
        border-bottom: 1px solid var(--line);
        text-align: left;
    }

.admin-small-btn {
    min-height: 30px;
    height: 30px;
    padding: 0 12px;
    font-size: 0.75rem;
    margin-right: 6px;
}

    .admin-small-btn.danger {
        background: linear-gradient(180deg, #b74a3c, #7d241c);
        color: #f8e6df;
        border-color: #5c1712;
    }

/* =========================
// ADMIN CORE SYSTEMS - END
========================= */

/* =========================
   CODE BLOCKS / PRISM
========================= */

pre[class*="language-"] {
    background: #050505 !important;
    color: #f5f5f5 !important;
    border: 1px solid rgba(186, 133, 64, 0.45);
    border-radius: 8px;
    padding: 1.25rem;
    margin: 2rem 0;
    font-size: 0.9rem;
    line-height: 1.55;
    overflow: auto;
}

code[class*="language-"] {
    background: transparent !important;
    color: #f5f5f5 !important;
    font-family: Consolas, Monaco, "Courier New", monospace;
}

.token.comment {
    color: #7a7a7a !important;
}

.token.keyword {
    color: #c586c0 !important;
}

.token.string {
    color: #ce9178 !important;
}

.token.class-name {
    color: #4ec9b0 !important;
}

.token.function {
    color: #dcdcaa !important;
}

.token.number {
    color: #b5cea8 !important;
}

.token.operator,
.token.punctuation {
    color: #d4d4d4 !important;
}

/* =========================
   CODE BLOCKS / PRISM FINAL OVERRIDE
========================= */

pre[class*="language-"],
pre:has(code[class*="language-"]) {
    background: #050505 !important;
    color: #f5f5f5 !important;
    border: 1px solid rgba(186, 133, 64, 0.45) !important;
    border-radius: 8px;
    padding: 1.25rem;
    margin: 2rem 0;
    font-size: 0.9rem;
    line-height: 1.55;
    overflow: auto;
}

code[class*="language-"] {
    background: transparent !important;
    color: #f5f5f5 !important;
    font-family: Consolas, Monaco, "Courier New", monospace;
}

.token.comment {
    color: #7a7a7a !important;
}

.token.keyword {
    color: #c586c0 !important;
}

.token.string {
    color: #ce9178 !important;
}

.token.class-name {
    color: #4ec9b0 !important;
}

.token.function {
    color: #dcdcaa !important;
}

.token.number {
    color: #b5cea8 !important;
}

.token.operator,
.token.punctuation {
    color: #d4d4d4 !important;
}


