/* Custom styles for AllStarsMafia */

/* Role-specific colors */
.role-civilian {
    color: #28a745;
}

.role-sheriff {
    color: #007bff;
}

.role-godfather {
    color: #dc3545;
}

.role-mafia {
    color: #dc3545;
}

/* Team-specific colors */
.team-town {
    background-color: rgba(40, 167, 69, 0.2);
}

.team-mafia {
    background-color: rgba(220, 53, 69, 0.2);
}

/* Player card styles */
.player-card {
    transition: transform 0.3s ease;
    margin-bottom: 20px;
}

.player-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.player-avatar {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 auto 15px;
    border: 3px solid #343a40;
}

/* Stats card styles */
.stat-card {
    text-align: center;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Game history styles */
.game-date {
    font-style: italic;
    color: #6c757d;
}

/* Section dividers */
section {
    position: relative;
    padding-top: 20px;
}

section::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.1), transparent);
}

section:last-child::after {
    display: none;
}

/* Screenshot modal styles */
.screenshot-img {
    max-height: 80vh;
    border: 1px solid #dee2e6;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .stat-number {
        font-size: 1.8rem;
    }

    .player-avatar {
        width: 80px;
        height: 80px;
    }
}
