:root {
  --wc-accent: #67e8f9;
  --wc-accent-2: #60a5fa;
  --wc-border: rgba(103, 232, 249, 0.24);
}

body.worldcup-page {
  background:
    radial-gradient(circle at 10% 10%, rgba(56, 189, 248, 0.15), transparent 38%),
    radial-gradient(circle at 80% 0%, rgba(59, 130, 246, 0.14), transparent 38%),
    #0b0f14;
}

.wc-shell { position: relative; }
.wc-shell::before {
  content: "";
  position: absolute;
  inset: -20px -20px auto;
  height: 260px;
  background: radial-gradient(circle at center, rgba(103, 232, 249, 0.12), transparent 68%);
  pointer-events: none;
}

.wc-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(17, 26, 46, 0.95), rgba(12, 20, 35, 0.94));
  border: 1px solid var(--wc-border);
  border-radius: 16px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}
.wc-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(103, 232, 249, 0.08), transparent 40%);
  pointer-events: none;
}

.wc-hero {
  border-color: rgba(103, 232, 249, 0.46);
  box-shadow: 0 18px 46px rgba(14, 116, 144, 0.24);
}

.wc-hero-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.wc-hero-logo {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.45);
  padding: 6px;
  background: rgba(15, 23, 42, 0.7);
}

.wc-badge { font-size: .74rem; letter-spacing: .14em; color: var(--wc-accent); font-weight: 700; }

.wc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.wc-option-box {
  border: 1px solid rgba(103, 232, 249, 0.23);
  background: linear-gradient(140deg, rgba(8, 145, 178, 0.16), rgba(37, 99, 235, 0.08));
  border-radius: 12px;
  padding: 12px;
}

.wc-label {
  font-size: .78rem;
  color: #7dd3fc;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.wc-btn {
  border: 1px solid rgba(148, 163, 184, 0.4);
  color: #d1d5db;
  padding: 8px 14px;
  border-radius: 9999px;
  transition: .15s ease;
}
.wc-btn.active {
  background: linear-gradient(90deg, #0891b2, #2563eb);
  border-color: #22d3ee;
  color: #fff;
}
.wc-btn:hover { transform: translateY(-1px); border-color: var(--wc-accent); }

.wc-main-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.start-main {
  flex: 1 1 220px;
  min-height: 70px;
  font-size: 1.2rem;
  font-weight: 800;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(8, 47, 73, 0.35);
}
.ghost-btn {
  border: 1px solid rgba(125, 211, 252, 0.55);
  background: rgba(15, 23, 42, 0.78);
  color: #e2e8f0;
}

.start-main--push {
  position: relative;
  background: linear-gradient(90deg, #0ea5e9, #2563eb 55%, #7c3aed);
  border: 2px solid rgba(125, 211, 252, 0.92);
  color: #fff;
  letter-spacing: .01em;
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.45), 0 0 0 6px rgba(14, 165, 233, 0.16);
  animation: wcStartPulse 1.7s ease-in-out infinite;
}

.start-main--push:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 20px 34px rgba(37, 99, 235, 0.5), 0 0 0 8px rgba(56, 189, 248, 0.22);
}

.wc-start-hint {
  margin-top: 12px;
  font-size: .95rem;
  color: #bae6fd;
  font-weight: 700;
}

@keyframes wcStartPulse {
  0%, 100% {
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.45), 0 0 0 6px rgba(14, 165, 233, 0.16);
    filter: saturate(1);
  }
  50% {
    box-shadow: 0 22px 34px rgba(37, 99, 235, 0.58), 0 0 0 10px rgba(56, 189, 248, 0.24);
    filter: saturate(1.12) brightness(1.04);
  }
}
.ghost-btn:hover {
  border-color: #67e8f9;
  transform: translateY(-1px);
}

.wc-game-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.wc-round { font-size: 1.26rem; font-weight: 800; color: #e2e8f0; }
.wc-progress {
  border: 1px solid rgba(148, 163, 184, 0.38);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.72);
  color: #cbd5e1;
  padding: .32rem .78rem;
  font-size: .82rem;
}


.wc-game-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.wc-action-btn {
  border: 1px solid rgba(125, 211, 252, 0.4);
  background: rgba(15, 23, 42, 0.78);
  color: #e2e8f0;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: .92rem;
  font-weight: 700;
}

.wc-action-btn:hover {
  border-color: #67e8f9;
  transform: translateY(-1px);
}
.match-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.candidate {
  border: 1px solid rgba(148, 163, 184, 0.23);
  border-radius: 14px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.84), rgba(10, 15, 30, 0.8));
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}
.candidate:hover {
  transform: translateY(-3px);
  border-color: rgba(103, 232, 249, 0.8);
  box-shadow: 0 12px 22px rgba(8, 47, 73, 0.32);
}

.candidate-media,
.winner-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.candidate img,
.winner-media img {
  width: 100%;
  min-height: 250px;
  max-height: 440px;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.24);
  background: radial-gradient(circle at center, rgba(51, 65, 85, 0.22), rgba(15, 23, 42, 0.92));
}
.candidate p { text-align: center; font-size: 1.08rem; font-weight: 700; }

.winner-box {
  display: grid;
  grid-template-columns: minmax(260px, 380px) 1fr;
  gap: 18px;
  align-items: center;
}

.result-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.wc-result-card {
  border: 1px solid rgba(103, 232, 249, 0.24);
  border-radius: 12px;
  padding: 12px;
  background: rgba(15, 23, 42, 0.72);
}

.ranking-list { display: grid; gap: 8px; }
.ranking-list li {
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 10px;
  padding: 8px 10px;
  background: rgba(30, 41, 59, 0.5);
}
.rank-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rank-main { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.rank-num { color: #7dd3fc; }
.rank-thumb {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 6px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(15, 23, 42, 0.75);
}
.rank-meta { color: #cbd5e1; font-size: .83rem; }

@media (max-width: 920px) {
  .wc-hero-head,
  .match-grid,
  .result-grid,
  .winner-box { grid-template-columns: 1fr; display: grid; }
  .wc-hero-head { display: flex; }
  .candidate img,
  .winner-media img { min-height: 210px; }
}

@media (max-width: 560px) {
  .candidate-media,
  .winner-media { grid-template-columns: 1fr; }
  .rank-row { flex-direction: column; align-items: flex-start; }
}
