﻿:root {
  color-scheme: dark;
  --bg: #070b12;
  --panel: #101722;
  --text: #f5f1e8;
  --muted: #aeb9ce;
  --line: rgba(255, 255, 255, 0.11);
  --gold: #e3c47c;
  --cyan: #48c7d8;
  --max: 1180px;
  font-family: Bahnschrift, "Segoe UI", ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: inherit;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

.topbar {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 12px clamp(16px, 4vw, 56px);
  border-bottom: 1px solid var(--line);
  background: rgba(7, 11, 18, 0.90);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.brand img {
  height: 42px;
  width: auto;
  max-width: 132px;
  object-fit: contain;
  border: 1px solid rgba(227, 196, 124, 0.24);
  border-radius: 8px;
  background: rgba(7, 11, 18, 0.54);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
}

.nav a,
.button,
.lang-toggle {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px 10px;
  color: var(--muted);
  background: rgba(16, 23, 34, 0.72);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.nav a:hover,
.button:hover,
.lang-toggle:hover {
  color: var(--gold);
  border-color: rgba(227, 196, 124, 0.5);
}

.nav img {
  width: 20px;
  height: 20px;
}

.lang-toggle {
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  padding: 122px clamp(18px, 5vw, 72px) 58px;
  overflow: hidden;
}

.hero-bg,
.shade {
  position: absolute;
  inset: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.70;
}

.shade {
  background:
    radial-gradient(circle at 72% 22%, rgba(72, 199, 216, 0.18), transparent 34%),
    linear-gradient(90deg, rgba(7, 11, 18, 0.98), rgba(7, 11, 18, 0.76) 54%, rgba(7, 11, 18, 0.22)),
    linear-gradient(0deg, var(--bg), rgba(7, 11, 18, 0) 38%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 980px;
}

.kicker {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 980px;
  margin-bottom: 18px;
  font-size: clamp(52px, 8vw, 108px);
  line-height: 0.90;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 0.96;
}

.hero p:not(.kicker),
.card p,
.route span,
footer span,
.section p,
.featured-route p {
  color: var(--muted);
  line-height: 1.55;
}

.hero p:not(.kicker) {
  max-width: 790px;
  font-size: 21px;
}

.hero-actions,
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions {
  margin-top: 26px;
}

.button {
  min-height: 44px;
  padding: 10px 14px;
}

.button.primary {
  color: #071019;
  border-color: rgba(227, 196, 124, 0.72);
  background: linear-gradient(135deg, var(--gold), #f7e3a1);
}

.hero-badges {
  margin-top: 24px;
}

.hero-badges span {
  border: 1px solid rgba(227, 196, 124, 0.36);
  border-radius: 999px;
  padding: 8px 11px;
  color: var(--gold);
  background: rgba(227, 196, 124, 0.08);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.section-head {
  max-width: 840px;
  margin-bottom: 24px;
}

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

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

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

.card,
.route,
.featured-route a {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(21, 29, 43, 0.94), rgba(16, 23, 34, 0.92));
}

.card {
  min-height: 210px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.card::after,
.route::after,
.featured-route a::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0.72;
}

.card.is-featured {
  border-color: rgba(227, 196, 124, 0.34);
  background: linear-gradient(180deg, rgba(35, 34, 26, 0.92), rgba(16, 23, 34, 0.92));
}

.card img,
.route img,
.featured-route img {
  width: 30px;
  height: 30px;
  filter: brightness(0) saturate(100%) invert(89%) sepia(31%) saturate(751%) hue-rotate(350deg) brightness(104%) contrast(102%);
}

.card h3,
.route strong,
.featured-route strong {
  margin: 0;
  color: var(--text);
  font-size: 22px;
}

.card span {
  margin-top: auto;
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
}

.site-stage {
  width: fit-content;
  border: 1px solid rgba(227, 196, 124, 0.28);
  border-radius: 999px;
  padding: 6px 9px;
  color: var(--gold);
  background: rgba(227, 196, 124, 0.08);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.site-stage.is-live {
  color: #80f2a6;
  border-color: rgba(128, 242, 166, 0.32);
  background: rgba(128, 242, 166, 0.08);
}

.route {
  min-height: 168px;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-content: start;
  gap: 9px 12px;
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.route img {
  grid-row: span 2;
}

.route span {
  grid-column: 2;
}

.featured-route {
  margin-bottom: 16px;
}

.featured-route a {
  min-height: 150px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 8px 14px;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.featured-route img {
  grid-row: span 3;
}

.featured-route span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.live {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 28px;
  align-items: start;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  background: #05080d;
}

footer img {
  width: 180px;
  height: auto;
}

a:hover img[src*="assets/icons/"],
a:hover img[src*="/assets/icons/"],
button:hover img[src*="assets/icons/"],
button:hover img[src*="/assets/icons/"] {
  filter: brightness(0) saturate(100%) invert(82%) sepia(35%) saturate(903%) hue-rotate(142deg) brightness(99%) contrast(98%);
}

@media (max-width: 1080px) {
  .topbar {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
  }

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

  .nav a {
    white-space: nowrap;
  }

  .hero {
    padding-top: 150px;
  }

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

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

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

  .brand img {
    height: 34px;
  }

  .brand span,
  .nav a {
    font-size: 12px;
  }

  .hero {
    min-height: 86vh;
    padding: 150px 16px 44px;
  }

  h1 {
    font-size: clamp(48px, 15vw, 66px);
    line-height: 0.92;
  }

  h2 {
    font-size: clamp(32px, 11vw, 46px);
  }

  .hero p:not(.kicker) {
    font-size: 18px;
  }

  .section {
    width: min(100% - 24px, var(--max));
    padding: 48px 0;
  }

  .grid,
  .grid.small,
  .path-grid {
    grid-template-columns: 1fr;
  }

  .route,
  .featured-route a {
    grid-template-columns: 1fr;
  }

  .route img,
  .route span,
  .featured-route img {
    grid-column: auto;
    grid-row: auto;
  }

  .hero-actions .button {
    width: 100%;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
/* HD icon surface normalization: keep SVG image icons readable on dark premium surfaces. */
img[src*="assets/icons/"],
img[src*="/assets/icons/"] {
  background: transparent !important;
  object-fit: contain;
}

img[src*="assets/icons/"]:not(.hd-icon),
img[src*="/assets/icons/"]:not(.hd-icon) {
  filter: brightness(0) saturate(100%) invert(89%) sepia(31%) saturate(751%) hue-rotate(350deg) brightness(104%) contrast(102%);
}

a:hover img[src*="assets/icons/"]:not(.hd-icon),
a:hover img[src*="/assets/icons/"]:not(.hd-icon),
button:hover img[src*="assets/icons/"]:not(.hd-icon),
button:hover img[src*="/assets/icons/"]:not(.hd-icon) {
  filter: brightness(0) saturate(100%) invert(82%) sepia(35%) saturate(903%) hue-rotate(142deg) brightness(99%) contrast(98%);
}
