:root {
  --bg: #020713;
  --panel: rgba(5, 18, 42, 0.78);
  --line: rgba(91, 144, 255, 0.28);
  --line-strong: rgba(68, 143, 255, 0.58);
  --text: #f5f8ff;
  --muted: #a9b9d8;
  --blue: #1496ff;
  --cyan: #49d2ff;
  --gold: #f5b844;
  --green: #2bd487;
  font-family: "Inter", "Noto Sans JP", "Hiragino Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(2, 7, 19, 0.42), rgba(2, 7, 19, 0.92)),
    url("assets/about-bg-v2.png") center top / cover fixed,
    radial-gradient(circle at 82% 16%, rgba(22, 123, 255, 0.28), transparent 20rem),
    radial-gradient(circle at 12% 72%, rgba(245, 184, 68, 0.13), transparent 22rem),
    linear-gradient(180deg, rgba(3, 11, 31, 0.5), rgba(2, 7, 19, 0.98)),
    var(--bg);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

body::before {
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(45, 115, 255, 0.18) 45%, transparent 49%),
    linear-gradient(104deg, transparent 0 54%, rgba(245, 184, 68, 0.22) 55%, transparent 57%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.018) 0 1px, transparent 1px 90px);
  filter: blur(0.2px);
}

body::after {
  z-index: -1;
  background:
    radial-gradient(ellipse at 75% 15%, transparent 0 6rem, rgba(53, 146, 255, 0.18) 6.2rem, transparent 6.6rem),
    linear-gradient(180deg, transparent, rgba(2, 7, 19, 0.86));
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(10rem, 1fr) auto auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1rem clamp(1rem, 4vw, 4.5rem);
  background: rgba(2, 7, 19, 0.86);
  border-bottom: 1px solid rgba(91, 144, 255, 0.16);
  backdrop-filter: blur(18px);
}

.brand { display: inline-flex; align-items: center; gap: 0.75rem; min-width: 0; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  color: #06101f;
  background: linear-gradient(135deg, #f7fbff, #7f9bca);
  clip-path: polygon(0 0, 100% 0, 68% 42%, 100% 100%, 0 72%);
  font-weight: 900;
}
.brand strong { display: block; font-size: 1.65rem; letter-spacing: 0.08em; line-height: 1; }
.brand small { display: block; color: var(--muted); font-size: 0.55rem; margin-top: 0.18rem; }

.site-nav { display: flex; gap: clamp(0.75rem, 1.6vw, 1.6rem); align-items: center; font-size: 0.82rem; font-weight: 800; }
.site-nav a { color: #d7e1f6; padding: 0.8rem 0; position: relative; }
.site-nav a.active, .site-nav a:hover { color: var(--cyan); }
.site-nav a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.18rem;
  width: 2.1rem;
  height: 2px;
  transform: translateX(-50%);
  background: var(--blue);
  box-shadow: 0 0 14px var(--blue);
}

.btn.primary, .trader-card button {
  background: linear-gradient(180deg, #ffe18b, #b87515);
  color: #171006;
  border: 1px solid rgba(255, 225, 139, 0.8);
  box-shadow: 0 0 18px rgba(245, 184, 68, 0.24), inset 0 1px rgba(255,255,255,0.45);
}
.menu-toggle { display: none; }

main { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; }
.hero { min-height: min(760px, calc(82vh - 2rem)); display: grid; align-items: center; position: relative; padding: 3rem 0; }
.home-hero::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw) 0;
  background:
    linear-gradient(90deg, rgba(2, 7, 19, 0.92) 0%, rgba(2, 7, 19, 0.64) 45%, rgba(2, 7, 19, 0.36) 100%),
    url("assets/home-stage-tctc.png") center / cover;
  border: 1px solid rgba(91, 144, 255, 0.12);
  z-index: -1;
}

.hero-copy { max-width: 48rem; }
.eyebrow, .section-kicker { color: #d7a84b; font-weight: 800; letter-spacing: 0.04em; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.8rem, 7vw, 5.8rem); line-height: 0.98; margin-bottom: 1.25rem; }
h2 { font-size: clamp(1.3rem, 2.8vw, 2rem); }
h3 { font-size: 1.05rem; }
.lead { color: #dbe7ff; font-size: clamp(1rem, 2vw, 1.25rem); line-height: 1.8; max-width: 46rem; }

.actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-width: 10rem; min-height: 3rem; border-radius: 4px; font-weight: 900; }
.btn.secondary { border: 1px solid var(--line-strong); color: #e8f1ff; background: rgba(3, 13, 31, 0.65); }
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 28px rgba(245, 184, 68, 0.28), 0 12px 28px rgba(0,0,0,0.28);
}

.content-band, .split-section, .page-shell { padding: 3rem 0; }
.content-band { padding-top: 2rem; }
.content-band > h2 { text-align: center; margin-bottom: 1.8rem; }
.feature-title {
  width: fit-content;
  margin-inline: auto;
  padding: 0 2.8rem 0.9rem;
  color: var(--gold);
  font-size: clamp(2rem, 4vw, 3.4rem);
  text-shadow: 0 0 18px rgba(245, 184, 68, 0.45), 0 0 42px rgba(20, 150, 255, 0.2);
  position: relative;
}
.feature-title::before,
.feature-title::after {
  content: "";
  position: absolute;
  top: 45%;
  width: 2rem;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold));
  box-shadow: 0 0 14px rgba(245, 184, 68, 0.55);
}
.feature-title::before { right: 100%; }
.feature-title::after { left: 100%; transform: scaleX(-1); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.feature-grid.three { grid-template-columns: repeat(3, 1fr); }
.feature-grid.four { grid-template-columns: repeat(4, 1fr); }

.glass-card, .glass-panel, .trader-card, .prize-card {
  background: linear-gradient(180deg, rgba(12, 31, 70, 0.82), rgba(3, 10, 27, 0.82));
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: inset 0 1px rgba(255,255,255,0.05), 0 16px 45px rgba(0,0,0,0.22);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}
.glass-card:hover, .glass-panel:hover, .trader-card:hover, .prize-card:hover {
  transform: translateY(-5px);
  border-color: rgba(245, 184, 68, 0.58);
  box-shadow: inset 0 1px rgba(255,255,255,0.08), 0 20px 60px rgba(0,0,0,0.32), 0 0 34px rgba(20, 150, 255, 0.18);
}
.glass-card { min-height: 8.2rem; padding: 1.35rem; }
.stat-card { text-align: center; }
.stat-card {
  min-height: 16.6rem;
  display: grid;
  justify-items: center;
  align-content: center;
  background:
    radial-gradient(circle at 50% 20%, rgba(20, 150, 255, 0.16), transparent 7rem),
    linear-gradient(180deg, rgba(12, 31, 70, 0.88), rgba(3, 10, 27, 0.86));
}
.stat-card strong {
  display: block;
  color: var(--gold);
  font-size: 1.55rem;
  margin: 0.85rem 0 0.45rem;
  text-shadow: 0 0 14px rgba(245, 184, 68, 0.46);
}
.feature-note {
  width: 100%;
  min-height: 4.8rem;
  display: grid;
  place-items: center;
  margin: 0.25rem 0 0;
  padding: 0.75rem 0.9rem;
  color: #fff7dc;
  background: linear-gradient(180deg, rgba(245, 184, 68, 0.24), rgba(128, 80, 12, 0.16));
  border: 1px solid rgba(245, 184, 68, 0.48);
  border-radius: 5px;
  box-shadow: inset 0 1px rgba(255,255,255,0.12), 0 0 20px rgba(245, 184, 68, 0.12);
  text-shadow: 0 2px 10px rgba(0,0,0,0.86);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}
.stat-card:hover .feature-note {
  transform: translateY(-3px);
  border-color: rgba(255, 224, 135, 0.82);
  box-shadow: inset 0 1px rgba(255,255,255,0.18), 0 0 28px rgba(245, 184, 68, 0.28);
}
.glass-card p, .glass-panel p, .trader-card p, .prize-card p { color: var(--muted); line-height: 1.75; }
.icon { display: inline-grid; place-items: center; width: 3rem; height: 3rem; color: var(--gold); font-size: 1.8rem; }
.feature-icon {
  width: 8.4rem;
  height: 8.4rem;
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  filter: drop-shadow(0 0 18px rgba(20, 150, 255, 0.38));
}
.feature-icon.prize { background-image: url("assets/feature-icons-transparent/feature-prize.png"); }
.feature-icon.trading { background-image: url("assets/feature-icons-transparent/feature-trading.png"); }
.feature-icon.fairness { background-image: url("assets/feature-icons-transparent/feature-fairness.png"); }
.feature-icon.schedule { background-image: url("assets/feature-icons-transparent/feature-schedule.png"); }

.split-section { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.glass-panel { padding: clamp(1.3rem, 3vw, 2.2rem); }
.about-preview-panel {
  min-height: 22rem;
  display: grid;
  align-content: center;
  background:
    linear-gradient(90deg, rgba(5, 18, 42, 0.96) 0%, rgba(5, 18, 42, 0.78) 52%, rgba(5, 18, 42, 0.28) 100%),
    url("assets/about-bg-v2.png") right center / cover;
}
.text-link { color: var(--gold); font-weight: 900; }
.score-layout { display: grid; grid-template-columns: 9rem 1fr; gap: 1.5rem; align-items: center; }
.donut { width: 8.5rem; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(var(--blue) 0 70%, rgba(24, 58, 123, 0.8) 70% 100%); position: relative; }
.donut::after { content: "70%"; position: absolute; inset: 23%; display: grid; place-items: center; border-radius: 50%; background: #061227; color: #dcebff; font-weight: 900; }
.score-layout ul { list-style: none; padding: 0; margin: 0; }
.score-layout li { display: flex; gap: 1rem; align-items: baseline; padding: 0.55rem 0; border-bottom: 1px solid rgba(91, 144, 255, 0.14); }
.score-layout b { color: var(--cyan); font-size: 1.35rem; }
.timeline { margin: 1rem 0 3rem; }
.entry-cta {
  min-height: 13.5rem;
  margin: 1rem 0;
  display: grid;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(5, 18, 42, 0.96) 0%, rgba(5, 18, 42, 0.82) 48%, rgba(5, 18, 42, 0.34) 100%),
    url("assets/tctc-background.png") right center / cover;
  overflow: hidden;
}
.entry-cta > div { max-width: 36rem; }
.entry-cta .btn { margin-top: 0.8rem; }
.timeline-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.timeline-grid div {
  min-height: 6.5rem;
  padding: 1.1rem;
  border: 1px solid rgba(91, 144, 255, 0.18);
  background: rgba(2, 9, 24, 0.42);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, background 0.24s ease;
}
.timeline-grid strong,
.timeline-grid span {
  transition: color 0.24s ease, text-shadow 0.24s ease, filter 0.24s ease;
}
.timeline-grid strong { display: block; color: var(--gold); font-size: 1.2rem; margin-bottom: 0.65rem; }
.timeline-grid span { display: block; color: var(--muted); line-height: 1.7; }
.timeline-grid div:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 184, 68, 0.58);
  background: linear-gradient(180deg, rgba(18, 38, 78, 0.64), rgba(5, 14, 34, 0.72));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08), 0 0 26px rgba(245, 184, 68, 0.18), 0 18px 48px rgba(0, 0, 0, 0.28);
}
.timeline-grid div:hover strong,
.timeline-grid div:hover span {
  color: transparent;
  background: linear-gradient(180deg, #fff3b7 0%, #f8c94f 48%, #d58b11 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 12px rgba(245, 184, 68, 0.45));
  text-shadow: 0 0 18px rgba(245, 184, 68, 0.3);
}

.page-shell { padding-top: 4rem; }
.page-hero { min-height: 15rem; display: grid; align-content: center; margin-bottom: 2rem; }
.page-hero.centered { text-align: center; justify-items: center; }
.page-hero h1 { font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.7rem, 6vw, 5rem); }
.about-layout, .rule-row { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 1rem; margin-bottom: 1rem; }
.long-copy p { font-size: 1.02rem; }
.audience { margin-top: 1rem; }
.audience ul { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; padding: 0; margin: 1.2rem 0 0; list-style: none; }
.audience li { padding: 1rem 1.1rem; color: #dce8ff; background: rgba(2, 9, 24, 0.44); border: 1px solid rgba(91, 144, 255, 0.16); line-height: 1.6; }
.tower-card {
  background-image: linear-gradient(90deg, rgba(5, 18, 42, 0.92), rgba(5, 18, 42, 0.24)), url("assets/about-bg-v2.png");
  background-size: cover;
  background-position: center;
  min-height: 20rem;
  display: grid;
  grid-template-rows: 1fr auto auto;
  align-content: stretch;
  overflow: hidden;
}
.business-city-element {
  align-self: center;
  width: min(100%, 30rem);
  height: 9.5rem;
  margin: 0 auto 1rem;
  background: url("assets/about-business-city.png") center / contain no-repeat;
  filter: drop-shadow(0 0 24px rgba(20, 150, 255, 0.34)) drop-shadow(0 0 16px rgba(245, 184, 68, 0.22));
  opacity: 0.92;
}
.about-benefit-card {
  min-height: 12.5rem;
  display: grid;
  grid-template-columns: 5.8rem 1fr;
  gap: 1.2rem;
  align-items: center;
  text-align: left;
}
.about-benefit-icon {
  width: 5.4rem;
  height: 5.4rem;
  display: block;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  filter: drop-shadow(0 0 18px rgba(20, 150, 255, 0.42)) drop-shadow(0 0 12px rgba(245, 184, 68, 0.24));
  transition: transform 0.24s ease, filter 0.24s ease;
}
.about-benefit-icon.talent { background-image: url("assets/about-icons/talent.png"); }
.about-benefit-icon.exchange { background-image: url("assets/about-icons/exchange.png"); }
.about-benefit-icon.education { background-image: url("assets/about-icons/education.png"); }
.about-benefit-copy h3 {
  margin-bottom: 0.85rem;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.72);
}
.about-benefit-copy h3::after {
  content: "";
  display: block;
  width: min(100%, 16rem);
  height: 1px;
  margin-top: 0.7rem;
  background: linear-gradient(90deg, rgba(245, 184, 68, 0.95), rgba(255, 230, 151, 0.4), transparent);
  box-shadow: 0 0 12px rgba(245, 184, 68, 0.38);
}
.about-benefit-card:hover .about-benefit-icon {
  transform: scale(1.08) translateY(-2px);
  filter: drop-shadow(0 0 24px rgba(20, 150, 255, 0.6)) drop-shadow(0 0 24px rgba(245, 184, 68, 0.42));
}
.about-benefit-card:hover .about-benefit-copy h3 {
  color: var(--gold);
  text-shadow: 0 0 16px rgba(245, 184, 68, 0.45), 0 2px 12px rgba(0, 0, 0, 0.82);
}
.rule-highlight { display: grid; grid-template-columns: 15rem 1fr; gap: 1.4rem; align-items: center; min-height: 13rem; overflow: hidden; }
.rule-highlight strong { display: block; color: var(--gold); font-size: 3rem; line-height: 1; }
.rule-visual {
  min-height: 12rem;
  align-self: stretch;
  border-radius: 4px;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  border: 0;
  box-shadow: none;
  filter: drop-shadow(0 0 22px rgba(245, 184, 68, 0.2)) drop-shadow(0 0 26px rgba(20, 150, 255, 0.18));
}
.rule-visual.capital { background-image: url("assets/rule-capital-upload-clean.png"); }
.rule-visual.fairness { background-image: url("assets/rule-fairness-upload-clean.png"); }
.metric h3,
.metric strong,
.metric p {
  transition: color 0.24s ease, filter 0.24s ease, text-shadow 0.24s ease;
}
.metric strong { color: var(--blue); font-size: clamp(2.1rem, 5vw, 3.3rem); }
.metric:hover h3,
.metric:hover strong,
.metric:hover p {
  color: transparent;
  background: linear-gradient(180deg, #fff4bd 0%, #f8c94f 42%, #d58b11 100%);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 14px rgba(245, 184, 68, 0.48));
  text-shadow: 0 0 20px rgba(245, 184, 68, 0.32), 0 2px 10px rgba(0, 0, 0, 0.78);
}

.ranking-toolbar { display: flex; align-items: center; gap: 1.4rem; margin-bottom: 1rem; padding: 1rem; width: fit-content; max-width: 100%; }
.tab { padding: 0.65rem 1rem; color: #dce8ff; border: 0; border-bottom: 2px solid transparent; background: transparent; font: inherit; font-weight: 800; cursor: pointer; }
.tab.active { color: var(--gold); border-color: var(--gold); }
.trader-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.trader-card { position: relative; padding: 1.15rem; min-height: 19.5rem; overflow: hidden; transition: transform 0.2s ease, border-color 0.2s ease; }
.trader-card[hidden] { display: none; }
.trader-card:hover { transform: translateY(-3px); border-color: rgba(245, 184, 68, 0.5); }
.trader-card::after { content: ""; position: absolute; right: 1rem; bottom: 4.4rem; width: 42%; height: 3rem; background: linear-gradient(145deg, transparent, rgba(20, 150, 255, 0.45), transparent); clip-path: polygon(0 70%, 18% 45%, 35% 58%, 50% 20%, 70% 36%, 100% 0, 100% 100%, 0 100%); opacity: 0.65; }
.rank { position: absolute; top: 0.7rem; left: 0.8rem; color: var(--gold); font-size: 1.4rem; font-weight: 900; }
.portrait {
  width: 6.8rem;
  height: 6.8rem;
  margin-left: 1.7rem;
  border-radius: 50%;
  background-image: url("assets/trader-portraits-12.png");
  background-size: 600% 200%;
  border: 2px solid rgba(91, 144, 255, 0.72);
  box-shadow: 0 0 28px rgba(20, 150, 255, 0.28);
}
.portrait-1 { background-position: 0% 0%; }
.portrait-2 { background-position: 20% 0%; }
.portrait-3 { background-position: 40% 0%; }
.portrait-4 { background-position: 60% 0%; }
.portrait-5 { background-position: 80% 0%; }
.portrait-6 { background-position: 100% 0%; }
.portrait-7 { background-position: 0% 100%; }
.portrait-8 { background-position: 20% 100%; }
.portrait-9 { background-position: 40% 100%; }
.portrait-10 { background-position: 60% 100%; }
.portrait-11 { background-position: 80% 100%; }
.portrait-12 { background-position: 100% 100%; }
.trader-card h2 { font-size: 1.25rem; margin: 1rem 0 0.1rem; }
.trader-card strong { display: block; color: var(--green); font-size: 1.6rem; margin: 1rem 0; }
.trader-card button { min-height: 2.3rem; min-width: 7rem; border-radius: 4px; font-weight: 900; cursor: pointer; }
.pager { display: flex; justify-content: center; gap: 0.8rem; margin: 1.2rem 0 2rem; }
.pager button {
  width: 2.9rem;
  height: 2.9rem;
  color: #dce8ff;
  background: rgba(3, 13, 31, 0.76);
  border: 1px solid var(--line);
  border-radius: 4px;
  font-weight: 900;
  cursor: pointer;
}
.pager button.active,
.pager button:hover {
  color: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(245, 184, 68, 0.22);
}
.ranking-summary {
  min-height: 11rem;
  margin: 1.4rem 0 3rem;
  display: grid;
  grid-template-columns: 8.5rem 1fr 18rem;
  align-items: center;
  gap: 1.4rem;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 18, 42, 0.98) 0%, rgba(5, 18, 42, 0.88) 42%, rgba(5, 18, 42, 0.34) 72%, rgba(5, 18, 42, 0.1) 100%),
    url("assets/ranking-summary-commercial.png") right center / auto 100% no-repeat;
}
.summary-medal {
  width: 7.2rem;
  height: 7.2rem;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(245, 184, 68, 0.22), transparent 64%),
    url("assets/feature-icons-transparent/feature-prize.png") center / contain no-repeat;
  filter: drop-shadow(0 0 18px rgba(245, 184, 68, 0.38));
}
.summary-copy h2 {
  color: #fff;
  margin-bottom: 0.45rem;
  text-shadow: 0 0 18px rgba(20, 150, 255, 0.32);
}
.summary-copy p:last-child { margin-bottom: 0; max-width: 48rem; }
.summary-trophy {
  justify-self: end;
  width: 15rem;
  height: 9rem;
  background: url("assets/feature-icons-transparent/feature-prize.png") center / contain no-repeat;
  filter: drop-shadow(0 0 24px rgba(245, 184, 68, 0.5));
}

.podium { display: grid; grid-template-columns: 1fr 1.2fr 1fr; align-items: end; gap: 1.4rem; margin: 1rem 0 2rem; }
.prize-hero {
  min-height: 36rem;
  margin-bottom: 2rem;
  background:
    radial-gradient(circle at 50% 52%, rgba(245, 184, 68, 0.2), transparent 22rem),
    linear-gradient(180deg, rgba(2, 7, 19, 0.62), rgba(2, 7, 19, 0.38) 44%, rgba(2, 7, 19, 0.82)),
    linear-gradient(90deg, rgba(2, 7, 19, 0.72), rgba(2, 7, 19, 0.24) 50%, rgba(2, 7, 19, 0.72)),
    url("assets/prize-trophies-v2.png") center / cover;
  border: 1px solid rgba(245, 184, 68, 0.42);
  box-shadow: 0 0 70px rgba(245, 184, 68, 0.24), 0 0 120px rgba(20, 150, 255, 0.12);
  padding: 9rem 1rem 7.2rem;
  overflow: hidden;
  position: relative;
  align-content: center;
}
.prize-hero::after {
  content: "";
  position: absolute;
  inset: -20% -10%;
  background: linear-gradient(112deg, transparent 36%, rgba(255, 255, 255, 0.16) 43%, transparent 49%);
  mix-blend-mode: screen;
  pointer-events: none;
  transform: translateX(-22%);
  transition: transform 0.9s ease, opacity 0.28s ease;
  opacity: 0.55;
}
.prize-hero:hover::after { transform: translateX(12%); opacity: 1; }
.prize-hero > * { position: relative; z-index: 1; }
.prize-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0.35rem 1rem;
  color: #211505;
  background: linear-gradient(180deg, #ffe898, #f5b844 62%, #b87312);
  border: 1px solid rgba(255, 239, 174, 0.82);
  border-radius: 4px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.44), 0 0 20px rgba(245, 184, 68, 0.24);
  text-shadow: none;
}
.prize-hero h1 {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fff8d6 0%, #ffd874 28%, #f5b844 55%, #9f640d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 5px 18px rgba(0, 0, 0, 0.94), 0 1px 0 rgba(255, 255, 255, 0.2);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
  transition: filter 0.28s ease, text-shadow 0.28s ease, transform 0.28s ease;
}
.prize-hero h1::after {
  content: "";
  position: absolute;
  inset: -20% -8%;
  background: linear-gradient(105deg, transparent 34%, rgba(255, 255, 255, 0.58) 48%, transparent 60%);
  transform: translateX(-120%);
  transition: transform 0.85s ease;
  mix-blend-mode: screen;
  pointer-events: none;
}
.prize-hero:hover h1 {
  filter: drop-shadow(0 0 20px rgba(245, 184, 68, 0.42)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.55));
  text-shadow: 0 0 18px rgba(245, 184, 68, 0.34), 0 5px 18px rgba(0, 0, 0, 0.95);
  transform: translateY(-2px);
}
.prize-hero:hover h1::after { transform: translateX(120%); }
.prize-lead {
  max-width: min(54rem, calc(100% - 2rem));
  padding: 1rem 1.35rem;
  color: #f7fbff;
  background: linear-gradient(180deg, rgba(7, 20, 45, 0.72), rgba(3, 10, 27, 0.5));
  border: 1px solid rgba(194, 220, 255, 0.34);
  border-radius: 6px;
  box-shadow: 0 0 34px rgba(20, 150, 255, 0.18), inset 0 1px rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.92), 0 0 18px rgba(20, 150, 255, 0.35);
}
.prize-card { padding: 2rem; text-align: center; min-height: 24rem; position: relative; overflow: hidden; }
.prize-card > * { position: relative; z-index: 1; }
.prize-card.gold { min-height: 29rem; border-color: rgba(245, 184, 68, 0.86); box-shadow: 0 0 62px rgba(245, 184, 68, 0.34), inset 0 0 40px rgba(245, 184, 68, 0.08); }
.prize-card.silver { border-color: rgba(164, 195, 255, 0.78); box-shadow: 0 0 42px rgba(91, 144, 255, 0.18); }
.prize-card.bronze { border-color: rgba(255, 143, 83, 0.78); box-shadow: 0 0 42px rgba(255, 143, 83, 0.18); }
.prize-card span { color: #fff; font-weight: 900; font-size: 1.3rem; }
.prize-card strong {
  display: block;
  color: transparent;
  background: linear-gradient(180deg, #fff1a6 0%, #f6c64d 35%, #f0a51b 68%, #7d4b05 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(4rem, 10vw, 7rem);
  line-height: 0.95;
  margin-top: 1rem;
  text-shadow: 0 0 20px rgba(245, 184, 68, 0.28), 0 8px 20px rgba(0, 0, 0, 0.55);
  filter: drop-shadow(0 0 16px rgba(245, 184, 68, 0.28));
}
.prize-card ul { list-style: none; padding: 0; margin: 1.4rem 0 0; color: #dce8ff; line-height: 2; }
.prize-card:hover {
  transform: translateY(-8px) scale(1.015);
}
.prize-card:hover strong {
  filter: drop-shadow(0 0 26px rgba(245, 184, 68, 0.58));
}
.prize-card.gold::after {
  content: "";
  position: absolute;
  left: 7%;
  right: 7%;
  bottom: 1.2rem;
  height: 8.5rem;
  background:
    radial-gradient(circle at 50% 75%, rgba(245, 184, 68, 0.3), transparent 42%),
    url("assets/prize-trophies-v2.png") center 73% / 185% auto no-repeat;
  opacity: 0.42;
  filter: saturate(1.16) drop-shadow(0 0 28px rgba(245, 184, 68, 0.34));
  pointer-events: none;
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 100%);
}
.prize-card.gold:hover::after {
  opacity: 0.68;
  filter: saturate(1.3) drop-shadow(0 0 38px rgba(245, 184, 68, 0.48));
}

.lottery-page { padding-bottom: 4rem; }
.lottery-hero {
  min-height: 18rem;
  margin-bottom: 1rem;
  background:
    radial-gradient(circle at 50% 38%, rgba(245, 184, 68, 0.18), transparent 21rem),
    linear-gradient(180deg, rgba(4, 16, 38, 0.54), rgba(2, 7, 19, 0.18));
}
.lottery-hero h1 {
  color: transparent;
  background: linear-gradient(180deg, #fff8d8 0%, #ffd874 36%, #d78b11 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 5px 20px rgba(0, 0, 0, 0.8);
  filter: drop-shadow(0 0 18px rgba(245, 184, 68, 0.24));
}
.lottery-stage {
  min-height: 18rem;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(circle at 50% 50%, rgba(20, 150, 255, 0.22), transparent 18rem),
    linear-gradient(180deg, rgba(12, 31, 70, 0.84), rgba(3, 10, 27, 0.9));
}
.lottery-stage::before,
.lottery-stage::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.lottery-stage::before {
  inset: -30% -10%;
  background:
    linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.16) 44%, transparent 54%),
    linear-gradient(72deg, transparent 45%, rgba(245, 184, 68, 0.18) 52%, transparent 58%);
  mix-blend-mode: screen;
  transform: translateX(-22%);
  opacity: 0.55;
  transition: transform 0.8s ease, opacity 0.28s ease;
}
.lottery-stage:hover::before,
.lottery-stage.is-spinning::before {
  transform: translateX(18%);
  opacity: 1;
}
.lottery-stage::after {
  inset: auto 10% 1.2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245, 184, 68, 0.8), transparent);
  box-shadow: 0 0 18px rgba(245, 184, 68, 0.42);
}
.lottery-orbit {
  position: absolute;
  width: min(34rem, 72vw);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(91, 144, 255, 0.22);
  box-shadow: inset 0 0 36px rgba(20, 150, 255, 0.18), 0 0 44px rgba(245, 184, 68, 0.12);
  animation: lotteryOrbit 10s linear infinite;
}
.lottery-orbit::before,
.lottery-orbit::after {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  border: 1px solid rgba(245, 184, 68, 0.26);
}
.lottery-orbit::after {
  inset: 34%;
  background: radial-gradient(circle, rgba(245, 184, 68, 0.18), transparent 60%);
  border-color: rgba(20, 150, 255, 0.24);
}
.lottery-result {
  position: relative;
  z-index: 1;
  width: min(44rem, 100%);
  padding: 1.2rem 1.4rem;
  text-align: center;
  border: 1px solid rgba(194, 220, 255, 0.34);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(7, 20, 45, 0.78), rgba(3, 10, 27, 0.58));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.12), 0 0 32px rgba(20, 150, 255, 0.18);
  backdrop-filter: blur(12px);
}
.result-kicker {
  display: inline-flex;
  margin-bottom: 0.6rem;
  padding: 0.28rem 0.75rem;
  color: #211505;
  background: linear-gradient(180deg, #ffe898, #f5b844 62%, #b87312);
  border: 1px solid rgba(255, 239, 174, 0.8);
  border-radius: 4px;
  font-weight: 900;
}
.lottery-result strong {
  display: block;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  color: transparent;
  background: linear-gradient(180deg, #fff5bf, #f5b844 55%, #ba7410);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 14px rgba(245, 184, 68, 0.35));
}
.lottery-result p { max-width: 36rem; margin: 0.55rem auto 0; color: #dce8ff; line-height: 1.75; }
.cdk-panel {
  position: relative;
  z-index: 1;
  width: min(44rem, 100%);
  display: grid;
  grid-template-columns: 7.8rem 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border: 1px solid rgba(245, 184, 68, 0.36);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(245, 184, 68, 0.14), rgba(5, 18, 42, 0.52));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), 0 0 26px rgba(245, 184, 68, 0.12);
}
.cdk-panel label {
  color: var(--gold);
  font-weight: 900;
  text-shadow: 0 0 12px rgba(245, 184, 68, 0.28);
}
.cdk-panel div { min-width: 0; }
.cdk-panel input {
  width: 100%;
  min-height: 3rem;
  padding: 0 1rem;
  color: #f7fbff;
  background: rgba(2, 7, 19, 0.72);
  border: 1px solid rgba(91, 144, 255, 0.34);
  border-radius: 4px;
  outline: none;
  font: inherit;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.cdk-panel input:focus {
  border-color: rgba(245, 184, 68, 0.78);
  box-shadow: 0 0 22px rgba(245, 184, 68, 0.22);
}
.cdk-panel span {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.86rem;
}
.cdk-panel.is-error input { border-color: rgba(255, 92, 122, 0.78); box-shadow: 0 0 20px rgba(255, 92, 122, 0.18); }
.cdk-panel.is-success input { border-color: rgba(43, 212, 135, 0.76); box-shadow: 0 0 20px rgba(43, 212, 135, 0.18); }
.cdk-panel.is-error span { color: #ff8fa6; }
.cdk-panel.is-success span { color: #7df1b7; }
.lottery-button {
  position: relative;
  z-index: 1;
  min-width: 13rem;
  min-height: 3.4rem;
  cursor: pointer;
}
.lottery-button:disabled { opacity: 0.7; cursor: wait; }
.lottery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.lottery-card {
  min-height: 23rem;
  padding: 0;
  overflow: hidden;
  position: relative;
  display: grid;
  grid-template-rows: 13.5rem 1fr;
}
.lottery-card::before {
  content: "";
  position: absolute;
  inset: -35%;
  background: conic-gradient(from 110deg, transparent, rgba(245, 184, 68, 0.42), rgba(20, 150, 255, 0.22), transparent 38%);
  opacity: 0;
  transform: rotate(0deg);
  transition: opacity 0.24s ease;
  pointer-events: none;
}
.lottery-card figure {
  margin: 0;
  position: relative;
  overflow: hidden;
  background: rgba(2, 7, 19, 0.64);
}
.lottery-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.92) brightness(0.88);
  transition: transform 0.32s ease, filter 0.32s ease;
}
.lottery-card div {
  position: relative;
  z-index: 1;
  padding: 1rem 1.1rem 1.25rem;
}
.lottery-card span {
  display: inline-block;
  margin-bottom: 0.45rem;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}
.lottery-card h2 {
  margin-bottom: 0.45rem;
  color: #fff;
  font-size: 1.18rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.72);
}
.lottery-card p { margin: 0; color: var(--muted); line-height: 1.65; }
.lottery-card:hover img,
.lottery-card.is-active img,
.lottery-card.is-winner img {
  transform: scale(1.08);
  filter: saturate(1.1) brightness(1.06);
}
.lottery-card.is-active {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(245, 184, 68, 0.92);
  box-shadow: inset 0 1px rgba(255,255,255,0.12), 0 0 38px rgba(245, 184, 68, 0.34), 0 24px 70px rgba(0,0,0,0.38);
}
.lottery-card.is-active::before,
.lottery-card.is-winner::before {
  opacity: 0.65;
  animation: lotterySweep 1.3s linear infinite;
}
.lottery-card.is-winner {
  transform: translateY(-12px) scale(1.045);
  border-color: rgba(255, 231, 154, 0.98);
  box-shadow: inset 0 1px rgba(255,255,255,0.18), 0 0 54px rgba(245, 184, 68, 0.5), 0 26px 80px rgba(0,0,0,0.42);
}
.lottery-card.is-winner h2 {
  color: transparent;
  background: linear-gradient(180deg, #fff3b7, #f8c94f 52%, #d58b11);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 12px rgba(245, 184, 68, 0.52));
}
.lottery-filler {
  min-height: 23rem;
  position: relative;
  overflow: hidden;
  background:
    url("assets/lottery/thanks-panel.png") center / 86% auto no-repeat,
    linear-gradient(180deg, rgba(3, 10, 27, 0.12), rgba(3, 10, 27, 0.48)),
    url("assets/lottery/lottery-panel-bg.png") center / cover;
  border-color: rgba(245, 184, 68, 0.24);
}
.lottery-filler::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(circle at 42% 45%, rgba(245, 184, 68, 0.2), transparent 28%),
    linear-gradient(115deg, transparent 36%, rgba(255, 255, 255, 0.12) 47%, transparent 56%);
  mix-blend-mode: screen;
  animation: fillerLight 5s ease-in-out infinite alternate;
}
.filler-glow {
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(245, 184, 68, 0.2);
  border-radius: 6px;
  box-shadow: inset 0 0 38px rgba(20, 150, 255, 0.12), 0 0 30px rgba(245, 184, 68, 0.12);
}
.lottery-modal[hidden] { display: none; }
.lottery-modal {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 1rem;
}
.lottery-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 7, 19, 0.72);
  backdrop-filter: blur(10px);
}
.lottery-modal-card {
  position: relative;
  width: min(34rem, 100%);
  padding: 2rem;
  text-align: center;
  border: 1px solid rgba(245, 184, 68, 0.58);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 0%, rgba(245, 184, 68, 0.24), transparent 14rem),
    linear-gradient(180deg, rgba(12, 31, 70, 0.96), rgba(3, 10, 27, 0.94));
  box-shadow: 0 0 70px rgba(245, 184, 68, 0.28), 0 26px 80px rgba(0, 0, 0, 0.48);
  animation: modalReveal 0.32s ease both;
}
.lottery-modal-card h2 {
  margin: 0.8rem 0 0.55rem;
  font-size: clamp(2rem, 6vw, 3.8rem);
  color: transparent;
  background: linear-gradient(180deg, #fff6c2, #f5b844 56%, #ba7410);
  -webkit-background-clip: text;
  background-clip: text;
  filter: drop-shadow(0 0 18px rgba(245, 184, 68, 0.4));
}
.lottery-modal-card strong {
  display: block;
  color: #fff;
  font-size: 1.35rem;
  margin-bottom: 0.7rem;
}
.modal-prize-figure {
  width: min(22rem, 100%);
  aspect-ratio: 16 / 10;
  margin: 0.2rem auto 1rem;
  overflow: hidden;
  border: 1px solid rgba(245, 184, 68, 0.58);
  border-radius: 6px;
  background: rgba(2, 7, 19, 0.62);
  box-shadow: 0 0 30px rgba(245, 184, 68, 0.22), 0 0 24px rgba(20, 150, 255, 0.16);
}
.modal-prize-figure img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.lottery-modal-card p {
  color: #dce8ff;
  line-height: 1.75;
  margin-bottom: 1.2rem;
}
@keyframes lotteryOrbit {
  from { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.04); }
  to { transform: rotate(360deg) scale(1); }
}
@keyframes lotterySweep {
  to { transform: rotate(360deg); }
}
@keyframes fillerLight {
  from { transform: translateX(-6%) translateY(-4%); opacity: 0.55; }
  to { transform: translateX(8%) translateY(5%); opacity: 1; }
}
@keyframes modalReveal {
  from { opacity: 0; transform: translateY(14px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 920px) {
  .site-header { grid-template-columns: 1fr auto; }
  .menu-toggle { display: inline-grid; place-items: center; width: 2.8rem; height: 2.8rem; color: #fff; background: rgba(4, 15, 36, 0.9); border: 1px solid var(--line); border-radius: 4px; font-size: 1.3rem; }
  .site-nav {
    display: none;
    grid-column: 1 / -1;
    width: 100%;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0.5rem 0;
  }
  .site-nav.open { display: grid; }
  .hero { min-height: auto; padding: 4rem 0; }
  .home-hero::before { inset: 0 calc(50% - 50vw); }
  .feature-grid, .feature-grid.three, .feature-grid.four, .split-section, .about-layout, .rule-row, .trader-grid, .podium, .timeline-grid, .lottery-grid { grid-template-columns: 1fr 1fr; }
  .podium .gold { grid-column: 1 / -1; grid-row: 1; }
  .ranking-toolbar { flex-wrap: wrap; width: 100%; }
  .ranking-summary { grid-template-columns: 5rem 1fr; }
  .summary-trophy { display: none; }
}

@media (max-width: 560px) {
  main { width: min(100% - 1rem, 1180px); }
  .site-header { padding: 0.8rem; }
  .brand strong { font-size: 1.3rem; }
  .brand small { display: none; }
  h1 { font-size: clamp(2.4rem, 15vw, 4rem); }
  .hero { padding-top: 3rem; }
  .feature-grid, .feature-grid.three, .feature-grid.four, .split-section, .about-layout, .rule-row, .trader-grid, .podium, .score-layout, .timeline-grid, .audience ul, .lottery-grid { grid-template-columns: 1fr; }
  .page-shell { padding-top: 2rem; }
  .page-hero { min-height: 12rem; }
  .rule-highlight { grid-template-columns: 1fr; }
  .rule-visual { min-height: 12rem; }
  .ranking-toolbar { align-items: stretch; }
  .tab { width: 100%; }
  .ranking-summary { grid-template-columns: 1fr; }
  .summary-medal { margin: 0 auto; }
  .about-benefit-card { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .about-benefit-copy h3::after { margin-inline: auto; }
  .business-city-element { height: 7rem; }
  .prize-card, .prize-card.gold { min-height: 0; }
  .lottery-card { min-height: 21rem; grid-template-rows: 13rem 1fr; }
  .cdk-panel { grid-template-columns: 1fr; }
}
