:root {
  --bg: #020202;
  --bg-soft: #0b0b0b;
  --panel: rgba(28, 8, 8, 0.9);
  --line: rgba(255, 45, 32, 0.55);
  --text: #f9f9f9;
  --muted: #d1bcbc;
  --accent: #e10600;
  --accent-2: #ff2d20;
  --max: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(225, 6, 0, 0.34) 0%, transparent 34%),
    radial-gradient(circle at 88% 85%, rgba(255, 45, 32, 0.3) 0%, transparent 38%),
    linear-gradient(155deg, #000000 0%, #090404 45%, #140202 100%);
  font-family: "Manrope", sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

.bg-orb {
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.22;
  pointer-events: none;
  z-index: -1;
}

.orb-a {
  background: #ff1d10;
  top: -130px;
  left: -120px;
  animation: driftA 10s ease-in-out infinite alternate;
}

.orb-b {
  background: #b30000;
  bottom: -170px;
  right: -100px;
  animation: driftB 12s ease-in-out infinite alternate;
}

@keyframes driftA {
  to {
    transform: translate(40px, 40px) scale(1.1);
  }
}

@keyframes driftB {
  to {
    transform: translate(-45px, -20px) scale(1.08);
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  max-width: var(--max);
  margin: 16px auto 0;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid var(--line);
  background: rgba(6, 1, 1, 0.78);
  backdrop-filter: blur(10px);
  border-radius: 100px;
  box-shadow: 0 0 22px rgba(225, 6, 0, 0.15);
}

.logo {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text);
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 18px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav a:hover {
  color: #ff8a80;
}

main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 36px 20px 80px;
}

.hero {
  padding: 90px 0 70px;
}

.eyebrow {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.1em;
  color: #ff6b61;
}

h1 {
  margin: 10px 0 16px;
  font-size: clamp(2.5rem, 6vw, 5.3rem);
  line-height: 0.95;
  font-family: "Barlow Condensed", sans-serif;
  letter-spacing: 0.02em;
}

.lead {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin: 30px 0 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), #ff3b30);
  color: #fff;
  box-shadow: 0 10px 28px rgba(225, 6, 0, 0.5);
}

.btn-ghost {
  color: var(--text);
  border-color: var(--line);
  background: rgba(30, 4, 4, 0.78);
}

.btn-youtube {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  background: linear-gradient(135deg, #ca0202, #8c0000);
}

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

.kpi {
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(45, 8, 8, 0.9), rgba(12, 4, 4, 0.94));
  border-radius: 16px;
  padding: 18px;
}

.kpi-value {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2rem;
  color: #ff7e73;
}

.kpi-label {
  margin: 2px 0 0;
  color: var(--muted);
}

.section {
  margin-top: 58px;
}

.section-head h2 {
  margin: 6px 0 0;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
}

.stats-subtitle {
  margin: 22px 0 10px;
  color: #ff9b94;
  font-weight: 700;
  letter-spacing: 0.02em;
}

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

.ranking-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  background: linear-gradient(165deg, rgba(48, 8, 8, 0.92), rgba(11, 3, 3, 0.96));
}

.ranking-title {
  margin: 0 0 10px;
  font-size: 1rem;
  color: #ffc6c2;
}

.ranking-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ranking-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  border-top: 1px solid rgba(255, 90, 79, 0.2);
  padding: 9px 0;
}

.ranking-list li:first-child {
  border-top: none;
  padding-top: 0;
}

.rank-player {
  color: #ffe0de;
  font-weight: 700;
}

.rank-value {
  color: #ff8f88;
  font-weight: 800;
}

.table-wrap {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  background: linear-gradient(170deg, rgba(34, 8, 8, 0.88), rgba(10, 3, 3, 0.94));
  -webkit-overflow-scrolling: touch;
}

table {
  width: 100%;
  min-width: 920px;
  border-collapse: collapse;
}

th,
td {
  padding: 14px 16px;
  text-align: left;
  white-space: nowrap;
}

td:first-child {
  font-weight: 700;
}

thead tr {
  background: rgba(255, 45, 32, 0.13);
}

tbody tr {
  border-top: 1px solid rgba(255, 90, 79, 0.2);
}

tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.cards {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card {
  border: 1px solid var(--line);
  background: linear-gradient(165deg, rgba(42, 10, 10, 0.88), rgba(11, 3, 3, 0.92));
  border-radius: 16px;
  padding: 18px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 75, 64, 0.65);
}

.card .date {
  margin: 0 0 12px;
  color: #ff8f88;
  font-weight: 700;
}

.card h3 {
  margin: 0 0 8px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.merch {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.merch-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  background: linear-gradient(160deg, rgba(58, 10, 10, 0.9), rgba(13, 3, 3, 0.95));
  overflow: hidden;
}

.merch-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.15) 50%, transparent 100%);
  transform: translateX(-150%);
  transition: transform 0.7s ease;
}

.merch-card:hover::after {
  transform: translateX(150%);
}

.tag {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 0.73rem;
  background: rgba(225, 6, 0, 0.16);
  color: #ff9188;
  border: 1px solid rgba(255, 75, 64, 0.5);
}

.merch-card h3 {
  margin: 12px 0 8px;
}

.merch-card p {
  margin: 0;
  color: var(--muted);
}

.price {
  margin-top: 12px;
  color: #ffb1a7;
  font-weight: 800;
}

.youtube-panel {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  background: linear-gradient(145deg, rgba(55, 8, 8, 0.9), rgba(13, 2, 2, 0.95));
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.youtube-panel p {
  margin: 0;
  color: var(--muted);
  max-width: 680px;
  line-height: 1.7;
}

.site-footer {
  max-width: var(--max);
  margin: 0 auto 40px;
  padding: 0 20px;
  color: var(--muted);
}

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

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

@media (max-width: 900px) {
  .cards,
  .merch,
  .hero-kpis {
    grid-template-columns: 1fr;
  }

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

  .hero-actions {
    flex-wrap: wrap;
  }

  .site-header {
    border-radius: 18px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 12px;
    margin-top: 8px;
  }

  .nav {
    flex-wrap: nowrap;
    gap: 8px;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav a {
    border: 1px solid rgba(255, 90, 79, 0.35);
    border-radius: 999px;
    padding: 7px 11px;
    font-size: 0.84rem;
    white-space: nowrap;
    background: rgba(35, 8, 8, 0.7);
  }
}

@media (max-width: 768px) {
  main {
    padding: 20px 14px 64px;
  }

  .hero {
    padding: 42px 0 28px;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 2.9rem);
    line-height: 0.95;
  }

  .lead {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .hero-actions {
    margin: 20px 0 22px;
  }

  .btn {
    flex: 1 1 calc(50% - 8px);
    min-height: 44px;
    padding: 12px 10px;
    font-size: 0.92rem;
  }

  .kpi {
    padding: 14px;
  }

  .kpi-value {
    font-size: 1.65rem;
  }

  .section {
    margin-top: 40px;
  }

  .section-head h2 {
    font-size: clamp(1.75rem, 8vw, 2.4rem);
  }

  .stats-subtitle {
    margin-top: 16px;
    font-size: 0.94rem;
  }

  .ranking-card {
    padding: 13px;
  }

  .ranking-list li {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  th,
  td {
    padding: 11px 12px;
    font-size: 0.88rem;
  }

  table {
    min-width: 760px;
  }

  .card,
  .merch-card,
  .youtube-panel {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .site-header {
    top: 6px;
    border-radius: 14px;
    gap: 6px;
  }

  .logo {
    font-size: 1.25rem;
  }

  .eyebrow {
    font-size: 0.82rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 9px;
  }

  .btn {
    width: 100%;
    flex: 1 1 100%;
  }

  .hero-kpis {
    gap: 10px;
  }

  .kpi-label {
    font-size: 0.86rem;
  }

  .rank-player {
    font-size: 0.9rem;
  }

  .rank-value {
    font-size: 0.95rem;
  }

  table {
    min-width: 700px;
  }
}
