* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: radial-gradient(1200px 500px at 20% -10%, rgba(74, 155, 142, 0.2), transparent 60%), #0b0c10;
    color: #f3f3f3;
    min-height: 100vh;
    padding: 36px 20px 48px;
}

#shader{
    position:fixed;
    inset:0;
    width:100%;
    height:100%;
    z-index:0;
}

.all-games-page {
    position:relative;
    z-index:1;
    max-width: 1380px;
    margin: 0 auto;
}

.all-games-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.all-games-label {
    color: #bababa;
    font-size: 14px;
    margin-bottom: 4px;
}

.all-games-header h1 {
    font-size: 42px;
    line-height: 1.1;
    margin-bottom: 6px;
}

.all-games-subtitle {
    color: #c5c5c5;
    font-size: 16px;
}

.back-home-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.back-home-btn:hover {
    background: rgba(255, 255, 255, 0.08);
}

.all-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, 205px);
    justify-content: start;
    gap: 12px;
}

.all-game-card {
    width: 205px;
    background: #111318;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
    min-width: 0;
}

.all-game-card a {
    display: block;
    width: 205px;
    height: 162px;
}

.all-game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.all-game-content {
    padding: 10px 10px 12px;
}

.all-game-content h2 {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 4px;
}

.all-game-meta {
    font-size: 12px;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 6px;
}

.all-game-content p {
    font-size: 13px;
    color: #cbcbcb;
    line-height: 1.45;
}

@media (max-width: 1100px) {
    .all-games-grid {
        grid-template-columns: repeat(auto-fill, 205px);
    }
}

@media (max-width: 700px) {
    .all-games-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .all-games-header h1 {
        font-size: 34px;
    }

    .all-games-grid {
        grid-template-columns: 205px;
        justify-content: center;
    }
}
