:root {
  --bg: #1d1207;
  --panel: #2a170a;
  --panel-2: #341f0f;
  --panel-3: #47290f;
  --gold: #f7b500;
  --gold-2: #ffd84a;
  --orange: #f28b22;
  --blue: #276ef1;
  --red: #d9472f;
  --light: #fff7d1;
  --text: #ffffff;
  --text-soft: #f8e7b0;
  --text-muted: #d1b77e;
  --line: rgba(255, 216, 74, 0.16);
  --line-strong: rgba(255, 216, 74, 0.35);
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
  --glow: 0 0 0 1px rgba(255, 216, 74, 0.22), 0 14px 40px rgba(247, 181, 0, 0.12);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1440px;
  --header-h: 68px;
  --transition: 0.28s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  min-height: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: linear-gradient(180deg, #160d04 42vh, #1d1207 60vh, #140b04 100%);
  color: var(--text);
}

a {
  color: inherit;
  text-decoration: none;
}

object,
video {
  display: block;
  width: 100%;
  height: 100%;
}

.page-shell {
  position: relative;
  isolation: isolate;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: absolute;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 60;
  padding: 0;
}

.site-header .hero-content {
  width: calc(100% - 96px);
  max-width: 1440px;
  height: auto;
  margin: 18px auto 0;
  padding: 0;
}

.nav-bar {
  width: 100%;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 24px;
  background: linear-gradient(180deg, rgba(24, 14, 4, 0.72), rgba(16, 9, 3, 0.6));
  border: 1px solid rgba(255, 216, 74, 0.28);
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(12px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo,
.brand-logo-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 14px;
}

.brand-logo {
  overflow: hidden;
}

.brand-logo-placeholder,
.reward-icon-fallback,
.media-placeholder,
.footer-avatar-ring {
  display: grid;
  place-items: center;
}

.brand-logo-placeholder {
  background: linear-gradient(145deg, rgba(247, 181, 0, 0.22), rgba(242, 139, 34, 0.08));
  border: 1px dashed var(--line-strong);
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 700;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong {
  font-size: 18px;
  line-height: 1;
}

.brand-copy span {
  color: var(--text-muted);
  font-size: 12px;
}

.nav-links,
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-links {
  flex: 1 1 auto;
  justify-content: flex-start;
  margin-left: 44px;
}

.nav-actions {
  flex: 0 0 auto;
  justify-content: flex-end;
  margin-left: auto;
}

.nav-toggle,
.mobile-menu {
  display: none;
}

.nav-link,
.social-btn,
.wallet-btn,
.cta-btn,
.card-action {
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
}

.nav-link,
.social-btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--text-soft);
  font-size: 14px;
}

.nav-link:hover,
.social-btn:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: rgba(255, 216, 74, 0.08);
}

.nav-link.is-active {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #391f00;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(247, 181, 0, 0.26);
}

.wallet-btn {
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #341b00;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(247, 181, 0, 0.25);
}

.wallet-btn:hover,
.cta-primary:hover,
.card-action:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(247, 181, 0, 0.3);
}

.hero-section {
  position: relative;
  padding: 118px 0 28px;
}

.hero-panel {
  position: relative;
  min-height: 460px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: visible;
  background: transparent;
}

.hero-scene {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  overflow: hidden;
  z-index: -1;
}

.hero-frame-image {
  position: absolute;
  inset: -20vh -12vw;
  width: calc(100% + 24vw);
  height: calc(100% + 40vh);
  object-fit: cover;
  object-position: 76% 24%;
  transform: translate3d(0, 200px, 0) scale(1.04);
  will-change: contents;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.hero-overlay {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 48px), 1440px);
  height: 400px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 54px 36px;
}

.hero-copy {
  align-self: flex-start;
  max-width: 620px;
}

.hero-tag,
.heading-tag,
.panel-chip,
.package-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.hero-tag {
  padding: 8px 16px;
  background: rgba(255, 216, 74, 0.18);
  border: 1px solid rgba(255, 216, 74, 0.26);
  color: var(--gold-2);
  margin-bottom: 18px;
  backdrop-filter: blur(8px);
}

.hero-wordmark {
  display: block;
  width: min(100%, 620px);
  height: auto;
  margin: -50px 0 20px;
  filter: drop-shadow(0 14px 34px rgba(0, 0, 0, 0.28));
}

.hero-desc {
  margin: -90px 0 0;
  max-width: 540px;
  color: #fff2c8;
  font-size: 18px;
  line-height: 1.7;
  text-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

.hero-countdown {
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(43, 24, 8, 0.82), rgba(22, 12, 4, 0.72));
  border: 1px solid rgba(255, 216, 74, 0.24);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
}

.hero-countdown-label {
  color: var(--gold-2);
  font-size: 12px;
  font-weight: 800;
}

.hero-countdown-value {
  color: #fff;
  font-size: 34px;
  line-height: 1;
}

.hero-countdown-sub {
  margin: 0;
  color: var(--text-soft);
  font-size: 13px;
}

.hero-stake-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
  max-width: 540px;
}

.hero-stake-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 10px;
}

.hero-stake-input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 216, 74, 0.22);
  background: rgba(27, 15, 6, 0.72);
  color: #fff;
  font-size: 15px;
}

.hero-stake-tip {
  color: var(--text-soft);
  font-size: 12px;
}

.hero-stake-fill {
  appearance: none;
  border: 1px solid rgba(255, 216, 74, 0.22);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 216, 74, 0.22), rgba(247, 181, 0, 0.16));
  color: var(--gold-2);
  font-weight: 800;
  cursor: pointer;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.hero-action-status {
  margin: 12px 0 0;
  color: var(--text-soft);
  font-size: 13px;
}

.cta-btn {
  appearance: none;
  cursor: pointer;
  min-width: 200px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  padding: 16px 22px;
  border-radius: 18px;
  border: 1px solid rgba(255, 216, 74, 0.22);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.48);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition), color var(--transition);
}

.cta-icon {
  width: 62px;
  height: 62px;
  object-fit: contain;
  flex-shrink: 0;
}

.cta-text-wrapper {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.cta-title {
  font-weight: 800;
  font-size: 18px;
}

.cta-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.86);
}

.cta-primary {
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #3a2100;
}

.cta-primary .cta-sub {
  color: rgba(58, 33, 0, 0.78);
}

.cta-secondary {
  background: linear-gradient(180deg, rgba(39, 110, 241, 0.95), rgba(22, 74, 171, 0.95));
  border-color: rgba(108, 160, 255, 0.45);
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 46px rgba(0, 0, 0, 0.56);
}

.cta-btn:disabled {
  opacity: 0.62;
  cursor: not-allowed;
  transform: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.media-placeholder {
  width: 100%;
  height: 100%;
  min-height: 240px;
  border-radius: 24px;
  padding: 18px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 216, 74, 0.12), rgba(242, 139, 34, 0.08)),
    rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 216, 74, 0.28);
  color: var(--text-soft);
}

.media-placeholder span {
  display: block;
  font-size: 18px;
  font-weight: 800;
}

.media-placeholder small {
  display: block;
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.6;
  word-break: break-all;
}

.media-placeholder-hero {
  min-height: 100%;
}

.particle-layer {
  z-index: 4;
  pointer-events: none;
}

.particle-layer span {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 216, 74, 0.95), rgba(255, 216, 74, 0));
  animation: floatGlow 5s ease-in-out infinite;
}

.particle-layer span:nth-child(1) { top: 12%; left: 16%; animation-delay: 0s; }
.particle-layer span:nth-child(2) { top: 24%; left: 74%; animation-delay: 0.7s; width: 10px; height: 10px; }
.particle-layer span:nth-child(3) { top: 58%; left: 22%; animation-delay: 1.4s; }
.particle-layer span:nth-child(4) { top: 72%; left: 82%; animation-delay: 2s; }
.particle-layer span:nth-child(5) { top: 38%; left: 60%; animation-delay: 2.8s; width: 6px; height: 6px; }
.particle-layer span:nth-child(6) { top: 82%; left: 36%; animation-delay: 3.4s; }

.stats-strip {
  padding: 8px 0 22px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(54, 32, 16, 0.98), rgba(31, 18, 8, 0.98));
  border: 1px solid rgba(247, 181, 0, 0.42);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 220, 110, 0.1);
}

.stat-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 18px 20px;
  min-height: 88px;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: 46px;
  transform: translateY(-50%);
  background: linear-gradient(180deg, rgba(255, 216, 74, 0), rgba(255, 216, 74, 0.32), rgba(255, 216, 74, 0));
}

.stat-icon {
  flex: 0 0 69px;
  width: 69px;
  height: 69px;
  display: grid;
  place-items: center;
}

.stat-icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(247, 181, 0, 0.18));
}

.stat-copy {
  min-width: 0;
}

.stat-copy span {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 227, 160, 0.88);
  font-size: 13px;
  line-height: 1.15;
  white-space: nowrap;
}

.stat-copy strong {
  display: block;
  color: #ffffff;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.prizes-section {
  padding: 14px 0 40px;
}

.prizes-shell {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  padding: 18px;
  border-radius: 30px;
  background: radial-gradient(circle at 82% 12%, rgba(255, 216, 74, 0.12), transparent 18%), linear-gradient(180deg, rgba(46, 27, 11, 0.98), rgba(24, 14, 6, 0.98));
  border: 1px solid rgba(255, 216, 74, 0.16);
  box-shadow: var(--shadow);
}

.section-side-title {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  display: grid;
  place-items: center;
  padding: 10px 0;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--gold-2);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 216, 74, 0.08), rgba(242, 139, 34, 0.03));
  border: 1px solid rgba(255, 216, 74, 0.1);
}

.prizes-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 12px;
  align-items: stretch;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.package-card,
.side-panel,
.process-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 216, 74, 0.14);
  box-shadow: var(--shadow);
}

.package-card {
  padding: 8px;
  min-height: 268px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(88, 54, 21, 0.92), rgba(35, 20, 9, 0.98));
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.package-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 28%);
  pointer-events: none;
}

.package-card:hover,
.side-panel:hover,
.process-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 216, 74, 0.3);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.34), 0 0 24px rgba(255, 216, 74, 0.12);
}

.package-gold {
  background: linear-gradient(180deg, #6a4300 0%, #3d2206 100%);
}

.package-blue {
  background: linear-gradient(180deg, #1d4eb1 0%, #13254d 100%);
}

.package-red {
  background: linear-gradient(180deg, #8b2518 0%, #45140e 100%);
}

.package-light {
  background: linear-gradient(180deg, #7f5a10 0%, #3f2d0c 100%);
}

.package-head,
.panel-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.package-name {
  font-size: 22px;
  font-weight: 900;
}

.package-badge {
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--light);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.package-visual-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.package-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.package-body p,
.reward-row span {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.reward-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reward-icon,
.reward-icon-fallback {
  width: 32px;
  height: 32px;
  border-radius: 10px;
}

.reward-icon-fallback {
  background: rgba(255, 216, 74, 0.16);
  border: 1px dashed rgba(255, 216, 74, 0.3);
  color: var(--gold-2);
  font-size: 13px;
  font-weight: 800;
}

.card-action {
  margin-top: 8px;
  display: inline-flex;
  justify-content: center;
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #391f00;
  font-weight: 900;
}

.prizes-side {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.side-panel {
  min-height: 268px;
  padding: 16px 14px 14px;
  background: linear-gradient(180deg, rgba(58, 33, 13, 0.98), rgba(31, 18, 8, 0.98));
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.side-panel-highlight {
  background: linear-gradient(180deg, rgba(74, 44, 16, 0.98), rgba(33, 19, 8, 0.98));
}

.panel-title-row h2 {
  margin: 0;
  font-size: 18px;
}

.panel-chip {
  padding: 5px 8px;
  background: rgba(255, 216, 74, 0.1);
  border: 1px solid rgba(255, 216, 74, 0.16);
  color: var(--gold-2);
  font-size: 11px;
}

.winners-list {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.winners-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 216, 74, 0.1);
}

.winners-list li span,
.winners-list li strong {
  font-size: 13px;
}

.winners-list li span {
  color: var(--text-soft);
}

.winners-list li strong {
  color: var(--gold-2);
  font-weight: 800;
}

.barn-metrics {
  margin-top: 12px;
  display: grid;
  gap: 12px;
}

.metric-block span,
.metric-block small,
.metric-block em {
  display: block;
}

.metric-block span {
  color: var(--text-muted);
  font-size: 13px;
}

.metric-block strong {
  display: block;
  margin: 6px 0 4px;
  font-size: 30px;
  line-height: 1;
  color: var(--gold-2);
}

.metric-block small {
  color: var(--text-soft);
  font-size: 14px;
}

.metric-block em {
  margin-top: 5px;
  color: var(--text-muted);
  font-style: normal;
  font-size: 12px;
}

.metric-divider {
  height: 1px;
  background: rgba(255, 216, 74, 0.14);
}

.barn-actions {
  margin-top: 14px;
}

.barn-action-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.barn-action {
  appearance: none;
  border: 1px solid rgba(255, 216, 74, 0.16);
  border-radius: 14px;
  padding: 12px 14px;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: #3a2100;
  font-weight: 900;
  cursor: pointer;
}

.barn-action-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-soft);
}

.barn-action:disabled {
  opacity: 0.58;
  cursor: not-allowed;
}

.process-section {
  padding: 24px 0 48px;
}

.process-flow {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 8px;
  align-items: stretch;
}

.process-side-title {
  display: grid;
  place-items: center;
  min-height: 92px;
  padding: 0 10px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(49, 28, 12, 0.98), rgba(29, 17, 8, 0.98));
  border: 1px solid rgba(255, 216, 74, 0.16);
  color: #fff1c4;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.process-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 4px;
  align-items: center;
  min-height: 92px;
  padding: 6px 12px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(237, 217, 157, 0.97), rgba(224, 190, 103, 0.93));
  box-shadow: var(--shadow);
}

.process-card {
  min-height: 74px;
  padding: 4px 2px 4px 8px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.process-card::before {
  display: none;
}

.process-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.step-no {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  margin-bottom: 3px;
  background: linear-gradient(180deg, #6e4300, #4e2d00);
  color: #fff4d3;
  font-size: 9px;
  font-weight: 900;
}

.process-card h3 {
  margin: 0 0 2px;
  color: #4d2e00;
  font-size: 15px;
  line-height: 1.15;
}

.process-card p,
.process-card p span {
  display: block;
  margin: 0;
  color: rgba(90, 59, 23, 0.82);
  font-size: 10.5px;
  line-height: 1.18;
}

.process-icon {
  width: 90px;
  height: 90px;
  object-fit: contain;
  flex: 0 0 90px;
  transform: translateX(-78px);
}

.process-arrow {
  align-self: center;
  font-size: 14px;
  font-weight: 600;
  color: #9a6c16;
}

.site-footer {
  padding: 4px 0 28px;
}

.footer-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(48, 28, 12, 0.96), rgba(23, 14, 6, 0.96));
  border: 1px solid rgba(255, 216, 74, 0.14);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
  color: var(--text-soft);
}

.footer-links a:hover {
  color: var(--gold-2);
}

.footer-avatar-ring {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  padding: 16px;
  text-align: center;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 216, 74, 0.22), rgba(255, 216, 74, 0)),
    linear-gradient(180deg, rgba(255, 216, 74, 0.12), rgba(242, 139, 34, 0.08));
  border: 1px dashed rgba(255, 216, 74, 0.28);
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.4;
}

@keyframes floatGlow {
  0%, 100% {
    transform: translateY(0) scale(1);
    opacity: 0.4;
  }
  50% {
    transform: translateY(-10px) scale(1.18);
    opacity: 1;
  }
}

@media (max-width: 1440px) {
  .hero-panel {
    padding: 38px;
  }

  .prizes-main {
    grid-template-columns: minmax(0, 1fr) 400px;
  }
}

@media (max-width: 1024px) {
  .site-header {
    top: 12px;
  }

  .nav-bar {
    border-radius: 28px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-section {
    padding-top: 120px;
  }

  .hero-content {
    width: min(calc(100% - 36px), 1440px);
    height: 420px;
    padding: 42px 28px;
  }

  .hero-copy {
    max-width: 58%;
  }

  .hero-frame-image {
    object-position: 76% 38%;
    transform: translateY(200px) scale(1.06);
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .prizes-shell {
    grid-template-columns: 1fr;
  }

  .section-side-title {
    writing-mode: horizontal-tb;
    padding: 16px;
  }

  .prizes-main {
    grid-template-columns: 1fr;
  }

  .prizes-side {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-flow {
    grid-template-columns: 1fr;
  }

  .process-side-title {
    writing-mode: horizontal-tb;
    min-height: 64px;
  }

  .process-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-arrow {
    display: none;
  }
}

@media (max-width: 768px) {
  .container,
  .site-header .hero-content,
  .hero-section .hero-content {
    width: min(calc(100% - 32px), 1440px);
  }

  body {
    background: linear-gradient(180deg, #120903 0%, #241307 42%, #4a2b10 100%);
  }

  .site-header {
    position: relative;
    top: 0;
    padding-top: 12px;
  }

  .site-header .hero-content {
    margin: 0 auto;
  }

  .nav-bar {
    min-height: 64px;
    padding: 10px 14px;
    gap: 12px;
    border-radius: 22px;
    flex-wrap: nowrap;
  }

  .nav-bar > .nav-links,
  .nav-bar > .nav-actions {
    display: none;
  }

  .nav-toggle {
    width: 44px;
    height: 44px;
    margin-left: auto;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    padding: 0 11px;
    border: 1px solid rgba(255, 216, 74, 0.22);
    border-radius: 14px;
    background: rgba(255, 216, 74, 0.08);
  }

  .nav-toggle span {
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: var(--gold-2);
  }

  .mobile-menu[hidden] { display: none !important; }

  .mobile-menu {
    display: grid;
    gap: 12px;
    margin-top: 12px;
    padding: 14px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(36, 21, 9, 0.98), rgba(21, 12, 5, 0.98));
    border: 1px solid rgba(255, 216, 74, 0.18);
    box-shadow: var(--shadow);
  }

  .mobile-menu .nav-links,
  .mobile-menu .nav-actions {
    display: grid;
    gap: 10px;
    margin: 0;
  }

  .mobile-menu .nav-link,
  .mobile-menu .social-btn,
  .mobile-menu .wallet-btn {
    width: 100%;
    display: inline-flex;
    justify-content: center;
    padding: 14px 16px;
  }

  .hero-section {
    padding: 16px 0 22px;
  }

  .hero-panel {
    min-height: 0;
    width: 100%;
    margin: 0;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(180deg, #211106 0%, #35200c 58%, #8a5a16 100%);
    border: 1px solid rgba(255, 216, 74, 0.16);
    box-shadow: var(--shadow);
  }

  .hero-scene,
  .hero-overlay {
    display: none;
  }

  .hero-section .hero-content {
    height: auto;
    padding: 28px 0;
  }

  .hero-copy { max-width: none; width: 100%; }
  .hero-wordmark { width: 100%; max-width: 420px; margin: 0 0 16px; }
  .hero-desc { margin: 0; max-width: none; font-size: 15px; line-height: 1.75; }
  .hero-countdown { display: flex; margin-top: 16px; padding: 14px; }
  .hero-countdown-value { font-size: 28px; }
  .hero-countdown-sub { font-size: 12px; }
  .hero-stake-box { margin-top: 16px; max-width: none; }
  .hero-stake-row { grid-template-columns: 1fr 86px; }
  .hero-stake-input { font-size: 14px; }
  .hero-actions { flex-direction: column; gap: 12px; margin-top: 18px; }
  .hero-action-status { margin-top: 10px; font-size: 12px; }
  .cta-btn { width: 100%; min-width: 0; padding: 14px 16px; border-radius: 18px; }
  .cta-icon { width: 54px; height: 54px; }
  .cta-title { font-size: 16px; }

  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 24px; }
  .stat-item { min-height: 96px; justify-content: flex-start; padding: 16px; }
  .stat-item:not(:last-child)::after { display: none; }
  .stat-copy span,
  .stat-copy strong { white-space: normal; }
  .stat-copy strong { font-size: 20px; }

  .prizes-shell,
  .prizes-main,
  .packages-grid,
  .prizes-side,
  .process-flow,
  .process-strip { grid-template-columns: 1fr; }

  .prizes-shell { gap: 16px; padding: 16px; border-radius: 24px; }
  .section-side-title { writing-mode: horizontal-tb; padding: 14px 16px; font-size: 20px; }
  .package-card { min-height: 0; padding: 14px; }
  .package-visual-image { height: auto; aspect-ratio: 4 / 3; }
  .side-panel { min-height: 0; }
  .barn-action-row { grid-template-columns: 1fr; }

  .process-section { padding: 0 0 40px; }
  .process-flow { gap: 14px; }
  .process-side-title { min-height: 60px; font-size: 20px; }
  .process-strip { gap: 10px; padding: 0; background: transparent; box-shadow: none; }
  .process-card { min-height: 0; padding: 16px; gap: 14px; background: linear-gradient(180deg, rgba(237, 217, 157, 0.97), rgba(224, 190, 103, 0.93)); border: 1px solid rgba(255, 216, 74, 0.18); box-shadow: var(--shadow); }
  .process-icon { width: 80px; height: 80px; flex-basis: 80px; transform: none; }
  .process-card h3 { font-size: 18px; }
  .process-card p,
  .process-card p span { font-size: 12px; line-height: 1.35; }
  .process-arrow { display: grid; place-items: center; font-size: 0; }
  .process-arrow::before { content: "↓"; font-size: 24px; color: var(--gold); }
}

@media (max-width: 520px) {
  .stats-grid { grid-template-columns: 1fr; }
  .brand-copy span { display: none; }
  .winners-list li { align-items: flex-start; flex-direction: column; }
}