:root {
  --bg: #051016;
  --panel: rgba(8, 19, 27, 0.74);
  --panel-strong: rgba(11, 24, 34, 0.94);
  --line: rgba(168, 231, 255, 0.14);
  --text: #edf8fc;
  --muted: #94adba;
  --accent: #8df4ff;
  --accent-strong: #46d5ff;
  --snow: #f7fdff;
  --warning: #ffd272;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --budget: #7ef0be;
  --moderate: #ffd67d;
  --premium: #ff8f70;
  --ink: #041017;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Space Grotesk", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 8%, rgba(70, 213, 255, 0.28), transparent 24%),
    radial-gradient(circle at 85% 10%, rgba(255, 173, 111, 0.14), transparent 20%),
    linear-gradient(180deg, #0b2130 0%, #08161f 36%, #051016 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: auto 0 0;
  height: 38vh;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.18)),
    radial-gradient(circle at 18% 78%, rgba(141, 244, 255, 0.14), transparent 18%);
  clip-path: polygon(0 100%, 0 48%, 9% 60%, 17% 42%, 24% 64%, 34% 33%, 43% 56%, 54% 30%, 63% 62%, 72% 41%, 81% 58%, 90% 35%, 100% 54%, 100% 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 80%);
}

.noscript-banner {
  padding: 0.9rem 1rem;
  text-align: center;
  color: var(--snow);
  background: #10242f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-shell {
  width: min(1360px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.25rem 0 4rem;
}

.panel {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent 32%),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.topbar,
.hero-grid,
.control-row,
.storm-layout,
.section-heading,
.hero-stats,
.summary-card,
.storm-row,
.storm-metrics,
.weather-strip,
.resort-meta,
.resort-links,
.price-scale,
.ticker-shell,
.spotlight-grid,
.spotlight-head,
.spotlight-snow,
.route-grid {
  display: flex;
}

.topbar,
.section-heading {
  justify-content: space-between;
  align-items: center;
}

.topbar {
  padding: 0.4rem 0 1rem;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-mark {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.2), transparent 35%),
    linear-gradient(145deg, rgba(130, 232, 255, 0.28), rgba(255, 176, 120, 0.12));
  border: 1px solid rgba(130, 232, 255, 0.24);
  font-weight: 700;
  letter-spacing: 0.12em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.brand h1,
.hero-copy h2,
.section-heading h3,
.resort-card h4,
.storm-title,
.summary-card strong {
  margin: 0;
}

.eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.ghost-link,
.tool-links a,
.resort-links a,
.refresh-button,
.ghost-button {
  transition: 180ms ease;
}

.ghost-link {
  color: var(--snow);
  text-decoration: none;
  border: 1px solid var(--line);
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
}

.ghost-link:hover,
.tool-links a:hover,
.resort-links a:hover,
.refresh-button:hover,
.ghost-button:hover {
  transform: translateY(-1px);
  border-color: rgba(130, 232, 255, 0.42);
  background: rgba(130, 232, 255, 0.08);
}

.hero-grid,
.storm-layout,
.spotlight-grid {
  gap: 1rem;
}

.hero-grid {
  align-items: stretch;
}

.ticker-shell {
  align-items: center;
  gap: 1rem;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.9rem 0;
  margin-bottom: 1rem;
}

.install-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  margin-bottom: 1rem;
  border-radius: 24px;
  border: 1px solid rgba(141, 244, 255, 0.16);
  background:
    linear-gradient(90deg, rgba(141, 244, 255, 0.08), rgba(255, 176, 120, 0.08)),
    rgba(255, 255, 255, 0.03);
}

.install-banner strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 1.08rem;
}

.install-copy {
  margin: 0;
  color: var(--muted);
}

.install-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.ghost-button {
  color: var(--snow);
  text-decoration: none;
  border: 1px solid var(--line);
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font: inherit;
  cursor: pointer;
}

.hidden {
  display: none;
}

.ticker-label {
  flex: 0 0 auto;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.ticker-track {
  display: flex;
  gap: 0.9rem;
  min-width: 100%;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 0.2rem;
  scrollbar-width: none;
}

.ticker-track::-webkit-scrollbar {
  display: none;
}

.ticker-item {
  display: inline-flex;
  gap: 0.8rem;
  align-items: center;
  white-space: nowrap;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}

.ticker-item strong {
  color: var(--snow);
}

.hero-copy,
.hero-aside,
.controls,
.storm-panel,
.radar-panel,
.spotlight-panel,
.route-panel {
  padding: 1.5rem;
}

.hero-copy {
  flex: 1.4;
  position: relative;
  overflow: hidden;
}

.hero-aside {
  flex: 0.8;
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: auto -10% -25% auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(141, 244, 255, 0.18), transparent 64%);
  pointer-events: none;
}

.hero-copy h2 {
  font-family: "Instrument Serif", serif;
  font-size: clamp(3rem, 6.2vw, 5.6rem);
  line-height: 0.9;
  max-width: 11ch;
  text-wrap: balance;
}

.hero-text,
.section-copy,
.panel-note,
.resort-subtitle,
.resort-note,
.status-banner {
  color: var(--muted);
}

.hero-text {
  max-width: 60ch;
  font-size: 1.02rem;
  line-height: 1.72;
}

.hero-stats {
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.hero-stats div,
.summary-card,
.storm-row,
.resort-card {
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
}

.hero-stats div {
  min-width: 150px;
  padding: 0.95rem 1rem;
  border-radius: 20px;
  backdrop-filter: blur(14px);
}

.hero-stats strong {
  display: block;
  font-size: 1.3rem;
}

.hero-stats span,
.summary-card span,
.metric-label,
.storm-meta,
.price-copy,
.label,
.mini {
  color: var(--muted);
}

.summary-stack,
.storm-board,
.resort-grid,
.seo-grid,
.faq-list {
  display: grid;
  gap: 1rem;
}

.summary-card {
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.1rem;
  border-radius: 22px;
}

.summary-card strong {
  font-size: 1.1rem;
}

.summary-card .value {
  font-size: 1.75rem;
  color: var(--snow);
  font-weight: 700;
}

.controls {
  margin-top: 1rem;
  background:
    linear-gradient(180deg, rgba(18, 42, 57, 0.96), rgba(8, 19, 27, 0.86));
}

.control-row {
  flex-wrap: wrap;
  gap: 1rem;
  align-items: end;
  margin-top: 1rem;
}

label {
  display: grid;
  gap: 0.5rem;
  min-width: 220px;
  color: var(--muted);
  font-size: 0.95rem;
}

select,
.refresh-button {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.18);
  color: var(--text);
  font: inherit;
  padding: 0.95rem 1rem;
}

.refresh-button {
  cursor: pointer;
  min-width: 180px;
  background: linear-gradient(90deg, rgba(141, 244, 255, 0.12), rgba(255, 175, 120, 0.12));
}

.spotlight-grid {
  margin-top: 1rem;
  align-items: stretch;
}

.spotlight-panel {
  flex: 1.05;
  min-height: 250px;
  position: relative;
  overflow: hidden;
}

.spotlight-panel::after {
  content: "";
  position: absolute;
  inset: auto auto -30px -20px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 176, 120, 0.16), transparent 68%);
  pointer-events: none;
}

.spotlight-loading {
  height: 160px;
  border-radius: 24px;
}

.spotlight-head {
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.spotlight-head h3,
.route-panel h3 {
  margin: 0;
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.spotlight-copy {
  max-width: 46ch;
  color: var(--muted);
  line-height: 1.7;
}

.spotlight-badge {
  border-radius: 999px;
  padding: 0.7rem 0.95rem;
  background: rgba(141, 244, 255, 0.08);
  border: 1px solid rgba(141, 244, 255, 0.16);
  color: var(--accent);
  white-space: nowrap;
}

.spotlight-snow {
  gap: 0.85rem;
  flex-wrap: wrap;
  margin: 1rem 0;
}

.spotlight-snow div {
  min-width: 132px;
  padding: 1rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.spotlight-snow strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.7rem;
}

.spotlight-note {
  max-width: 58ch;
  color: var(--muted);
  line-height: 1.7;
}

.route-panel {
  flex: 0.95;
  background:
    linear-gradient(180deg, rgba(255, 176, 120, 0.06), transparent 30%),
    var(--panel-strong);
}

.route-grid {
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.route-grid div {
  flex: 1 1 210px;
  padding: 1rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.route-grid p {
  margin: 0.5rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.route-kicker {
  color: var(--warning);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
}

.storm-layout {
  margin-top: 1rem;
  align-items: start;
}

.storm-panel {
  flex: 1.4;
}

.radar-panel {
  flex: 0.8;
}

.chip {
  border-radius: 999px;
  padding: 0.5rem 0.85rem;
  font-size: 0.85rem;
  color: var(--accent);
  background: rgba(130, 232, 255, 0.08);
  border: 1px solid rgba(130, 232, 255, 0.18);
}

.storm-board {
  margin-top: 1rem;
}

.storm-row {
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.1rem;
  border-radius: 22px;
  position: relative;
  overflow: hidden;
}

.storm-row::before {
  content: "";
  position: absolute;
  inset: 0;
  width: var(--snow-share, 22%);
  background: linear-gradient(90deg, rgba(141, 244, 255, 0.13), transparent);
  pointer-events: none;
}

.storm-title {
  font-size: 1.05rem;
}

.storm-meta {
  margin-top: 0.35rem;
  font-size: 0.92rem;
}

.storm-metrics {
  gap: 0.7rem;
  flex-wrap: wrap;
}

.metric-pill,
.tag {
  padding: 0.6rem 0.75rem;
  border-radius: 14px;
  background: rgba(130, 232, 255, 0.08);
  border: 1px solid rgba(130, 232, 255, 0.12);
}

.metric-pill strong,
.tag strong {
  display: block;
  font-size: 1rem;
  color: var(--snow);
}

.tool-links {
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 1.25rem;
}

.tool-links a,
.resort-links a {
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.03);
}

.resorts-section {
  margin-top: 1.5rem;
}

.seo-section,
.faq-section {
  margin-top: 1.75rem;
}

.seo-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.seo-card,
.faq-item {
  padding: 1.25rem;
}

.seo-card h4,
.faq-item h4 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
}

.seo-card p,
.faq-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.status-banner {
  margin: 1rem 0;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.resort-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.resort-card {
  border-radius: 28px;
  padding: 1.25rem;
  overflow: hidden;
  position: relative;
  min-height: 100%;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.resort-card:hover {
  transform: translateY(-4px);
  border-color: rgba(141, 244, 255, 0.24);
}

.resort-card::after {
  content: "";
  position: absolute;
  inset: auto -24% -60% auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(130, 232, 255, 0.18), transparent 65%);
  pointer-events: none;
}

.resort-card.storm-heavy {
  background:
    linear-gradient(180deg, rgba(141, 244, 255, 0.08), transparent 26%),
    rgba(255, 255, 255, 0.03);
}

.resort-card.storm-medium {
  background:
    linear-gradient(180deg, rgba(255, 210, 114, 0.05), transparent 26%),
    rgba(255, 255, 255, 0.03);
}

.resort-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.region-tag {
  white-space: nowrap;
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  font-size: 0.82rem;
  color: var(--accent);
  background: rgba(130, 232, 255, 0.08);
  border: 1px solid rgba(130, 232, 255, 0.12);
}

.weather-strip {
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 1.1rem 0 1rem;
}

.weather-tile {
  flex: 1 1 120px;
  padding: 0.9rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.weather-tile strong {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.3rem;
}

.resort-meta {
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0;
}

.tag {
  background: rgba(255, 255, 255, 0.03);
}

.storm-window {
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(130, 232, 255, 0.1), rgba(130, 232, 255, 0.03));
  border: 1px solid rgba(130, 232, 255, 0.12);
}

.storm-window h5 {
  margin: 0 0 0.45rem;
  font-size: 0.95rem;
}

.price-scale {
  align-items: center;
  gap: 0.8rem;
  margin: 1rem 0;
}

.scale-bar {
  position: relative;
  flex: 1;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--budget), var(--moderate), var(--premium));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.scale-marker {
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: var(--snow);
  border: 3px solid rgba(6, 19, 27, 0.65);
}

.price-copy strong {
  display: block;
  color: var(--snow);
}

.resort-links {
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.disabled-link {
  opacity: 0.5;
  pointer-events: none;
}

.shimmer {
  position: relative;
  min-height: 88px;
  overflow: hidden;
}

.shimmer::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  animation: shimmer 1.8s infinite;
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .storm-layout,
  .spotlight-grid {
    flex-direction: column;
  }

  .section-heading,
  .topbar,
  .install-banner {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 1rem, 1360px);
  }

  .hero-copy,
  .hero-aside,
  .controls,
  .storm-panel,
  .radar-panel,
  .spotlight-panel,
  .route-panel,
  .resort-card {
    padding: 1.1rem;
  }

  .hero-copy h2 {
    font-size: clamp(2.3rem, 11vw, 3.25rem);
  }

  label {
    min-width: 100%;
  }

  .refresh-button {
    width: 100%;
  }
}
