/* ============================================================================
   PANEL DE GANADOR PÚBLICO - TEMA VINTAGE
   ============================================================================ */

.panel-ganador-publico {
    background: linear-gradient(135deg, #fff9e6 0%, #fef6e0 100%);
    border: 3px solid #FE9000;
    border-radius: 8px;
    padding: 30px;
    margin: 40px 0;
    box-shadow:
        0 6px 20px rgba(203, 96, 21, 0.3),
        inset 0 2px 4px rgba(254, 188, 17, 0.2);
    animation: aparecer 0.5s ease-out;
}

@keyframes aparecer {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ganador-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #FEBC11;
}

.ganador-header h3 {
    color: #B34700;
    font-size: 32px;
    font-weight: 700;
    font-family: 'Georgia', serif;
    margin: 0 0 10px 0;
    text-shadow: 2px 2px 4px rgba(254, 144, 0, 0.3);
}

.ganador-metodo {
    display: inline-block;
    background: linear-gradient(135deg, #FE9000, #FEBC11);
    color: #4F2817;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Georgia', serif;
    box-shadow:
        0 2px 8px rgba(203, 96, 21, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
    border: 2px solid #CB6015;
}

.ganador-contenido {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    background: linear-gradient(to bottom, #fdfbf7, #faf6f0);
    padding: 25px;
    border-radius: 8px;
    border: 2px solid #e8dcc8;
    box-shadow: 0 4px 12px rgba(79, 40, 23, 0.1);
}

.ganador-avatar-container {
    flex-shrink: 0;
}

.ganador-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #FE9000;
    box-shadow: 0 6px 16px rgba(79, 40, 23, 0.3);
}

.ganador-avatar-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #FE9000, #FEBC11);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: #4F2817;
    font-family: 'Georgia', serif;
    font-weight: 700;
    border: 4px solid #CB6015;
    box-shadow: 0 6px 16px rgba(79, 40, 23, 0.3);
}

.ganador-info {
    flex: 1;
}

.ganador-nombre {
    color: #4F2817;
    font-size: 28px;
    font-weight: 700;
    font-family: 'Georgia', serif;
    margin: 0 0 8px 0;
    text-shadow: 1px 1px 2px rgba(179, 71, 0, 0.2);
}

.ganador-alias {
    color: #8b6914;
    font-size: 16px;
    font-family: 'Georgia', serif;
    margin: 0 0 20px 0;
}

.ganador-stats-publico {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.stat-item {
    background: linear-gradient(135deg, #fefce8, #fef9c3);
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #e8dcc8;
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 12px;
    color: #8b6914;
    font-weight: 600;
    font-family: 'Georgia', serif;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.stat-value {
    display: block;
    font-size: 20px;
    color: #4F2817;
    font-weight: 700;
    font-family: 'Georgia', serif;
}

.ganador-premio {
    background: linear-gradient(135deg, #FE9000, #FEBC11);
    padding: 16px 24px;
    border-radius: 8px;
    text-align: center;
    border: 2px solid #CB6015;
    box-shadow:
        0 4px 12px rgba(203, 96, 21, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
    margin-top: 20px;
}

.premio-label {
    display: inline-block;
    font-size: 16px;
    color: #4F2817;
    font-weight: 600;
    font-family: 'Georgia', serif;
    margin-right: 10px;
}

.premio-valor {
    display: inline-block;
    font-size: 28px;
    color: #4F2817;
    font-weight: 700;
    font-family: 'Georgia', serif;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
}

.ganador-fecha {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #FEBC11;
    color: #8b6914;
    font-size: 14px;
    font-family: 'Georgia', serif;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .panel-ganador-publico {
        padding: 20px;
    }

    .ganador-header h3 {
        font-size: 24px;
    }

    .ganador-contenido {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }

    .ganador-avatar,
    .ganador-avatar-placeholder {
        width: 100px;
        height: 100px;
        font-size: 50px;
    }

    .ganador-nombre {
        font-size: 22px;
    }

    .ganador-stats-publico {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .stat-value {
        font-size: 18px;
    }

    .premio-valor {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .ganador-header h3 {
        font-size: 20px;
    }

    .ganador-metodo {
        font-size: 12px;
        padding: 6px 16px;
    }

    .ganador-avatar,
    .ganador-avatar-placeholder {
        width: 80px;
        height: 80px;
        font-size: 40px;
    }

    .ganador-nombre {
        font-size: 20px;
    }

    .premio-valor {
        font-size: 20px;
    }
}
