:root {
  color-scheme: dark;
  --page: #061321;
  --panel: #0d2036;
  --panel-soft: #132b47;
  --line: rgba(213, 230, 255, 0.16);
  --text: #f7f9ff;
  --muted: #b7c5d9;
  --yellow: #ffd21f;
  --green: #5fc530;
  --orange: #ff9b1b;
  --red: #ff4a35;
  --purple: #8a53e6;
  --blue: #0b78e3;
  --teal: #16b7bc;
  font-family: Inter, ui-rounded, "Avenir Next", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 2%, rgba(255, 210, 31, 0.12), transparent 28%),
    linear-gradient(180deg, #07101c 0%, #081b2e 46%, #04101d 100%);
  color: var(--text);
}

button {
  color: inherit;
  font: inherit;
}

.dashboard {
  width: min(1720px, 100%);
  margin: 0 auto;
  padding: 0 clamp(16px, 2.5vw, 42px) 28px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 122px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: clamp(12px, 2vw, 28px);
}

.brand-mark {
  width: clamp(70px, 8vw, 130px);
  flex: 0 0 auto;
}

.brand h1 {
  margin: 0;
  color: var(--yellow);
  font-size: clamp(2rem, 4.5vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.brand h1 span {
  color: var(--text);
}

.brand p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.55rem);
  font-weight: 800;
}

.brand .fetch-stamp {
  margin-top: 7px;
  color: #78d8ff;
  font-size: clamp(0.78rem, 1.1vw, 1rem);
  font-weight: 850;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.icon-button,
.mini-star {
  display: inline-grid;
  place-items: center;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
}

.icon-button {
  width: 54px;
  height: 54px;
}

.icon-button svg {
  width: 44px;
  height: 44px;
}

.icon-button-star svg,
.mini-star svg {
  color: var(--yellow);
  fill: currentColor;
}

.hero-grid,
.lower-grid {
  display: grid;
  grid-template-columns: 1.32fr 1fr;
  gap: 24px;
}

.hero-grid {
  margin-top: 22px;
}

.countdown-panel,
.weather-panel,
.park-card,
.panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.11);
}

.countdown-panel,
.weather-panel {
  min-height: 245px;
  border-radius: 24px;
}

.countdown-panel {
  display: grid;
  grid-template-columns: minmax(170px, 32%) 1fr;
  align-items: center;
  gap: 26px;
  padding: clamp(20px, 3vw, 38px);
  background:
    radial-gradient(circle at 92% 28%, rgba(255, 255, 255, 0.1), transparent 8%),
    linear-gradient(135deg, #6b35bb 0%, #432183 100%);
}

.calendar-icon {
  position: relative;
  width: min(210px, 100%);
  aspect-ratio: 1.12;
  margin: 0 auto;
  transform: rotate(-4deg);
  border-radius: 18px;
  background: #f8fbff;
  box-shadow: 0 10px 0 rgba(7, 17, 31, 0.22);
}

.calendar-top {
  height: 42px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(90deg, #ff3b3b, #ff5a4d);
}

.calendar-rings::before,
.calendar-rings::after {
  content: "";
  position: absolute;
  top: -18px;
  width: 18px;
  height: 48px;
  border-radius: 999px;
  background: #071a2d;
}

.calendar-rings::before {
  left: 26%;
}

.calendar-rings::after {
  right: 26%;
}

.calendar-icon svg {
  position: absolute;
  inset: 50px 45px 35px;
  fill: var(--yellow);
}

.countdown-copy {
  text-align: center;
}

.countdown-copy strong {
  display: block;
  font-size: clamp(5rem, 11vw, 9.8rem);
  line-height: 0.78;
  text-shadow: 0 5px 0 rgba(14, 21, 37, 0.17);
}

.countdown-copy span {
  display: block;
  margin-top: 18px;
  font-size: clamp(2.15rem, 4vw, 4rem);
  line-height: 1;
  font-weight: 900;
}

.weather-panel {
  display: grid;
  grid-template-columns: minmax(150px, 36%) 1fr;
  align-items: center;
  gap: 24px;
  padding: clamp(20px, 3vw, 38px);
  background: linear-gradient(135deg, #006fe0, #0855be);
}

.weather-art {
  position: relative;
  min-height: 160px;
}

.sun {
  position: absolute;
  width: 95px;
  height: 95px;
  left: 25px;
  top: 15px;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 18px rgba(255, 210, 31, 0.13);
}

.sun::before {
  content: "";
  position: absolute;
  inset: -34px;
  background: repeating-conic-gradient(from 0deg, transparent 0deg 18deg, var(--yellow) 18deg 24deg, transparent 24deg 45deg);
  border-radius: 50%;
}

.cloud {
  position: absolute;
  background: #fff;
  box-shadow: 0 12px 18px rgba(1, 32, 80, 0.18);
}

.cloud-one {
  width: 150px;
  height: 54px;
  left: 26px;
  bottom: 24px;
  border-radius: 999px;
}

.cloud-one::before,
.cloud-one::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: #fff;
}

.cloud-one::before {
  width: 76px;
  height: 76px;
  left: 36px;
  bottom: 18px;
}

.cloud-one::after {
  width: 56px;
  height: 56px;
  right: 16px;
  bottom: 13px;
}

.cloud-two {
  width: 84px;
  height: 38px;
  left: 4px;
  bottom: 22px;
  border-radius: 999px;
}

.eyebrow {
  margin: 0 0 14px;
  color: #78d8ff;
  font-size: clamp(1.25rem, 2.2vw, 2rem);
  font-weight: 900;
}

.weather-panel strong {
  display: block;
  font-size: clamp(3.35rem, 6.4vw, 5.8rem);
  line-height: 0.9;
  white-space: nowrap;
}

.weather-panel span {
  display: block;
  margin-top: 16px;
  font-size: clamp(1.1rem, 1.75vw, 1.8rem);
  line-height: 1.22;
  font-weight: 900;
}

.weather-source {
  display: block;
  margin-top: 10px;
  color: #9fe7ff;
  font-size: clamp(0.78rem, 1vw, 0.98rem);
  font-weight: 850;
  line-height: 1.25;
}

.park-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  margin-top: 22px;
}

.facts-section {
  margin-top: 22px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.7rem, 2.4vw, 2.35rem);
}

.section-heading a,
.gallery-card a {
  color: #9fe7ff;
  font-weight: 900;
  text-decoration: none;
}

.fact-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 360px);
  gap: 16px;
  overflow-x: auto;
  padding: 2px 0 16px;
  scroll-snap-type: x mandatory;
  scrollbar-color: rgba(255, 210, 31, 0.72) rgba(255, 255, 255, 0.08);
}

.fact-card {
  scroll-snap-align: start;
  min-height: 210px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(20, 49, 80, 0.96), rgba(9, 25, 44, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.fact-card span {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  color: #13233a;
  background: var(--yellow);
  font-size: 0.82rem;
  font-weight: 950;
}

.fact-card h3 {
  margin: 16px 0 8px;
  color: var(--yellow);
  font-size: 1.45rem;
  line-height: 1.08;
}

.fact-card p {
  margin: 0 0 16px;
  color: var(--text);
  font-weight: 760;
  line-height: 1.35;
}

.park-card {
  min-height: 190px;
  border-radius: 20px;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
  justify-items: center;
  gap: 14px;
  cursor: pointer;
  text-align: center;
}

.park-card[data-theme="movie"] {
  background: linear-gradient(135deg, #6532a2, #351865);
}

.park-card[data-theme="sea"] {
  background: linear-gradient(135deg, #0b80e6, #06489d);
}

.park-card[data-theme="wet"] {
  background: linear-gradient(135deg, #1ac4c2, #0a8996);
}

.park-card[data-theme="dream"] {
  background: linear-gradient(135deg, #f06a2a, #9d2d5c);
}

.park-card.is-active {
  outline: 4px solid rgba(255, 210, 31, 0.78);
  outline-offset: -6px;
}

.park-icon svg {
  width: 100%;
  max-width: 90px;
  max-height: 118px;
}

.park-card > span:last-child {
  display: flex;
  width: 100%;
  min-width: 0;
  flex-direction: column;
  align-items: center;
}

.park-card h2 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 2.6vw, 2.45rem);
  line-height: 1;
}

.hours {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  font-weight: 850;
  font-size: clamp(0.98rem, 1.45vw, 1.32rem);
  line-height: 1.2;
}

.hours svg {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 100%;
  min-height: 44px;
  margin-top: 4px;
  padding: 6px 20px 7px 12px;
  border-radius: 18px;
  color: #fff;
  font-size: clamp(1rem, 1.55vw, 1.36rem);
  font-weight: 950;
  line-height: 1.12;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}

.status-pill.good {
  background: linear-gradient(180deg, #6bd83b, #3b9f20);
}

.status-pill.warn {
  color: #1f1705;
  background: linear-gradient(180deg, #ffd95a, #ffbd28);
}

.status-dot {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  background: #fff;
  color: #33a61f;
}

.status-pill.warn .status-dot {
  color: var(--orange);
}

.source-line {
  margin: 10px 0 8px;
  color: var(--muted);
  font-size: clamp(0.82rem, 1vw, 0.95rem);
  font-weight: 750;
  line-height: 1.35;
}

.lower-grid {
  margin-top: 20px;
}

.gallery-page {
  padding-bottom: 52px;
}

.gallery-hero {
  padding: 32px 0 20px;
}

.gallery-hero h2 {
  margin: 0;
  color: var(--yellow);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
}

.gallery-hero p {
  max-width: 720px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  font-weight: 780;
}

.changes-page {
  padding-bottom: 52px;
}

.changes-hero {
  max-width: 860px;
  padding: 32px 0 22px;
}

.changes-hero h2 {
  margin: 0;
  color: var(--yellow);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
}

.changes-hero p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  font-weight: 780;
  line-height: 1.42;
}

.change-log {
  max-width: 1120px;
}

.change-list {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  grid-template-rows: repeat(5, minmax(52px, auto));
  column-gap: clamp(28px, 5vw, 64px);
  row-gap: 16px;
  margin: 0;
  padding: 4px 0 0;
  list-style: none;
}

.change-list li {
  position: relative;
  display: grid;
  gap: 5px;
  min-height: 52px;
  padding: 0 0 16px 22px;
  border-left: 2px solid rgba(255, 210, 31, 0.34);
}

.change-list li::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 4px;
  width: 15px;
  height: 15px;
  border: 3px solid #081b2e;
  border-radius: 50%;
  background: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255, 210, 31, 0.24);
}

.change-list strong {
  color: var(--text);
  font-size: clamp(1.05rem, 1.45vw, 1.32rem);
  line-height: 1.15;
}

.change-list span {
  color: var(--muted);
  font-size: clamp(0.95rem, 1.1vw, 1.06rem);
  font-weight: 760;
  line-height: 1.42;
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1320px;
}

.checklist-card {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(20, 49, 80, 0.96), rgba(9, 25, 44, 0.98));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.checklist-card h3 {
  margin: 0 0 6px;
  color: var(--yellow);
  font-size: clamp(1.35rem, 1.8vw, 1.8rem);
  line-height: 1.1;
}

.checklist-card label {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--text);
  font-size: clamp(1rem, 1.2vw, 1.14rem);
  font-weight: 820;
  line-height: 1.28;
}

.checklist-card input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--yellow);
}

.secret-panel {
  max-width: 760px;
  margin-top: 34px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(20, 49, 80, 0.96), rgba(9, 25, 44, 0.98));
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.secret-panel h2 {
  margin: 0;
  color: var(--yellow);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}

.secret-panel p {
  margin: 16px 0 24px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  font-weight: 780;
}

.secret-link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 999px;
  color: #13233a;
  background: var(--yellow);
  font-weight: 950;
  text-decoration: none;
}

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

.gallery-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  background: var(--panel);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.11);
}

.gallery-card-large {
  grid-column: span 2;
}

.gallery-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.gallery-card div {
  position: absolute;
  inset: auto 0 0;
  padding: 58px 22px 20px;
  background: linear-gradient(180deg, transparent, rgba(3, 11, 22, 0.92));
}

.gallery-card h3 {
  margin: 0 0 4px;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1;
}

.gallery-card p {
  margin: 0 0 10px;
  color: var(--muted);
  font-weight: 850;
}

.panel {
  min-height: 318px;
  border-radius: 20px;
  padding: 22px 28px 24px;
  background: linear-gradient(180deg, rgba(21, 45, 75, 0.92), rgba(10, 25, 44, 0.96));
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.panel h2 {
  margin: 0;
  font-size: clamp(1.7rem, 2.5vw, 2.6rem);
  line-height: 1;
}

.mini-star {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
}

.ride-list {
  display: grid;
  max-height: 540px;
  overflow: auto;
  padding-right: 4px;
  scrollbar-color: rgba(255, 210, 31, 0.72) rgba(255, 255, 255, 0.08);
}

.ride-row {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  min-height: 54px;
  gap: 12px;
  border-bottom: 1px solid var(--line);
}

.ride-row:last-child {
  border-bottom: 0;
}

.ride-symbol {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  color: var(--yellow);
}

.ride-symbol svg {
  width: 100%;
  height: 100%;
}

.ride-name {
  min-width: 0;
  font-size: clamp(1rem, 1.45vw, 1.38rem);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.ride-badge {
  min-width: 124px;
  max-width: 210px;
  padding: 8px 14px;
  border-radius: 999px;
  text-align: center;
  font-size: clamp(0.96rem, 1.45vw, 1.28rem);
  font-weight: 950;
  line-height: 1.12;
}

.ride-badge.maintenance {
  min-width: 210px;
}

.ride-badge.upcoming {
  min-width: 210px;
  color: #1f1705;
  background: linear-gradient(180deg, #ffe16c, #ffbd28);
}

.ride-badge.open {
  background: linear-gradient(180deg, #6bd83b, #3b9f20);
}

.ride-badge.maintenance {
  background: linear-gradient(180deg, #ffa832, #f48713);
}

.ride-badge.closed {
  background: linear-gradient(180deg, #ff6454, #d9362c);
}

.ride-badge.pending {
  color: #09233d;
  background: linear-gradient(180deg, #dde8f7, #a9bdd6);
}

.spotlight {
  display: grid;
  grid-template-columns: minmax(170px, 230px) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: center;
  padding-top: 24px;
}

.spotlight > * {
  min-width: 0;
}

.ride-illustration svg {
  display: block;
  width: 100%;
  max-width: 230px;
  margin: 0 auto;
  border-radius: 50%;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
}

.spotlight-copy h3 {
  margin: 0;
  color: var(--yellow);
  font-size: clamp(1.8rem, 2.8vw, 2.7rem);
  line-height: 1.1;
  overflow-wrap: break-word;
}

.accent-line {
  width: 112px;
  height: 6px;
  margin: 22px 0 14px;
  border-radius: 999px;
  background: var(--purple);
}

.spotlight-copy p {
  margin: 0;
  padding: 24px 26px;
  border-radius: 22px;
  background: linear-gradient(135deg, #7741c8, #542a98);
  font-size: clamp(1.1rem, 1.8vw, 1.55rem);
  line-height: 1.45;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.help-button {
  position: absolute;
  right: 18px;
  bottom: 16px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 2px solid rgba(255, 210, 31, 0.78);
  border-radius: 50%;
  color: var(--yellow);
  background: rgba(6, 19, 33, 0.72);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: 950;
  line-height: 1;
}

@media (max-width: 1050px) {
  .hero-grid,
  .lower-grid,
  .park-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

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

  .gallery-card-large {
    grid-column: span 1;
  }

  .change-list {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

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

@media (max-width: 1350px) {
  .park-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .park-card {
    min-height: 168px;
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .park-card h2 {
    font-size: clamp(1.65rem, 2.6vw, 2.08rem);
  }

  .status-pill {
    min-height: 38px;
    padding: 5px 14px 6px 8px;
    font-size: clamp(0.84rem, 1.2vw, 1rem);
  }

  .status-dot {
    width: 28px;
    height: 28px;
  }

  .spotlight {
    grid-template-columns: minmax(145px, 180px) minmax(0, 1fr);
    gap: 22px;
  }

  .spotlight-copy h3 {
    font-size: clamp(1.7rem, 2.05vw, 2.05rem);
  }

  .spotlight-copy p {
    padding: 20px 22px;
  }
}

@media (max-width: 720px) {
  .dashboard {
    padding-inline: 14px;
  }

  .topbar {
    min-height: 100px;
  }

  .brand-mark,
  .top-actions {
    display: none;
  }

  .countdown-panel,
  .weather-panel,
  .park-card,
  .spotlight {
    grid-template-columns: 1fr;
  }

  .countdown-panel,
  .weather-panel {
    min-height: 0;
  }

  .calendar-icon {
    width: 150px;
  }

  .weather-art {
    width: 190px;
    min-height: 150px;
    margin: 0 auto;
  }

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

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

  .fact-carousel {
    grid-auto-columns: minmax(260px, 86vw);
  }

  .park-card {
    min-height: 160px;
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .ride-row {
    grid-template-columns: 42px minmax(0, 1fr);
    padding: 10px 0;
  }

  .ride-badge {
    grid-column: 2;
    justify-self: start;
    min-width: 112px;
  }

  .spotlight {
    text-align: center;
  }

  .accent-line {
    margin-inline: auto;
  }
}
