/* layout.css - Layout и структура страницы */

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.header {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    padding: 35px;
    margin-bottom: 25px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: slideDown 0.6s ease-out;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    animation: fadeIn 0.6s ease-out;
    flex-wrap: wrap;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 25px;
}

.game-details-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 14, 39, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loader-content {
    text-align: center;
    color: #ffffff;
}

#content {
    display: none;
}

@media (max-width: 768px) {
    .game-details-container {
        grid-template-columns: 1fr;
    }

    .leaderboard-controls {
        flex-direction: column;
        align-items: flex-start;
    }
}
