:root {
  color-scheme: dark;
  --bg: #07110d;
  --bg-soft: #0d1d17;
  --panel: rgba(9, 20, 15, 0.84);
  --panel-strong: rgba(12, 24, 18, 0.94);
  --line: rgba(176, 255, 110, 0.16);
  --text: #f5f8ef;
  --muted: rgba(225, 235, 221, 0.72);
  --neon: #b6ff58;
  --cyan: #59e2ff;
  --gold: #ffd45d;
  --danger: #ff6a8f;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top, rgba(91, 226, 255, 0.12), transparent 30%),
    radial-gradient(circle at 20% 18%, rgba(182, 255, 88, 0.14), transparent 28%),
    linear-gradient(180deg, #081510 0%, #050b08 100%);
  color: var(--text);
  font-family: "Manrope", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0, rgba(255, 255, 255, 0.02) 50%, transparent 100%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 45%);
  opacity: 0.45;
  mix-blend-mode: screen;
}

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

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

.ambient,
.stadium-grid {
  pointer-events: none;
  position: fixed;
  inset: auto;
  z-index: -2;
}

.ambient {
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.24;
}

.ambient--left {
  left: -12rem;
  top: 6rem;
  background: rgba(182, 255, 88, 0.34);
}

.ambient--right {
  right: -10rem;
  top: 10rem;
  background: rgba(89, 226, 255, 0.26);
}

.stadium-grid {
  inset: 0;
  background-image:
    linear-gradient(rgba(182, 255, 88, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(182, 255, 88, 0.04) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.72), transparent 90%);
  z-index: -3;
}

.container {
  width: min(1160px, calc(100vw - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(4, 10, 7, 0.92), rgba(4, 10, 7, 0.7));
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-row,
.footer-row,
.section-bar,
.analysis-card__top,
.card-bottom,
.brand,
.main-nav,
.pulse-chip,
.ticker-chip {
  display: flex;
  align-items: center;
}

.header-row {
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0 16px;
}

.brand {
  gap: 14px;
  min-width: 0;
}

.brand img {
  width: 52px;
  height: 52px;
  padding: 10px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(182, 255, 88, 0.16), rgba(89, 226, 255, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 28px rgba(182, 255, 88, 0.18);
}

.brand span {
  display: grid;
  gap: 2px;
}

.brand strong,
.section-title,
.footer-brand {
  font-family: "Rajdhani", sans-serif;
  letter-spacing: 0.08em;
}

.brand strong {
  font-size: 1.6rem;
  line-height: 1;
  text-transform: uppercase;
}

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

.main-nav {
  justify-content: center;
  gap: 10px;
  flex: 1 1 auto;
}

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

.main-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.92rem;
}

.main-nav a:hover,
.header-cta:hover,
.section-link:hover {
  transform: translateY(-2px);
}

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

.header-cta,
.section-link {
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
}

.header-cta {
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--neon), #d7ff8f);
  color: #091208;
  font-weight: 800;
  box-shadow: 0 16px 34px rgba(182, 255, 88, 0.24);
}

.ticker-wrap {
  padding-bottom: 16px;
}

.ticker-shell {
  overflow: hidden;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(10, 22, 16, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.ticker-track {
  display: flex;
  gap: 14px;
  width: max-content;
  padding: 10px 14px;
  animation: ticker 26s linear infinite;
}

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

.ticker-chip {
  gap: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.ticker-chip:hover {
  transform: translateY(-2px);
  border-color: rgba(182, 255, 88, 0.24);
  background: rgba(182, 255, 88, 0.08);
}

.ticker-chip span,
.ticker-chip em,
.pulse-chip strong,
.pulse-chip span,
.card-pill,
.card-chip,
.section-chip,
.card-name,
.card-link {
  text-transform: uppercase;
}

.ticker-chip span {
  font-weight: 800;
  letter-spacing: 0.06em;
}

.ticker-chip em {
  font-style: normal;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
}

.site-main {
  padding: 30px 0 90px;
}

.section {
  padding: 16px 0;
}

.section--hero {
  padding-top: 8px;
}

.hero-shell,
.site-footer .footer-row {
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(13, 27, 20, 0.88), rgba(8, 14, 11, 0.96)),
    var(--panel);
  box-shadow: var(--shadow);
}

.hero-shell {
  position: relative;
  overflow: hidden;
  padding: 24px;
}

.hero-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(182, 255, 88, 0.16), transparent 24%),
    radial-gradient(circle at top right, rgba(89, 226, 255, 0.12), transparent 28%);
  pointer-events: none;
}

.section-bar {
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-title {
  font-size: 1.2rem;
  font-weight: 700;
}

.section-chip,
.section-link,
.card-pill,
.card-chip,
.pulse-chip,
.card-link {
  letter-spacing: 0.1em;
}

.section-chip,
.section-link {
  font-size: 0.78rem;
}

.section-chip {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(182, 255, 88, 0.18);
  background: rgba(182, 255, 88, 0.08);
  color: var(--neon);
  font-weight: 800;
}

.section-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.section-link:hover {
  color: var(--text);
  border-color: rgba(89, 226, 255, 0.28);
  background: rgba(89, 226, 255, 0.08);
}

.hero-grid,
.desk-grid,
.featured-grid,
.wall-grid {
  display: grid;
  gap: 18px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.88fr);
  margin-bottom: 18px;
}

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

.analysis-card {
  position: relative;
  display: grid;
  gap: 18px;
  min-height: 220px;
  padding: 20px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    linear-gradient(180deg, rgba(10, 22, 16, 0.96), rgba(7, 13, 10, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 40px rgba(0, 0, 0, 0.32);
  overflow: hidden;
}

.analysis-card::before {
  content: "";
  position: absolute;
  inset: auto -22% -35% auto;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%);
  opacity: 0.8;
  pointer-events: none;
}

.analysis-card:hover {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--accent) 40%, rgba(255, 255, 255, 0.08));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 24px 48px rgba(0, 0, 0, 0.42),
    0 0 0 1px color-mix(in srgb, var(--accent) 22%, transparent);
}

.analysis-card--stage {
  min-height: 360px;
  padding: 28px;
}

.analysis-card--desk {
  min-height: 170px;
}

.analysis-card--featured {
  min-height: 196px;
}

.analysis-card--placeholder {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01)),
    linear-gradient(180deg, rgba(10, 22, 16, 0.7), rgba(7, 13, 10, 0.92));
}

.analysis-card__top,
.card-bottom {
  justify-content: space-between;
  gap: 12px;
}

.card-pill,
.card-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
}

.card-pill {
  padding: 8px 12px;
  background: color-mix(in srgb, var(--accent) 16%, rgba(255, 255, 255, 0.04));
  color: color-mix(in srgb, var(--accent) 88%, white 12%);
  border: 1px solid color-mix(in srgb, var(--accent) 24%, rgba(255, 255, 255, 0.06));
}

.card-chip {
  min-width: 54px;
  padding: 8px 10px;
  color: #0a1208;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 86%, white 14%), white);
}

.card-logo {
  display: grid;
  place-items: center;
  min-height: 112px;
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.analysis-card--stage .card-logo {
  min-height: 180px;
  padding: 30px;
}

.card-logo img {
  width: min(100%, 220px);
  max-height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 14px 22px rgba(0, 0, 0, 0.24));
}

.analysis-card--stage .card-logo img {
  max-height: 132px;
}

.card-logo--placeholder {
  color: rgba(255, 255, 255, 0.52);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-align: center;
}

.card-name {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.analysis-card--stage .card-name {
  font-size: 2.2rem;
}

.card-link {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
}

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

.pulse-chip {
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 22px;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, rgba(255, 255, 255, 0.08));
  background: color-mix(in srgb, var(--accent) 10%, rgba(12, 22, 16, 0.88));
}

.pulse-chip:hover {
  transform: translateY(-3px);
}

.pulse-chip strong,
.pulse-chip span {
  font-size: 0.74rem;
}

.pulse-chip strong {
  color: color-mix(in srgb, var(--accent) 78%, white 22%);
}

.pulse-chip span {
  color: rgba(255, 255, 255, 0.62);
}

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

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

.site-footer {
  padding-bottom: 96px;
}

.site-footer .footer-row {
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
}

.footer-brand {
  font-size: 1.3rem;
  margin: 0;
}

.footer-copy {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

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

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

@media (max-width: 1120px) {
  .hero-grid,
  .featured-grid,
  .wall-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

@media (max-width: 820px) {
  .site-header {
    position: static;
  }

  .header-row,
  .main-nav {
    flex-wrap: wrap;
  }

  .header-row {
    padding-top: 22px;
  }

  .main-nav {
    justify-content: flex-start;
    flex: 1 1 100%;
  }

  .desk-grid,
  .featured-grid,
  .wall-grid,
  .pulse-strip {
    grid-template-columns: 1fr;
  }

  .analysis-card--stage {
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100vw - 20px, 1160px);
  }

  .hero-shell,
  .site-footer .footer-row {
    border-radius: 24px;
  }

  .hero-shell {
    padding: 18px;
  }

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

  .brand em {
    font-size: 0.72rem;
  }

  .header-cta {
    width: 100%;
  }

  .section-bar {
    flex-wrap: wrap;
  }

  .section-link,
  .section-chip {
    width: 100%;
  }

  .analysis-card,
  .analysis-card--stage,
  .analysis-card--desk,
  .analysis-card--featured {
    min-height: auto;
  }

  .analysis-card {
    padding: 18px;
    border-radius: 22px;
  }

  .analysis-card--stage .card-logo {
    min-height: 150px;
  }

  .analysis-card--stage .card-name {
    font-size: 1.76rem;
  }

  .card-name {
    font-size: 1.38rem;
  }

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

@media (max-width: 460px) {
  .ticker-chip {
    min-width: 100%;
    justify-content: space-between;
  }

  .ticker-track {
    gap: 10px;
  }

  .brand {
    width: 100%;
  }

  .brand img {
    width: 46px;
    height: 46px;
    border-radius: 16px;
  }

  .main-nav a {
    flex: 1 1 calc(50% - 10px);
    justify-content: center;
    text-align: center;
  }
}
