/* GTA6Brief site styles. Palette from brand_kit.md. */
:root {
  --navy: #080216;
  --navy-2: #12062a;
  --purple: #5c10a0;
  --magenta: #ff2daa;
  --cyan: #3cefff;
  --white: #ffffff;
  --gold: #ffc14d;
  --orange: #ff6b3d;
  --pink: #ff69c8;
  --text: #f6f1fb;
  --muted: #cbbcd8;
  --line: rgba(255, 45, 170, 0.28);
  --header-h: 68px;
  --logo-h: 50px;
  --max: 72rem;
  --radius: 1rem;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --font-head: "Anton", "Bebas Neue", Impact, sans-serif;
  --font-brand: "Righteous", "Anton", sans-serif;
  --font-body: "Montserrat", "Inter", system-ui, sans-serif;
}

@font-face {
  font-family: "Anton";
  src: url("/fonts/anton.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Righteous";
  src: url("/fonts/righteous.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("/fonts/montserrat.woff2") format("woff2-variations"),
       url("/fonts/montserrat.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
}

html:focus-within {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--navy);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--cyan);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--pink);
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 1000;
  background: var(--magenta);
  color: var(--white);
  padding: 0.6rem 1rem;
  font-weight: 700;
  border-radius: 0 0 0.5rem 0.5rem;
}

.skip-link:focus {
  top: 0;
  color: var(--white);
}

/* Header. The logo size is locked here for every page, state and breakpoint.
   HTML width/height attributes match the rendered size, so even before this
   file loads (or with an old cached copy) the logo cannot render large. */
@media (min-width: 800px) {
  :root { --header-h: 76px; --logo-h: 60px; }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(8, 2, 22, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  height: var(--logo-h);
  min-height: 44px;
  line-height: 0;
  color: var(--white);
  text-decoration: none;
  border-radius: 0.4rem;
  transform: none;
  transition: opacity 0.15s ease;
}

.brand:hover { opacity: 0.88; }

.brand-pic {
  display: block;
  flex: 0 0 auto;
  height: var(--logo-h);
  line-height: 0;
}

.site-header .brand-logo,
.site-header .brand:hover .brand-logo,
.site-header .brand:focus .brand-logo,
.site-header .brand:focus-visible .brand-logo,
.site-header .brand:active .brand-logo {
  display: block;
  height: var(--logo-h) !important;
  max-height: var(--logo-h) !important;
  min-height: 0 !important;
  width: auto !important;
  max-width: none !important;
  aspect-ratio: 55 / 60;
  object-fit: contain;
  flex-shrink: 0;
  transform: none !important;
  transition: none !important;
  animation: none !important;
  zoom: 1;
}

.brand:hover {
  color: var(--white);
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex: 0 0 auto;
  box-shadow: 0 0 0 1px rgba(255, 45, 170, 0.45), 0 0 16px rgba(255, 45, 170, 0.25);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-word {
  font-family: var(--font-brand);
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  line-height: 1;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  padding: 0;
}

.nav-toggle-bars {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--cyan);
}

.site-nav a.nav-cta {
  padding: 0 1rem;
  min-height: 40px;
  border-radius: 999px;
  background: var(--magenta);
  color: var(--white);
  box-shadow: 0 0 18px rgba(255, 45, 170, 0.35);
}

.site-nav a.nav-cta:hover {
  background: #ff4bbc;
  color: var(--white);
}

.nav-toggle[aria-expanded="true"] {
  border-color: var(--cyan);
  color: var(--cyan);
}

.site-nav.is-open {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: rgba(10, 3, 26, 0.98);
  border-bottom: 1px solid var(--line);
  padding: 0.5rem 1rem 1rem;
  gap: 0;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
}

.site-nav.is-open a {
  padding: 0 0.25rem;
  min-height: 52px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-nav.is-open a.nav-cta {
  margin-top: 0.75rem;
  justify-content: center;
  border-bottom: 0;
}

@media (min-width: 800px) {
  .nav-toggle { display: none; }
  .site-nav,
  .site-nav.is-open {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 1.6rem;
    background: none;
    border: 0;
    padding: 0;
    box-shadow: none;
  }
  .site-nav.is-open a { min-height: 44px; border: 0; padding: 0; }
  .site-nav.is-open a.nav-cta { margin: 0; padding: 0 1rem; min-height: 40px; }
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 2, 22, 0.18) 0%, rgba(8, 2, 22, 0.15) 38%, rgba(8, 2, 22, 0.72) 68%, var(--navy) 100%),
    linear-gradient(90deg, rgba(8, 2, 22, 0.55) 0%, rgba(8, 2, 22, 0.15) 48%, rgba(8, 2, 22, 0.2) 100%);
  pointer-events: none;
}

.hero-inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 2.2rem 0 1.6rem;
}

.hero-logo {
  width: min(9.5rem, 38vw);
  margin: 0 0 0.85rem;
  filter: drop-shadow(0 8px 24px rgba(8, 2, 22, 0.65));
}

.kicker {
  margin: 0 0 0.45rem;
  color: var(--cyan);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 0.6rem;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(2.4rem, 8vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow:
    0 2px 0 #080216,
    0 0 18px rgba(255, 45, 170, 0.55);
  max-width: 14ch;
}

.hero-lead {
  margin: 0 0 1.6rem;
  max-width: 36rem;
  color: var(--text);
  font-size: 1.02rem;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 7.5rem));
  gap: 0.6rem;
  margin: 0 0 0.9rem;
}

.countdown.is-out {
  display: block;
}

.out-now {
  margin: 0 0 0.4rem;
  font-family: var(--font-head);
  font-size: clamp(3rem, 10vw, 6rem);
  line-height: 0.9;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 0 22px rgba(255, 45, 170, 0.7);
}

.count-unit {
  background: rgba(18, 6, 42, 0.72);
  border: 1px solid rgba(60, 239, 255, 0.28);
  border-top: 2px solid var(--cyan);
  border-radius: 0.75rem;
  padding: 0.7rem 0.4rem 0.6rem;
  text-align: center;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.count-num {
  display: block;
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 6vw, 3rem);
  line-height: 1;
  color: var(--white);
  letter-spacing: 0.02em;
}

.count-label {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  font-weight: 700;
}

.count-source {
  margin: 0;
  max-width: 40rem;
  color: #e4d6f0;
  font-size: 0.82rem;
}

.count-source a {
  color: var(--cyan);
}

/* Sections */
.section {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 4rem 0 0.5rem;
}

.section-head .kicker { margin-bottom: 0.35rem; }

.section h2 {
  margin: 0 0 1.4rem;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  text-shadow: 0 0 14px rgba(255, 45, 170, 0.28);
}

.section h2 { margin-bottom: 0.7rem; }

.section-intro {
  margin: 0 0 1.75rem;
  max-width: 40rem;
  color: var(--muted);
}

/* News */
.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 720px) {
  .news-grid { grid-template-columns: repeat(3, 1fr); }
}

.news-card {
  background: linear-gradient(180deg, rgba(92, 16, 160, 0.18), rgba(18, 6, 42, 0.9));
  border: 1px solid rgba(92, 16, 160, 0.5);
  border-radius: var(--radius);
  padding: 1.15rem 1.15rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-height: 100%;
  box-shadow: var(--shadow);
}

.news-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
}

.badge-official,
.badge-confirmed {
  background: var(--magenta);
  color: var(--white);
}

.badge-rumor,
.badge-leak {
  background: var(--gold);
  color: var(--navy);
}

.badge-plain {
  background: var(--navy-2);
  color: var(--cyan);
  border: 1px solid rgba(60, 239, 255, 0.35);
}

.news-card time {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.news-card h3 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 1.45rem;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.news-card h3 a {
  color: var(--white);
  text-decoration: none;
}

.news-card h3 a:hover {
  color: var(--cyan);
}

.news-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  flex: 1;
}

.source-link {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.news-status {
  color: var(--muted);
  margin: 0;
}

.news-card-image {
  margin: -1.15rem -1.15rem 0.2rem;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Signup + social */
.band {
  width: min(100% - 2rem, var(--max));
  margin: 4rem auto 0;
  padding: 1.6rem 1.3rem;
  border-radius: 1.15rem;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(255, 45, 170, 0.22), transparent 50%),
    radial-gradient(90% 120% at 0% 100%, rgba(60, 239, 255, 0.12), transparent 46%),
    linear-gradient(180deg, #16062f, #0c031c);
  border: 1px solid var(--line);
  display: grid;
  gap: 1.4rem;
}

@media (min-width: 860px) {
  .band {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    padding: 1.8rem 2rem;
  }
}

.band h2 {
  margin: 0 0 0.5rem;
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.05;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.band p {
  margin: 0;
  color: var(--muted);
}

.signup {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: end;
}

.signup-field {
  flex: 1 1 14rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.signup-field label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--cyan);
}

.signup input[type="email"] {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(60, 239, 255, 0.3);
  border-radius: 0.65rem;
  background: rgba(8, 2, 22, 0.7);
  color: var(--white);
  font: inherit;
  padding: 0.7rem 0.9rem;
}

.signup input[type="email"]::placeholder {
  color: #8b7a9a;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.2rem;
  border: 0;
  border-radius: 0.65rem;
  background: var(--magenta);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 0 22px rgba(255, 45, 170, 0.35);
}

.btn:hover {
  color: var(--white);
  background: #ff4bbc;
}

.hp,
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Social */
.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 40px;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(60, 239, 255, 0.3);
  color: var(--white);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.social-link:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}

.social-link.is-pending {
  opacity: 0.7;
  border-style: dashed;
}

.social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Footer */
.site-footer {
  margin-top: 3.5rem;
  padding: 2rem 0 2.4rem;
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, transparent, rgba(92, 16, 160, 0.12));
}

.footer-inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 0.9rem;
}

.disclaimer {
  margin: 0;
  color: var(--text);
  font-weight: 700;
  font-size: 0.95rem;
}

.footer-meta,
.footer-meta a {
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-meta {
  margin: 0;
}

/* About / inner pages */
.page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: 3.2rem 0 2.4rem;
  border-bottom: 1px solid var(--line);
}

.page-hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: saturate(1.05);
}

.page-hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 2, 22, 0.35), rgba(8, 2, 22, 0.88) 70%, var(--navy));
}

.page-hero-inner {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

.page-hero h1 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 0.95;
  text-shadow: 0 0 18px rgba(255, 45, 170, 0.45);
}

.prose {
  width: min(100% - 2rem, 46rem);
  margin: 0 auto;
  padding: 2.75rem 0 1rem;
}

.prose > :first-child { margin-top: 0; }

.prose p { margin: 0 0 1.1rem; }

.prose h2 {
  font-family: var(--font-head);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 1.7rem;
  margin: 2rem 0 0.6rem;
}

.prose p,
.prose li {
  color: var(--muted);
}

.prose p.disclaimer {
  color: var(--text);
  background: rgba(18, 6, 42, 0.8);
  border-left: 3px solid var(--gold);
  padding: 0.9rem 1rem;
  border-radius: 0 0.6rem 0.6rem 0;
}

.thanks-box,
.error-box {
  width: min(100% - 2rem, 40rem);
  margin: 4rem auto 5rem;
  padding: 2rem 1.4rem;
  text-align: center;
  background: linear-gradient(180deg, rgba(92, 16, 160, 0.2), rgba(18, 6, 42, 0.9));
  border: 1px solid var(--line);
  border-radius: 1.15rem;
  box-shadow: var(--shadow);
}

.thanks-box h1,
.error-box h1 {
  margin: 0 0 0.6rem;
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.05;
  font-size: clamp(2rem, 6vw, 3.4rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.thanks-box p,
.error-box p {
  color: var(--muted);
}

@media (min-width: 800px) {
  .hero-media img { object-position: center 28%; }
  .hero-inner { padding: 5rem 0 2.6rem; }
  .hero-logo { width: 13rem; }
}

/* Ads: hidden until body.ads-enabled is set by ads-config.js */
.ad-slot {
  display: none;
}

body.ads-enabled .ad-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 6, 42, 0.55);
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 0.6rem;
  color: var(--muted);
}

.ad-slot-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.ad-label {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: #8b7a9a;
}

.ad-slot-header {
  width: min(100% - 2rem, 728px);
  margin: 0.55rem auto 0;
  height: 90px;
  min-height: 90px;
}

@media (max-width: 767px) {
  body.ads-enabled .ad-slot-header {
    width: min(100% - 2rem, 320px);
    height: 100px;
    min-height: 100px;
  }
}

.ad-slot-feed {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 90px;
  margin: 0;
}

.news-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: start;
}

.news-sidebar {
  display: none;
}

body.ads-enabled .news-sidebar {
  display: block;
  order: 2;
}

.ad-slot-sidebar {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  min-height: 250px;
  height: 250px;
}

@media (min-width: 1100px) {
  body.ads-enabled .news-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  body.ads-enabled .news-sidebar {
    order: 0;
    position: sticky;
    top: calc(var(--header-h) + 1rem);
  }

  body.ads-enabled .ad-slot-sidebar {
    height: 600px;
    min-height: 600px;
  }

  body.ads-enabled .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  margin: 0;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.footer-links a:hover,
.footer-links a[aria-current="page"] {
  color: var(--cyan);
}

.contact-form {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.4rem;
}

.contact-form .signup-field textarea {
  width: 100%;
  min-height: 10rem;
  border: 1px solid rgba(60, 239, 255, 0.3);
  border-radius: 0.65rem;
  background: rgba(8, 2, 22, 0.7);
  color: var(--white);
  font: inherit;
  padding: 0.7rem 0.9rem;
  resize: vertical;
}

.contact-form .btn {
  justify-self: start;
}

.signup input[type="text"],
.contact-form input[type="text"],
.contact-form input[type="email"] {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(60, 239, 255, 0.3);
  border-radius: 0.65rem;
  background: rgba(8, 2, 22, 0.7);
  color: var(--white);
  font: inherit;
  padding: 0.7rem 0.9rem;
}

/* Coming soon socials: visible, muted, not links */
.social-link.is-pending,
span.social-link.is-pending {
  opacity: 0.55;
  border-style: dashed;
  cursor: default;
  pointer-events: none;
  color: var(--muted);
}

.social-soon {
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  margin-left: 0.15rem;
}

.footer-socials {
  justify-content: center;
  margin: 0.9rem 0 0.4rem;
}

.footer-socials .social-link {
  font-size: 0.9rem;
}

/* Buttons: one consistent style, no size changes on any state */
.btn:active { background: #e0208f; }
.btn:focus-visible,
.place-head:focus-visible,
.brand:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.contact-form .btn { margin-top: 0.4rem; }

.thanks-box .btn,
.error-box .btn { margin-top: 0.4rem; }

.thanks-box p:last-child,
.error-box p:last-child { margin-bottom: 0; }

.form-status {
  flex-basis: 100%;
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.form-status.is-error { color: var(--gold); }

/* Leonida map: original fan illustration */
.map-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: start;
}

@media (min-width: 960px) {
  .map-layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 1.75rem;
  }
  .map-figure {
    position: sticky;
    top: calc(var(--header-h) + 1rem);
  }
}

.map-figure { margin: 0; }

.map-canvas {
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(60, 239, 255, 0.25);
  background: #090219;
  box-shadow: 0 0 0 1px rgba(255, 45, 170, 0.08), 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 40px rgba(255, 45, 170, 0.1);
}

.map-svg {
  display: block;
  width: 100%;
  height: auto;
}

.map-title {
  font-family: var(--font-head);
  font-size: 34px;
  letter-spacing: 0.14em;
  fill: var(--white);
}

.map-sub {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  fill: var(--muted);
  letter-spacing: 0.04em;
}

.map-compass-n {
  font-family: var(--font-head);
  font-size: 13px;
  fill: var(--cyan);
}

.map-pin { cursor: pointer; }
.map-pin:focus { outline: none; }

.pin-halo {
  fill: var(--magenta);
  fill-opacity: 0.18;
  stroke: var(--magenta);
  stroke-opacity: 0.45;
  stroke-width: 1;
}

.pin-dot {
  fill: var(--magenta);
  stroke: var(--white);
  stroke-width: 2;
}

.pin-num {
  font-family: var(--font-head);
  font-size: 16px;
  fill: var(--white);
  pointer-events: none;
}

.pin-tag {
  fill: rgba(8, 2, 22, 0.88);
  stroke: rgba(60, 239, 255, 0.5);
  stroke-width: 1;
}

.pin-label {
  font-family: var(--font-head);
  font-size: 15px;
  letter-spacing: 0.06em;
  fill: var(--white);
  pointer-events: none;
}

.map-pin:hover .pin-tag,
.map-pin:focus-visible .pin-tag { stroke: var(--white); }

.map-pin:focus-visible .pin-halo { stroke: var(--white); stroke-width: 2; stroke-opacity: 1; }

.map-pin.is-active .pin-halo { fill: var(--gold); stroke: var(--gold); }
.map-pin.is-active .pin-dot { fill: var(--gold); stroke: var(--navy); }
.map-pin.is-active .pin-num { fill: var(--navy); }
.map-pin.is-active .pin-tag { stroke: var(--gold); fill: rgba(30, 10, 10, 0.92); }
.map-pin.is-active .pin-label { fill: var(--gold); }

.map-note {
  display: block;
  margin: 0.8rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.map-note-tag {
  display: inline-flex;
  margin-right: 0.45rem;
  vertical-align: 0.08em;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 193, 77, 0.6);
  color: var(--gold);
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.place-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

@media (min-width: 640px) and (max-width: 959px) {
  .place-list { grid-template-columns: 1fr 1fr; }
}

.place-card {
  background: linear-gradient(180deg, rgba(92, 16, 160, 0.16), rgba(18, 6, 42, 0.9));
  border: 1px solid rgba(92, 16, 160, 0.5);
  border-radius: 0.9rem;
  padding: 0.85rem 1rem 0.95rem;
  scroll-margin-top: calc(var(--header-h) + 1rem);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.place-card.is-active {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(255, 193, 77, 0.35), 0 0 26px rgba(255, 193, 77, 0.14);
}

.place-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: var(--white);
  font: inherit;
  text-align: left;
  cursor: pointer;
  border-radius: 0.4rem;
}

.place-num {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--magenta);
  border: 2px solid var(--white);
  font-family: var(--font-head);
  font-size: 0.9rem;
  line-height: 1;
}

.place-card.is-active .place-num {
  background: var(--gold);
  border-color: var(--navy);
  color: var(--navy);
}

.place-name {
  flex: 1 1 auto;
  font-family: var(--font-head);
  font-size: 1.2rem;
  line-height: 1.1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.place-head:hover .place-name { color: var(--cyan); }

.place-card p {
  margin: 0.55rem 0 0.5rem;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.55;
}

.place-card .source-link { font-size: 0.76rem; }

/* Discord and secondary buttons */
.btn-discord {
  background: var(--purple);
  border: 1px solid rgba(60, 239, 255, 0.55);
  box-shadow: 0 0 22px rgba(92, 16, 160, 0.55);
}

.btn-discord:hover {
  background: #6f1cc0;
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  border: 1px solid rgba(60, 239, 255, 0.45);
  box-shadow: none;
  color: var(--white);
}

.btn-ghost:hover {
  background: rgba(60, 239, 255, 0.08);
  border-color: var(--cyan);
  color: var(--white);
}

.site-footer .btn-discord { margin-bottom: 0.35rem; }

.contact-channels {
  margin: 0 0 1.4rem;
  padding: 1rem 1.1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: rgba(18, 6, 42, 0.6);
}

.contact-channel-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

@media (max-width: 480px) {
  .contact-channel-row .btn { flex: 1 1 100%; }
}
