:root {
  --bg-deep: #041921;
  --bg-mid: #0c3340;
  --bg-light: #145162;
  --card: rgba(255, 255, 255, 0.92);
  --ink: #10212a;
  --muted: #4d626d;
  --accent: #0f8f83;
  --accent-2: #f4a320;
  --ok: #0f8f83;
  --warn: #db7f00;
  --done: #6a7a82;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Trebuchet MS", "Gill Sans MT", "Lucida Sans Unicode", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 15% 10%, #1f6f7f 0%, transparent 33%),
    radial-gradient(circle at 85% 90%, #2f7e58 0%, transparent 30%),
    linear-gradient(140deg, var(--bg-deep) 0%, var(--bg-mid) 45%, var(--bg-light) 100%);
  min-height: 100vh;
}

.aurora {
  position: fixed;
  width: 40vw;
  height: 40vw;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.28;
  z-index: 0;
  animation: drift 10s ease-in-out infinite alternate;
}

.aurora-a {
  top: -8vw;
  left: -10vw;
  background: #34c8b9;
}

.aurora-b {
  bottom: -10vw;
  right: -10vw;
  background: #f7c35a;
  animation-delay: 1.5s;
}

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(24px, -18px) scale(1.08); }
}

.page {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 24px 18px 34px;
}

.hero {
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.92), rgba(248, 255, 250, 0.88));
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-bottom: 16px;
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.22);
  animation: reveal 550ms ease-out;
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: #0c5e68;
  font-weight: 700;
}

h1 {
  margin: 8px 0 4px;
  font-family: "Cambria", "Book Antiqua", "Times New Roman", serif;
  font-size: clamp(1.5rem, 2vw + 1rem, 2.35rem);
}

.subline {
  margin: 0;
  color: #35505a;
}

.home-line {
  margin: 10px 0 6px;
}

.home-link {
  display: inline-block;
  text-decoration: none;
  font-weight: 700;
  color: #0a5a53;
  border: 1px solid rgba(15, 143, 131, 0.35);
  border-radius: 999px;
  padding: 6px 12px;
  background: rgba(15, 143, 131, 0.08);
  transition: background 120ms ease, border-color 120ms ease, transform 120ms ease;
}

.home-link:hover {
  background: rgba(15, 143, 131, 0.16);
  border-color: rgba(15, 143, 131, 0.55);
  transform: translateY(-1px);
}

.clock-wrap {
  margin-top: 14px;
  display: flex;
  gap: 14px;
  align-items: end;
  justify-content: space-between;
  flex-wrap: wrap;
}

.clock-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.clock-value {
  margin: 4px 0 0;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  font-weight: 800;
}

.chip {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15, 143, 131, 0.12);
  color: #0a5a53;
  font-weight: 700;
  font-size: 0.84rem;
}

.grid {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}

.kpi-grid {
  grid-template-columns: repeat(5, minmax(120px, 1fr));
}

.main-grid {
  grid-template-columns: 1.5fr 1fr;
}

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

.card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.16);
}

.kpi p {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

.kpi h3 {
  margin: 10px 0 0;
  font-size: 1.25rem;
}

.card-tag {
  margin: 0;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #356272;
  font-weight: 700;
}

.countdown h2 {
  margin: 8px 0 4px;
  font-size: 1.3rem;
}

.countdown-time {
  margin: 2px 0 6px;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  color: #0d666f;
  font-weight: 800;
}

.progress-wrap {
  margin-top: 10px;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: #d7e7ea;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #0f8f83, #f4a320);
  transition: width 300ms ease;
}

.label {
  display: block;
  margin: 10px 0 6px;
  font-size: 0.8rem;
  color: #355761;
  font-weight: 700;
}

select,
input[type="range"] {
  width: 100%;
}

select {
  border: 1px solid #c7dce1;
  border-radius: 10px;
  padding: 9px 10px;
  font-family: inherit;
}

.next-btn {
  width: 100%;
  margin-top: 14px;
  border: 0;
  border-radius: 12px;
  padding: 11px 12px;
  font-family: inherit;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(90deg, #0f8f83 0%, #1b6a92 100%);
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, opacity 120ms ease;
}

.next-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 8px 16px rgba(17, 93, 107, 0.3);
}

.next-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.meta-line {
  margin: 6px 0 0;
  font-size: 0.93rem;
}

.muted {
  color: var(--muted);
  margin: 8px 0 0;
}

.table-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 8px;
}

.table-wrap {
  overflow-x: auto;
  margin-top: 10px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 920px;
}

th,
td {
  text-align: left;
  border-bottom: 1px solid #dce8eb;
  padding: 10px 9px;
  font-size: 0.88rem;
  vertical-align: top;
}

th {
  background: #f3faf9;
  color: #355b66;
  font-size: 0.8rem;
}

tr.status-done {
  background: rgba(106, 122, 130, 0.09);
}

tr.status-live {
  background: rgba(15, 143, 131, 0.14);
}

tr.status-next {
  background: rgba(244, 163, 32, 0.11);
}

.badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.badge.done {
  background: rgba(106, 122, 130, 0.2);
  color: #3d4b51;
}

.badge.live {
  background: rgba(15, 143, 131, 0.2);
  color: #08584f;
}

.badge.next {
  background: rgba(244, 163, 32, 0.24);
  color: #7d4f00;
}

.badge.wait {
  background: rgba(53, 98, 114, 0.14);
  color: #2d5867;
}

@media (max-width: 980px) {
  .kpi-grid {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
  }

  .main-grid,
  .section-grid {
    grid-template-columns: 1fr;
  }
}
