.grosseria-scoreboard {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.scoreboard-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    color: white;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    margin-bottom: 30px;
}

.scoreboard-title {
    margin: 0 0 30px 0;
    font-size: 36px;
    font-weight: bold;
    text-shadow: 0 3px 10px rgba(0,0,0,0.3);
}

.counter-display {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.days-text {
    font-size: 20px;
    margin: 10px 0;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.days-number {
    font-size: 100px;
    font-weight: bold;
    margin: 20px 0;
    text-shadow: 0 5px 15px rgba(0,0,0,0.3);
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 5px 15px rgba(0,0,0,0.3); }
    to { text-shadow: 0 5px 25px rgba(255,255,255,0.5); }
}

.record-text {
    color: #ffd700;
    font-size: 18px;
    margin: 20px 0 0 0;
    font-weight: bold;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.scoreboard-table {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.scoreboard-table h3 {
    color: #2c3e50;
    margin: 0 0 10px 0;
    font-size: 24px;
    text-align: center;
}

.subtitle-front {
    text-align: center;
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 20px;
    font-style: italic;
}

.scoreboard-table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}

.scoreboard-table thead th {
    background: #f8f9fa;
    padding: 15px 10px;
    text-align: center;
    color: #7f8c8d;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    border-bottom: 2px solid #ecf0f1;
}

.scoreboard-table tbody tr {
    background: #fff;
    transition: all 0.3s ease;
}

.scoreboard-table tbody tr:hover {
    transform: translateX(5px);
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.scoreboard-table tbody tr.leader {
    background: linear-gradient(135deg, #fff9e6 0%, #fff 100%);
    border-left: 5px solid #ffd700;
}

.scoreboard-table tbody tr.second {
    background: linear-gradient(135deg, #f5f5f5 0%, #fff 100%);
    border-left: 5px solid #c0c0c0;
}

.scoreboard-table tbody tr.third {
    background: linear-gradient(135deg, #fff5e6 0%, #fff 100%);
    border-left: 5px solid #cd7f32;
}

.scoreboard-table tbody td {
    padding: 20px 10px;
    border-bottom: 1px solid #ecf0f1;
    text-align: center;
}

.position-col {
    width: 80px;
    text-align: center;
    font-weight: bold;
    font-size: 18px;
    color: #7f8c8d;
}

.medal {
    font-size: 32px;
    display: inline-block;
    animation: bounce 2s infinite;
}

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

.medal-1 { animation-delay: 0s; }
.medal-2 { animation-delay: 0.2s; }
.medal-3 { animation-delay: 0.4s; }

.name-col {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    text-align: left;
    padding-left: 20px !important;
}

.score-col {
    width: 90px;
    text-align: center;
    font-size: 20px;
}

.positive-score {
    color: #27ae60;
}

.negative-score {
    color: #e74c3c;
}

.positive-col {
    width: 70px;
    color: #27ae60;
    font-weight: bold;
    font-size: 18px;
}

.negative-col {
    width: 70px;
    color: #e74c3c;
    font-weight: bold;
    font-size: 18px;
}

.badge-col {
    font-size: 14px;
    color: #555;
    text-align: left;
    padding-left: 15px !important;
}

/* Responsividade */
@media (max-width: 768px) {
    .scoreboard-title {
        font-size: 24px;
    }
    
    .days-number {
        font-size: 60px;
    }
    
    .days-text {
        font-size: 16px;
    }
    
    .scoreboard-table {
        padding: 20px;
    }
    
    .scoreboard-table table {
        font-size: 13px;
    }
    
    .scoreboard-table thead th {
        padding: 10px 5px;
        font-size: 10px;
    }
    
    .scoreboard-table tbody td {
        padding: 15px 5px;
    }
    
    .medal {
        font-size: 24px;
    }
    
    .name-col {
        font-size: 15px;
        padding-left: 10px !important;
    }
    
    .score-col {
        font-size: 16px;
    }
    
    .positive-col, .negative-col {
        font-size: 15px;
    }
    
    .badge-col {
        font-size: 12px;
        padding-left: 8px !important;
    }
}

@media (max-width: 480px) {
    .scoreboard-header {
        padding: 20px;
    }
    
    .counter-display {
        padding: 20px;
    }
    
    .days-number {
        font-size: 50px;
    }
    
    .badge-col {
        display: none;
    }
    
    .name-col {
        font-size: 14px;
    }
}
