.main-content {
    padding: 30px 20px;
    min-height: 100vh;
}

.ranking-container {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(112, 61, 11, 0.9);
    border: 4px solid;
    border-image:
        linear-gradient(
            to bottom,
            #4E3326 0%,
            #4E3326 33.33%,
            #985736 33.33%,
            #985736 66.66%,
            #4E3326 66.66%,
            #4E3326 100%
        ) 1;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    border-radius: 10px;
    padding: 30px;
}

.ranking-title {
    color: #FFD700;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 25px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.season-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(78, 51, 38, 0.6);
    padding: 15px 30px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.season-number {
    color: #C52701;
    font-size: 1.4rem;
    font-weight: bold;
    text-shadow: black 1px 1px 1px;
}

.season-timer {
    color: #EDE4C5;
    font-size: 1.3rem;
    letter-spacing: 1px;
}

.clan-table-container {
    overflow-x: auto;
}

.clan-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(78, 51, 38, 0.3);
}

.clan-table th {
    background: #4E3326;
    color: #FFD700;
    padding: 15px;
    text-align: left;
    border-bottom: 3px solid #985736;
}

.clan-table td {
    padding: 12px 15px;
    color: #EDE4C5;
    border-bottom: 1px solid rgba(152, 87, 54, 0.3);
}

.clan-table tr:hover {
    background: rgba(112, 61, 11, 0.5);
}

.pagination {
    text-align: center;
    color: #FFFFFF;
}

.pagination span {
    font-size: 20px;
}

@media (max-width: 768px) {
    .ranking-container {
        padding: 20px;
    }

    .ranking-title {
        font-size: 2rem;
    }

    .season-info {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .clan-table th,
    .clan-table td {
        padding: 10px;
        font-size: 0.9rem;
    }

    .season-number,
    .season-timer {
        font-size: 1.1rem;
    }
}
