:root {
  --bg: #04120d;
  --panel: rgba(8, 31, 24, 0.94);
  --panel-soft: rgba(6, 20, 17, 0.94);
  --line: rgba(255, 227, 144, 0.16);
  --line-soft: rgba(255, 255, 255, 0.07);
  --text: #f7fff4;
  --muted: #b6cdc0;
  --gold: #ffd45f;
  --gold-strong: #ff9f2f;
  --green: #44ff9e;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.46);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  font-family: "Space Grotesk", sans-serif;
  background:
    radial-gradient(circle at 14% 10%, rgba(68, 255, 158, 0.18), transparent 22%),
    radial-gradient(circle at 86% 12%, rgba(255, 212, 95, 0.2), transparent 22%),
    linear-gradient(180deg, #062018 0%, #04120d 32%, #020806 72%, #07140e 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.12;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.02) 0 1px, transparent 1px 40px);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.glow {
  position: fixed;
  z-index: -1;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.28;
}

.glow-a {
  top: 90px;
  left: -90px;
  width: 260px;
  height: 260px;
  background: rgba(68, 255, 158, 0.24);
}

.glow-b {
  right: -110px;
  bottom: 100px;
  width: 320px;
  height: 320px;
  background: rgba(255, 212, 95, 0.22);
}

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

.content-shell {
  width: min(1040px, calc(100% - 28px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  padding-bottom: 16px;
  backdrop-filter: blur(18px);
  background: rgba(2, 14, 10, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.neon-line {
  height: 5px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(68, 255, 158, 0.95),
    rgba(255, 212, 95, 0.98),
    rgba(68, 255, 158, 0.95),
    transparent
  );
  box-shadow: 0 0 26px rgba(68, 255, 158, 0.3);
}

.header-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 84px;
  padding-top: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 0 22px rgba(255, 212, 95, 0.24));
}

.brand span {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand strong,
.section-title,
.section-chip,
.tower-name,
.tower-chip,
.footer-brand {
  font-family: "Bebas Neue", sans-serif;
}

.brand strong {
  font-size: 2.1rem;
  line-height: 1;
  letter-spacing: 0.05em;
}

.brand em {
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}

.main-nav {
  justify-self: center;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-soft);
}

.main-nav a,
.header-cta,
.ticker-chip,
.section-link,
.tower-card {
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background-color 0.22s ease;
}

.main-nav a {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
}

.main-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 18px;
  color: #082118;
  font-size: 0.88rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffe17b, #ffad3a);
  box-shadow: 0 16px 32px rgba(255, 173, 58, 0.22);
}

.header-cta:hover,
.section-link:hover,
.tower-card:hover {
  transform: translateY(-3px);
}

.ticker-wrap {
  margin-top: 4px;
}

.ticker-shell {
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(255, 228, 145, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(4, 18, 13, 0.92);
}

.ticker-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  animation: ticker 25s linear infinite;
}

.ticker-shell:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-chip {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 10px 16px;
  border-radius: 18px;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.ticker-chip::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: none;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(255, 212, 95, 0.12);
}

.ticker-chip span {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.ticker-chip em {
  font-style: normal;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-main {
  padding: 28px 0 0;
}

.section {
  padding-top: 26px;
}

.section-bottom {
  padding-bottom: 28px;
}

.hero-panel {
  overflow: hidden;
  padding: 20px;
  border-radius: 32px;
  border: 1px solid rgba(255, 212, 95, 0.2);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)),
    var(--panel);
  box-shadow: var(--shadow);
}

.section-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 1.18rem;
  letter-spacing: 0.28em;
  color: var(--gold);
}

.section-chip,
.section-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.92rem;
  letter-spacing: 0.12em;
}

.hero-main {
  margin-bottom: 16px;
}

.hero-lane,
.main-grid {
  display: grid;
  gap: 16px;
}

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

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

.board-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.side-rail {
  position: fixed;
  top: 198px;
  z-index: 20;
  display: grid;
  gap: 14px;
  width: 214px;
}

.side-rail--left {
  left: max(14px, calc((100vw - 1460px) / 2 + 8px));
}

.side-rail--right {
  right: max(14px, calc((100vw - 1460px) / 2 + 8px));
}

.tower-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 220px;
  padding: 18px;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03)),
    var(--panel-soft);
  box-shadow: var(--shadow);
}

.tower-card::before {
  content: "";
  position: absolute;
  top: -58px;
  right: -52px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.2;
  filter: blur(24px);
}

.tower-card::after {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.tower-card__top,
.tower-card__logo,
.tower-card__bottom {
  position: relative;
  z-index: 1;
}

.tower-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tower-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.tower-pill::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
}

.tower-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  height: 40px;
  padding: 0 14px;
  border-radius: 14px;
  color: #092117;
  font-size: 1.12rem;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, var(--gold), var(--gold-strong));
  box-shadow: 0 14px 28px rgba(255, 159, 47, 0.22);
}

.tower-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 104px;
  padding: 16px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01)),
    rgba(1, 7, 5, 0.34);
}

.tower-card__logo img {
  width: 100%;
  max-width: 260px;
  height: 76px;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.32));
}

.tower-card__bottom {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
}

.tower-name {
  font-size: 3rem;
  line-height: 0.92;
  letter-spacing: 0.04em;
}

.tower-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff2ca;
}

.tower-link::after {
  content: "+";
  color: var(--accent);
}

.tower-card--hero {
  min-height: 386px;
}

.tower-card--hero .tower-card__logo {
  min-height: 180px;
}

.tower-card--hero .tower-card__logo img {
  height: 104px;
  max-width: 330px;
}

.tower-card--hero .tower-name {
  font-size: 4.8rem;
}

.tower-card--stack {
  min-height: 184px;
}

.tower-card--stack .tower-name,
.tower-card--lane .tower-name {
  font-size: 2.5rem;
}

.tower-card--stack .tower-card__logo img,
.tower-card--lane .tower-card__logo img {
  height: 62px;
}

.tower-card--lane {
  min-height: 188px;
}

.tower-card--lane .tower-card__logo {
  min-height: 92px;
}

.tower-card--rail {
  min-height: 176px;
  padding: 16px;
}

.tower-card--rail .tower-card__logo {
  min-height: 72px;
}

.tower-card--rail .tower-card__logo img {
  height: 48px;
}

.tower-card--rail .tower-name {
  font-size: 2.2rem;
}

.tower-card--rail .tower-pill {
  font-size: 0.54rem;
}

.tower-card--rail .tower-link {
  font-size: 0.62rem;
}

.site-footer {
  padding: 0 0 28px;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.footer-brand,
.footer-copy {
  margin: 0;
}

.footer-brand {
  font-size: 2rem;
  letter-spacing: 0.06em;
}

.footer-copy {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@media (min-width: 1450px) {
  .content-shell {
    width: min(980px, calc(100% - 500px));
  }
}

@media (max-width: 1449px) {
  .side-rail {
    display: none;
  }
}

@media (max-width: 1080px) {
  .header-row {
    grid-template-columns: 1fr auto;
  }

  .main-nav {
    grid-column: 1 / -1;
    justify-self: stretch;
    justify-content: center;
  }

  .hero-lane,
  .main-grid,
  .board-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .site-header {
    position: static;
  }

  .header-row {
    grid-template-columns: 1fr;
  }

  .brand strong {
    font-size: 1.8rem;
  }

  .main-nav {
    overflow-x: auto;
    justify-content: flex-start;
  }

  .header-cta {
    width: 100%;
  }

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

  .hero-panel {
    padding: 16px;
    border-radius: 26px;
  }

  .hero-lane,
  .main-grid,
  .board-grid {
    grid-template-columns: 1fr;
  }

  .tower-card,
  .tower-card--hero,
  .tower-card--stack,
  .tower-card--lane,
  .tower-card--rail {
    min-height: 220px;
    border-radius: 24px;
  }

  .tower-card__logo {
    min-height: 94px;
  }

  .tower-card__logo img {
    height: 60px;
  }

  .tower-card--hero .tower-card__logo {
    min-height: 140px;
  }

  .tower-card--hero .tower-card__logo img {
    height: 82px;
  }

  .tower-name,
  .tower-card--stack .tower-name,
  .tower-card--lane .tower-name,
  .tower-card--rail .tower-name {
    font-size: 2.5rem;
  }

  .tower-card--hero .tower-name {
    font-size: 4rem;
  }

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