:root {
  --bg-dark: #102542;
  --bg-deep: #081523;
  --panel: rgba(10, 24, 40, 0.82);
  --panel-soft: rgba(16, 40, 66, 0.72);
  --line: rgba(255, 255, 255, 0.18);
  --text-main: #f8f7ef;
  --text-soft: rgba(248, 247, 239, 0.76);
  --accent-gold: #ffd062;
  --accent-orange: #ff9a4f;
  --accent-blue: #7bd7ff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: "Trebuchet MS", "Microsoft YaHei", sans-serif;
  color: var(--text-main);
  background:
    linear-gradient(180deg, rgba(8, 21, 35, 0.08), rgba(8, 21, 35, 0.86)),
    radial-gradient(circle at top, rgba(123, 215, 255, 0.18), transparent 38%),
    url("https://mxdcact.web.sdo.com/project/yuyuegw/assets/bg_guide2.02402cd4.jpg") center top / cover no-repeat fixed,
    linear-gradient(180deg, var(--bg-dark), var(--bg-deep));
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.8));
  pointer-events: none;
}

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 28px clamp(20px, 3vw, 44px) 44px;
}

.ambient {
  position: absolute;
  inset: auto;
  width: 26rem;
  height: 26rem;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.55;
  pointer-events: none;
}

.ambient-left {
  top: 7rem;
  left: -7rem;
  background: radial-gradient(circle, rgba(255, 208, 98, 0.42), transparent 68%);
}

.ambient-right {
  right: -8rem;
  bottom: 2rem;
  background: radial-gradient(circle, rgba(123, 215, 255, 0.38), transparent 70%);
}

.topbar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1240px;
  margin: 0 auto;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.24));
  text-decoration: none;
}

.brand-logo-image {
  display: block;
  width: clamp(220px, 24vw, 320px);
  height: auto;
}

.topbar-copy {
  margin: 0;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(4, 12, 20, 0.45);
  color: var(--text-soft);
  font-size: 0.95rem;
  backdrop-filter: blur(12px);
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 120px);
  max-width: 1280px;
  margin: 0 auto;
}

.hero-panel {
  width: 100%;
  max-width: 780px;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(18, 40, 68, 0.92), rgba(8, 21, 35, 0.92)),
    rgba(0, 0, 0, 0.2);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  text-align: center;
}

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

h1 {
  margin: 0;
  font-size: clamp(1.8rem, 3.85vw, 3.7rem);
  line-height: 1.06;
  white-space: nowrap;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
}

.hero-copy {
  max-width: 44rem;
  margin: 16px auto 0;
  color: var(--text-soft);
  font-size: 1.02rem;
  line-height: 1.8;
}

.countdown-card {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid rgba(255, 208, 98, 0.26);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent),
    var(--panel-soft);
}

.countdown-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}

.countdown-header h2 {
  margin: 0;
  font-size: 1.2rem;
}

.countdown-header p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.94rem;
}

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

.time-tile {
  padding: 18px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 208, 98, 0.12), rgba(255, 154, 79, 0.08)),
    rgba(255, 255, 255, 0.02);
  text-align: center;
}

.time-value {
  display: block;
  color: var(--accent-gold);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 8px 24px rgba(255, 171, 85, 0.22);
}

.time-label {
  display: inline-block;
  margin-top: 10px;
  color: var(--accent-blue);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.stat-card {
  display: block;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
}

.stat-card.emphasis {
  background:
    linear-gradient(180deg, rgba(255, 208, 98, 0.14), rgba(255, 208, 98, 0.04)),
    rgba(255, 255, 255, 0.04);
}

.stat-label {
  display: block;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.stat-value {
  display: block;
  margin-top: 10px;
  color: var(--accent-gold);
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
}

.stat-value-sm {
  color: var(--text-main);
  font-size: clamp(1.5rem, 4vw, 2.2rem);
}

.stat-note {
  display: block;
  margin-top: 10px;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.stat-link {
  text-decoration: none;
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease,
    background 0.24s ease;
}

.stat-link:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 208, 98, 0.32);
  background:
    linear-gradient(180deg, rgba(255, 208, 98, 0.12), rgba(255, 154, 79, 0.08)),
    rgba(255, 255, 255, 0.05);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 24px;
}

.cta-row-single {
  margin-top: 18px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  padding: 14px 24px;
  border: 0;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    background 0.24s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
}

.cta-primary {
  color: #402100;
  background: linear-gradient(180deg, #ffd76d, #ffab55);
  box-shadow: 0 16px 32px rgba(255, 171, 85, 0.24);
}

.cta-secondary {
  color: var(--text-main);
  background:
    linear-gradient(180deg, rgba(97, 176, 255, 0.16), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(109, 183, 255, 0.34);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.16);
}

.qq-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.4rem;
  height: 1.4rem;
  margin-right: 8px;
  border-radius: 999px;
  background: linear-gradient(180deg, #5ec8ff, #1f84ff);
  box-shadow:
    0 6px 12px rgba(31, 132, 255, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.qq-icon-image {
  width: 0.9rem;
  height: 0.9rem;
  display: block;
  object-fit: contain;
}

.helper-text {
  min-height: 1.5rem;
  margin: 18px 0 0;
  color: var(--text-soft);
  font-size: 0.92rem;
  text-align: center;
}

.side-showcase {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(33vw, 360px);
  pointer-events: none;
}

.showcase-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 0.9;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 42px;
  background:
    radial-gradient(circle at top, rgba(255, 208, 98, 0.18), transparent 40%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.12)),
    rgba(9, 22, 38, 0.52);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.showcase-frame::before {
  content: "";
  position: absolute;
  inset: 20px;
  border-radius: 28px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
}

.character {
  position: absolute;
  max-width: none;
  pointer-events: none;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.35));
}

.character-main {
  bottom: 8px;
  left: 8px;
  width: 76%;
  animation: floatUp 3.6s ease-in-out infinite;
}

.character-support {
  right: -8px;
  bottom: 14px;
  width: 56%;
  animation: floatUp 4.4s ease-in-out infinite reverse;
}

@keyframes floatUp {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@media (max-width: 1120px) {
  .hero-layout {
    flex-direction: column;
    gap: 24px;
  }

  .side-showcase {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(70vw, 340px);
  }

  .showcase-frame {
    width: 100%;
  }
}

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

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-logo {
    max-width: 100%;
  }

  h1 {
    font-size: clamp(1.28rem, 7vw, 2.2rem);
  }

  .hero-panel {
    padding: 20px 16px;
    border-radius: 26px;
  }

  .countdown-header {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .cta-button {
    width: 100%;
  }

  .showcase-frame {
    width: min(78vw, 300px);
    border-radius: 30px;
  }
}

@media (max-width: 480px) {
  .brand-logo {
    width: 100%;
  }

  .countdown-grid,
  .stats-row {
    grid-template-columns: 1fr;
  }

  .time-tile {
    padding: 16px 12px;
  }
}
