/* Base Styles */
img {
    max-width: 100%;
    height: auto;
}

.hero-bg {
    background-color: #0f0f11;
    background-image: radial-gradient(circle at 50% 50%, #1a1a20 0%, #0f0f11 100%);
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Glassmorphism */
.glass-panel {
    background: rgba(30, 30, 36, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.game-card .game-img {
    transition: transform 0.5s ease;
}

.game-card:hover .game-img {
    transform: scale(1.1);
}

/* Animations */
@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.toast-enter {
    animation: slideInLeft 0.5s ease-out forwards;
}

.toast-exit {
    animation: fadeOut 0.5s ease-out forwards;
}

.category-btn.active {
    background-color: #00A024;
    color: white;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Content Visibility Optimization */
.seo-content {
    content-visibility: auto;
    contain-intrinsic-size: 1000px;
}

/* Prose Styles for SEO Content */
.prose {
    color: #d1d5db;
    max-width: 65ch;
}

.prose p {
    margin-top: 1.25em;
    margin-bottom: 1.25em;
}

.prose h2 {
    color: #ffffff;
    font-weight: 800;
    font-size: 1.875em;
    margin-top: 2em;
    margin-bottom: 1em;
    line-height: 1.2;
}

.prose h3 {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.5em;
    margin-top: 2em;
    margin-bottom: 1em;
    line-height: 1.3;
}

.prose strong {
    color: #ffffff;
    font-weight: 600;
}

.prose em {
    color: #d1d5db;
    font-style: italic;
}

.prose code {
    background-color: #1f2937;
    color: #00A024;
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
    font-size: 0.875em;
    font-weight: 400;
}

.prose a {
    color: #00A024;
    text-decoration: underline;
    font-weight: 500;
}

.prose a:hover {
    color: #00851e;
}

/* Prose Invert (Dark Theme) */
.prose-invert {
    color: #d1d5db;
}

.prose-invert h2 {
    color: #ffffff;
}

.prose-invert h3 {
    color: #ffffff;
}

.prose-invert strong {
    color: #ffffff;
}

.prose-invert code {
    background-color: #1f2937;
    color: #00A024;
}

/* Prose Green Accent */
.prose-green a {
    color: #00A024;
}

.prose-green a:hover {
    color: #00851e;
}

.prose-green code {
    color: #00A024;
}

.prose-green strong {
    color: #ffffff;
}

/* SEO Content Custom Classes */
.seo-prose-wrapper {
    max-width: none;
    color: #d1d5db;
}

.seo-prose-wrapper p {
    margin-bottom: 1.5rem;
    line-height: 1.75;
}

.seo-prose-wrapper h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.5rem;
    scroll-margin-top: 7rem;
}

.seo-prose-wrapper h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    scroll-margin-top: 7rem;
}

.seo-code {
    background-color: #1f2937;
    color: #00A024;
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
}

