:root {
  --bg: #07111f;
  --blue-1: #0f1f37;
  --blue-2: #173155;
  --blue-3: #3f6fa4;
  --gold-1: #c99b48;
  --gold-2: #f1d79b;
  --gold-3: #8d6630;
  --text: #f5f1e7;
  --muted: rgba(245, 241, 231, 0.78);
  --panel: rgba(7, 15, 29, 0.58);
  --panel-edge: rgba(219, 181, 112, 0.28);
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow: hidden;
}

.backdrop,
.noise,
.sky-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.backdrop {
  background:
    linear-gradient(180deg, rgba(4, 10, 22, 0.35) 0%, rgba(3, 8, 17, 0.62) 55%, rgba(5, 8, 13, 0.8) 100%),
    radial-gradient(circle at center, rgba(116, 170, 255, 0.12), transparent 40%),
    url('../img/season-opening-bg.png') center center / cover no-repeat;
  transform: scale(1.05);
  animation: slowZoom 22s ease-in-out infinite alternate;
}

.noise {
  opacity: 0.15;
  background-image:
    radial-gradient(rgba(255,255,255,0.15) 0.5px, transparent 0.5px),
    radial-gradient(rgba(255,255,255,0.08) 0.5px, transparent 0.5px);
  background-size: 22px 22px, 28px 28px;
  background-position: 0 0, 11px 11px;
  mix-blend-mode: soft-light;
}

.sky-glow {
  filter: blur(60px);
  opacity: 0.5;
}

.sky-glow-left {
  background: radial-gradient(circle at 20% 30%, rgba(77, 146, 255, 0.2), transparent 24%);
  animation: floatLeft 16s ease-in-out infinite;
}

.sky-glow-right {
  background: radial-gradient(circle at 80% 28%, rgba(101, 166, 255, 0.16), transparent 20%);
  animation: floatRight 18s ease-in-out infinite;
}

.shell {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px;
}

.panel {
  position: relative;
  width: min(1120px, 100%);
  padding: 52px 56px 42px;
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(9, 18, 35, 0.76), rgba(6, 12, 22, 0.72));
  border: 1px solid var(--panel-edge);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.panel::before {
  content: '';
  position: absolute;
  inset: 12px;
  border-radius: 26px;
  border: 1px solid rgba(241, 215, 155, 0.1);
  pointer-events: none;
}

.panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.035) 48%, transparent 100%);
  transform: translateX(-100%);
  animation: sheen 10s linear infinite;
}

.ornament {
  position: absolute;
  left: 50%;
  width: 320px;
  height: 22px;
  transform: translateX(-50%);
  opacity: 0.7;
}

.ornament::before,
.ornament::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(241, 215, 155, 0.7), transparent);
}

.ornament::before {
  left: 0;
}

.ornament::after {
  right: 0;
}

.ornament-top {
  top: 20px;
}

.ornament-bottom {
  bottom: 20px;
}

.ornament-top::before,
.ornament-top::after,
.ornament-bottom::before,
.ornament-bottom::after {
  transform: translateY(-50%);
}

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(241, 215, 155, 0.26);
  background: rgba(16, 27, 49, 0.72);
  color: var(--gold-2);
  font-family: 'Cinzel', serif;
  font-size: 0.86rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 24px;
  box-shadow: 0 0 24px rgba(113, 162, 255, 0.12);
}

h1 {
  font-family: 'Cinzel', serif;
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 4.9rem);
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff5db;
  text-shadow:
    0 2px 0 rgba(0,0,0,0.16),
    0 8px 22px rgba(46, 92, 164, 0.22);
  max-width: 980px;
}

.subtitle {
  margin-top: 18px;
  max-width: 860px;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.25rem, 2vw, 1.7rem);
  line-height: 1.5;
  color: var(--muted);
}

.countdown-wrap {
  margin-top: 34px;
  padding: 24px;
  border-radius: 26px;
  border: 1px solid rgba(241, 215, 155, 0.14);
  background: linear-gradient(180deg, rgba(12, 24, 45, 0.68), rgba(7, 14, 27, 0.62));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.countdown-title {
  font-family: 'Cinzel', serif;
  color: #e9d1a2;
  font-size: 1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.time-card {
  position: relative;
  padding: 24px 12px 20px;
  border-radius: 22px;
  border: 1px solid rgba(203, 159, 77, 0.22);
  background:
    linear-gradient(180deg, rgba(20, 37, 65, 0.78), rgba(11, 19, 35, 0.88));
  text-align: center;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.05),
    0 18px 35px rgba(0,0,0,0.22);
}

.time-card::before {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 16px;
  border: 1px solid rgba(241, 215, 155, 0.08);
  pointer-events: none;
}

.time-value {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  color: #fff2cf;
  text-shadow: 0 0 18px rgba(81, 141, 255, 0.18);
}

.time-label {
  display: block;
  margin-top: 10px;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(241, 215, 155, 0.76);
}

.actions {
  margin-top: 28px;
}

.main-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 16px 28px;
  border-radius: 18px;
  border: 1px solid rgba(241, 215, 155, 0.26);
  background:
    linear-gradient(180deg, rgba(212, 176, 104, 0.16), rgba(126, 89, 37, 0.16)),
    rgba(12, 21, 39, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 16px 30px rgba(0,0,0,0.26);
  color: #fff1cf;
  text-decoration: none;
  font-family: 'Cinzel', serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.main-button:hover {
  transform: translateY(-3px);
  border-color: rgba(241, 215, 155, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.1),
    0 20px 38px rgba(0,0,0,0.32),
    0 0 26px rgba(82, 140, 255, 0.14);
}

.footer-note {
  margin-top: 18px;
  color: rgba(245, 241, 231, 0.58);
  font-size: 0.96rem;
}

@keyframes slowZoom {
  from { transform: scale(1.04); }
  to { transform: scale(1.1); }
}

@keyframes floatLeft {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(30px, -20px, 0); }
}

@keyframes floatRight {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-26px, 26px, 0); }
}

@keyframes sheen {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

@media (max-width: 980px) {
  body {
    overflow-y: auto;
  }

  .shell {
    padding: 20px;
  }

  .panel {
    padding: 38px 24px 34px;
  }

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

@media (max-width: 560px) {
  .panel {
    padding: 28px 16px 26px;
    border-radius: 24px;
  }

  .ornament {
    width: 220px;
  }

  .countdown {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .time-card {
    padding: 18px 10px 16px;
  }

  .countdown-wrap {
    padding: 16px;
  }

  .main-button {
    width: 100%;
  }

  .subtitle {
    font-size: 1.2rem;
  }
}
