:root {
  color-scheme: dark;
  --navy: #080e1f;
  --navy2: #0d1630;
  --navy3: #111d3c;
  --gold: #f5a623;
  --gold2: #fbbf24;
  --gold-dim: rgba(245, 166, 35, 0.15);
  --teal: #2dd4bf;
  --red: #f87171;
  --green: #4ade80;
  --text: #e8eaf0;
  --muted: #7c8eb6;
  --card: rgba(255, 255, 255, 0.04);
  --card-strong: rgba(255, 255, 255, 0.07);
  --card-border: rgba(255, 255, 255, 0.08);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 80% 0%, rgba(245, 166, 35, 0.08), transparent 32rem),
    radial-gradient(circle at 8% 42%, rgba(45, 212, 191, 0.06), transparent 28rem),
    var(--navy);
  color: var(--text);
  font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

.stars {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.star {
  position: absolute;
  width: var(--size);
  height: var(--size);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  animation: twinkle var(--duration) ease-in-out infinite;
  animation-delay: var(--delay);
}

@keyframes twinkle {
  0%,
  100% {
    opacity: var(--min);
    transform: scale(1);
  }
  50% {
    opacity: var(--max);
    transform: scale(1.35);
  }
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 20px clamp(20px, 5vw, 48px);
  background: linear-gradient(to bottom, rgba(8, 14, 31, 0.96), rgba(8, 14, 31, 0));
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 23px;
  font-weight: 900;
  letter-spacing: 0;
  text-decoration: none;
}

.logo span span {
  color: var(--gold);
}

.logo-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(245, 166, 35, 0.44);
  border-radius: 50%;
  background: var(--gold-dim);
  color: var(--gold);
  font-family: "DM Sans", sans-serif;
  font-size: 11px;
  font-weight: 900;
}

.nav-links {
  display: flex;
  gap: 34px;
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.nav-links a:hover {
  color: #fff;
}

.nav-cta,
.btn-primary,
.btn-secondary,
.park-tab {
  min-height: 42px;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.nav-cta,
.btn-primary {
  border-radius: 999px;
  background: var(--gold);
  color: #070707;
  box-shadow: 0 0 38px rgba(245, 166, 35, 0.28);
}

.nav-cta {
  padding: 0 22px;
  font-size: 14px;
}

.btn-primary,
.btn-secondary {
  min-height: 54px;
  padding: 0 32px;
  font-size: 15px;
}

.btn-secondary {
  border: 1px solid var(--card-border);
  border-radius: 999px;
  background: var(--card);
  color: var(--text);
}

.nav-cta:hover,
.btn-primary:hover,
.btn-secondary:hover,
.park-tab:hover {
  transform: translateY(-2px);
}

.btn-primary:hover {
  background: var(--gold2);
  box-shadow: 0 0 56px rgba(245, 166, 35, 0.42);
}

main,
.footer {
  position: relative;
  z-index: 1;
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 76px;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 28px;
  padding: 7px 17px;
  border: 1px solid rgba(245, 166, 35, 0.32);
  border-radius: 999px;
  background: var(--gold-dim);
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--gold);
  animation: pulse 1.45s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.42;
    transform: scale(0.72);
  }
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

.hero h1,
.section-title,
.cta-section h2,
.downtime-header h3 {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 820px;
  margin: 0 0 24px;
  font-size: clamp(46px, 8vw, 90px);
  font-weight: 900;
  line-height: 1.02;
}

.hero h1 em {
  color: var(--gold);
  font-style: italic;
}

.hero-sub {
  max-width: 620px;
  margin: 0 0 42px;
  color: var(--muted);
  font-size: clamp(16px, 2vw, 19px);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.api-note {
  min-height: 23px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.ticker-wrap {
  overflow: hidden;
  border-top: 1px solid rgba(245, 166, 35, 0.22);
  border-bottom: 1px solid rgba(245, 166, 35, 0.22);
  background: rgba(245, 166, 35, 0.08);
}

.ticker {
  display: flex;
  width: max-content;
  gap: 48px;
  padding: 12px 0;
  animation: ticker 35s linear infinite;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.down-alert {
  border-bottom: 1px solid rgba(248, 113, 113, 0.18);
  background: linear-gradient(90deg, rgba(248, 113, 113, 0.12), rgba(245, 166, 35, 0.06));
}

.down-alert-inner {
  width: min(1200px, calc(100% - 40px));
  min-height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.down-alert-label {
  margin: 0 0 4px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.down-alert-text {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
}

.down-alert-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid rgba(248, 113, 113, 0.28);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.ticker-ride {
  color: var(--muted);
  font-weight: 600;
}

.ticker-badge,
.verdict-pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.badge-good,
.verdict-go {
  background: rgba(74, 222, 128, 0.14);
  color: var(--green);
}

.badge-avg,
.verdict-avg {
  background: rgba(251, 191, 36, 0.14);
  color: var(--gold2);
}

.badge-skip,
.verdict-skip {
  background: rgba(248, 113, 113, 0.14);
  color: var(--red);
}

.section {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 80px 0;
}

.section-tight {
  padding-top: 10px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
}

.section-label {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

.section-title {
  margin: 0 0 10px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
}

.section-sub {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.park-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.park-tab {
  padding: 0 18px;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  background: var(--card);
  color: var(--muted);
  font-size: 14px;
}

.park-tab.active {
  border-color: rgba(245, 166, 35, 0.42);
  background: var(--gold-dim);
  color: var(--gold);
}

.rides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(292px, 1fr));
  gap: 16px;
}

.ride-card {
  position: relative;
  min-height: 168px;
  overflow: hidden;
  padding: 20px 22px;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  background: var(--card);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.ride-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.05), transparent 58%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.ride-card:hover {
  border-color: rgba(245, 166, 35, 0.28);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.ride-card:hover::before {
  opacity: 1;
}

.ride-card > * {
  position: relative;
}

.ride-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.ride-name {
  max-width: 185px;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
}

.ride-land {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.wait-display {
  flex: 0 0 auto;
  text-align: right;
}

.wait-number {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 36px;
  font-weight: 900;
  line-height: 0.95;
}

.wait-unit {
  margin-left: 2px;
  color: var(--muted);
  font-family: "DM Sans", sans-serif;
  font-size: 12px;
  font-weight: 600;
}

.status-text {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 900;
}

.verdict-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--card-border);
}

.vs-hist {
  color: var(--muted);
  font-size: 12px;
}

.down-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 9px 12px;
  border: 1px solid rgba(248, 113, 113, 0.2);
  border-radius: 8px;
  background: rgba(248, 113, 113, 0.1);
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
}

.stats-strip {
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  background: var(--navy2);
}

.stats-inner {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  padding: 48px 0;
}

.stat-item {
  text-align: center;
}

.stat-num {
  margin-bottom: 8px;
  color: var(--gold);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
}

.stat-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 42px;
}

.feature-card {
  min-height: 245px;
  padding: 30px 28px;
  border: 1px solid var(--card-border);
  border-radius: 18px;
  background: var(--card);
  transition: transform 180ms ease, border-color 180ms ease;
}

.feature-card:hover {
  border-color: rgba(245, 166, 35, 0.23);
  transform: translateY(-3px);
}

.feature-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 900;
}

.icon-gold {
  background: rgba(245, 166, 35, 0.15);
  color: var(--gold);
}

.icon-teal {
  background: rgba(45, 212, 191, 0.15);
  color: var(--teal);
}

.icon-red {
  background: rgba(248, 113, 113, 0.15);
  color: var(--red);
}

.feature-card h3 {
  margin: 0 0 10px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 21px;
  letter-spacing: 0;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.downtime-card {
  margin-top: 32px;
  padding: 32px;
  border: 1px solid var(--card-border);
  border-radius: 20px;
  background: var(--navy3);
}

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

.downtime-header h3 {
  margin: 0;
  font-size: 23px;
}

.downtime-header span {
  color: var(--muted);
  font-size: 13px;
}

.downtime-list {
  display: grid;
  gap: 12px;
}

.downtime-empty {
  padding: 18px;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  background: var(--card);
  color: var(--muted);
  font-size: 14px;
}

.downtime-row,
.downtime-row-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px 100px 150px;
  gap: 16px;
  align-items: center;
}

.downtime-row-head {
  padding: 0 16px 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.downtime-row {
  padding: 14px 16px;
  border: 1px solid var(--card-border);
  border-radius: 12px;
  background: var(--card);
  font-size: 14px;
}

.dt-ride {
  font-weight: 800;
}

.dt-val {
  color: var(--muted);
  font-size: 13px;
}

.dt-status {
  text-align: right;
  font-size: 12px;
  font-weight: 800;
}

.currently-down {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--red);
}

.red-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--red);
  animation: pulse 1.1s ease-in-out infinite;
}

.recover {
  margin-top: 3px;
  color: var(--teal);
  font-size: 11px;
  font-weight: 600;
}

.operating {
  color: var(--green);
}

.cta-section {
  padding: 95px 24px;
  border-top: 1px solid var(--card-border);
  background: linear-gradient(135deg, var(--navy2), var(--navy3));
  text-align: center;
}

.cta-section h2 {
  width: min(760px, 100%);
  margin: 0 auto 16px;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 900;
  line-height: 1.05;
}

.cta-section p {
  width: min(610px, 100%);
  margin: 0 auto 38px;
  color: var(--muted);
  font-size: 16px;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 32px clamp(20px, 5vw, 48px);
  border-top: 1px solid var(--card-border);
  color: var(--muted);
  font-size: 13px;
}

.footer strong {
  color: #fff;
}

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer a {
  color: var(--muted);
  text-decoration: none;
}

.footer a:hover {
  color: var(--text);
}

.color-green {
  color: var(--green);
}

.color-gold {
  color: var(--gold2);
}

.color-red {
  color: var(--red);
}

@media (max-width: 860px) {
  .topbar {
    position: absolute;
    padding: 16px 20px;
  }

  .nav-links {
    display: none;
  }

  .section-head,
  .downtime-header,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .park-tabs {
    justify-content: flex-start;
  }

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

  .down-alert-inner {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .downtime-card {
    padding: 22px;
  }

  .downtime-row,
  .downtime-row-head {
    grid-template-columns: minmax(0, 1fr) 92px 120px;
  }

  .downtime-row > :nth-child(3),
  .downtime-row-head > :nth-child(3) {
    display: none;
  }
}

@media (max-width: 560px) {
  .hero {
    align-items: flex-start;
    text-align: left;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .nav-cta {
    display: none;
  }

  .stats-inner {
    grid-template-columns: 1fr;
  }
}
