:root {
  --sky: #fde2bb;
  --lavender: #e6d3dd;
  --lilac: #ead8e2;
  --blush: #f6d1d6;
  --cream: #fff7e8;
  --ink: #6f4d4b;
  --deep: #8e6a84;
  --gold: #d8a258;
  --gold-light: #f2d58f;
  --line: rgba(139, 99, 119, 0.18);
  --soft-panel: rgba(255, 248, 235, 0.72);
  --shadow: 0 22px 52px rgba(140, 82, 83, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: linear-gradient(180deg, #ffe7bd 0%, #f8c9b8 38%, #f4ccd3 70%, #ead7e2 100%);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  letter-spacing: 0;
}

button,
a {
  font: inherit;
}

button {
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 16px;
  top: -80px;
  padding: 10px 16px;
  color: #fff;
  background: var(--deep);
  border-radius: 4px;
}

.skip-link:focus {
  top: 12px;
}

.topbar,
main,
.footer {
  position: relative;
  z-index: 1;
}

.topbar {
  position: sticky;
  z-index: 50;
  top: 0;
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 5vw;
  color: var(--ink);
  background: rgba(255, 245, 226, 0.84);
  border-bottom: 1px solid rgba(161, 105, 99, 0.18);
  box-shadow: 0 9px 26px rgba(137, 80, 80, 0.12);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
}

.brand-mark {
  position: relative;
  width: 94px;
  height: 40px;
  display: block;
  overflow: hidden;
  flex: 0 0 auto;
  background: transparent;
  border: 0;
}

.brand-mark img {
  position: absolute;
  width: 80px;
  max-width: none;
  height: auto;
  left: 4px;
  top: -20px;
  display: block;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-option {
  width: 40px;
  height: 30px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 2px solid transparent;
  border-radius: 4px;
  opacity: 0.7;
  transition: opacity 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.language-option img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.language-option:hover,
.language-option:focus-visible,
.language-option.active {
  opacity: 1;
  transform: translateY(-1px);
  border-color: var(--gold);
  outline: none;
}

.language-option.active {
  box-shadow: 0 0 0 2px rgba(255, 247, 218, 0.9);
}

.language-option:focus-visible {
  box-shadow: 0 0 0 3px rgba(91, 71, 126, 0.24);
}

.language-option[aria-current="true"] {
  cursor: default;
}

.ambient-lanterns {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
  overflow: hidden;
  pointer-events: none;
}

.ambient-lantern {
  position: absolute;
  left: var(--lantern-left, 12%);
  bottom: -160px;
  width: var(--lantern-size, 74px);
  opacity: 0;
  will-change: transform, opacity;
  filter: drop-shadow(0 0 12px rgba(255, 177, 57, 0.42));
  animation: ambient-lantern-float var(--drift-duration, 24s) linear var(--drift-delay, 0s) infinite;
}

@keyframes ambient-lantern-float {
  0% {
    opacity: 0;
    transform: translate3d(0, 100px, 0) rotate(-5deg) scale(var(--lantern-scale, 0.72));
  }
  10% {
    opacity: var(--lantern-opacity, 0.34);
  }
  48% {
    transform: translate3d(var(--drift-half, 18px), -55vh, 0) rotate(5deg) scale(var(--lantern-scale, 0.72));
  }
  86% {
    opacity: var(--lantern-opacity, 0.34);
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--drift-x, 50px), -112vh, 0) rotate(-4deg) scale(var(--lantern-scale, 0.72));
  }
}

.hero {
  position: relative;
  min-height: 860px;
  overflow: hidden;
  display: grid;
  align-items: start;
  isolation: isolate;
  background: linear-gradient(180deg, rgba(255, 231, 188, 0.94) 0%, rgba(249, 195, 178, 0.9) 54%, rgba(241, 205, 217, 0.92) 100%);
  border-bottom: 1px solid rgba(213, 166, 75, 0.25);
}

.hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    radial-gradient(circle at 77% 22%, rgba(255, 252, 223, 0.94) 0 9%, rgba(248, 218, 143, 0.23) 9.8% 13%, transparent 13.8%),
    radial-gradient(ellipse at 50% 32%, rgba(255, 247, 226, 0.62) 0 28%, transparent 61%);
  pointer-events: none;
}

.hero-atmosphere {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-cloud-mist,
.hero-star-trail {
  position: absolute;
  user-select: none;
}

.hero-cloud-mist {
  width: min(760px, 58vw);
  left: 50%;
  bottom: 70px;
  opacity: 0.16;
  filter: blur(2px) saturate(0.72);
  transform: translateX(-54%) scaleX(1.3);
}

.hero-star-trail {
  width: min(460px, 36vw);
  left: 50%;
  top: 52px;
  opacity: 0.18;
  filter: blur(0.6px) saturate(0.65);
  transform: translateX(-50%) rotate(-7deg);
}

.hero-content {
  position: relative;
  z-index: 7;
  width: min(900px, 92vw);
  margin: 0 auto;
  padding: 82px 18px 350px;
  text-align: center;
}

.hero-content::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 42px 6% 300px;
  background: radial-gradient(ellipse, rgba(255, 245, 224, 0.78) 0%, rgba(255, 235, 215, 0.43) 54%, transparent 78%);
  filter: blur(7px);
  pointer-events: none;
}

.hero-title {
  position: relative;
  width: fit-content;
  margin: 0 auto;
  padding: 20px 0 24px;
}

.hero-title::before,
.hero-title::after {
  content: "";
  position: absolute;
  left: 50%;
  height: 2px;
  background: var(--gold);
  transform: translateX(-50%);
}

.hero-title::before {
  width: 112px;
  top: 0;
}

.hero-title::after {
  width: 220px;
  bottom: 0;
  opacity: 0.58;
}

.hero-title h1 {
  margin: 0;
  color: #8c657f;
  font-family: "STKaiti", "KaiTi", "Microsoft YaHei", sans-serif;
  font-size: clamp(62px, 7vw, 106px);
  line-height: 0.92;
  font-weight: 900;
  -webkit-text-stroke: 2px rgba(255, 240, 191, 0.94);
  paint-order: stroke fill;
  text-shadow: 0 5px 0 #e4b568, 0 11px 26px rgba(134, 80, 93, 0.18);
}

.hero-title h1 span {
  display: block;
  white-space: nowrap;
}

.hero-title h1 span:last-child {
  margin-top: 8px;
}

.hero-subtitle {
  margin: 20px 0 14px;
  color: #875f69;
  font-size: clamp(19px, 1.9vw, 28px);
  font-weight: 800;
}

.prize-line {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
  color: var(--ink);
}

.prize-line span {
  font-size: clamp(17px, 1.7vw, 24px);
  font-weight: 800;
}

.prize-line strong {
  color: #bd6f4e;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1;
  text-shadow: 0 2px 0 #fff2c5;
}

.hero-date {
  width: fit-content;
  margin: 18px auto 0;
  padding: 10px 16px;
  color: #fff;
  background: rgba(137, 96, 126, 0.72);
  border: 1px solid rgba(255, 226, 150, 0.62);
  border-radius: 6px;
  box-shadow: 0 14px 28px rgba(133, 80, 94, 0.16);
  font-size: clamp(13px, 1.25vw, 18px);
  font-weight: 700;
}

.hero-cluster,
.hero-foreground,
.hero-lotus-garden,
.hero-lotus-bridge,
.hero-rabbits,
.cluster-glow,
.hero-title-decor,
.section-decor {
  position: absolute;
  pointer-events: none;
  user-select: none;
}

.hero-title-decor {
  opacity: 0.82;
  filter: saturate(0.86) drop-shadow(0 12px 18px rgba(141, 82, 86, 0.17));
}

.hero-cluster {
  z-index: 3;
  width: 390px;
  height: 650px;
}

.hero-cluster-left {
  left: max(18px, calc(50% - 650px));
  top: 54px;
}

.hero-cluster-right {
  right: max(18px, calc(50% - 650px));
  top: 64px;
}

.cluster-glow {
  z-index: 0;
  width: 300px;
  opacity: 0.19;
  filter: blur(2px) saturate(0.72);
}

.cluster-glow-left {
  left: 54px;
  top: 224px;
}

.cluster-glow-right {
  right: 18px;
  top: 188px;
  transform: scaleX(-1);
}

.hero-firework-fish-main {
  z-index: 2;
  width: 220px;
  left: 0;
  top: 0;
  transform: rotate(-5deg);
}

.hero-slot-mascot {
  z-index: 4;
  width: 184px;
  left: 145px;
  top: 248px;
  transform: rotate(3deg);
}

.cluster-lantern-left {
  z-index: 5;
  width: 104px;
  left: 42px;
  top: 396px;
  transform: rotate(-8deg);
}

.hero-firework-fish-side {
  z-index: 3;
  width: 154px;
  left: 4px;
  top: 84px;
  transform: rotate(5deg);
}

.hero-chess-gold {
  z-index: 5;
  width: 158px;
  left: 116px;
  top: 338px;
  transform: rotate(-5deg);
}

.cluster-lantern-right {
  z-index: 2;
  width: 126px;
  right: 6px;
  top: 174px;
  opacity: 0.7;
  transform: rotate(8deg);
}

.hero-foreground {
  z-index: 4;
  right: 0;
  bottom: 0;
  left: 0;
  height: 350px;
}

.hero-foreground::before {
  content: "";
  position: absolute;
  right: -5%;
  bottom: -10px;
  left: -5%;
  height: 180px;
  background: linear-gradient(180deg, transparent 0%, rgba(226, 168, 159, 0.16) 46%, rgba(232, 197, 207, 0.62) 100%);
  filter: blur(7px);
}

.hero-lotus-garden {
  z-index: 3;
  width: 610px;
  left: max(-120px, calc(50% - 760px));
  bottom: -332px;
  opacity: 0.9;
  filter: drop-shadow(0 20px 34px rgba(146, 86, 100, 0.14));
}

.hero-lotus-bridge {
  z-index: 2;
  width: 650px;
  left: 50%;
  bottom: -45px;
  opacity: 0.76;
  clip-path: inset(28% 0 0 0);
  filter: saturate(0.76) drop-shadow(0 18px 30px rgba(143, 83, 96, 0.13));
  transform: translateX(-50%);
}

.hero-rabbits {
  z-index: 4;
  width: 510px;
  right: max(-100px, calc(50% - 750px));
  bottom: -100px;
  opacity: 0.94;
  clip-path: inset(44% 0 0 0);
  filter: drop-shadow(0 18px 28px rgba(142, 84, 103, 0.16));
}

.section {
  position: relative;
  overflow: hidden;
  padding: 76px 24px;
}

.section-inner {
  position: relative;
  z-index: 3;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.section-heading {
  position: relative;
  margin: 0 auto 38px;
  padding-bottom: 18px;
  text-align: center;
}

.section-heading::after {
  content: "";
  position: absolute;
  width: 72px;
  height: 2px;
  left: 50%;
  bottom: 0;
  background: var(--gold);
  transform: translateX(-50%);
}

.section-heading span {
  display: block;
  margin-bottom: 8px;
  color: #b8773f;
  font-size: 13px;
  font-weight: 900;
}

.section-heading h2,
.dark-heading h2,
.light-heading h2 {
  margin: 0;
  color: var(--deep);
  font-size: clamp(34px, 4.2vw, 54px);
  line-height: 1.08;
  text-shadow: 0 3px 0 rgba(255, 244, 206, 0.9);
}

.section-heading p,
.dark-heading p,
.light-heading p {
  margin: 12px 0 0;
  color: #84666f;
  font-size: 16px;
}

.schedule-section,
.rules-section,
.notice-section {
  background: rgba(255, 230, 200, 0.36);
}

.info-section {
  background: rgba(249, 207, 213, 0.36);
}

.schedule-section .section-inner,
.info-section .section-inner,
.notice-section .section-inner {
  padding: clamp(34px, 5vw, 56px) clamp(20px, 4vw, 50px);
  background: var(--soft-panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.period-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  background: rgba(255, 246, 224, 0.72);
  border: 1px solid rgba(143, 99, 119, 0.18);
  border-radius: 8px;
}

.period-card {
  min-width: 0;
  padding: 28px 22px;
  border-right: 1px solid var(--line);
  box-shadow: inset 0 3px 0 rgba(213, 166, 75, 0.46);
}

.period-card:last-child {
  border-right: 0;
}

.period-card b {
  display: block;
  margin-bottom: 18px;
  color: var(--deep);
  font-size: 24px;
}

.period-card time {
  display: block;
  color: #735555;
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 800;
  white-space: nowrap;
}

.period-card i {
  width: 38px;
  height: 2px;
  display: block;
  margin: 12px 0;
  background: var(--gold);
}

.summary-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 20px;
  padding: 24px 0;
  background: rgba(255, 246, 227, 0.74);
  border: 1px solid rgba(143, 99, 119, 0.18);
  border-radius: 8px;
}

.summary-strip div {
  min-width: 0;
  padding: 0 24px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.summary-strip div:last-child {
  border-right: 0;
}

.summary-strip strong,
.summary-strip span {
  display: block;
}

.summary-strip strong {
  color: var(--deep);
  font-size: clamp(21px, 2.3vw, 31px);
}

.summary-strip span {
  margin-top: 5px;
  color: #85676c;
  font-size: 13px;
}

.rules-section {
  padding-top: 32px;
}

.rules-inner {
  width: min(980px, 100%);
  padding: clamp(30px, 5vw, 58px);
  background: rgba(255, 247, 229, 0.7);
  border: 1px solid rgba(143, 99, 119, 0.18);
  border-radius: 8px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.rule-list,
.notice-list {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: rule;
}

.rule-list li,
.notice-list li {
  position: relative;
  padding: 20px 20px 20px 68px;
  color: #714f50;
  border-top: 1px solid var(--line);
  font-size: 16px;
  line-height: 1.8;
  counter-increment: rule;
}

.rule-list li:last-child,
.notice-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.rule-list li::before,
.notice-list li::before {
  content: counter(rule, decimal-leading-zero);
  position: absolute;
  left: 14px;
  top: 19px;
  color: #aa7332;
  font-weight: 900;
}

.currency-copy {
  width: min(760px, 100%);
  margin-top: 36px;
  padding: 24px 0 4px;
  border-top: 1px solid var(--line);
}

.currency-copy h3 {
  margin: 0 0 12px;
  color: var(--deep);
  font-size: 26px;
}

.currency-copy p {
  margin: 0;
  color: #765555;
  font-size: 16px;
  line-height: 2;
}

.rewards-section {
  min-height: 720px;
  color: var(--ink);
  background: linear-gradient(180deg, rgba(248, 205, 182, 0.92) 0%, rgba(244, 205, 214, 0.9) 70%, rgba(231, 213, 225, 0.9) 100%);
  border-top: 1px solid rgba(213, 166, 75, 0.2);
  border-bottom: 1px solid rgba(213, 166, 75, 0.2);
}

.reward-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  width: min(760px, 100%);
  margin: 0 auto 20px;
  padding: 6px;
  background: rgba(255, 245, 226, 0.58);
  border: 1px solid rgba(143, 99, 119, 0.2);
  border-radius: 8px;
  backdrop-filter: blur(8px);
}

.reward-tab {
  min-height: 48px;
  padding: 0 14px;
  color: #7f606a;
  background: transparent;
  border-radius: 4px;
  font-weight: 800;
  cursor: pointer;
}

.reward-tab.active {
  color: #fff;
  background: var(--deep);
  box-shadow: 0 8px 20px rgba(91, 71, 126, 0.2);
}

.reward-tab:focus-visible {
  outline: 3px solid rgba(213, 166, 75, 0.42);
  outline-offset: 2px;
}

.table-shell {
  width: 100%;
  overflow: hidden;
  background: #fffaf1;
  border: 1px solid rgba(143, 99, 119, 0.22);
  border-radius: 8px;
  box-shadow: 0 24px 56px rgba(133, 78, 91, 0.16);
}

.table-scroll {
  overflow-x: auto;
  scrollbar-color: var(--deep) #eadfdc;
}

table {
  width: 100%;
  min-width: 1300px;
  border-collapse: collapse;
  color: #654a50;
  table-layout: fixed;
}

caption {
  padding: 18px;
  color: #fff;
  background: var(--deep);
  font-size: 21px;
  font-weight: 900;
}

th,
td {
  padding: 12px 8px;
  text-align: center;
  border-right: 1px solid rgba(143, 99, 119, 0.12);
  border-bottom: 1px solid rgba(143, 99, 119, 0.12);
  font-size: 13px;
  white-space: nowrap;
}

th:first-child,
td:first-child {
  position: sticky;
  z-index: 2;
  left: 0;
  width: 92px;
  font-weight: 900;
}

thead th {
  color: #654a50;
  background: #f0d79b;
}

thead th:first-child {
  z-index: 3;
  color: #fff;
  background: var(--deep);
}

tbody tr:nth-child(odd) td {
  background: #fffaf1;
}

tbody tr:nth-child(even) td {
  background: #f7e6e2;
}

tbody tr:nth-child(odd) td:first-child {
  background: #f2dfa6;
}

tbody tr:nth-child(even) td:first-child {
  background: #dfc985;
}

tbody tr:first-child td:first-child,
tbody tr:nth-child(2) td:first-child,
tbody tr:nth-child(3) td:first-child {
  color: #fff;
  background: #b67883;
}

.rank-cell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.rank-icon {
  width: 30px;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 3px 4px rgba(112, 66, 55, 0.18));
}

.notice-inner {
  width: min(980px, 100%);
}

.notice-list {
  padding: 16px 26px;
  counter-reset: notice;
  background: rgba(255, 247, 229, 0.56);
  border: 1px solid rgba(143, 99, 119, 0.16);
  border-radius: 8px;
}

.notice-list li {
  padding-left: 52px;
  font-size: 14px;
  counter-increment: notice;
}

.notice-list li::before {
  content: counter(notice) ".";
}

.section-decor {
  z-index: 2;
  object-fit: contain;
}

.decor-hanging {
  width: clamp(120px, 13vw, 190px);
  left: -28px;
  top: 20px;
  opacity: 0.42;
  transform: rotate(-8deg);
}

.decor-lotus-glow {
  width: clamp(240px, 28vw, 380px);
  right: -86px;
  bottom: -102px;
  opacity: 0.2;
}

.decor-sky-lanterns {
  width: clamp(150px, 18vw, 230px);
  right: -40px;
  top: 80px;
  opacity: 0.28;
}

.decor-lotus-garden {
  width: clamp(320px, 34vw, 500px);
  left: -124px;
  bottom: -150px;
  opacity: 0.18;
}

.decor-hanging-small {
  width: clamp(100px, 11vw, 150px);
  right: 12px;
  top: 26px;
  opacity: 0.28;
  transform: rotate(7deg);
}

.footer {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  display: grid;
  place-items: end center;
  padding: 170px 24px 28px;
  color: #84656d;
  background: linear-gradient(180deg, #f4d8d4 0%, #ead8e3 100%);
  border-top: 1px solid rgba(213, 166, 75, 0.22);
  font-size: 12px;
}

.footer img {
  position: absolute;
  width: 350px;
  right: 2vw;
  bottom: -136px;
  opacity: 0.72;
  pointer-events: none;
}

.footer p {
  position: relative;
  z-index: 2;
  margin: 0;
}

.back-top {
  position: fixed;
  z-index: 40;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--deep);
  border: 1px solid rgba(255, 239, 188, 0.78);
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(76, 59, 108, 0.22);
  font-size: 23px;
  font-weight: 900;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.back-top.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-top:focus-visible {
  outline: 3px solid rgba(213, 166, 75, 0.44);
  outline-offset: 3px;
}

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

  .period-card:nth-child(2) {
    border-right: 0;
  }

  .period-card:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .hero-cluster-left {
    left: -56px;
    top: 90px;
    transform: scale(0.8);
    transform-origin: left top;
  }

  .hero-cluster-right {
    right: -58px;
    top: 92px;
    transform: scale(0.8);
    transform-origin: right top;
  }

  .hero-lotus-garden {
    width: 540px;
    left: -190px;
    bottom: -300px;
  }

  .hero-lotus-bridge {
    width: 500px;
    bottom: -36px;
  }

  .hero-rabbits {
    width: 440px;
    right: -150px;
    bottom: -90px;
  }
}

@media (max-width: 640px) {
  .topbar {
    min-height: 58px;
    padding: 0 16px;
  }

  .brand-mark {
    width: 82px;
    height: 36px;
  }

  .brand-mark img {
    width: 72px;
    left: 4px;
    top: -18px;
  }

  .language-switcher {
    gap: 7px;
  }

  .language-option {
    width: 34px;
    height: 26px;
  }

  .ambient-lantern:nth-child(n + 3) {
    display: none;
  }

  .hero {
    min-height: 820px;
  }

  .hero::before {
    background:
      radial-gradient(circle at 78% 18%, rgba(255, 252, 223, 0.92) 0 11%, rgba(248, 218, 143, 0.2) 11.8% 15%, transparent 15.8%),
      radial-gradient(ellipse at 50% 30%, rgba(255, 247, 226, 0.64) 0 38%, transparent 69%);
  }

  .hero-content {
    width: 94vw;
    padding: 54px 8px 350px;
  }

  .hero-content::before {
    inset: 28px 0 340px;
    opacity: 0.9;
  }

  .hero-title {
    padding-top: 16px;
  }

  .hero-title h1 {
    font-size: clamp(49px, 15vw, 70px);
    -webkit-text-stroke-width: 1px;
  }

  .hero-title h1 span:last-child {
    margin-top: 6px;
  }

  .hero-subtitle {
    margin-top: 16px;
    font-size: 19px;
  }

  .prize-line {
    flex-wrap: wrap;
    gap: 5px 8px;
  }

  .prize-line span {
    width: 100%;
    font-size: 15px;
  }

  .prize-line strong {
    font-size: clamp(29px, 9.5vw, 42px);
  }

  .hero-date {
    margin-top: 16px;
    padding: 8px 10px;
    font-size: 12px;
  }

  .hero-atmosphere {
    opacity: 0.78;
  }

  .hero-star-trail {
    width: 300px;
    top: 26px;
  }

  .hero-cloud-mist {
    width: 520px;
    bottom: 44px;
  }

  .hero-cluster {
    opacity: 0.72;
  }

  .hero-cluster-left {
    left: -82px;
    top: 292px;
    transform: scale(0.58);
  }

  .hero-cluster-right {
    right: -82px;
    top: 284px;
    transform: scale(0.58);
  }

  .hero-foreground {
    height: 300px;
  }

  .hero-lotus-garden {
    width: 430px;
    left: -182px;
    bottom: -238px;
    opacity: 0.8;
  }

  .hero-lotus-bridge {
    width: 390px;
    bottom: -28px;
    opacity: 0.62;
  }

  .hero-rabbits {
    width: 390px;
    right: -160px;
    bottom: -70px;
    opacity: 0.88;
  }

  .section {
    padding: 64px 16px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .section-heading h2,
  .dark-heading h2,
  .light-heading h2 {
    font-size: 36px;
  }

  .section-heading p {
    font-size: 14px;
  }

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

  .period-card,
  .period-card:nth-child(2) {
    display: grid;
    grid-template-columns: 86px 1fr;
    align-items: center;
    padding: 20px 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .period-card:last-child {
    border-bottom: 0;
  }

  .period-card b {
    grid-row: 1 / 4;
    margin: 0;
    font-size: 19px;
  }

  .period-card time {
    font-size: 14px;
  }

  .period-card i {
    width: 28px;
    margin: 8px 0;
  }

  .summary-strip {
    padding: 17px 0;
  }

  .summary-strip div {
    padding: 0 8px;
  }

  .summary-strip strong {
    font-size: 17px;
  }

  .summary-strip span {
    font-size: 11px;
  }

  .currency-copy p {
    font-size: 14px;
    line-height: 1.8;
  }

  .reward-tabs {
    gap: 4px;
    padding: 4px;
  }

  .reward-tab {
    min-height: 42px;
    padding: 0 7px;
    font-size: 13px;
  }

  caption {
    padding: 14px;
    font-size: 18px;
  }

  th,
  td {
    padding: 10px 7px;
    font-size: 12px;
  }

  .rank-icon {
    width: 27px;
  }

  .rule-list li,
  .notice-list li {
    padding: 18px 8px 18px 48px;
    font-size: 14px;
    line-height: 1.75;
  }

  .rule-list li::before,
  .notice-list li::before {
    left: 8px;
    top: 17px;
  }

  .rules-inner {
    padding: 28px 16px;
  }

  .notice-list {
    padding: 10px 14px;
  }

  .section-decor {
    opacity: 0.14;
  }

  .decor-hanging {
    left: -48px;
  }

  .footer {
    min-height: 190px;
    padding-top: 132px;
  }

  .footer img {
    width: 280px;
    right: -70px;
    bottom: -112px;
  }

  .back-top {
    right: 14px;
    bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .ambient-lantern {
    display: none;
    animation: none;
  }

  .back-top {
    transition: none;
  }
}

/* Campaign artwork hero */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.topbar {
  color: #fff3cf;
  background: rgba(12, 31, 78, 0.95);
  border-bottom-color: rgba(255, 193, 64, 0.48);
  box-shadow: 0 9px 28px rgba(5, 18, 54, 0.28);
}

.brand-mark {
  background: transparent;
  border-color: transparent;
}

.hero-campaign {
  min-height: 0;
  display: block;
  overflow: hidden;
  background: #10255f;
  border-bottom: 1px solid rgba(255, 197, 72, 0.42);
}

.hero-campaign::before {
  display: none;
}

.hero-campaign-stage {
  position: relative;
  width: 100%;
  height: min(56.08vw, 790px);
  min-height: 520px;
  overflow: hidden;
  background: #10255f;
}

.hero-campaign-stage::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 12%;
  background: linear-gradient(180deg, transparent, rgba(8, 24, 65, 0.62));
  pointer-events: none;
}

.hero-campaign-art {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
}

.hero-campaign .hero-content {
  z-index: 3;
  width: 100%;
  margin: 0;
  padding: 15px 5vw 17px;
}

.hero-campaign .hero-content::before {
  display: none;
}

.hero-campaign-info {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3.5vw, 54px);
  color: #fff5d5;
  background:
    linear-gradient(90deg, rgba(19, 31, 76, 0.96), rgba(43, 38, 93, 0.98) 50%, rgba(19, 31, 76, 0.96)),
    #152253;
  border-top: 1px solid rgba(255, 202, 85, 0.46);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  text-align: center;
}

.hero-campaign .hero-subtitle {
  flex: 0 0 auto;
  margin: 0;
  color: #ffd875;
  font-size: clamp(16px, 1.45vw, 22px);
  white-space: nowrap;
}

.hero-campaign .prize-line {
  flex: 0 0 auto;
  gap: 10px;
  color: #fff8df;
  white-space: nowrap;
}

.hero-campaign .prize-line span {
  color: #f6d791;
  font-size: clamp(14px, 1.2vw, 18px);
}

.hero-campaign .prize-line strong {
  color: #ffd04f;
  font-size: clamp(28px, 2.8vw, 42px);
  text-shadow: 0 2px 0 #6e3018, 0 0 18px rgba(255, 183, 45, 0.28);
}

.hero-campaign .hero-date {
  flex: 0 0 auto;
  margin: 0;
  padding: 9px 14px;
  color: #fff8df;
  background: rgba(5, 16, 49, 0.45);
  border-color: rgba(255, 202, 92, 0.45);
  box-shadow: none;
  font-size: clamp(12px, 1.1vw, 16px);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .hero-campaign-stage {
    height: 58vw;
    min-height: 430px;
  }

  .hero-campaign-info {
    gap: 16px;
    padding-right: 18px;
    padding-left: 18px;
  }
}

@media (max-width: 640px) {
  .hero-campaign {
    min-height: 0;
  }

  .hero-campaign-stage {
    height: 500px;
    min-height: 0;
  }

  .hero-campaign-art {
    object-position: 50% 47%;
  }

  .hero-campaign .hero-content {
    width: 100%;
    padding: 13px 14px 16px;
  }

  .hero-campaign-info {
    min-height: 146px;
    flex-direction: column;
    gap: 7px;
  }

  .hero-campaign .hero-subtitle {
    font-size: 16px;
  }

  .hero-campaign .prize-line {
    flex-wrap: nowrap;
    gap: 8px;
  }

  .hero-campaign .prize-line span {
    width: auto;
    font-size: 13px;
  }

  .hero-campaign .prize-line strong {
    font-size: 29px;
  }

  .hero-campaign .hero-date {
    margin: 0;
    padding: 7px 9px;
    font-size: 11px;
  }
}

/* Designed hero: reference artwork informs the mood, not the layout. */
.hero-designed {
  min-height: 820px;
  display: grid;
  align-items: start;
  overflow: hidden;
  background: #102453;
  border-bottom: 1px solid rgba(255, 196, 70, 0.46);
  isolation: isolate;
}

.hero-designed::before {
  display: none;
}

.hero-scene-bg {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 17%, rgba(255, 230, 149, 0.3), transparent 24%),
    linear-gradient(180deg, #173b7a 0%, #171d51 54%, #0b204d 100%);
}

.hero-scene-bg img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  opacity: 0.92;
  filter: saturate(0.92) brightness(0.8);
}

.hero-scene-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 19, 55, 0.08), rgba(7, 20, 58, 0.3) 36%, rgba(7, 20, 58, 0.3) 64%, rgba(6, 19, 55, 0.08)),
    linear-gradient(180deg, rgba(7, 26, 69, 0.08), rgba(4, 15, 48, 0.2));
}

.hero-designed-content {
  position: relative;
  z-index: 6;
  width: min(900px, 76vw);
  margin: 0 auto;
  padding: 36px 18px 136px;
  text-align: center;
}

.hero-designed-content::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 42px 4% 118px;
  background: radial-gradient(ellipse, rgba(9, 19, 52, 0.68) 0%, rgba(9, 19, 52, 0.36) 53%, transparent 78%);
  filter: blur(10px);
}

.hero-title-plaque {
  position: relative;
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 0;
  background: none;
  clip-path: none;
  filter: drop-shadow(0 16px 20px rgba(2, 8, 29, 0.56));
}

.hero-title-art {
  width: 100%;
  height: auto;
  display: block;
}

html[data-lang="zh-CN"] .hero-title-plaque,
html[data-lang="zh-TW"] .hero-title-plaque {
  width: min(560px, 100%);
}

.hero-title-panel {
  position: relative;
  padding: 35px 54px 31px;
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 114, 48, 0.42), transparent 36%),
    linear-gradient(180deg, #981d16 0%, #650e18 58%, #3b0a19 100%);
  clip-path: polygon(8% 0, 92% 0, 100% 18%, 96% 82%, 89% 100%, 11% 100%, 4% 82%, 0 18%);
  box-shadow: inset 0 0 0 2px rgba(255, 222, 106, 0.35);
}

.hero-title-panel::before,
.hero-title-panel::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 42px;
  height: 42px;
  background: linear-gradient(145deg, #fff1a8, #df8f0d 56%, #7f2a03);
  transform: translateY(-50%) rotate(45deg);
  box-shadow: 0 0 18px rgba(255, 190, 57, 0.4);
}

.hero-title-panel::before {
  left: 5px;
}

.hero-title-panel::after {
  right: 5px;
}

.hero-plaque-gem {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: -19px;
  width: 38px;
  height: 38px;
  background: linear-gradient(145deg, #fff7c4, #ffbd1f 46%, #a33a06 100%);
  border: 3px solid #ffe083;
  transform: translateX(-50%) rotate(45deg);
  box-shadow: 0 0 18px rgba(255, 206, 74, 0.76);
}

.hero-title-panel h1 {
  position: relative;
  z-index: 3;
  margin: 0;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: clamp(62px, 6vw, 92px);
  line-height: 0.94;
  font-weight: 1000;
  letter-spacing: 0;
  color: #ffc62e;
  -webkit-text-stroke: 3px #fff0a0;
  paint-order: stroke fill;
  text-shadow:
    0 5px 0 #cb6c04,
    0 10px 0 #6f2506,
    0 15px 22px rgba(31, 4, 3, 0.72);
}

.hero-title-panel h1 span {
  display: block;
  white-space: nowrap;
}

.hero-title-panel h1 span:last-child {
  margin-top: 12px;
}

.hero-metrics {
  width: min(760px, 94%);
  margin: 12px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #fff5d5;
}

.hero-time-block,
.hero-designed .prize-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 14px 18px;
}

.hero-time-block {
  order: 2;
  width: 88%;
  min-height: 78px;
  background: rgba(5, 18, 54, 0.76);
  border: 1px solid rgba(255, 198, 65, 0.46);
  box-shadow: 0 12px 26px rgba(2, 9, 32, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.hero-time-block span,
.hero-designed .prize-line span {
  color: #ffd76a;
  font-size: 15px;
  font-weight: 800;
}

.hero-time-block strong {
  color: #fff9e7;
  font-size: clamp(13px, 1.18vw, 17px);
  line-height: 1.5;
  white-space: nowrap;
}

.hero-designed .prize-line {
  order: 1;
  width: 70%;
  min-height: 94px;
  margin: 0;
  color: #fff5d5;
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(5, 18, 54, 0.82), rgba(5, 18, 54, 0.82)) padding-box,
    linear-gradient(90deg, transparent 0%, rgba(255, 198, 65, 0.72) 20%, rgba(255, 198, 65, 0.72) 80%, transparent 100%) border-box;
  box-shadow: 0 14px 30px rgba(2, 9, 32, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.hero-designed .prize-line strong {
  color: #ffd247;
  font-size: clamp(28px, 2.7vw, 40px);
  line-height: 1;
  white-space: nowrap;
  text-shadow: 0 2px 0 #6b260b, 0 0 17px rgba(255, 185, 45, 0.32);
}

.hero-character-group,
.hero-character,
.hero-accent-lantern,
.hero-lotus-foreground {
  position: absolute;
  pointer-events: none;
  user-select: none;
}

.hero-character-group {
  z-index: 4;
  width: 340px;
  height: 650px;
}

.hero-character-left {
  left: max(12px, calc(50% - 690px));
  bottom: 113px;
}

.hero-character-right {
  right: max(10px, calc(50% - 690px));
  bottom: 133px;
}

.hero-character {
  filter: saturate(0.9) drop-shadow(0 18px 24px rgba(2, 8, 31, 0.42));
}

.hero-mascot {
  z-index: 3;
  width: 285px;
  left: 10px;
  bottom: 14px;
}

.hero-fish-main {
  z-index: 3;
  width: 270px;
  right: 2px;
  bottom: 26px;
  transform: scaleX(-1);
}

.hero-fish-side {
  z-index: 2;
  width: 132px;
  left: 28px;
  top: -44px;
  opacity: 0.78;
  transform: rotate(-7deg);
}

.hero-accent-lantern {
  z-index: 1;
  width: 86px;
  opacity: 0.54;
  filter: drop-shadow(0 0 14px rgba(255, 156, 45, 0.35));
}

.hero-accent-lantern-left {
  left: 0;
  top: 120px;
  transform: rotate(-8deg);
}

.hero-accent-lantern-right {
  right: -2px;
  top: 42px;
  transform: rotate(8deg);
}

.hero-lotus-foreground {
  z-index: 2;
  width: 520px;
  left: 50%;
  bottom: -266px;
  opacity: 0.2;
  filter: saturate(0.62) blur(0.4px);
  transform: translateX(-50%);
}

@media (max-width: 980px) {
  .hero-designed-content {
    width: min(820px, 88vw);
  }

  .hero-character-left {
    left: -76px;
    bottom: 36px;
  }

  .hero-character-right {
    right: -76px;
    bottom: 48px;
  }

  .hero-character-group {
    transform: scale(0.82);
  }

  .hero-character-right {
    transform-origin: right bottom;
  }

  .hero-character-left {
    transform-origin: left bottom;
  }
}

@media (max-width: 640px) {
  .hero-designed {
    min-height: 720px;
  }

  .hero-scene-bg img {
    object-position: center center;
    opacity: 0.86;
  }

  .hero-designed-content {
    width: 100%;
    padding: 26px 10px 220px;
  }

  .hero-title-plaque {
    width: min(380px, 98vw);
    padding: 0;
  }

  html[data-lang="zh-CN"] .hero-title-plaque,
  html[data-lang="zh-TW"] .hero-title-plaque {
    width: min(340px, 92vw);
  }

  .hero-title-panel {
    padding: 28px 35px 25px;
  }

  .hero-title-panel h1 {
    font-size: clamp(47px, 14.5vw, 59px);
    -webkit-text-stroke-width: 2px;
    text-shadow: 0 4px 0 #cb6c04, 0 7px 0 #6f2506, 0 11px 17px rgba(31, 4, 3, 0.68);
  }

  .hero-title-panel h1 span:last-child {
    margin-top: 8px;
  }

  .hero-title-panel::before,
  .hero-title-panel::after {
    width: 28px;
    height: 28px;
  }

  .hero-plaque-gem {
    top: -13px;
    width: 28px;
    height: 28px;
  }

  .hero-metrics {
    width: min(360px, 94vw);
    margin-top: 20px;
  }

  .hero-time-block,
  .hero-designed .prize-line {
    min-height: 68px;
    padding: 10px 12px;
  }

  .hero-time-block {
    width: 100%;
  }

  .hero-designed .prize-line {
    width: 90%;
  }

  .hero-time-block span,
  .hero-designed .prize-line span {
    font-size: 12px;
  }

  .hero-time-block strong {
    font-size: 11px;
  }

  .hero-designed .prize-line strong {
    font-size: 27px;
  }

  .hero-character-group {
    width: 220px;
    height: 430px;
    opacity: 0.9;
    transform: scale(0.6);
  }

  .hero-character-left {
    left: -84px;
    bottom: -26px;
  }

  .hero-character-right {
    right: -88px;
    bottom: -22px;
  }

  .hero-lotus-foreground {
    width: 390px;
    bottom: -185px;
    opacity: 0.16;
  }
}

/* Continuous Mid-Autumn night system below the hero. */
main {
  background-color: #071943;
  background-image:
    radial-gradient(circle at 8% 16%, rgba(107, 146, 214, 0.16) 0 1px, transparent 2px),
    radial-gradient(circle at 91% 28%, rgba(236, 214, 157, 0.13) 0 1px, transparent 2px),
    radial-gradient(circle at 24% 62%, rgba(87, 130, 205, 0.12) 0 1px, transparent 2px),
    radial-gradient(circle at 76% 82%, rgba(232, 205, 140, 0.1) 0 1px, transparent 2px),
    linear-gradient(180deg, #071a47 0%, #0b2255 34%, #091d4c 69%, #06163d 100%);
  background-size: 230px 230px, 310px 310px, 270px 270px, 360px 360px, auto;
}

.content-night-decor {
  position: fixed;
  z-index: 28;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  pointer-events: none;
}

.osmanthus-piece {
  position: fixed;
  top: -120px;
  width: clamp(42px, 4.2vw, 64px);
  height: auto;
  opacity: 0.72;
  filter: saturate(0.82) drop-shadow(0 7px 9px rgba(1, 8, 29, 0.34));
  animation: osmanthus-rain var(--flower-duration, 10s) linear var(--flower-delay, 0s) infinite;
  will-change: transform, opacity;
}

.osmanthus-left-1 { left: 3vw; --flower-duration: 8.5s; --flower-delay: -1s; --flower-rotate: -18deg; --flower-drift: 18px; }
.osmanthus-left-2 { left: 9vw; --flower-duration: 11s; --flower-delay: -5.2s; --flower-rotate: 24deg; --flower-drift: -14px; }
.osmanthus-left-3 { left: 15vw; --flower-duration: 9.5s; --flower-delay: -7s; --flower-rotate: 8deg; --flower-drift: 22px; }
.osmanthus-right-1 { right: 3vw; --flower-duration: 10s; --flower-delay: -2.4s; --flower-rotate: 20deg; --flower-drift: -18px; }
.osmanthus-right-2 { right: 9vw; --flower-duration: 8.8s; --flower-delay: -6.2s; --flower-rotate: -14deg; --flower-drift: 15px; }
.osmanthus-right-3 { right: 15vw; --flower-duration: 12s; --flower-delay: -8.4s; --flower-rotate: 32deg; --flower-drift: -20px; }

@keyframes osmanthus-rain {
  0% {
    transform: translate3d(0, -130px, 0) rotate(var(--flower-rotate, 0deg));
  }
  100% {
    transform: translate3d(var(--flower-drift, 0), calc(100vh + 160px), 0) rotate(calc(var(--flower-rotate, 0deg) + 360deg));
  }
}

.schedule-section,
.info-section,
.rules-section,
.rewards-section,
.notice-section {
  --line: rgba(224, 186, 104, 0.16);
  color: #f3e7ca;
  background: linear-gradient(180deg, transparent 0%, rgba(25, 49, 101, 0.16) 48%, transparent 100%);
  border: 0;
}

.info-section,
.rewards-section {
  background: linear-gradient(180deg, transparent 0%, rgba(30, 55, 108, 0.2) 50%, transparent 100%);
}

.section {
  height: auto;
  min-height: auto;
  padding: 72px 24px;
  align-items: initial;
  justify-content: initial;
}

.section::before,
.section::after {
  content: "";
  position: absolute;
  z-index: 0;
  right: 0;
  left: 0;
  height: 90px;
  pointer-events: none;
}

.section::before {
  top: 0;
  background: linear-gradient(180deg, rgba(6, 22, 61, 0.32), transparent);
}

.section::after {
  bottom: 0;
  background: linear-gradient(0deg, rgba(6, 22, 61, 0.32), transparent);
}

.schedule-section .section-inner,
.info-section .section-inner,
.notice-section .section-inner,
.rules-inner {
  z-index: 2;
  height: auto;
  min-height: auto;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.section-heading {
  margin-bottom: 40px;
  padding-bottom: 19px;
}

.section-heading::after {
  width: 128px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(228, 188, 99, 0.78), transparent);
}

.section-heading span {
  margin-bottom: 9px;
  color: #c7a76a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
}

.section-heading h2,
.dark-heading h2,
.light-heading h2 {
  color: #f6dfad;
  font-size: clamp(34px, 4vw, 52px);
  text-shadow: 0 0 24px rgba(225, 181, 91, 0.18);
}

.section-heading p,
.dark-heading p,
.light-heading p {
  color: rgba(241, 229, 202, 0.7);
}

/* Notice is supporting information, so its heading stays below primary sections. */
.notice-section .section-heading {
  margin-bottom: 26px;
  padding-bottom: 13px;
}

.notice-section .section-heading::after {
  width: 82px;
  background: linear-gradient(90deg, transparent, rgba(228, 188, 99, 0.52), transparent);
}

.notice-section .section-heading span {
  margin-bottom: 6px;
  color: rgba(199, 167, 106, 0.78);
  font-size: 10px;
  letter-spacing: 1.6px;
}

.notice-section .section-heading h2 {
  color: rgba(246, 223, 173, 0.9);
  font-size: 30px;
  text-shadow: 0 0 18px rgba(225, 181, 91, 0.12);
}

.period-grid,
.summary-strip,
.rule-list,
.currency-copy,
.notice-list,
.reward-tabs,
.table-shell {
  background: rgba(5, 20, 58, 0.6);
  border: 1px solid rgba(224, 184, 96, 0.2);
  box-shadow: 0 20px 48px rgba(1, 8, 29, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.035);
  backdrop-filter: blur(12px);
}

.period-grid {
  border-radius: 6px;
}

.period-card {
  border-right-color: var(--line);
  box-shadow: inset 0 2px 0 rgba(218, 176, 86, 0.3);
}

.period-card b {
  color: #f1cc78;
}

.period-card time {
  color: #f4e8ce;
}

.period-card i {
  background: linear-gradient(90deg, #d9aa4f, rgba(217, 170, 79, 0.18));
}

.summary-strip {
  margin-bottom: 0;
  border-radius: 6px;
}

.summary-strip div {
  border-right-color: var(--line);
}

.summary-strip strong {
  color: #f2d38b;
}

.summary-strip span {
  color: rgba(239, 226, 199, 0.64);
}

.rules-section {
  padding-top: 48px;
}

.info-section {
  padding-bottom: 48px;
}

.rule-list {
  padding: 14px 30px;
  border-radius: 6px;
}

.rule-list li,
.notice-list li {
  color: rgba(246, 235, 213, 0.86);
  border-top-color: var(--line);
}

.rule-list li:last-child,
.notice-list li:last-child {
  border-bottom-color: var(--line);
}

.rule-list li::before,
.notice-list li::before {
  color: #ddb665;
}

.currency-copy {
  width: 100%;
  margin-top: 20px;
  padding: 24px 30px;
  border-radius: 6px;
}

.currency-copy h3 {
  color: #f0cc7d;
}

.currency-copy p {
  color: rgba(244, 232, 208, 0.78);
}

.rewards-section {
  min-height: auto;
  color: #f3e7ca;
}

.reward-tabs {
  border-radius: 6px;
}

.reward-tab {
  color: rgba(241, 227, 197, 0.72);
}

.reward-tab:hover {
  color: #f6dfad;
  background: rgba(255, 255, 255, 0.04);
}

.reward-tab.active {
  color: #0a1d4b;
  background: linear-gradient(180deg, #efd58f, #c99642);
  box-shadow: 0 8px 20px rgba(1, 8, 29, 0.28);
}

.table-shell {
  overflow: hidden;
  border-radius: 6px;
}

.table-scroll {
  scrollbar-color: #c89a45 #081b49;
}

table {
  color: rgba(246, 235, 213, 0.86);
}

caption {
  color: #f5d994;
  background: rgba(4, 16, 49, 0.9);
  border-bottom: 1px solid rgba(224, 184, 96, 0.22);
}

th,
td {
  border-right-color: rgba(224, 184, 96, 0.1);
  border-bottom-color: rgba(224, 184, 96, 0.1);
}

thead th {
  color: #f2ddb1;
  background: #173565;
}

thead th:first-child {
  color: #f5d78f;
  background: #0d2858;
}

tbody tr:nth-child(odd) td {
  background: rgba(9, 29, 72, 0.9);
}

tbody tr:nth-child(even) td {
  background: rgba(13, 37, 82, 0.9);
}

tbody tr:nth-child(odd) td:first-child {
  color: #f2d58f;
  background: #102e61;
}

tbody tr:nth-child(even) td:first-child {
  color: #f2d58f;
  background: #15356b;
}

tbody tr:first-child td:first-child,
tbody tr:nth-child(2) td:first-child,
tbody tr:nth-child(3) td:first-child {
  color: #fff0c2;
  background: #755325;
}

.notice-list {
  padding: 16px 30px;
  border-radius: 6px;
}

.section .section-decor {
  z-index: 1;
  filter: brightness(1.12) saturate(1.08) drop-shadow(0 0 18px rgba(247, 198, 90, 0.12));
}

.decor-moon-rabbit {
  width: clamp(220px, 22vw, 320px);
  left: -92px;
  top: 58px;
  opacity: 0.52 !important;
  filter: saturate(0.78) drop-shadow(0 0 20px rgba(231, 178, 73, 0.2)) !important;
}

.decor-lotus-glow {
  width: clamp(180px, 15vw, 230px);
  right: clamp(24px, 3vw, 58px);
  bottom: 24px;
  opacity: 0.28 !important;
  filter: brightness(1.12) saturate(1.08) drop-shadow(0 0 18px rgba(247, 198, 90, 0.12)) !important;
}

.decor-sky-lanterns {
  width: clamp(160px, 14vw, 215px);
  right: clamp(24px, 3vw, 58px);
  top: 50%;
  opacity: 0.32 !important;
  transform: translateY(-50%);
  filter: brightness(1.12) saturate(1.08) drop-shadow(0 0 18px rgba(247, 198, 90, 0.12)) !important;
}

.decor-info-mooncake,
.decor-rules-moon-scene {
  z-index: 1;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(255, 196, 76, 0.24)) !important;
}

.decor-info-mooncake {
  width: clamp(180px, 17vw, 250px);
  left: clamp(18px, 3vw, 52px);
  top: 50%;
  bottom: auto;
  opacity: 0.58 !important;
  transform: translateY(-46%);
}

.decor-rules-moon-scene {
  width: clamp(250px, 24vw, 340px);
  left: clamp(14px, 2.4vw, 38px);
  top: 50%;
  opacity: 0.58 !important;
  transform: translateY(-50%);
}

.decor-lotus-garden {
  opacity: 0.1 !important;
}

.decor-hanging-small {
  opacity: 0.12 !important;
}

.footer {
  min-height: 150px;
  padding: 82px 24px 28px;
  color: rgba(237, 223, 195, 0.52);
  background:
    radial-gradient(circle at 18% 28%, rgba(110, 146, 209, 0.08), transparent 26%),
    linear-gradient(180deg, #071842 0%, #051335 100%);
  border-top: 1px solid rgba(221, 179, 88, 0.08);
}

.footer img {
  display: none;
}

.back-top {
  color: #f5dfaf;
  background: rgba(10, 31, 77, 0.94);
  border-color: rgba(224, 184, 96, 0.56);
  box-shadow: 0 10px 24px rgba(1, 8, 29, 0.34);
}

@media (max-width: 1100px) {
  .section {
    padding: 56px 20px;
  }

  .info-section {
    padding-bottom: 48px;
  }

  .rules-section {
    margin-top: -8px;
    padding-top: 48px;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .decor-moon-rabbit {
    left: -112px;
    opacity: 0.38 !important;
  }
}

@media (max-width: 640px) {
  .osmanthus-piece {
    width: 42px;
    opacity: 0.58;
  }

  .osmanthus-left-2,
  .osmanthus-left-3,
  .osmanthus-right-3 {
    display: none;
  }

  .section-heading span {
    font-size: 10px;
    letter-spacing: 1.5px;
  }

  .section-heading h2,
  .dark-heading h2,
  .light-heading h2 {
    font-size: 34px;
  }

  .notice-section .section-heading {
    margin-bottom: 22px;
    padding-bottom: 11px;
  }

  .notice-section .section-heading span {
    font-size: 9px;
    letter-spacing: 1.2px;
  }

  .notice-section .section-heading h2 {
    font-size: 24px;
  }

  .period-card,
  .period-card:nth-child(2) {
    border-bottom-color: var(--line);
  }

  .rule-list,
  .notice-list {
    padding: 10px 12px;
  }

  .currency-copy {
    padding: 20px 18px;
  }

  .decor-moon-rabbit {
    width: 170px;
    left: -76px;
    top: 42px;
    opacity: 0.3 !important;
  }

  .footer {
    min-height: 130px;
    padding: 70px 18px 24px;
  }
}

@media (max-width: 767px) {
  .section {
    padding: 42px 14px;
  }

  .info-section {
    padding-bottom: 36px;
  }

  .rules-section {
    margin-top: -8px;
    padding-top: 36px;
  }

  .section-heading {
    margin-bottom: 28px;
  }

  .decor-lotus-glow {
    width: 138px;
    right: 10px;
    bottom: 12px;
    opacity: 0.17 !important;
  }

  .decor-sky-lanterns {
    width: 124px;
    right: 8px;
    top: 54%;
    opacity: 0.17 !important;
  }

  .decor-info-mooncake {
    width: 150px;
    left: -34px;
    top: 50%;
    bottom: auto;
    opacity: 0.5 !important;
    transform: translateY(-46%);
  }

  .decor-rules-moon-scene {
    width: 184px;
    left: -46px;
    top: 38%;
    opacity: 0.5 !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .osmanthus-piece {
    display: none;
  }
}

.cross-promo {
  position: fixed;
  right: 22px;
  bottom: 88px;
  z-index: 44;
  width: 112px;
  aspect-ratio: 1;
  display: block;
  overflow: hidden;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  animation: crossPromoFloat 3.4s ease-in-out infinite;
}

.cross-promo[hidden] {
  display: none;
}

.cross-promo-panda {
  bottom: 212px;
  animation-delay: -1.7s;
}

.cross-promo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.cross-promo:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

@keyframes crossPromoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

@media (max-width: 480px) {
  .cross-promo {
    right: 12px;
    bottom: 68px;
    width: 76px;
  }

  .cross-promo-panda {
    bottom: 154px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cross-promo {
    animation: none;
  }
}
