* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: #000;
    color: #E0E5EC;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
}

.aurora-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background: conic-gradient(from 0deg at 50% 50%, #0F2027, #203A43, #2C5364, #1A2980, #26D0CE, #0F2027);
    filter: blur(80px);
    opacity: 0.6;
    animation: auroraShift 20s ease infinite;
}

@keyframes auroraShift {
    0% { transform: rotate(0deg) scale(1); }
    33% { transform: rotate(120deg) scale(1.05); }
    66% { transform: rotate(240deg) scale(0.95); }
    100% { transform: rotate(360deg) scale(1); }
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    padding: 10px;
}

@media (min-width: 768px) {
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (min-width: 1024px) {
    .games-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
}

.game-card {
    background: linear-gradient(135deg, rgba(224, 229, 236, 0.92) 0%, rgba(200, 210, 220, 0.96) 100%);
    backdrop-filter: blur(10px);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 0 15px rgba(38, 208, 206, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.game-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25), 0 0 30px rgba(38, 208, 206, 0.15);
}

.game-card:hover img {
    transform: scale(1.1);
    filter: brightness(1.05) contrast(1.1) saturate(0.9);
}

.related-games-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

@media (min-width: 768px) {
    .related-games-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

.related-game {
    transition: all 0.3s ease;
}

.related-game:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15), 0 0 20px rgba(38, 208, 206, 0.12);
}

button {
    transition: all 0.3s ease;
}

button:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(38, 208, 206, 0.3);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    transition: all 0.3s ease;
}

::selection {
    background: rgba(38, 208, 206, 0.35);
    color: white;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(15, 32, 39, 0.3);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #2C5364, #26D0CE);
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(38, 208, 206, 0.3);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #26D0CE, #B0E0E6);
    box-shadow: 0 0 15px rgba(176, 224, 230, 0.4);
}