@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');

* {
    padding: 0;
    margin: 0;
    border: none;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #0b0b0b;
    color: white;
    overflow-x: hidden;
}

/* UNIFIED FINALE SECTION */
.finale-section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center center !important;
    padding: 4rem 2rem;
}

.finale-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(255, 162, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 162, 0, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(255, 215, 0, 0.15) 0%, transparent 50%),
        radial-gradient(2px 2px at 20% 30%, rgba(255, 162, 0, 0.3), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(255, 215, 0, 0.3), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(255, 162, 0, 0.3), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(255, 162, 0, 0.2), transparent),
        radial-gradient(2px 2px at 90% 80%, rgba(255, 215, 0, 0.2), transparent);
    background-size: 
        100% 100%,
        100% 100%,
        100% 100%,
        200% 200%, 
        180% 180%, 
        150% 150%, 
        220% 220%, 
        190% 190%;
    background-position: 
        0% 0%,
        0% 0%,
        0% 0%,
        0% 0%, 
        100% 100%, 
        50% 50%, 
        0% 100%, 
        100% 0%;
    z-index: 0;
    animation: pulseGlow 8s ease-in-out infinite, floatParticlesGold 25s ease-in-out infinite, backgroundMoveGold 20s ease-in-out infinite;
}

.finale-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(255, 162, 0, 0.08) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(255, 215, 0, 0.08) 50%, transparent 70%),
        linear-gradient(135deg, transparent 30%, rgba(255, 162, 0, 0.08) 50%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: moveLines 12s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

@keyframes moveLines {
    0%, 100% {
        transform: translateX(0) translateY(0) rotate(0deg);
    }
    25% {
        transform: translateX(20px) translateY(-20px) rotate(2deg);
    }
    50% {
        transform: translateX(-20px) translateY(20px) rotate(-2deg);
    }
    75% {
        transform: translateX(10px) translateY(-10px) rotate(1deg);
    }
}

.finale-section {
    position: relative;
}

@keyframes floatParticlesGold {
    0%, 100% {
        background-position: 0% 0%, 100% 100%, 50% 50%, 0% 100%, 100% 0%;
    }
    25% {
        background-position: 100% 50%, 0% 0%, 25% 75%, 50% 0%, 0% 50%;
    }
    50% {
        background-position: 50% 100%, 50% 50%, 75% 25%, 100% 50%, 50% 100%;
    }
    75% {
        background-position: 0% 50%, 100% 0%, 50% 50%, 25% 100%, 75% 0%;
    }
}

@keyframes backgroundMoveGold {
    0%, 100% {
        background-position: 
            0% 0%,
            0% 0%,
            0% 0%,
            0% 0%, 
            100% 100%, 
            50% 50%, 
            0% 100%, 
            100% 0%;
    }
    33% {
        background-position: 
            100% 0%,
            0% 100%,
            0% 100%,
            100% 50%, 
            0% 0%, 
            25% 75%, 
            50% 0%, 
            0% 50%;
    }
    66% {
        background-position: 
            0% 100%,
            100% 0%,
            100% 0%,
            50% 100%, 
            50% 50%, 
            75% 25%, 
            100% 50%, 
            50% 100%;
    }
}

.hero-content {
    text-align: center;
    z-index: 1;
    padding: 2rem 0;
    position: relative;
    margin-bottom: 2rem;
}

/* INFO BAR */
.info-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 1.5rem 2rem;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid #FFA200;
    border-radius: 10px;
    max-width: 1200px;
    margin: 0 auto 4rem auto;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
    animation: infoBarPulse 3s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(255, 162, 0, 0.3);
}

.info-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 10px;
    background: linear-gradient(45deg, transparent, rgba(255, 162, 0, 0.1), transparent);
    animation: infoBarShine 5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes infoBarPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 162, 0, 0.3);
        border-color: #FFA200;
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 162, 0, 0.6);
        border-color: #FFD700;
    }
}

@keyframes infoBarShine {
    0% {
        transform: translateX(-100%) translateY(-100%);
    }
    50%, 100% {
        transform: translateX(100%) translateY(100%);
    }
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    animation: infoItemFloat 4s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.info-item:nth-child(1) {
    animation-delay: 0s;
}

.info-item:nth-child(2) {
    animation-delay: 0.5s;
}

.info-item:nth-child(3) {
    animation-delay: 1s;
}

.info-item:nth-child(4) {
    animation-delay: 1.5s;
}

.info-item:nth-child(5) {
    animation-delay: 2s;
}

.info-item:nth-child(6) {
    animation-delay: 2.5s;
}

.info-item:hover {
    transform: scale(1.1);
}

.info-label {
    font-family: 'Protest Strike', sans-serif;
    font-size: clamp(12px, 1.5vw, 16px);
    color: #FFA200;
    text-shadow: 0 0 8px rgba(255, 162, 0, 0.8);
    font-weight: 600;
    animation: labelPulse 2s ease-in-out infinite;
}

.info-value {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(14px, 1.8vw, 18px);
    color: #FFA200;
    font-weight: 600;
    animation: valueGlow 3s ease-in-out infinite;
    position: relative;
}

.info-divider {
    width: 2px;
    height: 40px;
    background: #FFA200;
    opacity: 0.5;
    animation: dividerPulse 2s ease-in-out infinite;
    position: relative;
}

.info-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent, #FFD700, transparent);
    animation: dividerFlow 3s ease-in-out infinite;
}

@keyframes infoItemFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes labelPulse {
    0%, 100% {
        text-shadow: 0 0 8px rgba(255, 162, 0, 0.8);
    }
    50% {
        text-shadow: 0 0 15px rgba(255, 162, 0, 1), 0 0 25px rgba(255, 215, 0, 0.6);
    }
}

@keyframes valueGlow {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.05);
    }
}

@keyframes dividerPulse {
    0%, 100% {
        opacity: 0.5;
        box-shadow: 0 0 5px rgba(255, 162, 0, 0.3);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 15px rgba(255, 162, 0, 0.8);
    }
}

@keyframes dividerFlow {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

/* TOP CONTESTANTS SECTION */
.contestants-container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto 4rem auto;
}

.contestants-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin: 0 auto;
}

.contestant-card {
    background: rgba(0, 0, 0, 0.6);
    border: 3px solid #FFA200;
    border-radius: 15px;
    padding: 0;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255, 162, 0, 0.4);
    animation: cardFloatGold 6s ease-in-out infinite;
}

.contestant-card:nth-child(1) {
    animation-delay: 0s;
}

.contestant-card:nth-child(2) {
    animation-delay: 1s;
}

.contestant-card:nth-child(3) {
    animation-delay: 2s;
}

.contestant-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 162, 0, 0.1) 0%, transparent 70%);
    animation: rotateGlowGold 10s linear infinite;
    pointer-events: none;
}

.contestant-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 162, 0, 0.05) 50%, transparent 70%);
    animation: shimmerGold 4s ease-in-out infinite;
    pointer-events: none;
}

.contestant-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 50px rgba(255, 162, 0, 0.8);
    border-color: #FFD700;
    animation-play-state: paused;
}

@keyframes cardFloatGold {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes rotateGlowGold {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes shimmerGold {
    0%, 100% {
        opacity: 0;
        transform: translateX(-100%);
    }
    50% {
        opacity: 1;
        transform: translateX(100%);
    }
}

.contestant-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    position: relative;
    animation: imageFloat 5s ease-in-out infinite;
}

.contestant-card:nth-child(1) .contestant-image {
    animation-delay: 0s;
}

.contestant-card:nth-child(2) .contestant-image {
    animation-delay: 1.5s;
}

.contestant-card:nth-child(3) .contestant-image {
    animation-delay: 3s;
}

.arrow-icon {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 24px;
    color: #FFA200;
    z-index: 2;
    text-shadow: 0 0 10px rgba(255, 162, 0, 0.8);
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: arrowBounce 2s ease-in-out infinite, arrowRotate 4s linear infinite;
    transition: all 0.3s ease;
}

.arrow-icon:hover {
    transform: scale(1.2) rotate(180deg);
    background: rgba(255, 162, 0, 0.8);
}

.contestant-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    animation: imageZoom 8s ease-in-out infinite;
}

.contestant-card:hover .contestant-image img {
    transform: scale(1.1);
    animation-play-state: paused;
}

@keyframes imageFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes imageZoom {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes arrowBounce {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

@keyframes arrowRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.contestant-card h1.neon-gold {
    font-family: 'Impact', Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    text-transform: uppercase;
    color: #FFD700;
    margin: 0;
    line-height: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

h1.neon-gold .title-line {
    display: block;
    text-shadow: 
        0 0 5px #FFD700,
        0 0 10px #FFD700,
        0 0 20px #FFD700,
        0 0 40px #FFA500;
    animation: neonPulse 2s ease-in-out infinite alternate;
    line-height: 1;
}

h1.neon-gold .title-line:first-child {
    font-size: 6rem;
}

h1.neon-gold .title-line:last-child {
    font-size: 7rem;
    margin-top: -0.5rem;
    color: #FFA200;
    text-shadow: 
        0 0 5px #FFA200,
        0 0 15px #FFA200,
        0 0 25px #FF8C00;
}

.contestant-card h3 {
    font-family: 'Protest Strike', sans-serif;
    font-size: clamp(24px, 3vw, 32px);
    color: #FFA200;
    text-shadow: 0 0 10px rgba(255, 162, 0, 0.8);
    margin: 1rem 0 0.5rem 0;
    font-weight: 900;
    padding: 0 1rem;
    animation: titleGlow 3s ease-in-out infinite;
    position: relative;
}

.contestant-card h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #FFD700, transparent);
    animation: titleUnderline 4s ease-in-out infinite;
}

.contestant-card p {
    font-size: clamp(16px, 2vw, 20px);
    color: #FFA200;
    opacity: 0.9;
    margin-bottom: 1rem;
    padding: 0 1rem;
    animation: textFade 5s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(255, 162, 0, 0.8);
    }
    50% {
        text-shadow: 0 0 20px rgba(255, 162, 0, 1), 0 0 30px rgba(255, 215, 0, 0.6);
    }
}

@keyframes titleUnderline {
    0%, 100% {
        width: 0;
        opacity: 0;
    }
    50% {
        width: 80%;
        opacity: 1;
    }
}

@keyframes textFade {
    0%, 100% {
        opacity: 0.9;
    }
    50% {
        opacity: 1;
    }
}

/* LEADERBOARD SECTION */
.leaderboard-container {
    max-width: 1200px;
    margin: 0 auto 4rem auto;
    position: relative;
    z-index: 1;
}

.leaderboard-table {
    background: rgba(0, 0, 0, 0.6);
    border: 3px solid #FFA200;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(255, 162, 0, 0.3);
}

.table-header {
    display: grid;
    grid-template-columns: 80px 1fr 120px 120px 80px 120px;
    background: rgba(255, 162, 0, 0.2);
    border-bottom: 2px solid #FFA200;
    animation: headerPulse 3s ease-in-out infinite;
    position: relative;
}

.table-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #FFD700, transparent);
    animation: headerShine 4s ease-in-out infinite;
}

.header-cell {
    padding: 1.5rem 1rem;
    font-family: 'Protest Strike', sans-serif;
    font-size: clamp(16px, 2vw, 20px);
    color: #FFA200;
    text-shadow: 0 0 10px rgba(255, 162, 0, 0.8);
    font-weight: 900;
    text-align: center;
    animation: headerCellGlow 2s ease-in-out infinite;
    position: relative;
}

.header-cell::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #FFD700;
    animation: headerUnderline 3s ease-in-out infinite;
}

@keyframes headerPulse {
    0%, 100% {
        background: rgba(255, 162, 0, 0.2);
        box-shadow: 0 0 10px rgba(255, 162, 0, 0.2);
    }
    50% {
        background: rgba(255, 162, 0, 0.3);
        box-shadow: 0 0 20px rgba(255, 162, 0, 0.4);
    }
}

@keyframes headerShine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes headerCellGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(255, 162, 0, 0.8);
    }
    50% {
        text-shadow: 0 0 15px rgba(255, 162, 0, 1), 0 0 25px rgba(255, 215, 0, 0.6);
    }
}

@keyframes headerUnderline {
    0%, 100% {
        width: 0;
    }
    50% {
        width: 60%;
    }
}

.table-row {
    display: grid;
    grid-template-columns: 80px 1fr 120px 120px 80px 120px;
    border-bottom: 2px solid rgba(255, 162, 0, 0.3);
    transition: background 0.3s ease, transform 0.3s ease;
    animation: rowFloat 8s ease-in-out infinite;
    position: relative;
}

.table-row:nth-child(odd) {
    animation-delay: 0s;
}

.table-row:nth-child(even) {
    animation-delay: 1s;
}

.table-row::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #FFA200, transparent);
    opacity: 0;
    animation: rowIndicator 4s ease-in-out infinite;
}

.table-row:hover {
    background: rgba(255, 162, 0, 0.15);
    transform: translateX(5px);
    box-shadow: -5px 0 10px rgba(255, 162, 0, 0.3);
}

.table-row:hover::before {
    opacity: 1;
}

@keyframes rowFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-2px);
    }
}

@keyframes rowIndicator {
    0%, 100% {
        opacity: 0;
        transform: scaleY(0);
    }
    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

.table-row:last-child {
    border-bottom: none;
}

.cell {
    padding: 1.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(14px, 1.5vw, 18px);
    color: white;
}

.rank-cell {
    justify-content: center;
}

.rank-number {
    width: 50px;
    height: 50px;
    background: #FFA200;
    color: #0b0b0b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Protest Strike', sans-serif;
    font-weight: 900;
    font-size: clamp(18px, 2vw, 24px);
    box-shadow: 0 0 15px rgba(255, 162, 0, 0.6);
    animation: rankPulse 2s ease-in-out infinite, rankRotate 10s linear infinite;
    position: relative;
}

.rank-number::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: linear-gradient(45deg, #FFA200, #FFD700, #FFA200);
    background-size: 200% 200%;
    z-index: -1;
    animation: rankRing 3s linear infinite;
    opacity: 0.6;
}

@keyframes rankPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 15px rgba(255, 162, 0, 0.6);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 0 25px rgba(255, 162, 0, 1), 0 0 40px rgba(255, 215, 0, 0.6);
    }
}

@keyframes rankRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes rankRing {
    0% {
        background-position: 0% 50%;
        transform: rotate(0deg);
    }
    100% {
        background-position: 200% 50%;
        transform: rotate(360deg);
    }
}

.contestant-cell {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: flex-start;
}

.contestant-cell img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #FFA200;
}

.contestant-cell .icon {
    color: #FFA200;
    font-size: 1.5em;
    margin-left: auto;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #FFA200;
    position: relative;
    animation: progressBarPulse 2s ease-in-out infinite;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
    animation: progressShine 2s ease-in-out infinite;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #FFA200, #FFD700, #FFA200);
    background-size: 200% 100%;
    border-radius: 6px;
    transition: width 0.3s ease;
    animation: progressGradient 3s linear infinite, progressGlow 2s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: progressSparkle 2s ease-in-out infinite;
}

@keyframes progressBarPulse {
    0%, 100% {
        box-shadow: 0 0 5px rgba(255, 162, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 15px rgba(255, 162, 0, 0.6);
    }
}

@keyframes progressShine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes progressGradient {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

@keyframes progressGlow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(255, 162, 0, 0.5);
    }
    50% {
        box-shadow: 0 0 15px rgba(255, 162, 0, 0.8), 0 0 25px rgba(255, 215, 0, 0.4);
    }
}

@keyframes progressSparkle {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.free-vote-btn {
    background: #FFA200;
    color: #0b0b0b;
    border: none;
    border-radius: 8px;
    padding: 0.6rem 1.2rem;
    font-family: 'Protest Strike', sans-serif;
    font-size: clamp(12px, 1.5vw, 16px);
    font-weight: 900;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 162, 0, 0.5);
    position: relative;
    overflow: hidden;
    animation: buttonGlow 2s ease-in-out infinite;
}

.free-vote-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    animation: buttonRipple 2s ease-out infinite;
}

.free-vote-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: buttonShine 3s ease-in-out infinite;
}

.free-vote-btn:hover {
    background: #FFD700;
    transform: scale(1.1) rotate(2deg);
    box-shadow: 0 8px 20px rgba(255, 162, 0, 0.9);
    animation-play-state: paused;
}

@keyframes buttonGlow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(255, 162, 0, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 162, 0, 0.8), 0 0 30px rgba(255, 215, 0, 0.4);
    }
}

@keyframes buttonRipple {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}

@keyframes buttonShine {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

/* FINALE ROYALE TITLE STYLES */
.top-section {
    text-align: center;
    margin: 2rem 0 4rem;
    padding: 0 1rem;
}

.top-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.gold-crown-icon {
    width: 120px;
    height: 120px;
    margin-bottom: 1rem;
}

.gold-crown-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.8));
}

.finale-title-content {
    font-size: clamp(3rem, 9vw, 6rem);
    color: #fff;
    letter-spacing: 2px;
    word-spacing: 5px;
    text-align: center;
    line-height: 1;
    margin: 0;
    text-shadow:
        0 0 1px #fff,
        0 0 2px #fff,
        0 0 3px #ffd700,
        0 0 5px #ffd700,
        0 0 8px #ffd700;
    -webkit-text-stroke: 1px #ffd700;
    animation: neonPulse 3s ease-in-out infinite alternate;
    position: relative;
    z-index: 1;
    padding-top: 0.5rem;
}


@keyframes neonPulse {
    0% {
        text-shadow:
            0 0 1px #fff,
            0 0 2px #fff,
            0 0 3px #ffd700,
            0 0 5px #ffd700,
            0 0 8px #ffd700;
        transform: translateY(0);
    }
    100% {
        text-shadow:
            0 0 2px #fff,
            0 0 4px #fff,
            0 0 6px #ffd700,
            0 0 10px #ffd700,
            0 0 15px #ffd700;
        transform: translateY(-3px);
    }
}

/* Crown and Title Styling */
.top-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 0;
    gap: 0.5rem;
}

.top-wrapper img {
    width: 500px;
    height: auto;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.9));
    transition: transform 0.3s ease-in-out;
}

.top-wrapper img:hover {
    transform: scale(1.05);
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes titleFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes titleGlowBack {
    0%, 100% {
        opacity: 0.5;
        transform: translate(0, 0);
    }
    50% {
        opacity: 0.8;
        transform: translate(5px, 5px);
    }
}

/* TOP 200 LEADERBOARD */
.leaderboard-container h2 {
    font-family: 'Anton', sans-serif;
    color: transparent;
    filter: drop-shadow(0 0 8px #FFA200);
    font-size: clamp(48px, 7vw, 120px);
    margin: 0 0 3rem 0;
    line-height: 0.85;
    -webkit-text-stroke: 2.5px #FFA200;
    font-weight: normal;
    letter-spacing: 0;
    text-align: center;
    position: relative;
    z-index: 1;
    animation: titleFloat 4s ease-in-out infinite;
}

.leaderboard-container h2::before {
    content: 'TOP 200';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    -webkit-text-stroke: 2.5px #FFD700;
    filter: blur(10px);
    opacity: 0.5;
    animation: titleGlowBack 3s ease-in-out infinite;
    z-index: -1;
}

.leaderboard-table-large {
    background: rgba(0, 0, 0, 0.6);
    border: 3px solid #FFA200;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(255, 162, 0, 0.3);
}

.table-header-large {
    display: grid;
    grid-template-columns: 80px 1fr 1fr 1fr 120px;
    background: rgba(255, 162, 0, 0.2);
    border-bottom: 2px solid #FFA200;
}

.header-cell-large {
    padding: 1.5rem 1rem;
    font-family: 'Protest Strike', sans-serif;
    font-size: clamp(16px, 2vw, 20px);
    color: #FFA200;
    text-shadow: 0 0 10px rgba(255, 162, 0, 0.8);
    font-weight: 900;
    text-align: center;
}

.table-body-large {
    display: flex;
    flex-direction: column;
}

.table-row-large {
    display: grid;
    grid-template-columns: 80px 1fr 1fr 1fr 120px;
    border-bottom: 2px solid rgba(255, 162, 0, 0.3);
    transition: background 0.3s ease, transform 0.3s ease;
    animation: rowLargeFloat 7s ease-in-out infinite;
    position: relative;
}

.table-row-large:nth-child(odd) {
    animation-delay: 0s;
}

.table-row-large:nth-child(even) {
    animation-delay: 1.2s;
}

.table-row-large::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, transparent, #FFA200, transparent);
    opacity: 0;
    animation: rowLargeIndicator 5s ease-in-out infinite;
}

.table-row-large:hover {
    background: rgba(255, 162, 0, 0.15);
    transform: translateX(5px);
    box-shadow: -5px 0 10px rgba(255, 162, 0, 0.3);
}

.table-row-large:hover::before {
    opacity: 1;
}

@keyframes rowLargeFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-3px);
    }
}

@keyframes rowLargeIndicator {
    0%, 100% {
        opacity: 0;
        transform: scaleY(0);
    }
    50% {
        opacity: 1;
        transform: scaleY(1);
    }
}

.table-row-large:last-child {
    border-bottom: none;
}

.cell-large {
    padding: 1.5rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(14px, 1.5vw, 18px);
    color: white;
}

.rank-cell-large {
    font-family: 'Protest Strike', sans-serif;
    font-size: clamp(18px, 2vw, 24px);
    color: #FFA200;
    text-shadow: 0 0 10px rgba(255, 162, 0, 0.8);
    font-weight: 900;
}

.name-cell-large {
    font-weight: 600;
    color: white;
    justify-content: flex-start;
}

.score-cell-large {
    color: white;
    justify-content: flex-start;
}

.category-btn {
    background: #FFA200;
    color: #0b0b0b;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    font-family: 'Protest Strike', sans-serif;
    font-size: clamp(12px, 1.5vw, 16px);
    font-weight: 900;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 162, 0, 0.5);
    position: relative;
    overflow: hidden;
    animation: categoryBtnPulse 2.5s ease-in-out infinite;
}

.category-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    animation: categoryBtnRipple 2.5s ease-out infinite;
}

.category-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: categoryBtnShine 3.5s ease-in-out infinite;
}

.category-btn:hover {
    background: #FFD700;
    transform: scale(1.1) rotate(-2deg);
    box-shadow: 0 8px 20px rgba(255, 162, 0, 0.9);
    animation-play-state: paused;
}

@keyframes categoryBtnPulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(255, 162, 0, 0.5);
    }
    50% {
        box-shadow: 0 0 18px rgba(255, 162, 0, 0.8), 0 0 28px rgba(255, 215, 0, 0.4);
    }
}

@keyframes categoryBtnRipple {
    0% {
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        width: 180px;
        height: 180px;
        opacity: 0;
    }
}

@keyframes categoryBtnShine {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .finale-section {
        padding: 3rem 1.5rem;
    }

    .crown-icon img {
        width: 450px;
    }

    .header-wrapper {
        gap: 1.5rem;
    }

    .info-bar {
        gap: 1.5rem;
        padding: 1.2rem 1.5rem;
    }

    .contestants-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }

    .table-header,
    .table-row {
        grid-template-columns: 60px 1fr 100px 100px 60px 100px;
    }

    .table-header-large,
    .table-row-large {
        grid-template-columns: 60px 1fr 1fr 1fr 100px;
    }

    .header-cell,
    .cell,
    .header-cell-large,
    .cell-large {
        padding: 1rem 0.5rem;
        font-size: clamp(12px, 1.5vw, 16px);
    }
}

@media (max-width: 768px) {
    .finale-section {
        padding: 3rem 1rem;
    }

    .hero-content {
        margin-bottom: 2rem;
    }

    .hero-content h1 {
        font-size: clamp(36px, 8vw, 80px);
    }

    .header-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .crown-icon img {
        width: 350px;
        max-width: 90%;
    }

    .info-bar {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem 1rem;
        max-width: 100%;
    }

    .info-item {
        width: 100%;
    }

    .info-divider {
        width: 100%;
        height: 2px;
    }

    .info-label,
    .info-value {
        font-size: clamp(14px, 2vw, 18px);
    }

    .contestants-container,
    .leaderboard-container {
        margin-bottom: 3rem;
        max-width: 100%;
    }

    .contestants-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contestant-image {
        height: 250px;
    }

    .contestant-card h3 {
        font-size: clamp(20px, 4vw, 28px);
    }

    .contestant-card p {
        font-size: clamp(14px, 2vw, 18px);
    }

    .table-header,
    .table-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .table-header {
        display: none;
    }

    .table-row {
        display: flex;
        flex-direction: column;
        padding: 1rem;
        margin-bottom: 1rem;
        border-radius: 10px;
        background: rgba(0, 0, 0, 0.4);
    }

    .table-header-large,
    .table-row-large {
        grid-template-columns: 1fr;
    }

    .table-header-large {
        display: none;
    }

    .table-row-large {
        display: flex;
        flex-direction: column;
        padding: 1rem;
        margin-bottom: 1rem;
        border-radius: 10px;
        background: rgba(0, 0, 0, 0.4);
    }

    .cell,
    .cell-large {
        padding: 0.5rem;
        justify-content: flex-start;
        font-size: clamp(12px, 2vw, 16px);
    }

    .rank-cell,
    .rank-cell-large {
        justify-content: center;
        margin-bottom: 1rem;
    }

    .contestant-cell {
        justify-content: center;
        margin-bottom: 1rem;
    }

    .leaderboard-container h2 {
        font-size: clamp(36px, 8vw, 80px);
    }
}

@media (max-width: 480px) {
    .finale-section {
        padding: 2rem 1rem;
    }

    .hero-content {
        margin-bottom: 1.5rem;
    }

    .hero-content h1 {
        font-size: clamp(32px, 10vw, 60px);
    }

    .crown-icon img {
        width: 280px;
        max-width: 85%;
    }

    .header-wrapper {
        gap: 0.8rem;
    }

    .info-bar {
        padding: 1rem 0.8rem;
        gap: 0.8rem;
    }

    .info-label {
        font-size: clamp(12px, 2.5vw, 16px);
    }

    .info-value {
        font-size: clamp(13px, 3vw, 17px);
    }

    .contestants-container,
    .leaderboard-container {
        margin-bottom: 2rem;
    }

    .contestants-grid {
        gap: 1.5rem;
    }

    .contestant-image {
        height: 200px;
    }

    .contestant-card {
        padding: 0;
    }

    .contestant-card h3 {
        font-size: clamp(18px, 5vw, 24px);
        margin: 0.8rem 0 0.3rem 0;
    }

    .contestant-card p {
        font-size: clamp(13px, 2.5vw, 16px);
        margin-bottom: 0.8rem;
    }

    .arrow-icon {
        width: 30px;
        height: 30px;
        font-size: 20px;
        top: 8px;
        left: 8px;
    }

    .leaderboard-container h2 {
        font-size: clamp(32px, 10vw, 60px);
        margin-bottom: 2rem;
    }

    .table-row,
    .table-row-large {
        padding: 0.8rem;
        margin-bottom: 0.8rem;
    }

    .cell,
    .cell-large {
        padding: 0.4rem;
        font-size: clamp(11px, 2.5vw, 14px);
    }

    .rank-number {
        width: 40px;
        height: 40px;
        font-size: clamp(14px, 2.5vw, 18px);
    }

    .free-vote-btn,
    .category-btn {
        padding: 0.5rem 1rem;
        font-size: clamp(11px, 2vw, 14px);
    }
}
