/* ==========================================================================
   AMGT 投資エリートコンペティション — Premium Static Site
   デザインシステム：深紺×ゴールドのラグジュアリー基調 + ブランドブルー
   ========================================================================== */

:root {
  --ink-900: #0b1626;
  --ink-800: #12213a;
  --ink-700: #1c2f4d;
  --ink-600: #2b3d5c;

  --gold-300: #e8cf9a;
  --gold-400: #d4b26a;
  --gold-500: #c9a24b;
  --gold-600: #b08a3e;
  --gold-700: #8f6f30;

  --brand-blue: #147cc2;
  --brand-blue-soft: rgba(20, 124, 194, 0.1);
  --brand-rose: #ff5869;
  --brand-rose-soft: rgba(255, 88, 105, 0.12);

  --paper: #faf7f1;
  --paper-2: #f4ede1;
  --card: #ffffff;
  --line: rgba(18, 33, 58, 0.1);
  --line-gold: rgba(201, 162, 75, 0.32);

  --text-1: #20242d;
  --text-2: #4a5264;
  --text-3: #7b8191;

  --shadow-sm: 0 4px 14px rgba(18, 33, 58, 0.07);
  --shadow-md: 0 14px 34px rgba(18, 33, 58, 0.1);
  --shadow-lg: 0 26px 60px rgba(11, 22, 38, 0.16);
  --shadow-gold: 0 16px 40px rgba(201, 162, 75, 0.22);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --font-serif: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", "MS Mincho", serif;
  --font-sans: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", "Meiryo", system-ui, sans-serif;

  --header-h: 84px;
}

/* ---------- Reset / Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text-1);
  background:
    radial-gradient(1100px 480px at 85% -60px, rgba(201, 162, 75, 0.12), transparent 60%),
    radial-gradient(900px 420px at -10% 8%, rgba(20, 124, 194, 0.08), transparent 55%),
    linear-gradient(180deg, #fbf9f4 0%, var(--paper) 30%, var(--paper-2) 100%);
  line-height: 1.75;
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

::selection {
  background: rgba(201, 162, 75, 0.35);
  color: var(--ink-900);
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}
::-webkit-scrollbar-track {
  background: var(--paper-2);
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--gold-400), var(--gold-600));
  border-radius: 999px;
  border: 2px solid var(--paper-2);
}

.container {
  width: min(1240px, calc(100% - 40px));
  margin-inline: auto;
}

.section {
  padding: 88px 0 24px;
}

.section--tight {
  padding-top: 60px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
  white-space: nowrap;
}

.btn--gold {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: #fff;
  box-shadow: var(--shadow-gold);
}
.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(201, 162, 75, 0.34);
}

.btn--navy {
  background: linear-gradient(135deg, var(--ink-700), var(--ink-900));
  color: #fff;
  box-shadow: 0 14px 30px rgba(11, 22, 38, 0.28);
}
.btn--navy:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(11, 22, 38, 0.36);
}

.btn--line {
  background: transparent;
  border-color: var(--gold-500);
  color: var(--gold-600);
}
.btn--line:hover {
  background: rgba(201, 162, 75, 0.1);
  transform: translateY(-2px);
}

.btn--blue {
  background: linear-gradient(135deg, #2f9ae0, var(--brand-blue));
  color: #fff;
  box-shadow: 0 12px 28px rgba(20, 124, 194, 0.28);
}
.btn--blue:hover {
  transform: translateY(-2px);
}

.btn--sm {
  min-height: 40px;
  padding: 0 20px;
  font-size: 13px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(251, 249, 244, 0.82);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid rgba(201, 162, 75, 0.22);
  transition: box-shadow 0.3s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(11, 22, 38, 0.1);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
}
.brand img {
  height: 44px;
  width: auto;
}
.brand-caption {
  display: grid;
  gap: 0;
  line-height: 1.15;
}
.brand-caption strong {
  font-family: var(--font-serif);
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--ink-800);
}
.brand-caption small {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--gold-600);
  font-weight: 700;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-2);
  border-radius: 999px;
  transition: color 0.22s ease, background 0.22s ease;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-600));
  transform: translateX(-50%);
  transition: width 0.26s ease;
}
.main-nav a:hover {
  color: var(--ink-900);
}
.main-nav a:hover::after,
.main-nav a.is-active::after {
  width: 26px;
}
.main-nav a.is-active {
  color: var(--ink-900);
}

.header-cta {
  flex: none;
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 1px solid var(--line-gold);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.7);
}
.menu-toggle span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--ink-800);
  transition: transform 0.28s ease, opacity 0.28s ease;
}
.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile drawer */
.mobile-nav {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(251, 249, 244, 0.98);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line-gold);
  padding: 10px 20px 26px;
  transform: translateY(-16px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
}
.mobile-nav.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-1);
  border-bottom: 1px solid rgba(18, 33, 58, 0.07);
}
.mobile-nav a::after {
  content: "→";
  color: var(--gold-500);
  font-weight: 400;
}
.mobile-nav a.is-active {
  color: var(--gold-600);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 72px) 0 96px;
  background:
    radial-gradient(900px 460px at 82% -10%, rgba(201, 162, 75, 0.22), transparent 60%),
    radial-gradient(760px 420px at 8% 110%, rgba(20, 124, 194, 0.16), transparent 55%),
    linear-gradient(160deg, var(--ink-900) 0%, var(--ink-800) 52%, var(--ink-700) 100%);
  color: #fff;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(80% 90% at 50% 20%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(80% 90% at 50% 20%, #000 30%, transparent 75%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.42em;
  color: var(--gold-300);
  text-transform: uppercase;
}
.hero-kicker::before,
.hero-kicker::after {
  content: "";
  width: 44px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-400));
}
.hero-kicker::after {
  background: linear-gradient(90deg, var(--gold-400), transparent);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(34px, 5.4vw, 68px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: 0.06em;
  background: linear-gradient(180deg, #fff 20%, var(--gold-300) 120%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.hero-sub {
  margin-top: 22px;
  font-size: clamp(16px, 2vw, 21px);
  font-weight: 500;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.92);
}

.hero-desc {
  margin-top: 12px;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: rgba(232, 207, 154, 0.85);
}

.hero-actions {
  margin-top: 42px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  margin: 64px auto 0;
  max-width: 980px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  position: relative;
}
.hero-stat {
  padding: 22px 12px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(232, 207, 154, 0.22);
  backdrop-filter: blur(8px);
}
.hero-stat strong {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 900;
  color: var(--gold-300);
  letter-spacing: 0.04em;
}
.hero-stat span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.72);
}

/* Sub-page hero (banner) */
.sub-hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 58px;
  background:
    radial-gradient(820px 400px at 88% -20%, rgba(201, 162, 75, 0.2), transparent 60%),
    linear-gradient(150deg, var(--ink-900), var(--ink-800) 60%, var(--ink-700));
  color: #fff;
  overflow: hidden;
}
.sub-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}
.sub-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}
.sub-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4.4vw, 52px);
  font-weight: 900;
  letter-spacing: 0.1em;
  background: linear-gradient(180deg, #fff 30%, var(--gold-300));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.sub-hero .sub-hero-en {
  margin-top: 14px;
  font-size: 13px;
  letter-spacing: 0.4em;
  color: var(--gold-300);
  text-transform: uppercase;
}
.breadcrumb {
  margin-top: 22px;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.55);
}
.breadcrumb a:hover {
  color: var(--gold-300);
}
.breadcrumb .sep {
  margin: 0 10px;
  color: rgba(232, 207, 154, 0.6);
}

/* ---------- Section heading ---------- */
.section-head {
  text-align: center;
  margin-bottom: 48px;
}
.section-head .kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.34em;
  color: var(--gold-600);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section-head .kicker::before,
.section-head .kicker::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--line-gold);
}
.section-head h2 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.6vw, 42px);
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--ink-800);
  line-height: 1.3;
}
.section-head p {
  margin: 16px auto 0;
  max-width: 640px;
  color: var(--text-3);
  font-size: 15px;
}

/* ---------- Candidate cards ---------- */
.players-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.player-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.player-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-400), var(--brand-blue), var(--gold-400));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}
.player-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-gold);
}
.player-card:hover::before {
  opacity: 1;
}

.player-photo-wrap {
  position: relative;
  aspect-ratio: 4 / 3.4;
  overflow: hidden;
  background: linear-gradient(140deg, #eef3f9, #e4ecf5);
}
.player-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.player-card:hover .player-photo-wrap img {
  transform: scale(1.06);
}
.player-rank {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(11, 22, 38, 0.72);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
}
.player-rank .medal {
  color: var(--gold-300);
}

.player-votes-pill {
  position: absolute;
  right: 14px;
  bottom: -1px;
  z-index: 2;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(135deg, rgba(255, 88, 105, 0.12), rgba(232, 207, 154, 0.3));
  border: 1px solid rgba(255, 88, 105, 0.2);
  border-bottom: 0;
  color: var(--brand-blue);
  font-weight: 800;
  font-size: 14px;
  backdrop-filter: blur(4px);
}
.player-votes-pill b {
  font-family: var(--font-serif);
  font-size: 17px;
}

.player-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.player-name {
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--ink-800);
}
.player-title {
  font-size: 13.5px;
  color: var(--text-3);
  line-height: 1.7;
  min-height: 66px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.player-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 8px;
}
.player-actions .btn {
  min-height: 44px;
  padding: 0 14px;
  font-size: 13.5px;
}

.vote-btn.is-voted {
  background: #b9bec9 !important;
  color: #fff !important;
  box-shadow: none !important;
  cursor: default;
  transform: none !important;
}

/* ---------- Player modal ---------- */
.player-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(6, 12, 22, 0.78);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s;
}
.player-modal.is-open {
  opacity: 1;
  visibility: visible;
}
.player-modal__dialog {
  position: relative;
  width: min(860px, 100%);
  max-height: 88vh;
  overflow-y: auto;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, #fff, var(--paper));
  border: 1px solid var(--line-gold);
  box-shadow: var(--shadow-lg);
  padding: 40px 44px;
  transform: translateY(18px);
  transition: transform 0.3s ease;
}
.player-modal.is-open .player-modal__dialog {
  transform: translateY(0);
}
.player-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--text-2);
  font-size: 22px;
  transition: background 0.2s ease, color 0.2s ease;
}
.player-modal__close:hover {
  background: var(--ink-800);
  color: #fff;
}
.pm-grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}
.pm-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.pm-photo img {
  width: 100%;
  aspect-ratio: 4 / 4.6;
  object-fit: cover;
}
.pm-kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.3em;
  color: var(--gold-600);
  margin-bottom: 10px;
}
.pm-name {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 900;
  color: var(--ink-800);
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.pm-title {
  font-size: 14px;
  color: var(--text-3);
  line-height: 1.8;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}
.pm-body {
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 2;
}
.pm-body p {
  margin-bottom: 12px;
}
.pm-body p:last-child {
  margin-bottom: 0;
}
@media (max-width: 767px) {
  .player-modal__dialog {
    padding: 28px 22px;
  }
  .pm-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .pm-photo img {
    aspect-ratio: 16 / 10;
  }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  z-index: 3000;
  transform: translateX(-50%) translateY(16px);
  padding: 14px 26px;
  border-radius: 999px;
  background: rgba(11, 22, 38, 0.94);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  box-shadow: 0 18px 40px rgba(11, 22, 38, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---------- Partner marquee ---------- */
.partners-wrap {
  position: relative;
  overflow: hidden;
  padding: 8px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.partners-track {
  display: flex;
  gap: 40px;
  width: max-content;
  animation: partners-scroll 36s linear infinite;
}
.partners-wrap:hover .partners-track {
  animation-play-state: paused;
}
.partner-logo {
  height: 96px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(182, 223, 255, 0.45));
  opacity: 0.92;
  transition: filter 0.3s ease, opacity 0.3s ease;
}
.partner-logo:hover {
  filter: drop-shadow(0 6px 18px rgba(201, 162, 75, 0.55));
  opacity: 1;
}
@keyframes partners-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Media / history ---------- */
.media-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.video-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--ink-900);
}
.video-frame video {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}
.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.photo-tile {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3;
}
.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.photo-tile::after {
  content: "＋";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 40px;
  font-weight: 300;
  color: #fff;
  background: rgba(11, 22, 38, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.photo-tile:hover::after {
  opacity: 1;
}
.photo-tile:hover img {
  transform: scale(1.07);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 4000;
  display: grid;
  place-items: center;
  background: rgba(6, 12, 22, 0.88);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
  padding: 30px;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.lightbox img {
  max-width: min(1080px, 92vw);
  max-height: 84vh;
  border-radius: 12px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6);
}
.lightbox .lb-close {
  position: absolute;
  top: 22px;
  right: 26px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 24px;
  transition: background 0.2s ease;
}
.lightbox .lb-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ---------- Decor clouds ---------- */
.cloud {
  position: absolute;
  pointer-events: none;
  opacity: 0.5;
  z-index: 0;
  animation: cloud-drift 26s ease-in-out infinite alternate;
}
.cloud.c01 { width: 180px; top: 120px; left: -60px; }
.cloud.c02 { width: 140px; top: 300px; right: -40px; animation-delay: -6s; }
.cloud.c03 { width: 120px; top: 560px; left: -30px; animation-delay: -12s; }
.cloud.c04 { width: 170px; top: 720px; right: -60px; animation-delay: -18s; }
.cloud.c05 { width: 110px; top: 880px; left: 40px; animation-delay: -4s; }
@keyframes cloud-drift {
  from { transform: translateY(0) translateX(0); }
  to { transform: translateY(18px) translateX(26px); }
}
@media (max-width: 1600px) {
  .cloud { display: none; }
}

/* ---------- Event page ---------- */
.event-hero-img {
  margin-top: 0;
}
.event-hero-img img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
}
.event-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  padding-top: 56px;
}
.event-toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--line-gold);
  box-shadow: var(--shadow-sm);
  padding: 26px 24px;
}
.event-toc h3 {
  font-family: var(--font-serif);
  font-size: 16px;
  letter-spacing: 0.14em;
  color: var(--ink-800);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 12px;
}
.event-toc a {
  display: block;
  padding: 9px 4px;
  font-size: 13.5px;
  color: var(--text-2);
  border-bottom: 1px dashed rgba(18, 33, 58, 0.08);
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.event-toc a:hover {
  color: var(--gold-600);
  padding-left: 10px;
}

.event-section {
  margin-bottom: 56px;
}
.event-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  height: 54px;
  border-radius: 999px;
  background: linear-gradient(140deg, var(--ink-700), var(--ink-900));
  color: var(--gold-300);
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 900;
  box-shadow: var(--shadow-md);
  margin-bottom: 18px;
}
.event-section-title {
  font-family: var(--font-serif);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--ink-800);
  padding-bottom: 16px;
  margin-bottom: 26px;
  position: relative;
}
.event-section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 64px;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gold-400), transparent);
}

.copy {
  color: var(--text-2);
  font-size: 15.5px;
  line-height: 2;
}
.copy p {
  margin-bottom: 16px;
}
.copy p:last-child {
  margin-bottom: 0;
}
.copy strong {
  color: var(--ink-800);
}
.copy .lead {
  font-size: 16.5px;
  color: var(--text-1);
}

.event-img {
  margin-top: 26px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.event-img img {
  width: 100%;
}

.list-dot {
  position: relative;
  padding-left: 22px;
  margin-bottom: 8px;
}
.list-dot::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.85em;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
}
.list-dot--sub {
  padding-left: 42px;
  color: var(--text-3);
  font-size: 14.5px;
}
.list-dot--sub::before {
  width: 5px;
  height: 5px;
  background: var(--brand-blue);
  opacity: 0.7;
}

.prize-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  padding: 24px 26px;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  margin-bottom: 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.prize-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-gold);
}
.prize-card .prize-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(140deg, rgba(201, 162, 75, 0.16), rgba(201, 162, 75, 0.05));
  border: 1px solid var(--line-gold);
  font-size: 32px;
}
.prize-card .prize-name {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 900;
  color: var(--ink-800);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}
.prize-card .prize-name em {
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-600);
  margin-left: 8px;
  letter-spacing: 0.08em;
}
.prize-card .prize-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.9;
}
.prize-card .prize-list li::before {
  content: "◆";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 9px;
  color: var(--gold-500);
}

.note-box {
  margin-top: 20px;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  background: rgba(20, 124, 194, 0.07);
  border: 1px dashed rgba(20, 124, 194, 0.3);
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.9;
}

.event-summary {
  margin-top: 30px;
  padding: 44px 46px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(600px 240px at 90% -30%, rgba(201, 162, 75, 0.16), transparent 60%),
    linear-gradient(150deg, var(--ink-900), var(--ink-800));
  color: #fff;
  box-shadow: var(--shadow-lg);
}
.event-summary h2 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--gold-300);
  margin-bottom: 22px;
}
.event-summary p {
  font-size: 15.5px;
  line-height: 2.1;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 16px;
}
.event-summary p:last-child {
  margin-bottom: 0;
}

/* ---------- About page ---------- */
.about-hero {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 26px;
  align-items: stretch;
}
.about-intro {
  border-radius: var(--radius-xl);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 40px 42px;
  position: relative;
  overflow: hidden;
}
.about-intro::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-400), var(--brand-blue), var(--gold-400));
}
.about-intro h2 {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: var(--gold-600);
  margin-bottom: 18px;
}
.about-intro .big-name {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--ink-800);
  line-height: 1.2;
}
.about-intro .about-lead {
  margin: 16px 0 22px;
  font-size: 15px;
  color: var(--text-3);
  line-height: 2;
}
.about-intro .about-copy {
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 2;
}
.about-intro .about-copy p {
  margin-bottom: 12px;
}

.about-portrait {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
  min-height: 420px;
}
.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}
.feature-card {
  padding: 26px 26px 28px;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.feature-card .f-icon {
  font-size: 30px;
  margin-bottom: 14px;
}
.feature-card h3 {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 900;
  color: var(--ink-800);
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
.feature-card p {
  font-size: 13.5px;
  color: var(--text-3);
  line-height: 1.9;
}

.timeline {
  margin-top: 16px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold-400), rgba(201, 162, 75, 0.12));
}
.tl-item {
  position: relative;
  padding-left: 86px;
  margin-bottom: 34px;
}
.tl-dot {
  position: absolute;
  left: 18px;
  top: 6px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--card);
  border: 3px solid var(--gold-500);
  box-shadow: 0 0 0 5px rgba(201, 162, 75, 0.16);
}
.tl-period {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--gold-600);
  background: rgba(201, 162, 75, 0.12);
  border: 1px solid var(--line-gold);
  border-radius: 999px;
  padding: 5px 16px;
  margin-bottom: 12px;
}
.tl-card {
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: 30px 34px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.tl-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-gold);
}
.tl-card h3 {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 900;
  color: var(--ink-800);
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}
.tl-card p {
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 2;
  margin-bottom: 12px;
}
.tl-card p:last-child {
  margin-bottom: 0;
}
.tl-media {
  margin-top: 18px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.tl-media img {
  width: 100%;
  max-height: 380px;
  object-fit: cover;
}

/* ---------- Profile page ---------- */
.profile-hero {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  gap: 26px;
  align-items: stretch;
}
.profile-info {
  border-radius: var(--radius-xl);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 44px 46px;
  position: relative;
  overflow: hidden;
}
.profile-info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-400), var(--brand-blue), var(--gold-400));
}
.profile-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.34em;
  color: var(--gold-600);
  margin-bottom: 18px;
}
.profile-kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold-500);
}
.profile-info h1 {
  font-family: var(--font-serif);
  font-size: clamp(40px, 5vw, 60px);
  font-weight: 900;
  letter-spacing: 0.1em;
  color: var(--ink-800);
  line-height: 1.15;
  margin-bottom: 26px;
}
.badge-list {
  display: grid;
  gap: 12px;
}
.badge-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 13px 18px;
  border-radius: var(--radius-md);
  background: rgba(20, 124, 194, 0.05);
  border: 1px solid rgba(20, 124, 194, 0.14);
}
.badge-item .dot {
  flex: none;
  width: 9px;
  height: 9px;
  margin-top: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-blue), #76b7dd);
}
.badge-item p {
  font-size: 14.5px;
  color: var(--text-1);
}

.profile-portrait {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 440px;
  position: relative;
  background: linear-gradient(160deg, rgba(20, 124, 194, 0.14), rgba(201, 162, 75, 0.14));
  padding: 10px;
}
.profile-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius-xl) - 10px);
}

.section-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.info-card {
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: 30px 32px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-gold);
}
.info-card.full {
  grid-column: 1 / -1;
}
.info-card h3 {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 900;
  color: var(--ink-800);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.info-card h3 small {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--gold-600);
  margin-left: 10px;
  text-transform: uppercase;
}
.info-card p {
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 2;
  margin-bottom: 12px;
}
.info-card p:last-child {
  margin-bottom: 0;
}

.bullet-list {
  display: grid;
  gap: 12px;
}
.bullet-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.bullet-item .b-dot {
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  box-shadow: 0 0 0 4px rgba(201, 162, 75, 0.14);
}
.bullet-item p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-1);
  line-height: 1.9;
}

.quote-box {
  margin-top: 26px;
  padding: 34px 40px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(600px 220px at 100% -40%, rgba(201, 162, 75, 0.18), transparent 60%),
    linear-gradient(150deg, var(--ink-900), var(--ink-800));
  color: #fff;
  position: relative;
  overflow: hidden;
}
.quote-box::before {
  content: "“";
  position: absolute;
  top: -30px;
  left: 22px;
  font-family: var(--font-serif);
  font-size: 220px;
  color: rgba(232, 207, 154, 0.14);
  line-height: 1;
}
.quote-box p {
  position: relative;
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 2;
  color: var(--gold-300);
}

/* ---------- Awards page ---------- */
.awards-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 26px;
  align-items: start;
}
.awards-box {
  border-radius: var(--radius-xl);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 34px 36px;
}
.awards-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.34em;
  color: var(--gold-600);
  margin-bottom: 14px;
}
.awards-kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--gold-500);
}
.awards-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--ink-800);
  line-height: 1.3;
  margin-bottom: 14px;
}
.awards-note {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.9;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 88, 105, 0.06);
  border: 1px dashed rgba(255, 88, 105, 0.24);
  margin-bottom: 8px;
}

/* Turntable */
.wheel-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0 6px;
}
.wheel {
  position: relative;
  width: min(100%, 380px);
  aspect-ratio: 1;
}
.wheel-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 16px;
  background: linear-gradient(145deg, var(--ink-700), var(--ink-900));
  box-shadow:
    0 30px 60px rgba(11, 22, 38, 0.32),
    inset 0 0 0 2px rgba(232, 207, 154, 0.35);
}
.wheel-disc {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #0b1626;
  background: conic-gradient(
    from -22.5deg,
    #c9a24b 0deg 45deg,
    #2f9ae0 45deg 90deg,
    #b08a3e 90deg 135deg,
    #76b7dd 135deg 180deg,
    #e8cf9a 180deg 225deg,
    #147cc2 225deg 270deg,
    #8f6f30 270deg 315deg,
    #ff7f8e 315deg 360deg
  );
  box-shadow:
    inset 0 0 0 6px rgba(255, 255, 255, 0.18),
    inset 0 -12px 30px rgba(0, 0, 0, 0.14);
}
.wheel-seg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transform: rotate(var(--angle));
}
.wheel-seg span {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%) rotate(calc(var(--angle) * -1deg));
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.wheel-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  border: 0;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.2) 30%, transparent 32%),
    linear-gradient(145deg, #ff8a97, var(--brand-rose) 55%, #ff7f55);
  color: #fff;
  box-shadow: 0 16px 34px rgba(255, 88, 105, 0.34), inset 0 2px 10px rgba(255, 255, 255, 0.35);
  display: grid;
  place-items: center;
  align-content: center;
  gap: 2px;
  font-weight: 900;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.wheel-center:hover {
  transform: translate(-50%, -50%) scale(1.04);
}
.wheel-center small {
  display: block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.2em;
}
.wheel-center strong {
  display: block;
  font-size: 17px;
  letter-spacing: 0.08em;
}
.wheel-pointer {
  position: absolute;
  left: 50%;
  top: -6px;
  transform: translateX(-50%);
  z-index: 4;
  width: 0;
  height: 0;
  border-left: 18px solid transparent;
  border-right: 18px solid transparent;
  border-top: 30px solid var(--ink-900);
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.3));
}
.wheel-status {
  margin-top: 22px;
  text-align: center;
  font-size: 14.5px;
  color: var(--text-2);
  min-height: 28px;
  font-weight: 600;
}
.wheel-status strong {
  color: var(--gold-600);
}

/* Ranking */
.ranking-list {
  display: grid;
  gap: 16px;
}
.ranking-card {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.ranking-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--line-gold);
}
.ranking-card.is-top {
  border-color: var(--line-gold);
  background:
    radial-gradient(500px 160px at 100% 0%, rgba(201, 162, 75, 0.12), transparent 60%),
    var(--card);
}
.rank-avatar {
  position: relative;
  width: 84px;
  height: 84px;
  border-radius: 999px;
  overflow: hidden;
  border: 2px solid var(--line-gold);
  box-shadow: 0 10px 22px rgba(18, 33, 58, 0.16);
}
.rank-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rank-no {
  position: absolute;
  right: -4px;
  bottom: -4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  border: 2px solid var(--card);
}
.rank-info .rank-name {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 900;
  color: var(--ink-800);
  letter-spacing: 0.05em;
}
.rank-info .rank-label {
  display: inline-block;
  margin: 6px 0 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--gold-600);
  background: rgba(201, 162, 75, 0.12);
  border-radius: 999px;
  padding: 3px 12px;
}
.rank-info .rank-role {
  font-size: 12.5px;
  color: var(--text-3);
  line-height: 1.7;
}
.rank-votes {
  text-align: right;
  padding-right: 6px;
}
.rank-votes strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 900;
  color: var(--ink-800);
  line-height: 1.1;
}
.rank-votes span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--text-3);
}

/* Winners marquee */
.winners-box {
  margin-top: 26px;
  border-radius: var(--radius-xl);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 30px 34px;
  overflow: hidden;
}
.winners-box h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 900;
  color: var(--ink-800);
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.winners-marquee {
  height: 300px;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
}
.winners-track {
  display: grid;
  gap: 10px;
  animation: winners-scroll 46s linear infinite;
}
.winners-track:hover {
  animation-play-state: paused;
}
.winner-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 18px;
  border-radius: var(--radius-md);
  background: linear-gradient(120deg, rgba(20, 124, 194, 0.07), rgba(201, 162, 75, 0.08));
  border: 1px solid rgba(20, 124, 194, 0.12);
}
.winner-row .w-user {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-1);
}
.winner-row .w-user .w-ico {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}
.winner-row .w-time {
  font-size: 11.5px;
  color: var(--text-3);
  letter-spacing: 0.06em;
}
.winner-row .w-prize {
  font-size: 13px;
  font-weight: 800;
  color: var(--brand-blue);
  text-align: right;
  max-width: 46%;
}
@keyframes winners-scroll {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

/* Records */
.records-box {
  margin-top: 26px;
  border-radius: var(--radius-xl);
  background: var(--card);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  padding: 30px 34px;
}
.records-box h3 {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 900;
  color: var(--ink-800);
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}
.record-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: var(--paper);
  border: 1px solid var(--line);
  margin-bottom: 10px;
}
.record-row:last-child {
  margin-bottom: 0;
}
.record-row .r-title {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--ink-800);
}
.record-row .r-meta {
  font-size: 12px;
  color: var(--text-3);
  margin-top: 2px;
}
.record-row .r-badge {
  flex: none;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  background: linear-gradient(135deg, rgba(255, 88, 105, 0.12), rgba(232, 207, 154, 0.35));
  color: var(--brand-blue);
}

/* ---------- Signup page ---------- */
.signup-hero {
  margin-top: var(--header-h);
}
.signup-shell {
  max-width: 900px;
  margin-inline: auto;
  padding: 72px 0 90px;
}
.signup-head {
  text-align: center;
  margin-bottom: 44px;
}
.signup-head .tag {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 999px;
  background: rgba(201, 162, 75, 0.12);
  border: 1px solid var(--line-gold);
  color: var(--gold-600);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.26em;
  margin-bottom: 20px;
}
.signup-head h1 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--ink-800);
  line-height: 1.35;
}
.signup-head p {
  margin-top: 16px;
  color: var(--text-3);
  font-size: 15px;
}

.signup-copy {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 34px 38px;
  margin-bottom: 34px;
}
.signup-copy p {
  font-size: 14.5px;
  color: var(--text-2);
  line-height: 2.05;
  margin-bottom: 14px;
}
.signup-copy p:last-child {
  margin-bottom: 0;
}
.signup-copy .fit-list {
  margin: 8px 0 6px;
}
.signup-copy .fit-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 8px;
  font-size: 14.5px;
  color: var(--text-1);
}
.signup-copy .fit-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold-600);
  font-weight: 900;
}

.form-card {
  border-radius: var(--radius-xl);
  background:
    radial-gradient(600px 220px at 100% -20%, rgba(20, 124, 194, 0.08), transparent 60%),
    var(--card);
  border: 1px solid var(--line-gold);
  box-shadow: var(--shadow-md);
  padding: 46px 50px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}
.form-grid label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-800);
  letter-spacing: 0.04em;
}
.form-grid label .req {
  color: var(--brand-rose);
}
.form-grid input {
  width: 100%;
  border: 1px solid rgba(18, 33, 58, 0.16);
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font: inherit;
  font-size: 15px;
  color: var(--text-1);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
}
.form-grid input::placeholder {
  color: #aab1bf;
}
.form-grid input:focus {
  border-color: var(--brand-blue);
  box-shadow: 0 0 0 4px rgba(20, 124, 194, 0.12);
}
.form-submit {
  margin-top: 32px;
  display: grid;
  place-items: center;
}
.form-submit .btn {
  min-width: 280px;
  min-height: 56px;
  font-size: 16px;
  letter-spacing: 0.18em;
}
.form-privacy {
  margin-top: 18px;
  text-align: center;
  font-size: 12px;
  color: var(--text-3);
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 60px;
  background:
    radial-gradient(800px 300px at 90% -40%, rgba(201, 162, 75, 0.16), transparent 60%),
    linear-gradient(160deg, var(--ink-900), #0a1526);
  color: rgba(255, 255, 255, 0.72);
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr;
  gap: 48px;
  padding: 64px 0 48px;
}
.footer-brand img {
  height: 42px;
  margin-bottom: 18px;
}
.footer-brand p {
  font-size: 13.5px;
  line-height: 2;
  max-width: 380px;
  color: rgba(255, 255, 255, 0.6);
}
.footer-col h4 {
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.2em;
  color: var(--gold-300);
  margin-bottom: 20px;
}
.footer-col ul {
  display: grid;
  gap: 10px;
}
.footer-col a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.66);
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.footer-col a:hover {
  color: var(--gold-300);
  padding-left: 6px;
}
.footer-contact li {
  display: flex;
  gap: 10px;
  font-size: 13.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.66);
}
.footer-contact li .ic {
  color: var(--gold-400);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12.5px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.42);
}
.footer-bottom .legal {
  display: flex;
  gap: 22px;
}
.footer-bottom .legal a:hover {
  color: var(--gold-300);
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 900;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 1px solid var(--line-gold);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  color: var(--gold-600);
  font-size: 20px;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}
.to-top.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.to-top:hover {
  background: var(--gold-500);
  color: #fff;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1100px) {
  .main-nav a {
    padding: 10px 12px;
    font-size: 13.5px;
  }
  .players-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }
  .header-cta {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .event-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .event-toc {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
    padding: 18px 22px;
  }
  .event-toc h3 {
    width: 100%;
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
  }
  .event-toc a {
    border-bottom: 0;
    padding: 6px 2px;
  }
  .media-grid {
    grid-template-columns: 1fr;
  }
  .about-hero,
  .profile-hero {
    grid-template-columns: 1fr;
  }
  .about-portrait,
  .profile-portrait {
    min-height: 320px;
    max-height: 480px;
  }
  .awards-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  :root {
    --header-h: 68px;
  }
  .el-message-box{width: 90% !important;}
  .container {
    width: calc(100% - 28px);
  }
  .section {
    padding: 60px 0 16px;
  }
  .brand img {
    height: 34px;
  }
  .brand-caption {
    display: none;
  }
  .hero {
    padding: calc(var(--header-h) + 48px) 0 68px;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 44px;
  }
  .hero-stat {
    padding: 16px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 12px;
  }
  .hero-stat strong {
    font-size: 24px;
  }
  .hero-stat span {
    margin-top: 0;
    font-size: 11px;
  }
  .players-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .player-title {
    min-height: 0;
  }
  .photo-grid {
    gap: 12px;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .section-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .timeline::before {
    left: 15px;
  }
  .tl-item {
    padding-left: 52px;
  }
  .tl-dot {
    left: 8px;
    width: 16px;
    height: 16px;
  }
  .tl-card {
    padding: 22px;
  }
  .about-intro,
  .profile-info {
    padding: 30px 24px;
  }
  .awards-box {
    padding: 26px 22px;
  }
  .ranking-card {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 14px;
    padding: 16px;
  }
  .rank-avatar {
    width: 64px;
    height: 64px;
  }
  .rank-votes {
    grid-column: 1 / -1;
    text-align: left;
    padding-left: 78px;
  }
  .rank-votes strong {
    display: inline;
    font-size: 24px;
  }
  .form-card {
    padding: 30px 22px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .form-submit .btn {
    width: 100%;
    min-width: 0;
  }
  .event-summary {
    padding: 30px 24px;
  }
  .prize-card {
    grid-template-columns: 56px 1fr;
    padding: 20px;
    gap: 16px;
  }
  .prize-card .prize-icon {
    width: 56px;
    height: 56px;
    font-size: 26px;
  }
  .winners-box,
  .records-box {
    padding: 24px 20px;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 48px 0 36px;
  }
  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
  .quote-box {
    padding: 28px 22px;
  }
  .wheel {
    width: min(100%, 320px);
  }
  .wheel-center {
    width: 104px;
    height: 104px;
  }
  .wheel-center strong {
    font-size: 14px;
  }
  .winner-row .w-prize {
    max-width: 55%;
  }
}

@media (max-width: 420px) {
  .hero-actions .btn {
    width: 100%;
  }
  .player-actions {
    grid-template-columns: 1fr;
  }
}


.menu_bg{background: url(/template/web/assets/menu.png);background-size: 100%;width: 100%;height: 100%;}
.is-open .menu_bg{background: url(/template/web/assets/menu_x.png)!important;background-size: 100%!important;width: 100%;height: 100%;}