/* BigScreen Styles - Millonario Coco */

.bigscreen-container {
    position: relative;
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0404 0%, #1a0a05 50%, #0a0404 100%);
    overflow: hidden;
}

.bigscreen-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.spotlight {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(100px);
    animation: spotlightMove 8s ease-in-out infinite;
}

.spotlight-left {
    top: 10%;
    left: 10%;
    background: radial-gradient(circle, rgba(242, 140, 56, 0.3), transparent);
    animation-delay: 0s;
}

.spotlight-right {
    bottom: 10%;
    right: 10%;
    background: radial-gradient(circle, rgba(247, 220, 111, 0.3), transparent);
    animation-delay: 4s;
}

@keyframes spotlightMove {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, 50px) scale(1.2); }
}

.bigscreen-content {
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.bigscreen-header {
    text-align: center;
    margin-bottom: 3rem;
}

.bigscreen-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    font-size: 3.5rem;
    margin: 0 0 1rem 0;
    color: #f7dc6f;
    text-shadow: 0 0 30px rgba(247, 220, 111, 0.8);
    animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { text-shadow: 0 0 30px rgba(247, 220, 111, 0.6); }
    50% { text-shadow: 0 0 50px rgba(247, 220, 111, 1); }
}

.title-icon {
    font-size: 3rem;
    filter: drop-shadow(0 0 20px rgba(247, 220, 111, 1));
    animation: iconBounce 2s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.title-text {
    background: linear-gradient(135deg, #f7dc6f, #f28c38, #f7dc6f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.bigscreen-subtitle {
    font-size: 1.5rem;
    color: #ffd89b;
    font-style: italic;
    opacity: 0.9;
}

.leaderboard {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.player-card {
    display: grid;
    grid-template-columns: 100px 1fr 200px;
    align-items: center;
    gap: 2rem;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(242, 140, 56, 0.5);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    animation: cardSlideIn 0.5s ease-out;
}

@keyframes cardSlideIn {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.player-card:hover {
    transform: translateX(10px);
    border-color: #f7dc6f;
    box-shadow: 0 10px 40px rgba(242, 140, 56, 0.4);
}

.rank-gold {
    border-color: #FFD700;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(242, 140, 56, 0.2));
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.rank-silver {
    border-color: #C0C0C0;
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.2), rgba(242, 140, 56, 0.2));
}

.rank-bronze {
    border-color: #CD7F32;
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.2), rgba(242, 140, 56, 0.2));
}

.player-rank {
    display: flex;
    justify-content: center;
    align-items: center;
}

.rank-icon {
    font-size: 4rem;
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.8));
}

.rank-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #f7dc6f;
}

.player-info-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.player-avatar-big {
    font-size: 3rem;
    filter: drop-shadow(0 0 15px rgba(247, 220, 111, 0.8));
}

.player-name-big {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.player-score-big {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
}

.score-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #f7dc6f;
    text-shadow: 0 0 20px rgba(247, 220, 111, 0.8);
}

.score-label {
    font-size: 1rem;
    color: #ffd89b;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.no-players {
    text-align: center;
    padding: 5rem 2rem;
    color: #ffd89b;
}

.no-players-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    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); }
}

.no-players p {
    font-size: 1.5rem;
    font-style: italic;
}

.live-activity {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    min-width: 400px;
    z-index: 100;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(242, 140, 56, 0.9);
    padding: 1rem 2rem;
    border-radius: 50px;
    border: 2px solid #f7dc6f;
    animation: activitySlideUp 0.5s ease-out;
    box-shadow: 0 10px 30px rgba(242, 140, 56, 0.6);
}

@keyframes activitySlideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.activity-icon {
    font-size: 1.5rem;
}

.activity-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #000;
}

.connection-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    margin-top: 1rem;
    font-size: 1rem;
}

.connection-status.offline {
    background: rgba(231, 76, 60, 0.2);
    border: 2px solid #e74c3c;
    color: #e74c3c;
}

.connection-status.online {
    background: rgba(46, 204, 113, 0.2);
    border: 2px solid #2ecc71;
    color: #2ecc71;
}

.status-icon {
    font-size: 1.2rem;
}

.btn-clear {
    margin-top: 1rem;
    padding: 0.8rem 1.5rem;
    background: rgba(231, 76, 60, 0.2);
    border: 2px solid #e74c3c;
    border-radius: 25px;
    color: #e74c3c;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-clear:hover {
    background: rgba(231, 76, 60, 0.3);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(231, 76, 60, 0.4);
}

.btn-back {
    margin-top: 2rem;
    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-back:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(242, 140, 56, 0.6);
}

/* Responsive */
@media (max-width: 1024px) {
    .player-card {
        grid-template-columns: 80px 1fr 150px;
        gap: 1rem;
        padding: 1rem 1.5rem;
    }

    .rank-icon {
        font-size: 3rem;
    }

    .rank-number {
        font-size: 2rem;
    }

    .player-name-big {
        font-size: 1.5rem;
    }

    .score-number {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .bigscreen-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .title-icon {
        font-size: 2rem;
    }

    .bigscreen-subtitle {
        font-size: 1.1rem;
    }

    .player-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1rem;
    }

    .player-info-card {
        flex-direction: column;
        gap: 0.5rem;
    }

    .live-activity {
        min-width: 90%;
    }

    .activity-item {
        padding: 0.8rem 1rem;
    }
}