﻿:root {
  --green: #007a33;
  --orange: #ff6f00;
  --navy: #0e223a;
  --navy-soft: #17304b;
  --panel: rgba(20, 36, 58, 0.92);
  --text: #ffffff;
  --muted: #b6c2d1;
  --gold: #f2c94c;
  --silver: #c8d2dc;
  --bronze: #d38a54;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(255, 136, 62, 0.18), transparent 28%),
    radial-gradient(circle at 20% 10%, rgba(22, 155, 98, 0.18), transparent 24%),
    radial-gradient(circle at 80% 12%, rgba(255, 255, 255, 0.12), transparent 22%),
    linear-gradient(180deg, #132c46 0%, #0e223a 100%);
  overflow-x: hidden;
}

.podium-page {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 18px auto 0;
  padding: 28px 20px 64px;
}

.podium-header {
  text-align: center;
  padding: 10px 0 12px;
}

.back-link {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--green);
  text-decoration: none;
  font-weight: 700;
}

.back-link:hover {
  color: var(--orange);
}

.podium-logo {
  display: block;
  width: 132px;
  margin: 0 auto 12px;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--muted);
  font-size: 0.82rem;
}

h1 {
  margin: 8px 0 10px;
  font-size: clamp(2.4rem, 6vw, 4.8rem);
  line-height: 0.98;
}

.subtitle {
  margin: 0;
  font-size: 1.02rem;
  color: var(--muted);
}

.winner-banner {
  max-width: 760px;
  margin: 28px auto 34px;
  padding: 20px 24px 24px;
  text-align: center;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(22, 155, 98, 0.22), rgba(255, 136, 62, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

.winner-pill {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.winner-banner-logo {
  display: block;
  width: 108px;
  height: 108px;
  object-fit: cover;
  margin: 18px auto 10px;
  border-radius: 26px;
  background: rgba(255,255,255,0.08);
  border: 3px solid rgba(242, 201, 76, 0.34);
  box-shadow: 0 14px 26px rgba(0,0,0,0.24);
}

.winner-team {
  margin-top: 12px;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--gold);
  text-shadow: 0 0 22px rgba(242, 201, 76, 0.24);
}

.winner-note {
  margin-top: 8px;
  color: var(--muted);
}

.podium-wrap {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: end;
}

.podium-card {
  position: relative;
  padding: 24px 20px 0;
  border-radius: 28px 28px 22px 22px;
  background: var(--panel);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 16px 36px rgba(0,0,0,0.28);
  text-align: center;
  overflow: hidden;
}

.podium-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), transparent 28%);
  pointer-events: none;
}

.place-label {
  margin-top: 10px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.team-mark {
  width: 92px;
  height: 92px;
  object-fit: cover;
  display: block;
  margin: 16px auto 12px;
  border-radius: 24px;
  background: rgba(255,255,255,0.08);
  box-shadow: 0 14px 26px rgba(0,0,0,0.22);
}

.team-mark-gold {
  border: 3px solid rgba(242, 201, 76, 0.4);
}

.team-mark-silver {
  border: 3px solid rgba(200, 210, 220, 0.4);
}

.team-mark-bronze {
  border: 3px solid rgba(211, 138, 84, 0.4);
}

.podium-card h2 {
  margin: 10px 0 8px;
  font-size: clamp(1.5rem, 3vw, 2.15rem);
}

.podium-card p {
  margin: 0 0 18px;
  color: var(--muted);
  min-height: 48px;
}

.medal {
  width: 54px;
  height: 54px;
  margin: 18px auto 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.35rem;
  font-weight: 800;
  box-shadow: inset 0 2px 8px rgba(255,255,255,0.26), 0 10px 22px rgba(0,0,0,0.22);
}

.gold {
  color: #4d3a00;
  background: radial-gradient(circle at 30% 30%, #fff2a8, var(--gold));
}

.silver {
  color: #33414e;
  background: radial-gradient(circle at 30% 30%, #ffffff, var(--silver));
}

.bronze {
  color: #4f2d15;
  background: radial-gradient(circle at 30% 30%, #ffd8b8, var(--bronze));
}

.crown {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(242, 201, 76, 0.16);
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.podium-step {
  display: grid;
  place-items: center;
  margin-top: 8px;
  color: #fff;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  border-radius: 22px 22px 0 0;
}

.gold-step {
  height: 250px;
  background: linear-gradient(180deg, #f2c94c 0%, #c99919 100%);
}

.silver-step {
  height: 200px;
  background: linear-gradient(180deg, #d7e0e8 0%, #8e9ca9 100%);
}

.bronze-step {
  height: 165px;
  background: linear-gradient(180deg, #e4a36e 0%, #955126 100%);
}

.place-first {
  transform: translateY(-12px);
}

.fireworks {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.burst {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  opacity: 0;
  filter: drop-shadow(0 0 10px rgba(255,255,255,0.35));
  animation: burst 3.6s infinite ease-out;
}

.burst::before,
.burst::after {
  content: "";
  position: absolute;
  inset: -42px;
  border-radius: 50%;
  background:
    radial-gradient(circle, currentColor 0 12%, transparent 13% 100%),
    conic-gradient(from 0deg, currentColor 0 8%, transparent 8% 16%, currentColor 16% 24%, transparent 24% 32%, currentColor 32% 40%, transparent 40% 48%, currentColor 48% 56%, transparent 56% 64%, currentColor 64% 72%, transparent 72% 80%, currentColor 80% 88%, transparent 88% 100%);
  opacity: 0.9;
}

.burst::after {
  transform: rotate(20deg) scale(0.8);
  opacity: 0.6;
}

.burst-a { top: 16%; left: 16%; color: #f2c94c; animation-delay: 0s; }
.burst-b { top: 22%; left: 78%; color: #ff883e; animation-delay: 0.7s; }
.burst-c { top: 34%; left: 28%; color: #169b62; animation-delay: 1.4s; }
.burst-d { top: 12%; left: 52%; color: #ffffff; animation-delay: 2.1s; }
.burst-e { top: 42%; left: 84%; color: #f2c94c; animation-delay: 2.8s; }
.burst-f { top: 30%; left: 8%; color: #ff883e; animation-delay: 3.1s; }

@keyframes burst {
  0% { transform: scale(0.1); opacity: 0; }
  10% { opacity: 1; }
  45% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.28); opacity: 0; }
}

@media (max-width: 900px) {
  .podium-wrap {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .place-first,
  .place-second,
  .place-third {
    transform: none;
  }

  .gold-step,
  .silver-step,
  .bronze-step {
    height: 120px;
  }

  .winner-banner-logo,
  .team-mark {
    width: 84px;
    height: 84px;
  }
}


