* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: #f5f5f5;
  background: #080a07;
  overflow-x: hidden;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at top left, rgba(166, 255, 0, 0.22), transparent 35%),
    radial-gradient(circle at top right, rgba(255, 217, 0, 0.16), transparent 30%),
    linear-gradient(135deg, #070907, #12150f 60%, #070907);
}

.site-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 900;
  cursor: pointer;
  user-select: none;
}

.site-header nav {
  display: flex;
  gap: 18px;
}

.site-header nav a {
  color: #f5f5f5;
  text-decoration: none;
  font-weight: 900;
}

.site-header nav a:hover {
  color: #b6ff00;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.badge {
  background: #b6ff00;
  color: #111;
  font-weight: 900;
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: 0 0 30px rgba(182, 255, 0, 0.35);
}

.streak-pill {
  background: rgba(182, 255, 0, 0.12);
  border: 1px solid rgba(182, 255, 0, 0.4);
  color: #b6ff00;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.hero {
  text-align: center;
  padding: 40px 20px 25px;
}

.eyebrow {
  color: #b6ff00;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 13px;
  font-weight: 900;
}

h1 {
  font-size: clamp(56px, 8vw, 104px);
  line-height: 0.9;
  margin: 12px auto;
  max-width: 950px;
  font-weight: 1000;
  text-transform: uppercase;
}

.subtitle {
  font-size: 22px;
  color: #cfcfcf;
}

.committee-box {
  max-width: 700px;
  margin: 16px auto 0;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(182, 255, 0, 0.06);
  border: 1px solid rgba(182, 255, 0, 0.18);
  color: #e8e8e8;
  line-height: 1.45;
  font-size: 15px;
}

.committee-box strong {
  color: #b6ff00;
}

.matchup {
  max-width: 1200px;
  margin: 35px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 150px 1fr;
  gap: 24px;
  align-items: center;
}

.card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  background: rgba(24, 26, 21, 0.92);
  border: 1px solid rgba(182, 255, 0, 0.22);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.vote-card {
  cursor: pointer;
}

.vote-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(182, 255, 0, 0.75);
  box-shadow: 0 35px 100px rgba(182, 255, 0, 0.18);
}

.vote-card.voted {
  border-color: #b6ff00;
  box-shadow: 0 0 55px rgba(182, 255, 0, 0.35);
}

.card-label {
  background: #b6ff00;
  color: #111;
  text-align: center;
  font-weight: 1000;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 12px;
  font-size: 13px;
}

.player-img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  display: block;
}

/* Fix JGlov whale image crop */
#champion-img {
  object-position: center 18%;
}

/* Keep mirror pic centered nicely */
#challenger-img {
  object-position: center center;
}

.card-body {
  padding: 24px;
}

.card h2 {
  font-size: 42px;
  margin: 0;
  text-transform: uppercase;
}

.card h3 {
  color: #ffe45c;
  margin: 8px 0;
  font-size: 20px;
}

.nickname {
  color: #b6ff00;
  font-weight: 900;
  font-size: 18px;
}

.crimes {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}

.crimes li {
  background: rgba(255, 255, 255, 0.07);
  margin: 10px 0;
  padding: 13px 14px;
  border-radius: 14px;
  border-left: 4px solid #b6ff00;
  font-weight: 700;
  font-size: 15px;
}

.auto-roast {
  margin-top: 18px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 228, 92, 0.12);
  color: #ffe45c;
  font-weight: 800;
  font-size: 15px;
  line-height: 1.5;
}

.card-vote-button {
  width: 100%;
  margin-top: 18px;
  border: none;
  background: #b6ff00;
  color: #111;
  padding: 16px 18px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 1000;
  cursor: pointer;
}

.card-vote-button:hover {
  background: #d7ff6c;
}

.card-vote-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.vs-wrap {
  text-align: center;
}

.vs {
  width: 120px;
  height: 120px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: #ff3131;
  color: white;
  display: grid;
  place-items: center;
  font-size: 40px;
  font-weight: 1000;
  box-shadow: 0 0 45px rgba(255, 49, 49, 0.45);
}

.vs-wrap p {
  color: #cfcfcf;
  font-weight: 900;
  font-size: 14px;
  line-height: 1.4;
  margin: 0;
  text-transform: uppercase;
}

.results-section,
.roast-box,
.excuse-box {
  max-width: 900px;
  margin: 40px auto;
  padding: 32px;
  text-align: center;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.results-section h2,
.roast-box h2,
.excuse-box h2 {
  font-size: 34px;
  margin-top: 0;
}

.results-section p,
.roast-box p,
.excuse-box p {
  color: #d0d0d0;
  font-size: 18px;
  line-height: 1.6;
}

.results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 24px;
}

.result-box {
  background: rgba(0, 0, 0, 0.22);
  border-radius: 20px;
  padding: 18px;
  text-align: left;
}

.result-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-weight: 900;
  font-size: 18px;
}

.result-top strong {
  color: #b6ff00;
}

.bar {
  margin-top: 14px;
  height: 16px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  width: 0%;
  background: #b6ff00;
  border-radius: 999px;
  transition: width 0.35s ease;
}

.results-troll {
  margin-top: 22px;
  color: #ffe45c !important;
  font-weight: 900;
  font-size: 16px;
}

.excuse-box {
  background: rgba(182, 255, 0, 0.06);
}

.excuse-box p {
  color: #ffe45c;
  font-size: 20px;
  font-weight: 900;
}

.small-chaos-button {
  margin-top: 10px;
  border: none;
  background: #b6ff00;
  color: #111;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 1000;
  cursor: pointer;
}

.small-chaos-button:hover {
  background: #d7ff6c;
}

.history-grid {
  max-width: 1100px;
  margin: 35px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.history-card {
  overflow: hidden;
  border-radius: 26px;
  background: rgba(24, 26, 21, 0.92);
  border: 1px solid rgba(182, 255, 0, 0.22);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.history-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.history-card-body {
  padding: 22px;
}

.history-card h2 {
  margin: 0;
  font-size: 28px;
  text-transform: uppercase;
}

.history-card h3 {
  color: #b6ff00;
  margin: 8px 0;
}

.history-card p {
  color: #d0d0d0;
  line-height: 1.5;
}

footer {
  text-align: center;
  padding: 40px 20px;
  color: #777;
  font-size: 14px;
}

@media (max-width: 900px) {
  .site-header {
    gap: 16px;
    flex-direction: column;
  }

  .header-right {
    flex-direction: column;
    gap: 8px;
  }

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

  .vs-wrap {
    order: 2;
  }

  .challenger-card {
    order: 3;
  }

  .player-img {
    height: 360px;
  }

  #champion-img {
    object-position: center 15%;
  }

  .results-grid {
    grid-template-columns: 1fr;
  }
}
/* Fix Hall of Shame crop */
.history-card img {
  object-position: center 15%;
}
/* Support Button */
.support-button {
  text-decoration: none;
  background: #ff9900;
  color: #111;
  font-weight: 900;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13px;
  box-shadow: 0 0 20px rgba(255, 153, 0, 0.35);
  transition: all 0.2s ease;
}

.support-button:hover {
  background: #ffb84d;
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(255, 153, 0, 0.5);
}
