.card {
    background: #1e1e1e;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid #333;
}

.card h2 {
    color: #ffcc00;
    border-bottom: 2px solid #ffcc00;
    padding-bottom: 10px;
    margin-top: 0;
    font-size: 24px;
}

.filter-section {
    margin: 20px 0;
    padding: 15px;
    background: #2d2d2d;
    border-radius: 5px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-section label {
    color: #ffcc00;
    font-weight: bold;
}

.filter-section select {
    padding: 8px 15px;
    background: #3a3a3a;
    color: white;
    border: 1px solid #555;
    border-radius: 4px;
    font-size: 14px;
}

.filter-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    width: 100%;
}

.filter-btn {
    flex: 1;
    min-width: calc(20% - 10px);
    padding: 8px 5px;
    background: #3a3a3a;
    color: white;
    border: 1px solid #555;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.filter-btn {
    padding: 8px 15px;
    background: #3a3a3a;
    color: white;
    border: 1px solid #555;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: #ffcc00;
    color: #333;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: #ffcc00;
    color: #333;
    font-weight: bold;
}

.rank-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: #252525;
}

.rank-table th {
    background: linear-gradient(to bottom, #3a3a3a, #2a2a2a);
    color: #ffcc00;
    padding: 15px;
    text-align: center;
    font-weight: bold;
    border: 1px solid #444;
}

.rank-table td {
    padding: 12px 15px;
    text-align: center;
    border: 1px solid #444;
}

.rank-table tbody tr:nth-child(odd) {
    background-color: #2a2a2a;
}

.rank-table tbody tr:nth-child(even) {
    background-color: #333;
}

.rank-table tbody tr:hover {
    background-color: #444;
    transform: scale(1.01);
    transition: all 0.2s ease;
}

.rank-1 {
    color: #ffd700;
    font-weight: bold;
}

.rank-2 {
    color: #c0c0c0;
    font-weight: bold;
}

.rank-3 {
    color: #cd7f32;
    font-weight: bold;
}

.footer {
    background: #1a1a1a;
    color: #aaa;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 2px solid #ffcc00;
}

@media (max-width: 768px) {
    nav ul.nav {
        flex-direction: column;
    }
    
    nav ul.nav li {
        min-width: 100%;
    }
    
    .filter-section {
        flex-direction: column;
        align-items: flex-start;
    }
}