:root {
  --blue: #283583;
  --blue-deep: #10194d;
  --blue-dark: #070b26;
  --orange: #f39200;
  --orange-soft: #ffc36a;
  --white: #ffffff;
  --ink: #111827;
  --muted: #667085;
  --line: rgba(255, 255, 255, 0.16);
  --shadow: 0 30px 90px rgba(16, 25, 77, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: #f7f8fc;
}

button,
input {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

.site-shell {
  min-height: 100vh;
  overflow: hidden;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 72px);
  color: var(--white);
  background: rgba(7, 11, 38, 0.74);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: 262px;
  height: 42px;
  overflow: visible;
  background: transparent;
  border-radius: 8px;
  padding: 0;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  filter: brightness(1.55) saturate(1.18) drop-shadow(0 0 12px rgba(255, 255, 255, 0.16));
  transform: none;
}

.site-footer img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 36px);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.94rem;
  font-weight: 600;
}

.desktop-nav a:hover {
  color: var(--white);
}

.desktop-nav a.is-active {
  color: var(--orange-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.language-toggle {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 88px;
  min-height: 38px;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.mobile-language-toggle {
  display: none;
}

.lang-button,
.ghost-button,
.coin-pill,
.primary-button,
.secondary-link,
.modal-close,
.modal-tab {
  cursor: pointer;
}

.lang-button {
  border: 0;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
  font-size: 0.78rem;
  font-weight: 800;
}

.lang-button.is-active {
  color: var(--blue-deep);
  background: var(--white);
}

.ghost-button,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  border-radius: 999px;
  border: 0;
  padding: 0 20px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
}

.coin-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.coin-pill:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(243, 146, 0, 0.5);
  transform: translateY(-1px);
}

.coin-pill-amount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2ch;
  padding: 5px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(243, 146, 0, 0.42), rgba(255, 190, 93, 0.28));
  color: #ffe8c4;
  font-size: 0.9rem;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.coin-pill-label {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  opacity: 0.95;
}

.ghost-button {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.ghost-button.light {
  color: var(--white);
}

.primary-button {
  color: var(--blue-deep);
  background: linear-gradient(135deg, #ffbe5d, var(--orange));
  box-shadow: 0 16px 34px rgba(243, 146, 0, 0.34);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(243, 146, 0, 0.42);
}

.primary-button.small {
  min-height: 40px;
  padding: 0 18px;
}

.primary-button.full {
  width: 100%;
}

.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: clamp(28px, 5vw, 74px);
  min-height: 88vh;
  padding: 112px clamp(18px, 5vw, 72px) 56px;
  color: var(--white);
  overflow: hidden;
  background:
    radial-gradient(circle at 9% 22%, rgba(243, 146, 0, 0.35), transparent 25%),
    radial-gradient(circle at 79% 14%, rgba(73, 93, 210, 0.42), transparent 30%),
    linear-gradient(135deg, var(--blue-dark), var(--blue-deep) 48%, #1c2368);
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(7, 11, 38, 0.94) 0%, rgba(7, 11, 38, 0.78) 36%, rgba(7, 11, 38, 0.24) 68%, rgba(7, 11, 38, 0.05) 100%),
    linear-gradient(180deg, rgba(7, 11, 38, 0.24), rgba(7, 11, 38, 0.12)),
    url("../img/chasecount-hero.png") center center / cover no-repeat;
  transform: scale(1.015);
  animation: heroDrift 14s ease-in-out infinite alternate;
  pointer-events: none;
}

.hero-section::after {
  content: "";
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 9vh;
  background: linear-gradient(180deg, transparent, #f7f8fc);
  pointer-events: none;
}

.brand-watermark {
  position: absolute;
  z-index: 1;
  right: clamp(-180px, -8vw, -72px);
  top: clamp(88px, 13vw, 170px);
  width: min(860px, 54vw);
  opacity: 0.045;
  filter: saturate(1.2) brightness(1.7);
  mix-blend-mode: screen;
  transform: rotate(-8deg);
  pointer-events: none;
  user-select: none;
}

.hero-copy,
.hero-visual {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--orange-soft);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 12px;
  font-size: clamp(1.75rem, 3.6vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.hero-text,
.section-copy p,
.cta-copy p,
.modal-intro {
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1rem, 1.45vw, 1.25rem);
  line-height: 1.55;
}

.hero-text {
  max-width: 650px;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
}

.secondary-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--white);
  font-weight: 800;
}

.secondary-link::after {
  content: "";
  width: 28px;
  height: 2px;
  margin-left: 12px;
  background: var(--orange);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 620px;
  margin-top: 48px;
}

.hero-stats div {
  min-height: 96px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.stat-number {
  display: block;
  color: var(--white);
  font-size: clamp(1.8rem, 3.4vw, 3rem);
  font-weight: 900;
  line-height: 1;
}

.stat-label {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-visual {
  min-height: clamp(380px, 48vw, 640px);
  isolation: isolate;
}

.hero-art {
  display: none;
}

.counter-widget {
  position: absolute;
  right: clamp(18px, 6vw, 96px);
  top: 50%;
  width: min(360px, 34vw);
  min-width: 288px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(7, 11, 38, 0.76), rgba(40, 53, 131, 0.42)),
    rgba(255, 255, 255, 0.06);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(16px);
  transform: translateY(-50%);
  animation: widgetFloat 6.5s ease-in-out infinite;
}

.counter-widget::before {
  content: "";
  position: absolute;
  inset: -28px;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 146, 0, 0.28), transparent 58%);
  opacity: 0.8;
  animation: glowBreath 3s ease-in-out infinite;
}

.widget-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.widget-topline i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 22px var(--orange);
  animation: liveBlink 1.2s steps(2, start) infinite;
}

.widget-ring {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  width: min(210px, 70%);
  aspect-ratio: 1;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.widget-ring::before {
  content: "";
  position: absolute;
  inset: 14px;
  z-index: 1;
  border-radius: 50%;
  background: linear-gradient(145deg, #070b31, #171d62);
  box-shadow: inset 0 0 28px rgba(255, 255, 255, 0.08);
}

.widget-ring::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 18%, rgba(255, 255, 255, 0.24) 18% 21%, var(--orange) 21% 64%, rgba(255, 255, 255, 0.7) 64% 70%, transparent 70% 100%);
  animation: ringSweep 2.3s linear infinite;
}

.counter-value {
  position: relative;
  z-index: 2;
  color: var(--white);
  font-size: clamp(3.2rem, 6vw, 5.2rem);
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 0 24px rgba(255, 255, 255, 0.24);
}

.ring-pulse {
  position: absolute;
  z-index: 3;
  top: 11%;
  right: 20%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 26px var(--orange);
}

.widget-targets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  color: rgba(255, 255, 255, 0.62);
  font-weight: 900;
  text-align: center;
}

.widget-targets span,
.widget-targets strong {
  min-height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
}

.widget-targets strong {
  color: var(--blue-deep);
  background: var(--orange);
  box-shadow: 0 0 24px rgba(243, 146, 0, 0.34);
  animation: targetPop 1.8s ease-in-out infinite;
}

.perfect-flash {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin-top: 16px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(243, 146, 0, 0.16);
  border: 1px solid rgba(243, 146, 0, 0.38);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: flashIn 2.4s ease-in-out infinite;
}

.signal-trail {
  position: absolute;
  height: 2px;
  width: 120px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: 0.65;
  transform-origin: center;
  pointer-events: none;
}

.trail-one {
  right: -56px;
  top: 32%;
  transform: rotate(-18deg);
  animation: trailMove 2.8s ease-in-out infinite;
}

.trail-two {
  left: -48px;
  bottom: 28%;
  transform: rotate(19deg);
  animation: trailMove 3.3s ease-in-out infinite reverse;
}

.ticker-strip {
  position: relative;
  z-index: 2;
  overflow: hidden;
  background: var(--orange);
  color: var(--blue-deep);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 26s linear infinite;
}

.ticker-track span {
  padding: 18px 32px;
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.content-section {
  padding: clamp(36px, 5vw, 56px) clamp(18px, 5vw, 72px);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
  align-items: start;
  gap: clamp(20px, 4vw, 48px);
  background: #f7f8fc;
}

.section-copy {
  max-width: 760px;
}

.section-copy .eyebrow {
  color: var(--orange);
}

.section-copy h2 {
  color: var(--blue-deep);
}

.section-copy p {
  color: var(--muted);
  margin-bottom: 0;
}

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

.step-card {
  min-height: 0;
  padding: 20px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 22px 60px rgba(40, 53, 131, 0.1);
}

.step-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--blue-deep);
  background: #fff2dc;
  font-weight: 900;
}

.step-card p {
  color: var(--muted);
  line-height: 1.62;
}

.prize-section {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(16, 25, 77, 0.96), rgba(40, 53, 131, 0.94)),
    url("../img/chasecount-hero.png") center/cover;
}

.centered {
  max-width: 860px;
  margin: 0 auto 22px;
  text-align: center;
}

.prize-section .section-copy h2,
.prize-section .section-copy p {
  color: var(--white);
}

/* --- Prize showcase (live catalog) --------------------------------------- */
.showcase-section {
  color: var(--white);
  background:
    linear-gradient(160deg, rgba(7, 11, 38, 0.98), rgba(40, 53, 131, 0.92)),
    url("../img/chasecount-hero.png") center/cover;
}

.showcase-section .section-copy .eyebrow {
  color: var(--orange-soft);
}

.showcase-section .section-copy h2,
.showcase-section .section-copy p {
  color: var(--white);
}

.showcase-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  max-width: 1200px;
  margin: 0 auto 18px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(7, 11, 38, 0.45);
  backdrop-filter: blur(12px);
}

.sort-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
}

.sort-select {
  min-width: 200px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.sort-select:focus {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.showcase-count {
  margin-left: auto;
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
}

.showcase-grid,
.winners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.showcase-empty,
.winners-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 28px 20px;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
}

.prize-card,
.winner-card {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(7, 11, 38, 0.55);
  backdrop-filter: blur(14px);
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.prize-card:hover {
  transform: translateY(-3px);
  border-color: rgba(243, 146, 0, 0.45);
}

.prize-card.is-featured {
  border-color: rgba(243, 146, 0, 0.55);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.22),
    0 0 0 1px rgba(243, 146, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.prize-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.prize-card-badge-featured {
  background: linear-gradient(135deg, var(--orange), #ffb347);
  color: var(--blue-deep);
  box-shadow: 0 8px 20px rgba(243, 146, 0, 0.35);
}

.showcase-footer {
  display: flex;
  justify-content: center;
  margin: 22px auto 0;
  max-width: 1200px;
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.secondary-button:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(243, 146, 0, 0.45);
  transform: translateY(-1px);
}

.secondary-button.light {
  border-color: rgba(243, 146, 0, 0.35);
  background: rgba(243, 146, 0, 0.12);
  color: var(--orange-soft);
}

.catalog-section {
  padding-top: clamp(48px, 8vw, 88px);
}

.catalog-toolbar .catalog-summary {
  margin-left: auto;
}

.catalog-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 16px;
  max-width: 1200px;
  margin: 24px auto 0;
}

.pagination-btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
}

.pagination-btn:hover {
  border-color: rgba(243, 146, 0, 0.45);
  background: rgba(243, 146, 0, 0.12);
}

.pagination-btn.is-disabled {
  opacity: 0.35;
  pointer-events: none;
}

.pagination-pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pagination-pages a,
.pagination-pages .is-current {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 38px;
  padding: 0 10px;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 700;
}

.pagination-pages a {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
}

.pagination-pages a:hover {
  border-color: rgba(243, 146, 0, 0.45);
  color: var(--orange-soft);
}

.pagination-pages .is-current {
  background: var(--orange);
  color: var(--blue-deep);
}

.pagination-ellipsis {
  color: rgba(255, 255, 255, 0.5);
  padding: 0 4px;
}

.prize-card-media,
.winner-card-media {
  position: relative;
  aspect-ratio: 9 / 5;
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.prize-card-media img,
.winner-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.prize-card-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(40, 53, 131, 0.5), rgba(243, 146, 0, 0.25));
}

.prize-card-value {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(7, 11, 38, 0.82);
  color: var(--orange-soft);
  font-size: 0.82rem;
  font-weight: 800;
}

.prize-card-body,
.winner-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 14px 16px;
}

.prize-card-body h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--white);
}

.winner-card-body h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
  color: var(--blue-deep);
}

.prize-card-category {
  display: inline-block;
  margin-bottom: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(243, 146, 0, 0.18);
  color: var(--orange-soft);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.prize-card-category-light {
  background: #fff2dc;
  color: var(--blue-deep);
}

.prize-card-meta,
.winner-card-meta {
  margin: 0;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.68);
}

.showcase-ios-note {
  max-width: 640px;
  margin: 10px auto 0;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(243, 146, 0, 0.35);
  background: rgba(243, 146, 0, 0.12);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  line-height: 1.5;
}

.prize-card-ios-note {
  margin: 8px 0 0;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(243, 146, 0, 0.28);
  background: rgba(243, 146, 0, 0.1);
  color: var(--orange-soft);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.45;
}

.prize-card-countdown {
  margin: 4px 0 0;
  font-size: 0.84rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.78);
}

.prize-countdown.is-urgent {
  color: var(--orange-soft);
  font-weight: 700;
}

.prize-countdown.is-expired {
  color: #ffb4b4;
  font-weight: 700;
}

.prize-card-meta strong {
  color: #ffb4b4;
}

.prize-card-link {
  margin-top: 4px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--orange-soft);
}

.prize-card-link:hover {
  color: var(--white);
}

/* --- Winners hall -------------------------------------------------------- */
.winners-section {
  background: #f7f8fc;
}

.winners-section .section-copy .eyebrow {
  color: var(--orange);
}

.winner-card {
  background: var(--white);
  border-color: rgba(40, 53, 131, 0.1);
  box-shadow: 0 16px 40px rgba(40, 53, 131, 0.08);
}

.winner-card-body h3 {
  color: var(--blue-deep);
}

.winner-card-value {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--blue);
}

.winner-card-meta {
  margin: 0;
  font-size: 0.86rem;
  color: var(--muted);
}

.winner-card-meta strong {
  color: var(--blue-deep);
}

.winner-card-date {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
}

.winners-empty {
  color: var(--muted);
  border-color: rgba(40, 53, 131, 0.18);
  background: var(--white);
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-deep), var(--blue));
}

.cta-copy {
  max-width: 820px;
}

.cta-copy h2 {
  margin-bottom: 14px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 72px);
  background: #050716;
  color: rgba(255, 255, 255, 0.62);
}

.site-footer img {
  width: 242px;
  height: 40px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  object-fit: contain;
  object-position: center;
  filter: brightness(1.55) saturate(1.18) drop-shadow(0 0 12px rgba(255, 255, 255, 0.16));
  transform: none;
}

.site-footer p {
  margin: 0;
  font-size: 0.92rem;
}

.site-footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  text-align: right;
}

.site-footer-link {
  color: var(--orange-light, #ffc36a);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
}

.site-footer-link:hover {
  text-decoration: underline;
}

.legal-page {
  background:
    radial-gradient(circle at 12% 18%, rgba(243, 146, 0, 0.18), transparent 28%),
    linear-gradient(180deg, var(--blue-deep) 0%, var(--blue-dark) 100%);
  color: var(--white);
}

.legal-page .site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: visible;
}

.legal-header {
  justify-content: space-between;
}

.legal-back {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
}

.legal-main {
  flex: 1;
  padding: 112px clamp(18px, 5vw, 72px) 48px;
}

.legal-card {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 16px;
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  color: var(--ink);
}

.legal-card h1,
.legal-card h2 {
  color: var(--blue);
}

.legal-card h1 {
  max-width: none;
  margin-top: 0;
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  line-height: 1.15;
}

.legal-card h2 {
  margin-top: 1.75rem;
  font-size: 1.1rem;
  line-height: 1.3;
}

.legal-card p {
  line-height: 1.7;
  color: #374151;
}

.legal-card a {
  color: var(--blue);
  font-weight: 600;
}

.legal-updated {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.form-note a {
  color: var(--blue);
  font-weight: 600;
  text-decoration: none;
  margin-left: 0.35em;
}

.form-note a:hover {
  text-decoration: underline;
}

.modal-overlay {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(5, 7, 22, 0.72);
  backdrop-filter: blur(12px);
}

.modal-overlay[hidden] {
  display: none;
}

.modal-panel {
  position: relative;
  width: min(100%, 460px);
  padding: 28px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.35);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: var(--muted);
  background: #f1f3f9;
  font-size: 1.5rem;
  line-height: 1;
}

.modal-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin: 26px 0 24px;
  padding: 5px;
  border-radius: 999px;
  background: #eef1fb;
}

.modal-tab {
  min-height: 42px;
  border: 0;
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-weight: 800;
}

.modal-tab.is-active {
  color: var(--white);
  background: var(--blue);
}

.modal-panel h2 {
  margin-bottom: 8px;
  color: var(--blue-deep);
  font-size: 2rem;
}

.modal-intro {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 1rem;
}

.auth-form {
  display: grid;
  gap: 14px;
}

.auth-form label {
  display: grid;
  gap: 7px;
  color: var(--blue-deep);
  font-size: 0.86rem;
  font-weight: 800;
}

.auth-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #d8ddec;
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  outline: 0;
}

.auth-form input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(243, 146, 0, 0.16);
}

.form-note {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.form-error {
  margin: 0;
  padding: 10px 14px;
  border-radius: 10px;
  background: #fef2f2;
  color: #991b1b;
  font-size: 0.88rem;
}

.form-error.is-ok {
  background: #ecfdf5;
  color: #065f46;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes ringSweep {
  to {
    transform: rotate(360deg);
  }
}

@keyframes widgetFloat {
  0%,
  100% {
    transform: translateY(-50%) translateX(0);
  }
  50% {
    transform: translateY(-54%) translateX(-8px);
  }
}

@keyframes glowBreath {
  0%,
  100% {
    transform: scale(0.94);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.06);
    opacity: 0.88;
  }
}

@keyframes liveBlink {
  50% {
    opacity: 0.25;
  }
}

@keyframes targetPop {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06);
  }
}

@keyframes flashIn {
  0%,
  100% {
    opacity: 0.5;
    transform: translateY(0);
  }
  45%,
  60% {
    opacity: 1;
    transform: translateY(-2px);
  }
}

@keyframes trailMove {
  0%,
  100% {
    opacity: 0.28;
    translate: -8px 0;
  }
  50% {
    opacity: 0.78;
    translate: 10px 0;
  }
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

@keyframes signal {
  0%,
  100% {
    background: rgba(255, 255, 255, 0.18);
    transform: scaleX(0.62);
  }
  50% {
    background: var(--orange);
    transform: scaleX(1);
  }
}

@keyframes heroDrift {
  from {
    transform: scale(1.015) translate3d(-0.4%, 0, 0);
  }
  to {
    transform: scale(1.045) translate3d(0.6%, -0.4%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1060px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .desktop-nav {
    display: none;
  }

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

  .hero-section {
    min-height: auto;
  }

  .hero-visual {
    min-height: 360px;
  }

  .counter-widget {
    right: 50%;
    width: min(360px, 74vw);
    min-width: 0;
    transform: translate(50%, -50%);
  }

  @keyframes widgetFloat {
    0%,
    100% {
      transform: translate(50%, -50%);
    }
    50% {
      transform: translate(48%, -54%);
    }
  }

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

  .step-card {
    min-height: 0;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: absolute;
    display: flex;
    width: 100vw;
    max-width: 100vw;
    align-items: start;
    gap: 14px;
    justify-content: space-between;
  }

  .brand {
    width: 138px;
    height: 32px;
  }

  .header-actions {
    flex: 0 0 auto;
    flex-wrap: wrap;
    gap: 8px;
    margin-left: auto;
  }

  .header-actions .language-toggle {
    display: none;
  }

  .mobile-language-toggle {
    position: fixed;
    z-index: 25;
    top: 19px;
    right: auto;
    left: 170px;
    display: grid;
  }

  .header-actions .ghost-button,
  .header-actions .primary-button {
    display: none;
  }

  .header-actions .coin-pill,
  .header-actions .primary-button.small[data-logout],
  .header-actions button.primary-button.small[data-logout] {
    display: inline-flex;
  }

  .hero-section {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 100px;
    padding-bottom: 44px;
  }

  .brand-watermark {
    right: -180px;
    top: 118px;
    width: 620px;
    opacity: 0.028;
  }

  h1 {
    max-width: 342px;
    font-size: clamp(2.05rem, 9.5vw, 2.4rem);
    line-height: 1.02;
  }

  .hero-text {
    max-width: 342px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 300px;
  }

  .counter-widget {
    display: none;
  }

  .showcase-toolbar,
  .cta-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .showcase-count {
    margin-left: 0;
    width: 100%;
  }

  .sort-select {
    width: 100%;
  }

  .cta-actions {
    align-items: stretch;
  }

  .cta-actions .primary-button,
  .cta-actions .ghost-button {
    width: 100%;
  }

  .site-footer {
    display: grid;
  }

  .site-footer-meta {
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 430px) {
  .site-header {
    padding: 14px;
  }

  .language-toggle {
    width: 76px;
  }

  .mobile-language-toggle {
    left: 158px;
  }

  .brand {
    width: 128px;
    height: 31px;
  }

  .hero-section,
  .content-section {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-actions .primary-button,
  .hero-actions .secondary-link {
    width: 100%;
    justify-content: center;
  }

  .hero-visual {
    min-height: 240px;
  }
}

/* --- User menu (logged-in header) ---------------------------------------- */
.user-menu {
  position: relative;
}

.user-menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.user-menu-trigger:hover,
.user-menu-trigger[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(243, 146, 0, 0.45);
}

.user-menu-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.user-menu-name {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.88rem;
}

.user-menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 200px;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(7, 11, 38, 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
  z-index: 30;
}

.user-menu-item {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--white);
  font: inherit;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.user-menu-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.user-menu-item.danger {
  color: #fecaca;
}

.auth-forgot {
  margin: -4px 0 8px;
  text-align: right;
  font-size: 0.88rem;
}

.auth-forgot a {
  color: var(--blue);
  font-weight: 600;
}

.modal-panel .auth-forgot a {
  color: var(--orange);
}

/* --- Account pages ------------------------------------------------------- */
.account-page {
  background: #f7f8fc;
  color: var(--ink);
}

.account-shell {
  min-height: 100vh;
  overflow: visible;
}

.account-header {
  position: sticky;
}

.account-main {
  max-width: 920px;
  margin: 0 auto;
  padding: 110px 24px 64px;
}

.account-main-narrow {
  max-width: 520px;
}

.account-intro h1 {
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--blue);
}

.account-lead {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 1.05rem;
}

.account-msg {
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-weight: 600;
}

.account-msg.is-ok {
  background: #ecfdf5;
  color: #065f46;
}

.account-msg.is-err {
  background: #fef2f2;
  color: #991b1b;
}

.account-dev-link {
  margin: -8px 0 20px;
  padding: 12px 16px;
  border-radius: 10px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 0.92rem;
  word-break: break-all;
}

.account-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 24px 26px;
  margin-bottom: 20px;
  box-shadow: 0 8px 30px rgba(16, 25, 77, 0.06);
}

.account-card h2 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  color: var(--blue);
}

.account-card-lead {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.account-card-lead a {
  color: var(--blue);
  font-weight: 600;
}

.account-hint {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff7ed;
  color: #9a3412;
  font-weight: 600;
}

.account-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.account-hero-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.account-hero-amount {
  display: block;
  margin: 6px 0 14px;
  font-size: 3rem;
  line-height: 1;
  color: var(--orange);
}

.account-hero-smile {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff4e5, #fef9c3);
}

.account-smile-icon {
  font-size: 2.4rem;
  line-height: 1;
}

.account-smile-icon + div strong {
  display: block;
  font-size: 1.2rem;
  color: var(--blue);
}

.account-smile-icon + div p {
  margin: 4px 0 0;
  font-size: 0.92rem;
}

.account-table-wrap {
  overflow-x: auto;
}

.account-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.account-table th,
.account-table td {
  padding: 10px 12px;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

.account-table th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.account-plus {
  font-weight: 800;
  color: var(--orange);
  font-variant-numeric: tabular-nums;
}

.account-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: #eef0f8;
  color: var(--blue);
  font-size: 0.78rem;
  font-weight: 700;
}

.account-form {
  display: grid;
  gap: 14px;
}

.account-form label span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.account-form input,
.account-form select {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #d0d5dd;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
}

.account-form-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.account-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.muted {
  color: var(--muted);
}

@media (max-width: 768px) {
  .user-menu-name {
    display: none;
  }

  .account-hero,
  .account-grid,
  .account-form-row {
    grid-template-columns: 1fr;
  }

  .account-main {
    padding-top: 96px;
  }
}
