/* Auditorium Styles - Millonario Coco */

.auditorium-container {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(180deg, #0a0404 0%, #1a0505 50%, #0a0404 100%);
    overflow: hidden;
}

.auditorium-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.stage-lights {
    position: absolute;
    width: 100%;
    height: 30%;
    top: 0;
    background: linear-gradient(180deg, rgba(242, 140, 56, 0.3) 0%, transparent 100%);
    animation: lightsFlicker 3s ease-in-out infinite;
}

@keyframes lightsFlicker {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 1; }
}

.spotlight {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(80px);
    animation: spotlightMove 8s ease-in-out infinite;
}

.spotlight-1 {
    top: 5%;
    left: 20%;
    background: radial-gradient(circle, rgba(242, 140, 56, 0.4), transparent);
}

.spotlight-2 {
    top: 10%;
    left: 50%;
    background: radial-gradient(circle, rgba(247, 220, 111, 0.3), transparent);
    animation-delay: 2s;
}

.spotlight-3 {
    top: 5%;
    right: 20%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.3), transparent);
    animation-delay: 4s;
}

@keyframes spotlightMove {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(30px, 20px); }
}

.auditorium-content {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* Escenario Principal */
.main-stage {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 30px 30px 0 0;
    border: 3px solid rgba(242, 140, 56, 0.5);
    border-bottom: none;
    backdrop-filter: blur(10px);
}

.stage-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.stage-logo {
    font-size: 4rem;
    filter: drop-shadow(0 0 20px rgba(247, 220, 111, 1));
    animation: logoRotate 4s ease-in-out infinite;
}

@keyframes logoRotate {
    0%, 100% { transform: rotate(-10deg); }
    50% { transform: rotate(10deg); }
}

.stage-title {
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.title-line-1 {
    font-size: 1.8rem;
    color: #ffd89b;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.title-line-2 {
    font-size: 3rem;
    background: linear-gradient(135deg, #f7dc6f, #f28c38, #f7dc6f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    text-shadow: 0 0 30px rgba(247, 220, 111, 0.5);
}

.connection-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
}

.connection-badge.online {
    background: rgba(46, 204, 113, 0.2);
    border: 2px solid #2ecc71;
    color: #2ecc71;
}

.connection-badge.offline {
    background: rgba(231, 76, 60, 0.2);
    border: 2px solid #e74c3c;
    color: #e74c3c;
}

.badge-icon {
    font-size: 1.2rem;
}

/* Podio */
.podium-section {
    margin-bottom: 3rem;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: #f7dc6f;
    margin-bottom: 2rem;
    text-shadow: 0 0 20px rgba(247, 220, 111, 0.8);
}

.podium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    align-items: flex-end;
}

.podium-position {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.position-1 {
    order: 2;
    transform: translateY(-30px);
}

.position-2 {
    order: 1;
    transform: translateY(-10px);
}

.position-3 {
    order: 3;
    transform: translateY(0);
}

.podium-crown {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: crownFloat 2s ease-in-out infinite;
}

@keyframes crownFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.podium-avatar {
    position: relative;
    margin-bottom: 1rem;
}

.avatar-ring {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid;
    position: relative;
    animation: ringPulse 2s ease-in-out infinite;
}

.avatar-ring.gold {
    border-color: #FFD700;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(242, 140, 56, 0.2));
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
}

.avatar-ring.silver {
    border-color: #C0C0C0;
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.3), rgba(242, 140, 56, 0.2));
    box-shadow: 0 0 20px rgba(192, 192, 192, 0.5);
}

.avatar-ring.bronze {
    border-color: #CD7F32;
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.3), rgba(242, 140, 56, 0.2));
    box-shadow: 0 0 20px rgba(205, 127, 50, 0.5);
}

@keyframes ringPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.avatar-icon {
    font-size: 4rem;
    filter: drop-shadow(0 0 10px rgba(247, 220, 111, 0.8));
}

.avatar-icon.winner {
    font-size: 5rem;
    animation: winnerBounce 1s ease-in-out infinite;
}

@keyframes winnerBounce {
    0%, 100% { transform: scale(1) rotate(-5deg); }
    50% { transform: scale(1.1) rotate(5deg); }
}

.position-medal {
    position: absolute;
    bottom: -10px;
    right: -10px;
    font-size: 2.5rem;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 1));
}

.winner-medal {
    font-size: 3rem;
    animation: medalSpin 3s linear infinite;
}

@keyframes medalSpin {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(15deg); }
}

.podium-info {
    text-align: center;
    margin-bottom: 1rem;
}

.podium-name {
    font-size: 1.3rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.winner-name {
    font-size: 1.6rem;
    color: #f7dc6f;
    text-shadow: 0 0 15px rgba(247, 220, 111, 1);
}

.podium-score {
    font-size: 1.5rem;
    color: #f28c38;
    font-weight: 800;
}

.winner-score {
    font-size: 2rem;
    color: #f7dc6f;
    text-shadow: 0 0 20px rgba(247, 220, 111, 1);
}

.winner-label {
    font-size: 1rem;
    color: #FFD700;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0.5rem;
}

.podium-stand {
    width: 100%;
    height: 150px;
    border-radius: 10px 10px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.gold-stand {
    height: 180px;
    background: linear-gradient(180deg, #FFD700, #FFA500);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.5);
}

.silver-stand {
    height: 140px;
    background: linear-gradient(180deg, #C0C0C0, #808080);
    box-shadow: 0 10px 20px rgba(192, 192, 192, 0.4);
}

.bronze-stand {
    height: 120px;
    background: linear-gradient(180deg, #CD7F32, #8B4513);
    box-shadow: 0 10px 20px rgba(205, 127, 50, 0.4);
}

.stand-number {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(0, 0, 0, 0.3);
}

/* Asientos del Auditorio */
.audience-section {
    margin-top: 3rem;
}

.seats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.audience-seat {
    position: relative;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid rgba(242, 140, 56, 0.4);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.audience-seat:hover {
    transform: translateY(-5px);
    border-color: #f7dc6f;
    box-shadow: 0 10px 30px rgba(242, 140, 56, 0.4);
}

.seat-number {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: rgba(242, 140, 56, 0.3);
    color: #f7dc6f;
    padding: 0.3rem 0.8rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 700;
}

.seat-avatar {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.avatar-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(242, 140, 56, 0.3), rgba(247, 220, 111, 0.2));
    border: 3px solid rgba(242, 140, 56, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.avatar-emoji {
    font-size: 2.5rem;
    filter: drop-shadow(0 0 10px rgba(247, 220, 111, 0.6));
}

.seat-status {
    position: absolute;
    bottom: 0;
    right: 0;
}

.status-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #000;
}

.status-dot.active {
    background: #2ecc71;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); }
    50% { box-shadow: 0 0 0 10px rgba(46, 204, 113, 0); }
}

.seat-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.seat-name {
    font-size: 1.1rem;
    color: #fff;
    font-weight: 600;
}

.seat-score {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #f7dc6f;
    font-size: 1rem;
    font-weight: 700;
}

.score-icon {
    font-size: 1.2rem;
}

/* Auditorio vacío */
.empty-auditorium {
    text-align: center;
    padding: 5rem 2rem;
    color: #fff;
}

.empty-icon {
    font-size: 6rem;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 20px rgba(247, 220, 111, 0.8));
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.empty-auditorium h3 {
    font-size: 2rem;
    color: #f7dc6f;
    margin-bottom: 1rem;
}

.empty-auditorium p {
    font-size: 1.2rem;
    color: #ffd89b;
    margin-bottom: 2rem;
}

.btn-home {
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #f28c38, #f7dc6f);
    border: none;
    border-radius: 50px;
    color: #000;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-home:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(242, 140, 56, 0.6);
}

/* Ticker de actividad */
.live-ticker {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(242, 140, 56, 0.9);
    padding: 1rem 2rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(242, 140, 56, 0.6);
    animation: tickerSlide 0.5s ease-out;
    z-index: 100;
}

@keyframes tickerSlide {
    from {
        opacity: 0;
        transform: translate(-50%, 50px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

.ticker-icon {
    font-size: 1.5rem;
}

.ticker-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
}

/* Responsive */
@media (max-width: 1024px) {
    .podium {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .position-1, .position-2, .position-3 {
        order: unset;
        transform: none !important;
    }

    .seats-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
}

@media (max-width: 768px) {
    .stage-header {
        flex-direction: column;
        gap: 1rem;
    }

    .stage-logo {
        font-size: 3rem;
    }

    .title-line-2 {
        font-size: 2rem;
    }

    .seats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .live-ticker {
        width: 90%;
        font-size: 0.9rem;
    }
}