@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700;900&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --azul-principal: #234f75ff;
    --azul-claro:     #e0f7ff;
    --roxo-vibrante:  #8939f1;
    --rosa-vibrante:  #e750ad;
    --laranja-game:   #ff9a56;
    --amarelo-game:   #f3cb29;
    --verde-game:     #5ad673;
    --vermelho-game:  #ff6b9d;
    --bg-claro:       #f0f4ff;
    --bg-card:        #ffffff;
    --texto-escuro:   #2d3748;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--texto-escuro);
    line-height: 1.8;
    overflow-x: hidden;
    background: var(--bg-claro);
}

html { scroll-behavior: smooth; }

/* ── NAVBAR ── */
.navbar {
    background: linear-gradient(135deg, #3957db 0%, #764ba2 100%) !important;
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(102,126,234,0.3);
    border-bottom: none;
}

.navbar.scrolled {
    box-shadow: 0 6px 30px rgba(102,126,234,0.4);
}

.navbar-brand {
    font-family: 'Orbitron', sans-serif !important;
    font-size: 1.1rem !important;
    font-weight: 900 !important;
    color: #fff !important;
    letter-spacing: .06em;
}

.navbar-brand i { 
    color: var(--amarelo-game); 
    margin-right: 6px;
    filter: drop-shadow(0 2px 4px rgba(255,217,61,.4));
}

.nav-link {
    color: rgba(255,255,255,.8) !important;
    margin: 0 0.3rem;
    transition: color 0.3s ease;
    font-size: .88rem;
    font-weight: 500;
}

.nav-link:hover { 
    color: var(--amarelo-game) !important;
    transform: translateY(-2px);
}

.btn-cta {
    background: linear-gradient(135deg, var(--laranja-game), var(--rosa-vibrante));
    color: #fff !important;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: .88rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255,154,86,0.4);
}

.btn-cta:hover {
    background: linear-gradient(135deg, var(--rosa-vibrante), var(--roxo-vibrante));
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(255,110,199,0.5);
    color: #fff !important;
}

/* ── HERO ── */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    color: #fff;
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255,217,61,.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255,154,86,.12) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(255,255,255,.05) 0%, transparent 60%);
    pointer-events: none;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255,255,255,.25);
    border: 2px solid rgba(255,255,255,.4);
    color: #fff;
    padding: 6px 18px;
    border-radius: 50px;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .06em;
    margin-bottom: 1.2rem;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.6rem, 5.5vw, 4rem);
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.05;
    animation: fadeInUp 0.8s ease both;
}

.hero-title span {
    display: block;
    color: var(--amarelo-game);
    text-shadow: 3px 3px 0 var(--laranja-game), 
                 -1px -1px 0 rgba(255,255,255,.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: rgba(255,255,255,.95);
    font-weight: 600;
    animation: fadeInUp 1s ease both;
}

.hero-description {
    font-size: 1rem;
    margin-bottom: 1.8rem;
    color: rgba(255,255,255,.75);
    max-width: 520px;
    line-height: 1.75;
    animation: fadeInUp 1.1s ease both;
}

.hero-info {
    margin-bottom: 1.8rem;
    animation: fadeInUp 1.2s ease both;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: .9rem;
    font-size: 1rem;
    color: rgba(231, 221, 173, 0.85);
}

.info-item i {
    font-size: 1.3rem;
    color: var(--amarelo-game);
    margin-right: .9rem;
    width: 24px;
    flex-shrink: 0;
}

.countdown-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.25);
    border: 2px solid rgba(255,255,255,.4);
    color: #fff;
    padding: 10px 22px;
    border-radius: 50px;
    font-size: .9rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1.3s ease both;
    backdrop-filter: blur(10px);
}

.countdown-pill strong {
    font-family: 'Orbitron', sans-serif;
    font-size: .88rem;
}

.hero-buttons {
    animation: fadeInUp 1.4s ease both;
}

.hero-buttons .btn {
    margin-right: .8rem;
    margin-bottom: .8rem;
    padding: .75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: .95rem;
}

.btn-outline-light {
    border: 2px solid rgba(255,255,255,.4) !important;
    color: rgba(255,255,255,.85) !important;
    background: transparent !important;
    border-radius: 50px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.btn-outline-light:hover {
    background: rgba(255,255,255,.1) !important;
    border-color: #fff !important;
    color: #fff !important;
    transform: translateY(-2px);
}

/* Ilustração hero */
.hero-illustration {
    text-align: center;
    animation: float 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

.hero-illustration i {
    font-size: 13rem;
    color: var(--turquesa);
    opacity: .25;
    filter: drop-shadow(0 0 40px rgba(14,135,148,.4));
}

/* ── SECTIONS ── */
.section-light {
    background: linear-gradient(180deg, #f0f4ff 0%, #e0e7ff 100%);
    padding: 90px 0;
    color: var(--texto-escuro);
}

.section-dark {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 90px 0;
    position: relative;
}

.section-dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,217,61,.06) 0%, transparent 50%);
    pointer-events: none;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 900;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--roxo-vibrante), var(--rosa-vibrante));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: .03em;
}

.section-dark .section-title { 
    background: linear-gradient(135deg, #fff, var(--amarelo-game));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-sub {
    font-size: .97rem;
    color: #64748b;
    max-width: 560px;
    margin: 0 auto 1rem;
    line-height: 1.65;
}

.section-dark .section-sub { color: rgba(255,255,255,.9); }

/* ── ICON BOX ── */
.icon-box {
    text-align: center;
    padding: 2.2rem 1.8rem;
    background: #fff;
    border-radius: 20px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(102,126,234,.15);
    border: none;
}

.icon-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102,126,234,.25);
}

.icon-box-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--laranja-game), var(--rosa-vibrante));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
    box-shadow: 0 8px 20px rgba(255,154,86,.3);
}

.icon-box-icon i { 
    font-size: 2rem; 
    color: #fff;
}

.icon-box h5 {
    font-weight: 700;
    color: var(--roxo-vibrante);
    margin-bottom: .6rem;
    font-size: 1rem;
}

.icon-box p {
    color: #64748b;
    font-size: .85rem;
    line-height: 1.65;
    margin: 0;
}

/* ── CARD JOGO ── */
.card-jogo {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 10px 30px rgba(102,126,234,.15);
    border: none;
    position: relative;
    overflow: hidden;
}

.card-jogo::after {
    content: '';
    position: absolute;
    top: -50px; right: -50px;
    width: 150px; height: 150px;
    background: linear-gradient(135deg, var(--amarelo-game), var(--laranja-game));
    border-radius: 50%;
    opacity: .1;
}

.card-jogo:hover {
    transform: translateY(-10px) rotate(-1deg);
    box-shadow: 0 20px 50px rgba(157,80,255,.25);
}

.jogo-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--roxo-vibrante), var(--rosa-vibrante));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 8px 20px rgba(157,80,255,.3);
}

.jogo-icon i { 
    font-size: 1.6rem; 
    color: #fff;
}

.card-jogo h4 {
    color: var(--texto-escuro);
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: .5rem;
}

.jogo-dev {
    color: var(--roxo-vibrante);
    font-size: .85rem;
    font-weight: 700;
    margin-bottom: .8rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.jogo-desc {
    color: #64748b;
    font-size: .85rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.badge-engine {
    display: inline-block;
    padding: 5px 16px;
    border-radius: 50px;
    font-size: .72rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--verde-game), var(--azul-principal));
    color: #fff;
    border: none;
    letter-spacing: .04em;
    box-shadow: 0 4px 12px rgba(107,207,127,.3);
}

.jogo-membros {
    font-size: 1rem;
    color: #94a3b8;
    margin-top: .8rem;
    display: flex;
    align-items: flex-start;
    gap: 5px;
}

.jogo-membros i { 
    color: var(--laranja-game); 
    flex-shrink: 0; 
    margin-top: 2px;
}

/* ── RANKING ── */
.rank-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    margin-bottom: 10px;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 4px 15px rgba(0,0,0,.08);
}

.rank-item:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 25px rgba(102,126,234,.2);
}

.rank-item.rank-1 { 
    border-left: 5px solid var(--amarelo-game);
    background: linear-gradient(135deg, #fff 0%, #fffbeb 100%);
}
.rank-item.rank-2 { 
    border-left: 5px solid #cbd5e1;
    background: linear-gradient(135deg, #fff 0%, #f8fafc 100%);
}
.rank-item.rank-3 { 
    border-left: 5px solid var(--laranja-game);
    background: linear-gradient(135deg, #fff 0%, #fff7ed 100%);
}
.rank-item:not(.rank-1):not(.rank-2):not(.rank-3) { 
    border-left: 5px solid var(--roxo-vibrante); 
}

.rank-pos {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    min-width: 52px;
    text-align: center;
    line-height: 1;
}

.rank-pos.gold   { 
    color: var(--amarelo-game); 
}
.rank-pos.silver { color: #94a3b8; }
.rank-pos.bronze { color: var(--laranja-game); }
.rank-pos.other  { color: var(--roxo-vibrante); font-size: 1.1rem; }

.rank-info { flex: 1; min-width: 0; }

.rank-info strong {
    display: block;
    font-size: .97rem;
    font-weight: 700;
    color: var(--texto-escuro);
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rank-info small { font-size: .78rem; color: #64748b; }

.rank-score {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--verde-game), var(--azul-principal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

/* ── EMPTY STATE ── */
.empty-state {
    text-align: center;
    padding: 56px 24px;
    border-radius: 16px;
    color: #94a3b8;
    font-size: .92rem;
}

.section-dark .empty-state { color: rgba(255,255,255,.7); }

.empty-state i {
    font-size: 3.5rem;
    display: block;
    margin-bottom: 14px;
    opacity: .3;
}

/* ── LOCAL ── */
.local-info { display: flex; flex-direction: column; gap: 14px; }

.local-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: rgba(255,255,255,.15);
    border: 2px solid rgba(255,255,255,.25);
    border-left: 4px solid var(--amarelo-game);
    border-radius: 16px;
    transition: background .2s, box-shadow .2s;
    backdrop-filter: blur(10px);
}

.local-item:hover { 
    background: rgba(255,255,255,.2);
    box-shadow: 0 8px 25px rgba(255,255,255,.15);
}

.local-item i {
    font-size: 1.6rem;
    color: var(--amarelo-game);
    margin-top: 2px;
    flex-shrink: 0;
}

.local-item h5 {
    color: #fff;
    font-size: .85rem;
    font-weight: 700;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.local-item p { 
    color: rgba(255,255,255,.9); 
    font-size: .9rem; 
    margin: 0; 
    line-height: 1.55; 
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,.2);
    border: 3px solid rgba(255,255,255,.2);
}

.map-container iframe { display: block; width: 100%; }

/* ── FORM ── */
.form-gamer .form-label {
    color: rgba(255,255,255,.7);
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 7px;
}

.form-gamer .form-control {
    background: rgba(255,255,255,.06) !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    border-radius: 10px !important;
    color: #fff !important;
    padding: 12px 16px !important;
    font-size: .93rem !important;
    transition: border-color .2s, box-shadow .2s !important;
}

.form-gamer .form-control:focus {
    border-color: var(--amarelo-game) !important;
    box-shadow: 0 0 0 3px rgba(255,217,61,.3) !important;
    background: rgba(255,255,255,.12) !important;
    outline: none !important;
}

.form-gamer .form-control::placeholder { color: rgba(255,255,255,.3) !important; }

.alert-gamer {
    padding: 13px 18px;
    border-radius: 10px;
    font-size: .88rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 18px;
}

.alert-gamer.alert-success {
    background: rgba(107,207,127,.2);
    border: 2px solid rgba(107,207,127,.5);
    color: #fff;
    box-shadow: 0 4px 15px rgba(107,207,127,.2);
}

/* ── FOOTER ── */
.footer {
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    color: rgba(255,255,255,.9);
    padding: 60px 0 0;
    font-size: .88rem;
    border-top: none;
}

.footer-brand {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-brand i { 
    color: var(--amarelo-game);
}

.footer h5, .footer-heading {
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 18px;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }

.footer-links a {
    color: rgba(255,255,255,.8);
    text-decoration: none;
    font-size: .88rem;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: color .2s;
}

.footer-links a:hover { 
    color: var(--amarelo-game);
}
.footer-links i { font-size: .65rem; }

.social-links { display: flex; gap: 10px; flex-wrap: wrap; }

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: #fff;
    color: var(--roxo-vibrante);
    border-radius: 50%;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255,255,255,.2);
}

.social-links a:hover {
    background: var(--amarelo-game);
    transform: translateY(-5px) scale(1.1);
    color: var(--texto-escuro);
    box-shadow: 0 8px 25px rgba(255,217,61,.4);
}

.footer-bottom {
    text-align: center;
    margin-top: 48px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,.2);
    font-size: .78rem;
    color: rgba(255,255,255,.7);
}

.footer-bottom a { 
    color: rgba(255,255,255,.7); 
    text-decoration: none; 
    transition: color .2s; 
}
.footer-bottom a:hover { 
    color: var(--amarelo-game);
}

/* ── ANIMATIONS ── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(28px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-18px); }
}

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
    .hero-section { padding: 120px 0 60px; min-height: auto; }
    .hero-title { font-size: 2.4rem; }
    .section-light, .section-dark { padding: 64px 0; }
}

@media (max-width: 576px) {
    .hero-title { font-size: 2rem; }
    .hero-buttons .btn { width: 100%; margin-right: 0; }
    .hero-buttons .ms-2 { margin-left: 0 !important; }
}

/* ═══════════════════════════════════════════
   RANKING — PÓDIO + CARDS
═══════════════════════════════════════════ */

/* Seção */
.section-ranking {
    background: linear-gradient(160deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    padding: 90px 0 80px;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.section-ranking::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 60%, rgba(157,80,255,.18) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 30%, rgba(255,110,199,.12) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(255,217,61,.08) 0%, transparent 40%);
    pointer-events: none;
}

.section-ranking .section-sub { color: rgba(255,255,255,.7); }

.ranking-title {
    background: linear-gradient(90deg, #ffd93d, #ff9a56) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    filter: drop-shadow(0 0 20px rgba(255,217,61,.4));
}

/* ── PÓDIO ── */
.podium-wrapper {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0;
    margin: 50px auto 20px;
    max-width: 780px;
    padding: 0 16px;
}

.podium-slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    max-width: 240px;
}

/* Card flutuante acima do bloco */
.podium-card {
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 20px;
    padding: 20px 16px 16px;
    text-align: center;
    width: 100%;
    margin-bottom: 0;
    animation: podiumDrop var(--delay, 0s) both;
    animation-name: podiumDrop;
    animation-duration: .7s;
    animation-delay: var(--delay, 0s);
    animation-fill-mode: both;
    animation-timing-function: cubic-bezier(.34,1.56,.64,1);
    position: relative;
    z-index: 2;
}

@keyframes podiumDrop {
    from { opacity: 0; transform: translateY(-40px) scale(.85); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Coroa do 1º */
.podium-crown {
    font-size: 2.2rem;
    text-align: center;
    animation: crownBounce 1.5s ease-in-out infinite;
    margin-bottom: -8px;
    position: relative;
    z-index: 3;
}

@keyframes crownBounce {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50%       { transform: translateY(-8px) rotate(5deg); }
}

/* Avatar */
.podium-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 1.8rem;
}

.podium-avatar.gold   { background: linear-gradient(135deg, #ffd93d, #ff9a56); box-shadow: 0 0 24px rgba(255,217,61,.6); }
.podium-avatar.silver { background: linear-gradient(135deg, #cbd5e1, #94a3b8); box-shadow: 0 0 18px rgba(203,213,225,.4); }
.podium-avatar.bronze { background: linear-gradient(135deg, #ff9a56, #e07b39); box-shadow: 0 0 18px rgba(255,154,86,.4); }

.podium-medal { font-size: 1.8rem; margin-bottom: 8px; }

.podium-name {
    font-family: 'Orbitron', sans-serif;
    font-size: .82rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 4px;
    line-height: 1.3;
    word-break: break-word;
}

.podium-team {
    font-size: .72rem;
    color: rgba(255,255,255,.6);
    margin-bottom: 12px;
}

.podium-score {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6rem;
    font-weight: 900;
    line-height: 1;
}

.gold-score   { background: linear-gradient(135deg, #ffd93d, #ff9a56); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.silver-score { background: linear-gradient(135deg, #e2e8f0, #94a3b8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.bronze-score { background: linear-gradient(135deg, #ff9a56, #e07b39); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* Blocos do pódio */
.podium-block {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px 12px 0 0;
    position: relative;
    z-index: 1;
}

.podium-block-1 {
    height: 110px;
    background: linear-gradient(180deg, rgba(255,217,61,.35) 0%, rgba(255,154,86,.25) 100%);
    border: 1px solid rgba(255,217,61,.4);
    border-bottom: none;
    animation: riseBlock .8s cubic-bezier(.34,1.56,.64,1) both;
}

.podium-block-2 {
    height: 75px;
    background: linear-gradient(180deg, rgba(203,213,225,.25) 0%, rgba(148,163,184,.15) 100%);
    border: 1px solid rgba(203,213,225,.3);
    border-bottom: none;
    animation: riseBlock .8s .15s cubic-bezier(.34,1.56,.64,1) both;
}

.podium-block-3 {
    height: 50px;
    background: linear-gradient(180deg, rgba(255,154,86,.25) 0%, rgba(224,123,57,.15) 100%);
    border: 1px solid rgba(255,154,86,.3);
    border-bottom: none;
    animation: riseBlock .8s .3s cubic-bezier(.34,1.56,.64,1) both;
}

@keyframes riseBlock {
    from { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
    to   { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
}

.podium-pos {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
    color: rgba(255,255,255,.5);
    position: absolute;
    bottom: 10px;
}

/* ── CARDS DEMAIS COLOCADOS ── */
.ranking-rest-title {
    text-align: center;
    margin: 48px 0 24px;
}

.ranking-rest-title span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 50px;
    padding: 8px 24px;
    font-size: .85rem;
    font-weight: 700;
    color: rgba(255,255,255,.8);
    letter-spacing: .06em;
    text-transform: uppercase;
}

.rank-card {
    background: rgba(255,255,255,.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: transform .25s, background .25s, box-shadow .25s;
    animation: fadeSlideUp .5s var(--delay, 0s) both;
}

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.rank-card:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,.14);
    box-shadow: 0 12px 30px rgba(0,0,0,.3);
}

.rank-card-pos {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 900;
    color: rgba(255,255,255,.35);
    min-width: 36px;
    text-align: center;
}

.rank-card-info { flex: 1; min-width: 0; }

.rank-card-name {
    font-weight: 700;
    font-size: .95rem;
    color: #fff;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rank-card-team {
    font-size: .75rem;
    color: rgba(255,255,255,.5);
}

.rank-card-score {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #9d50ff, #ff6ec7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.ranking-refresh {
    font-size: .78rem;
    color: rgba(255,255,255,.4);
}

.ranking-refresh i { animation: spin 2s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── RESPONSIVE PÓDIO ── */
@media (max-width: 576px) {
    .podium-wrapper { gap: 0; }
    .podium-card { padding: 14px 10px 12px; }
    .podium-avatar { width: 48px; height: 48px; font-size: 1.3rem; }
    .podium-name { font-size: .72rem; }
    .podium-score { font-size: 1.2rem; }
    .podium-medal { font-size: 1.4rem; }
    .podium-block-1 { height: 80px; }
    .podium-block-2 { height: 55px; }
    .podium-block-3 { height: 38px; }
    .podium-crown { font-size: 1.6rem; }
}
