@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #141414;
    min-height: 100vh;
    padding: 40px 20px;
    color: #e5e5e5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.logo-container {
    text-align: center;
    margin-bottom: 40px;
}

.logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.category {
    background: #1c1c1c;
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.category-title {
    font-size: 1.8em;
    color: #d4d4d4;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #808080;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.games-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

/* 3 columns */
@media (min-width: 575px) {
    .games-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* 4 columns */
@media (min-width: 800px) {
    .games-list {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* 5 columns */
@media (min-width: 1100px) {
    .games-list {
        grid-template-columns: repeat(5, 1fr);
    }
}

.game-link {
    display: flex;
    aspect-ratio: 1;
    background: #241773;
    color: #ffffff;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    text-align: center;
    font-weight: 500;
    border: 1px solid #241773;
    letter-spacing: 0.01em;
    font-size: 0.95em;
    overflow: hidden;
    position: relative;
    align-items: center;
    justify-content: center;
}

.game-link:hover {
    background: #2d1f8a;
    transform: scale(1.02);
    border-color: #2d1f8a;
}

.game-link:active {
    transform: scale(0.98);
    background: #1a0f4d;
}

.game-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.game-link:hover .game-thumbnail {
    opacity: 0.9;
}

.no-games {
    color: #808080;
    font-style: italic;
    padding: 20px;
    text-align: center;
}

