* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Times New Roman', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #2B1B17;
    color: #E0E5EC;
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
}

.parchment-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background: linear-gradient(125deg, #2B1B17, #3E2723, #4E342E, #3E2723);
}

.parchment-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 120px 120px at 15% 20%, rgba(184, 134, 11, 0.18) 0%, transparent 70%),
        radial-gradient(ellipse 90px 90px at 75% 35%, rgba(218, 165, 32, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 150px 150px at 50% 70%, rgba(184, 134, 11, 0.1) 0%, transparent 70%),
        radial-gradient(ellipse 80px 80px at 85% 80%, rgba(232, 213, 181, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 100px 100px at 30% 90%, rgba(139, 0, 41, 0.08) 0%, transparent 70%);
    animation: goldFoilShift 12s ease-in-out infinite;
    pointer-events: none;
}

.parchment-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 60px 60px at 60% 15%, rgba(218, 165, 32, 0.2) 0%, transparent 70%),
        radial-gradient(ellipse 70px 70px at 25% 55%, rgba(184, 134, 11, 0.15) 0%, transparent 70%),
        radial-gradient(ellipse 50px 50px at 90% 50%, rgba(232, 213, 181, 0.12) 0%, transparent 70%);
    animation: goldFoilShift 15s ease-in-out 5s infinite reverse;
    pointer-events: none;
}

@keyframes goldFoilShift {
    0% { transform: translate(0, 0) scale(1); opacity: 0.8; }
    33% { transform: translate(5%, -3%) scale(1.05); opacity: 1; }
    66% { transform: translate(-3%, 4%) scale(0.95); opacity: 0.9; }
    100% { transform: translate(0, 0) scale(1); opacity: 0.8; }
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 10px;
}

@media (min-width: 768px) {
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (min-width: 1024px) {
    .games-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }
}

.game-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 0 1px rgba(184, 134, 11, 0.3)) drop-shadow(0 0 3px rgba(255, 255, 255, 0.05));
}

.game-card:hover {
    transform: translateY(-8px) scale(1.03);
    filter: drop-shadow(0 0 15px rgba(184, 134, 11, 0.5)) drop-shadow(0 0 30px rgba(139, 0, 41, 0.3));
}

.game-card:hover img {
    transform: scale(1.1);
    filter: brightness(0.85) contrast(1.15) saturate(1.1);
}

.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;
    filter: drop-shadow(0 0 1px rgba(184, 134, 11, 0.3));
}

.related-game:hover {
    transform: translateY(-5px) scale(1.03);
    filter: drop-shadow(0 0 12px rgba(184, 134, 11, 0.5)) drop-shadow(0 0 20px rgba(139, 0, 41, 0.3));
}

button {
    transition: all 0.3s ease;
}

button:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(184, 134, 11, 0.3);
}

img {
    max-width: 100%;
    height: auto;
}

a {
    transition: all 0.3s ease;
}

::selection {
    background: rgba(197, 160, 89, 0.35);
    color: #1F1A24;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(43, 27, 23, 0.5);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #8B0029, #B8860B);
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(184, 134, 11, 0.3);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #B8860B, #DAA520);
    box-shadow: 0 0 15px rgba(184, 134, 11, 0.4);
}