:root {
  --bg-top: #0c1b2a;
  --bg-bottom: #1d3b58;
  --panel: rgba(10, 22, 35, 0.74);
  --panel-strong: rgba(7, 18, 30, 0.88);
  --line: rgba(255, 255, 255, 0.12);
  --text-main: #f4f8fc;
  --text-muted: rgba(244, 248, 252, 0.72);
  --accent: #ffd27d;
  --accent-strong: #ff9c4a;
  --sky: #81d4fa;
  --good: #89f7b4;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --page-width: 1180px;
  font-family: "SF Pro Rounded", "PingFang SC", "Avenir Next", "Microsoft YaHei",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  color: var(--text-main);
  background:
    radial-gradient(circle at top left, rgba(255, 210, 125, 0.22), transparent 30%),
    radial-gradient(circle at 80% 10%, rgba(129, 212, 250, 0.22), transparent 25%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto auto 0 0;
  width: 42vw;
  height: 42vw;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(40px);
  opacity: 0.26;
  z-index: 0;
}

body::before {
  bottom: -14vw;
  left: -12vw;
  background: rgba(255, 156, 74, 0.28);
}

body::after {
  top: 8vh;
  right: -18vw;
  left: auto;
  background: rgba(129, 212, 250, 0.24);
}

.page-shell {
  position: relative;
  z-index: 1;
  max-width: var(--page-width);
  margin: 0 auto;
  padding: 36px 20px 32px;
}

.hero {
  display: grid;
  grid-template-columns: 1.6fr minmax(280px, 360px);
  gap: 20px;
  margin-bottom: 20px;
  animation: rise-in 600ms ease-out both;
}

.hero-copy,
.panel-card,
.footer-note {
  border: 1px solid var(--line);
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-copy {
  padding: 32px;
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: auto -20px -70px auto;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 210, 125, 0.5), transparent 70%);
}

.tag-row,
.section-top,
.section-header,
.temperature-row,
.meta-grid,
.perf-grid {
  position: relative;
  z-index: 1;
}

.tag-row {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.tag,
.pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255, 210, 125, 0.18);
  color: #fff5df;
}

.tag-muted,
.pill {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-main);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--sky);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  max-width: 12ch;
  font-size: clamp(38px, 6vw, 58px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

h2 {
  font-size: clamp(32px, 4vw, 42px);
}

h3 {
  font-size: 28px;
  letter-spacing: -0.03em;
}

.hero-text,
.subtle,
.perf-note,
.footer-note,
.status-item p,
.highlight-item p {
  color: var(--text-muted);
  line-height: 1.7;
}

.hero-text {
  max-width: 56ch;
  margin-top: 18px;
  font-size: 16px;
}

.time-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 28px;
  border-radius: var(--radius-xl);
  animation: rise-in 650ms 90ms ease-out both;
}

.panel-label {
  color: var(--text-muted);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.time-value {
  font-size: clamp(36px, 6vw, 52px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.time-date {
  font-size: 16px;
}

.time-zone {
  font-size: 14px;
  color: var(--accent);
}

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

.panel-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  animation: rise-in 700ms ease-out both;
}

.dashboard > .panel-card:nth-child(2) {
  animation-delay: 80ms;
}

.dashboard > .panel-card:nth-child(3) {
  animation-delay: 140ms;
}

.dashboard > .panel-card:nth-child(4) {
  animation-delay: 220ms;
}

.dashboard > .panel-card:nth-child(5) {
  animation-delay: 280ms;
}

.panel-wide,
.overview-card {
  grid-column: span 2;
}

.section-top,
.section-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.weather-mark {
  width: 72px;
  height: 72px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 700;
  color: #11253a;
  background:
    radial-gradient(circle at 30% 30%, #fff4ce, #ffbe63 58%, #f7803c 100%);
  box-shadow: inset 0 4px 8px rgba(255, 255, 255, 0.35);
}

.temperature-row {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: end;
  margin-top: 28px;
}

.temperature-value {
  display: block;
  font-size: clamp(72px, 11vw, 112px);
  line-height: 0.9;
  letter-spacing: -0.08em;
}

.summary-text {
  margin-top: 10px;
  font-size: 18px;
  color: #fff3cf;
}

.temperature-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 140px;
  font-size: 14px;
  color: var(--text-muted);
}

.temperature-side strong {
  margin-left: 10px;
  color: var(--text-main);
  font-size: 22px;
}

.meta-grid,
.perf-grid,
.highlight-list {
  display: grid;
  gap: 14px;
}

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

.meta-card,
.perf-item,
.highlight-item,
.status-item,
.hour-card {
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: var(--panel-strong);
  border-radius: var(--radius-md);
}

.meta-card,
.perf-item {
  padding: 16px;
}

.meta-card span,
.perf-item span,
.highlight-item p,
.hour-time {
  color: var(--text-muted);
  font-size: 13px;
}

.meta-card strong,
.perf-item strong {
  display: block;
  margin-top: 8px;
  font-size: 23px;
  line-height: 1.25;
}

.perf-grid {
  margin-top: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.perf-note {
  margin-top: 16px;
  font-size: 14px;
}

.hourly-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(130px, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.hour-card {
  padding: 16px;
  min-height: 168px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hour-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hour-icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #0f1d2d;
  font-weight: 700;
  background: linear-gradient(180deg, #ffe7b5 0%, #ffb85b 100%);
}

.hour-temp {
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.hour-bar-track {
  height: 72px;
  display: flex;
  align-items: end;
}

.hour-bar {
  width: 100%;
  border-radius: 14px 14px 10px 10px;
  background: linear-gradient(180deg, #89e0ff 0%, #4e8ef7 100%);
  box-shadow: 0 10px 20px rgba(78, 142, 247, 0.22);
}

.hour-desc {
  font-size: 14px;
  color: #fff3cf;
}

.highlight-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 18px;
}

.highlight-item {
  padding: 18px;
}

.highlight-item strong {
  display: block;
  margin: 12px 0 8px;
  font-size: 28px;
}

.highlight-item p {
  font-size: 14px;
}

.status-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.status-item {
  padding: 16px 18px;
}

.status-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
}

.footer-note {
  margin-top: 20px;
  padding: 18px 22px;
  border-radius: 18px;
  font-size: 14px;
  animation: rise-in 760ms 320ms ease-out both;
}

code {
  color: #fff5df;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .hero,
  .dashboard {
    grid-template-columns: 1fr;
  }

  .overview-card,
  .panel-wide {
    grid-column: span 1;
  }

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

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

@media (max-width: 640px) {
  .page-shell {
    padding: 18px 14px 24px;
  }

  .hero-copy,
  .panel-card,
  .footer-note {
    padding: 20px;
  }

  h1 {
    max-width: none;
  }

  .temperature-row,
  .section-top,
  .section-header {
    flex-direction: column;
    align-items: start;
  }

  .temperature-side {
    min-width: 0;
  }

  .meta-grid,
  .perf-grid,
  .highlight-list,
  .hourly-list {
    grid-template-columns: 1fr;
  }

  .time-value {
    font-size: 40px;
  }
}
