@font-face {
  font-family: 'ThuPhap';
  src: url('/fonts/thuphap.ttf') format('truetype');
  font-display: swap;
  font-weight: 400 700;
}

:root {
  --ink-black: #0a0b0f;
  --ink-deep: #13141a;
  --ink-mid: #1c1e26;
  --ink-soft: #252834;
  --jade-deep: #064e3b;
  --jade: #0d9488;
  --jade-bright: #2dd4bf;
  --jade-glow: #5eead4;
  --azure: #0891b2;
  --azure-bright: #22d3ee;
  --gold: #c9a961;
  --gold-bright: #e4c674;
  --gold-pale: #f5e6c0;
  --seal-red: #b91c1c;
  --seal-blood: #7f1d1d;
  --ivory: #f5f0e1;
  --bone: #d6cdb4;
  --ash: #8a8475;
  --slate: #4a4d5a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  background: var(--ink-black);
  color: var(--ivory);
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* ===== ATMOSPHERIC BACKGROUND ===== */
.bg-layer { position: fixed; inset: 0; pointer-events: none; z-index: 0; }

.bg-gradient {
  background:
    radial-gradient(ellipse at 15% 5%, rgba(13, 148, 136, 0.18) 0%, transparent 45%),
    radial-gradient(ellipse at 85% 15%, rgba(8, 145, 178, 0.14) 0%, transparent 50%),
    radial-gradient(ellipse at 75% 85%, rgba(201, 169, 97, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 50%, rgba(94, 234, 212, 0.03) 0%, transparent 70%),
    linear-gradient(180deg, #0a0b0f 0%, #0d0f15 50%, #0a0b0f 100%);
}

.bg-moon { z-index: 1; }
.bg-moon::before {
  content: '';
  position: absolute; top: 8%; right: 12%;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 230, 192, 0.12) 0%, rgba(245, 230, 192, 0.04) 40%, transparent 70%);
  filter: blur(2px);
  animation: moonGlow 8s ease-in-out infinite;
}
.bg-moon::after {
  content: '';
  position: absolute; top: 11%; right: 15%;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 230, 192, 0.18) 0%, rgba(228, 198, 116, 0.08) 30%, transparent 60%);
  box-shadow: 0 0 80px 20px rgba(228, 198, 116, 0.08);
}
@keyframes moonGlow {
  0%, 100% { opacity: 0.7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.bg-mountains { z-index: 2; bottom: 0; height: 100vh; }
.bg-mountains svg { position: absolute; bottom: 0; left: 0; width: 100%; height: 100%; }

.bg-mist { z-index: 3; overflow: hidden; }
.mist {
  position: absolute; width: 200%; height: 120px;
  background: linear-gradient(90deg, transparent 0%, rgba(94, 234, 212, 0.04) 20%, rgba(94, 234, 212, 0.08) 40%, rgba(94, 234, 212, 0.06) 60%, rgba(94, 234, 212, 0.03) 80%, transparent 100%);
  filter: blur(20px);
  animation: mistDrift 60s linear infinite;
}
.mist-1 { top: 25%; animation-duration: 80s; opacity: 0.6; }
.mist-2 { top: 55%; animation-duration: 110s; animation-direction: reverse; opacity: 0.5; height: 80px; }
.mist-3 { top: 75%; animation-duration: 95s; opacity: 0.4; height: 150px; }
@keyframes mistDrift { from { transform: translateX(-50%); } to { transform: translateX(0%); } }

.bg-pattern {
  z-index: 4;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%235eead4' stroke-width='0.6'%3E%3Cpath d='M20 60 Q20 50 30 50 Q40 50 40 60 Q40 70 30 70 Q20 70 20 60 Z M40 60 L60 60 M60 60 Q60 50 70 50 Q80 50 80 60 Q80 70 70 70 Q60 70 60 60 Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 120px 120px;
}

.bg-petals { z-index: 5; overflow: hidden; }
.petal {
  position: absolute; top: -20px; width: 8px; height: 8px;
  opacity: 0; animation: petalFall linear infinite;
}
.petal svg { width: 100%; height: 100%; }
@keyframes petalFall {
  0% { opacity: 0; transform: translateY(-20px) translateX(0) rotate(0deg); }
  5% { opacity: 0.5; }
  50% { transform: translateY(50vh) translateX(40px) rotate(180deg); opacity: 0.7; }
  95% { opacity: 0.5; }
  100% { opacity: 0; transform: translateY(110vh) translateX(-30px) rotate(360deg); }
}

.bg-grain {
  z-index: 6;
  background-image:
    repeating-linear-gradient(0deg, transparent 0px, transparent 2px, rgba(255,255,255,0.008) 3px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.9' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 0.9 0 0 0 0 0.85 0 0 0 0 0.7 0 0 0 0.025 0'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.5;
}

.bg-stars { z-index: 1; }
.star {
  position: absolute; width: 2px; height: 2px;
  background: var(--gold-pale); border-radius: 50%;
  box-shadow: 0 0 4px var(--gold-pale);
  animation: twinkle 4s ease-in-out infinite;
}
@keyframes twinkle {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  50% { opacity: 0.9; transform: scale(1.2); }
}

.ink-splash { position: fixed; pointer-events: none; z-index: 2; opacity: 0.08; }
.ink-splash.left { top: 30%; left: -100px; transform: rotate(-15deg); width: 400px; }
.ink-splash.right { bottom: 20%; right: -120px; transform: rotate(20deg); width: 350px; }

.container { position: relative; z-index: 10; max-width: 1400px; margin: 0 auto; padding: 2.5rem 2rem 5rem; }

/* ===== HEADER (centered calligraphy) ===== */
.site-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(201, 169, 97, 0.15);
  margin-bottom: 3.5rem;
  position: relative;
}

.header-title { text-align: center; }

.calli-line {
  font-family: 'ThuPhap', 'Tangerine', cursive;
  font-weight: 700;
  color: var(--gold-bright);
  line-height: 0.95;
  text-shadow: 0 2px 24px rgba(228, 198, 116, 0.35), 0 0 6px rgba(0,0,0,0.4);
  letter-spacing: 0.02em;
}
.calli-top    { font-size: 4.5rem; }
.calli-bottom { font-size: 6.2rem; color: var(--ivory); margin-top: -0.25rem; }

.header-sub {
  margin-top: 1rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem;
  letter-spacing: 0.5em;
  color: var(--jade-bright);
  text-transform: uppercase;
  text-indent: 0.5em;
}

.header-meta {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: var(--ash);
  letter-spacing: 0.1em;
  flex-wrap: wrap;
  justify-content: center;
}
.header-meta .live-dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--jade-bright); border-radius: 50%;
  box-shadow: 0 0 8px var(--jade-bright);
  animation: pulse 2s infinite;
  margin-right: 0.4rem; vertical-align: middle;
}
.header-meta .season {
  color: var(--gold-bright);
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* ===== SECTION HEADER ===== */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(201, 169, 97, 0.15);
  position: relative;
}
.section-header::after {
  content: '';
  position: absolute; bottom: -1px; left: 0;
  width: 80px; height: 1px;
  background: linear-gradient(90deg, var(--gold-bright), transparent);
}
.section-title-block { display: flex; flex-direction: column; gap: 0.5rem; }
.section-title-block .eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.7rem; letter-spacing: 0.4em;
  color: var(--jade-bright);
  text-transform: uppercase;
}
.section-title-block h2 {
  font-family: 'ThuPhap', 'Tangerine', cursive;
  font-weight: 700;
  font-size: 2.6rem;
  letter-spacing: 0;
  color: var(--gold-bright);
  line-height: 1.1;
  text-shadow: 0 2px 16px rgba(228, 198, 116, 0.25);
}
.section-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--ash);
  font-size: 1rem;
}

/* ===== POEM BLOCK (above Tam Dai Cao Thu) ===== */
.poem {
  text-align: center;
  margin: 1rem auto 4rem;
  width: 100%;
  position: relative;
  padding: 2rem 1rem;
  overflow-x: auto;
}
.poem::before,
.poem::after {
  content: '';
  display: block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
  opacity: 0.5;
}
.poem::before { top: 0; }
.poem::after  { bottom: 0; }
.poem p {
  font-family: 'ThuPhap', 'Tangerine', cursive;
  font-size: clamp(1.5rem, 3.6vw, 3.2rem);
  line-height: 1.5;
  color: var(--gold-pale);
  margin: 0.25rem 0;
  text-shadow: 0 0 22px rgba(228, 198, 116, 0.28), 0 1px 2px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.poem p:nth-child(2) { margin-bottom: 1.2rem; }
@media (max-width: 1100px) {
  .poem { margin: 0.5rem auto 3rem; padding: 1.5rem 0.5rem; }
}
@media (max-width: 640px) {
  .poem::before, .poem::after { width: 120px; }
}

/* ===== TOP 3 PODIUM ===== */
.podium-section { margin-bottom: 5rem; }

.podium {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 1.5rem;
  align-items: end;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  padding: 4rem 1rem 0;
}

.podium-spotlight {
  position: absolute; top: -60px;
  width: 200px; height: 600px;
  pointer-events: none; z-index: 0;
  transform-origin: top center;
}
.podium-spotlight.center {
  left: 50%; transform: translateX(-50%);
  background: linear-gradient(180deg, rgba(228, 198, 116, 0.18) 0%, transparent 70%);
  filter: blur(8px); width: 280px;
}
.podium-spotlight.left {
  left: 14%;
  background: linear-gradient(180deg, rgba(180, 200, 215, 0.10) 0%, transparent 70%);
  filter: blur(6px);
}
.podium-spotlight.right {
  right: 14%;
  background: linear-gradient(180deg, rgba(205, 127, 50, 0.10) 0%, transparent 70%);
  filter: blur(6px);
}

.podium-spot {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}
.podium-spot.empty { opacity: 0.35; filter: grayscale(0.8); }

.rank-medal {
  margin-bottom: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.crown-svg { width: 50px; height: 50px; filter: drop-shadow(0 0 12px rgba(228, 198, 116, 0.6)); }
.spot-2 .crown-svg { width: 38px; height: 38px; filter: drop-shadow(0 0 8px rgba(192, 192, 192, 0.5)); }
.spot-3 .crown-svg { width: 34px; height: 34px; filter: drop-shadow(0 0 8px rgba(205, 127, 50, 0.5)); }

.medal-roman {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
}
.spot-1 .medal-roman { color: var(--gold-bright); text-shadow: 0 0 10px rgba(228, 198, 116, 0.6); font-size: 1.7rem; }
.spot-2 .medal-roman { color: #d4d4d4; text-shadow: 0 0 8px rgba(192, 192, 192, 0.4); }
.spot-3 .medal-roman { color: #cd7f32; text-shadow: 0 0 8px rgba(205, 127, 50, 0.4); }

.portrait-wrapper { position: relative; margin-bottom: 1.25rem; }

.portrait-frame {
  width: 170px; height: 170px;
  border-radius: 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 2px solid var(--gold);
  background: linear-gradient(135deg, var(--jade-deep), var(--ink-mid));
  box-shadow: 0 0 0 4px var(--ink-deep), 0 0 0 5px rgba(201, 169, 97, 0.3), 0 0 40px rgba(228, 198, 116, 0.3);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.spot-1 .portrait-frame {
  width: 200px; height: 200px;
  border-color: var(--gold-bright);
  box-shadow: 0 0 0 4px var(--ink-deep), 0 0 0 6px var(--gold), 0 0 0 7px rgba(228, 198, 116, 0.4), 0 0 60px rgba(228, 198, 116, 0.5);
}
.spot-2 .portrait-frame {
  width: 160px; height: 160px;
  border-color: #d4d4d4;
  box-shadow: 0 0 0 4px var(--ink-deep), 0 0 0 5px rgba(192, 192, 192, 0.4), 0 0 35px rgba(192, 192, 192, 0.25);
}
.spot-3 .portrait-frame {
  width: 150px; height: 150px;
  border-color: #cd7f32;
  box-shadow: 0 0 0 4px var(--ink-deep), 0 0 0 5px rgba(205, 127, 50, 0.4), 0 0 30px rgba(205, 127, 50, 0.25);
}
.portrait-frame:hover { transform: translateY(-4px) scale(1.02); }
.portrait-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.portrait-frame .initial {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 4rem;
  color: var(--gold-bright);
}
.spot-2 .portrait-frame .initial { color: #e0e0e0; font-size: 3.5rem; }
.spot-3 .portrait-frame .initial { color: #e09850; font-size: 3.2rem; }

.player-banner { text-align: center; margin-bottom: 1.25rem; }
.player-banner .name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ivory);
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}
.spot-1 .player-banner .name {
  font-size: 1.6rem;
  color: var(--gold-pale);
  text-shadow: 0 0 20px rgba(228, 198, 116, 0.4);
}
.player-banner .tier-line {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--ash);
}

.podium-block {
  width: 100%;
  background: linear-gradient(180deg, rgba(28, 30, 38, 0.6) 0%, rgba(19, 20, 26, 0.9) 100%);
  border: 1px solid rgba(201, 169, 97, 0.2);
  border-bottom: none;
  padding: 1.25rem 1rem 1.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}
.block-1 {
  height: 200px;
  border-color: var(--gold-bright);
  background: linear-gradient(180deg, rgba(201, 169, 97, 0.12) 0%, rgba(28, 30, 38, 0.7) 50%, rgba(19, 20, 26, 0.95) 100%);
  box-shadow: 0 -10px 60px -10px rgba(228, 198, 116, 0.3);
}
.block-2 {
  height: 150px;
  border-color: rgba(192, 192, 192, 0.4);
  background: linear-gradient(180deg, rgba(192, 192, 192, 0.08) 0%, rgba(28, 30, 38, 0.7) 50%, rgba(19, 20, 26, 0.95) 100%);
}
.block-3 {
  height: 110px;
  border-color: rgba(205, 127, 50, 0.4);
  background: linear-gradient(180deg, rgba(205, 127, 50, 0.06) 0%, rgba(28, 30, 38, 0.7) 50%, rgba(19, 20, 26, 0.95) 100%);
}

.block-rank-num {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}
.block-1 .block-rank-num { color: var(--gold-bright); text-shadow: 0 0 20px rgba(228, 198, 116, 0.5); font-size: 3rem; }
.block-2 .block-rank-num { color: #d4d4d4; }
.block-3 .block-rank-num { color: #cd7f32; }

.block-stats {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  justify-content: center;
}
.block-stat { display: flex; flex-direction: column; align-items: center; gap: 0.15rem; }
.block-stat .label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  color: var(--ash);
  text-transform: uppercase;
}
.block-stat .value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.1rem;
  color: var(--ivory);
  font-weight: 500;
}
.block-1 .block-stat .value { font-size: 1.3rem; color: var(--gold-pale); }
.block-divider {
  width: 1px; height: 28px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  opacity: 0.5;
}

/* ===== RANKING TABLE ===== */
.ranking-section { margin-bottom: 5rem; }

.ranking-table {
  background: linear-gradient(180deg, rgba(28, 30, 38, 0.5) 0%, rgba(19, 20, 26, 0.85) 100%);
  border: 1px solid rgba(201, 169, 97, 0.15);
}

.ranking-head {
  display: grid;
  grid-template-columns: 70px 1fr 220px 130px 100px 90px;
  padding: 1rem 1.75rem;
  border-bottom: 1px solid rgba(201, 169, 97, 0.2);
  background: rgba(201, 169, 97, 0.04);
  gap: 1rem;
}
.ranking-head span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 500;
}
.ranking-head .col-wr { text-align: right; }
.ranking-head .col-pts { text-align: right; }

.ranking-empty {
  padding: 4rem 1.75rem;
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--ash);
  font-size: 1.05rem;
}

.ranking-row {
  display: grid;
  grid-template-columns: 70px 1fr 220px 130px 100px 90px;
  padding: 1.1rem 1.75rem;
  border-bottom: 1px solid rgba(201, 169, 97, 0.05);
  align-items: center;
  gap: 1rem;
  transition: background 0.25s, transform 0.25s;
}
.ranking-row:last-child { border-bottom: none; }
.ranking-row:hover {
  background: rgba(45, 212, 191, 0.04);
  transform: translateX(4px);
}

.rank-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ash);
}
.rank-num.top-1 { color: var(--gold-bright); }
.rank-num.top-2 { color: #d4d4d4; }
.rank-num.top-3 { color: #cd7f32; }

.rank-player { display: flex; align-items: center; gap: 0.85rem; }
.rank-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--jade-deep), var(--ink-mid));
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--gold-bright);
  flex-shrink: 0;
  overflow: hidden;
}
.rank-avatar img { width: 100%; height: 100%; object-fit: cover; }
.rank-info .name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  color: var(--ivory);
  letter-spacing: 0.04em;
}

.rank-tier-cell { display: flex; align-items: center; gap: 0.6rem; }
.tier-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px currentColor;
}
.rank-tier-cell .tier-name-cell {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.rank-tier-cell .tier-vn {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem;
  color: var(--ivory);
  letter-spacing: 0.04em;
}
.rank-tier-cell .tier-range {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--ash);
}

.rank-winrate {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
  color: var(--bone);
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.2rem;
}
.rank-winrate .wr-bar {
  width: 80px; height: 3px;
  background: rgba(201, 169, 97, 0.15);
  overflow: hidden;
  border-radius: 2px;
}
.rank-winrate .wr-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--jade), var(--jade-bright));
  box-shadow: 0 0 6px rgba(45, 212, 191, 0.4);
}

.rank-points {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1rem;
  color: var(--gold-bright);
  text-align: right;
  font-weight: 500;
}

.rank-trend {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-align: center;
}
.rank-trend.up { color: var(--jade-bright); }
.rank-trend.down { color: var(--seal-red); opacity: 0.8; }
.rank-trend.same { color: var(--ash); opacity: 0.5; }
.rank-trend.new { color: var(--gold); opacity: 0.7; }

/* ===== BOTTOM GRID ===== */
.bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2rem;
}

.panel {
  background: linear-gradient(180deg, rgba(28, 30, 38, 0.5) 0%, rgba(19, 20, 26, 0.85) 100%);
  border: 1px solid rgba(201, 169, 97, 0.15);
  position: relative;
}

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.75rem 1.25rem;
  border-bottom: 1px solid rgba(201, 169, 97, 0.12);
}
.panel-title .en {
  font-family: 'ThuPhap', 'Tangerine', cursive;
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--gold-bright);
  text-transform: none;
  text-shadow: 0 2px 12px rgba(228, 198, 116, 0.2);
}

.score-structure { padding: 1.5rem 1.75rem 1.75rem; }

.formula-bar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem;
  background: rgba(13, 148, 136, 0.05);
  border: 1px dashed rgba(94, 234, 212, 0.2);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--bone);
  text-transform: uppercase;
}
.formula-bar .op { color: var(--gold-bright); font-size: 1rem; }
.formula-bar .eq { color: var(--jade-bright); font-size: 1rem; }
.formula-bar .var {
  padding: 0.25rem 0.6rem;
  background: rgba(201, 169, 97, 0.08);
  border: 1px solid rgba(201, 169, 97, 0.2);
}

.score-components { display: flex; flex-direction: column; gap: 1rem; }
.score-comp {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1rem;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px dashed rgba(201, 169, 97, 0.1);
}
.score-comp:last-of-type { border-bottom: none; }
.score-comp .comp-pct {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-bright);
  text-align: center;
}
.score-comp .comp-info { display: flex; flex-direction: column; gap: 0.15rem; }
.score-comp .comp-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem;
  color: var(--ivory);
  letter-spacing: 0.05em;
}
.score-comp .comp-desc {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.85rem;
  color: var(--ash);
}

/* Tier Ladder */
.tier-ladder { padding: 0; }

.tier-row {
  display: grid;
  grid-template-columns: 50px 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.75rem;
  border-bottom: 1px solid rgba(201, 169, 97, 0.05);
  transition: background 0.25s;
}
.tier-row:last-child { border-bottom: none; }
.tier-row:hover { background: rgba(201, 169, 97, 0.04); }

.tier-badge {
  width: 42px; height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid;
  border-radius: 50%;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1rem;
}

.tier-info { display: flex; flex-direction: column; gap: 0.2rem; }
.tier-info .tier-vn-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  color: var(--ivory);
  letter-spacing: 0.06em;
  font-weight: 500;
}
.tier-info .tier-desc {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.8rem;
  color: var(--ash);
}

.tier-range {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: var(--bone);
  text-align: right;
  letter-spacing: 0.05em;
}
.tier-range .max { color: var(--ash); opacity: 0.6; }

/* ===== FOOTER ===== */
footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(201, 169, 97, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--ash);
  font-size: 0.9rem;
  flex-wrap: wrap;
  gap: 1rem;
}
footer .quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: normal;
  letter-spacing: 0.15em;
  color: var(--gold);
  opacity: 0.7;
}

/* ===== ENTRANCE ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.site-header, .podium-section, .ranking-section, .bottom-grid, footer {
  animation: fadeUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.podium-section { animation-delay: 0.1s; }
.ranking-section { animation-delay: 0.3s; }
.bottom-grid { animation-delay: 0.45s; }
footer { animation-delay: 0.6s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .calli-top    { font-size: 3.5rem; }
  .calli-bottom { font-size: 4.8rem; }
  .podium { grid-template-columns: 1fr; gap: 2rem; max-width: 400px; }
  .spot-1, .spot-2, .spot-3 { order: unset; }
  .block-1, .block-2, .block-3 { height: auto; min-height: 110px; }
  .podium-spotlight { display: none; }
  .ranking-head, .ranking-row { grid-template-columns: 60px 1fr 130px 90px 60px; }
  .ranking-head .col-tier, .ranking-row .rank-tier-cell { display: none; }
  .bottom-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .container { padding: 1.5rem 1rem 3rem; }
  .calli-top    { font-size: 2.6rem; }
  .calli-bottom { font-size: 3.4rem; }
  .header-sub { font-size: 0.7rem; letter-spacing: 0.3em; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .section-title-block h2 { font-size: 2.2rem; }
  .panel-title .en { font-size: 1.6rem; }
  .ranking-head, .ranking-row { grid-template-columns: 50px 1fr 80px 50px; gap: 0.5rem; padding: 0.85rem 1rem; }
  .ranking-head .col-wr, .ranking-row .rank-winrate { display: none; }
  .tier-row { padding: 0.85rem 1rem; }
  .ranking-head .col-pts { text-align: right; }
}