@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;800;900&family=Outfit:wght@100;300;400;500;700;900&display=swap');

:root {
    --accent-primary: #7c3aed;
    /* Vibrant Purple */
    --accent-secondary: #c026d3;
    /* Magenta */
    --bg-dark: #0a0a0c;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    /* Sophisticated thin border */
    --text-main: #f4f4f5;
    --text-muted: #a1a1aa;
}

#loading-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(to right, var(--accent-primary), var(--accent-secondary));
    z-index: 10000;
    transition: width 0.3s ease, opacity 0.5s ease;
    box-shadow: 0 0 10px rgba(124, 58, 237, 0.5);
}

.particles-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.5;
}

/* Custom Premium Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: rgba(124, 58, 237, 0.2);
    border-radius: 10px;
    border: 2px solid var(--bg-dark);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

html,
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    overflow-x: hidden;
    /* Hardened for 100/100 Score */
    width: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-size: 16px;
    line-height: 1.6;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(124, 58, 237, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(192, 38, 211, 0.1) 0%, transparent 40%);
    min-height: 100vh;
}

/* v15: SEO Readable Font Sizes - explicit px declarations */
p,
span,
li,
td,
th,
a,
label,
small,
div,
blockquote {
    font-size: 16px;
}

small {
    font-size: 14px;
}

/* Glassmorphism Components */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.glass-panel:hover {
    border-color: rgba(124, 58, 237, 0.4);
}

/* v18: Mobile-First Hero Slider Components */
.slider-container {
    position: relative;
    overflow: hidden;
    margin-bottom: 50px;
    border-color: var(--accent-primary);
    width: 100%;
}

.slide {
    display: none;
    width: 100%;
    min-height: 450px;
    background: #0a0a0c;
}

.slide.active {
    display: flex;
}

.slide-img {
    width: 65%;
    object-fit: cover;
    height: 450px;
}

.slide-content {
    flex: 1;
    padding: 40px;
    background: linear-gradient(to right, rgba(10, 10, 12, 1), rgba(10, 10, 12, 0.8));
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.slide-btn-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 15px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
}

.slide-btn-nav:hover {
    background: var(--accent-primary);
    transform: translateY(-50%) scale(1.1);
}

.slide-btn-prev {
    left: 20px;
}

.slide-btn-next {
    right: 20px;
}

/* v18: Category Navigation */
.cat-nav-container {
    margin-bottom: 40px;
    width: 100%;
}

.cat-nav-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Interactive Badges & Notifications */
.badge-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ef4444;
    color: white;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 20px;
    font-weight: 700;
    min-width: 18px;
    text-align: center;
}

/* v28: Named Grid 'Safe Area' Architecture - Zero Exception Lock */
nav {
    height: 78px !important;
    display: grid !important;
    grid-template-areas: "logo search links right" !important;
    grid-template-columns: 240px 280px 1fr auto !important; /* Aggressive shrink search for breathability */
    grid-template-rows: 78px !important;
    align-items: center !important;
    padding: 0 40px !important;
    position: sticky;
    top: 0;
    z-index: 2000;
    background: rgba(10, 10, 12, 0.98);
    backdrop-filter: blur(30px);
    border-bottom: 2px solid var(--glass-border);
    white-space: nowrap !important;
    overflow: visible !important; /* v31: Absolute bypass for clipping */
}

.logo {
    grid-area: logo;
    height: 78px !important;
    display: flex !important;
    align-items: center !important;
    font-family: 'Orbitron', sans-serif !important;
    font-size: 1.5rem !important;
    font-weight: 900 !important;
    letter-spacing: 2px !important;
    text-decoration: none !important;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary)) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    text-shadow: 0 0 20px rgba(124, 58, 237, 0.4);
    transition: all 0.3s ease;
}

.logo:hover {
    filter: brightness(1.2);
    text-shadow: 0 0 30px rgba(192, 38, 211, 0.6);
}

#nav-search-form {
    grid-area: search;
    height: 44px !important;
    display: grid !important;
    grid-template-columns: auto 1fr;
    align-items: center !important;
    background: rgba(255, 255, 255, 0.04);
}

.nav-links {
    grid-area: links;
    display: grid !important;
    grid-auto-flow: column !important;
    grid-template-rows: 78px !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 25px !important;
    height: 78px !important;
}

.nav-links a {
    height: 78px !important;
    line-height: 78px !important;
    display: grid !important;
    place-items: center !important;
    white-space: nowrap !important;
}

.nav-right {
    grid-area: right;
    height: 78px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding-right: 40px; /* Space from edge */
    transform: translateY(4px); /* Forcing vertical optical center */
}

.header-icon-btn {
    width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    text-decoration: none;
}

.wallet-display, .xp-container {
    height: 38px !important;
    padding: 0 15px !important;
    display: flex !important;
    align-items: center !important;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
}

.nav-link-plain {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    padding: 8px 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link-plain:hover {
    color: white;
    border-color: var(--accent-primary);
    background: rgba(124, 58, 237, 0.05);
}

.nav-register-btn {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary)) !important;
    border: none !important;
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
    font-weight: 900 !important;
    letter-spacing: 1px;
    height: 40px !important;
    min-width: 130px;
    animation: glowPulse 2s infinite ease-in-out;
}

@keyframes glowPulse {
    0% { box-shadow: 0 0 10px rgba(124, 58, 237, 0.3); }
    50% { box-shadow: 0 0 25px rgba(192, 38, 211, 0.6); }
    100% { box-shadow: 0 0 10px rgba(124, 58, 237, 0.3); }
}

.nav-register-btn:hover {
    transform: translateY(-2px) scale(1.05);
    filter: brightness(1.2);
    box-shadow: 0 0 35px rgba(192, 38, 211, 0.8);
}

.nav-lang {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 40px;
}

.nav-lang-link {
    color: var(--accent-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.7;
    padding: 0;
}

/* v22: Header Button Standard */
.header-icon-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-icon-btn:hover {
    background: rgba(124, 58, 237, 0.15);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.header-icon-btn span {
    font-size: 1.2rem;
    line-height: 1;
}

.wallet-display, .xp-container {
    height: 40px;
    display: inline-flex !important;
    align-items: center;
    padding: 0 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    box-sizing: border-box;
}

.nav-lang-link.active {
    opacity: 1;
}

.nav-divider {
    width: 1px;
    height: 24px;
    background: rgba(255, 255, 255, 0.14);
    align-self: center;
}

.nav-container-main {
    display: flex !important;
    align-items: center;
    gap: 24px;
    flex: 1;
    min-width: 0;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
}

#nav-search-form {
    position: relative;
    width: 380px;
    max-width: 380px;
    margin: 0;
    flex: 1 1 auto; /* Allow aggressive shrink */
    min-width: 100px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-search-input {
    width: 100% !important;
    padding: 10px 15px 10px 40px !important;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: white;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
    box-sizing: border-box !important;
    transition: all 0.3s ease;
}

/* v18: Profile & Wallet Layouts */
.wallet-display {
    color: #f59e0b;
    font-weight: 700;
    margin: 0;
    text-decoration: none;
}

.xp-container {
    background: rgba(245, 158, 11, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
    border: 1px solid rgba(245, 158, 11, 0.2);
    display: flex;
    align-items: center;
    gap: 5px;
}

.xp-text {
    color: #f59e0b;
    font-weight: 800;
    font-size: 0.8rem;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transform: translateY(2px); /* Pulled down as requested */
}

.profile-frame-container {
    position: relative;
    display: flex;
    align-items: center;
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    padding: 2px;
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.3);
}

.profile-img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

.profile-frame-active {
    position: absolute;
    width: 45px;
    height: 45px;
    top: -5px;
    left: -5px;
}

.dropdown-arrow {
    opacity: 0.5;
    color: white;
}

.nav-search-input:focus {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--accent-primary);
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.2);
}

/* v18: Footer Components (SEO Compliant) */
.main-footer {
    background: rgba(10, 10, 12, 0.9);
    border-top: 1px solid var(--glass-border);
    padding: 80px 10% 40px;
    margin-top: 100px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-heading {
    margin-bottom: 25px;
    letter-spacing: 1px;
    font-size: 1.1rem;
    font-weight: 700;
}

.footer-text {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.95rem;
}

.footer-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.9rem;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
}

.social-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-icon {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-3px);
    color: var(--accent-primary);
}

/* Mobile Responsive Hardening (100/100) */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .main-footer {
        padding: 60px 5% 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    overflow-x: hidden;
    /* Prevent child overflow */
}

/* Store Section */
/* v18: Game Cards & Grids (SEO Optimized) */
.game-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    width: 100%;
}

.card-img-container {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.card-img {
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.discount-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: #4ade80;
    color: #064e3b;
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.95rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.game-card-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.game-grid, .deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.game-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* v20: Final Nuclear Utility Layer */
.text-accent {
    color: var(--accent-primary) !important;
}

.text-accent-2 {
    color: var(--accent-secondary) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

.text-white {
    color: white !important;
}

.text-gold {
    color: #f59e0b !important;
}

.text-green {
    color: #4ade80 !important;
}

.font-sm {
    font-size: 0.85rem;
}

.font-md {
    font-size: 1rem;
}

.font-lg {
    font-size: 1.1rem;
}

.font-xl {
    font-size: 1.5rem;
}

.font-bold {
    font-weight: 700;
}

.font-extrabold {
    font-weight: 800;
}

.line-height-1-7 {
    line-height: 1.7;
}

.line-height-1-9 {
    line-height: 1.9;
}

.flex-center-gap-10 {
    display: flex;
    align-items: center;
    gap: 10px;
}

.flex-column-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.w-auto {
    width: auto !important;
}

.w-fit {
    width: fit-content !important;
}

.h-100 {
    height: 100% !important;
}

.p-25 {
    padding: 25px !important;
}

.p-40 {
    padding: 40px !important;
}

.p-15 {
    padding: 15px !important;
}

.border-top-accent {
    border-top: 3px solid #f59e0b;
}

/* v28: Final Breakthrough Adaptive Rules */
@media (max-width: 1400px) {
    nav { grid-template-columns: 200px 250px 1fr auto !important; gap: 10px !important; }
}

@media (max-width: 1150px) {
    .nav-links a span { display: none !important; }
}

/* v31: Professional Studio Architecture - Fixed Syntax */
@media (max-width: 850px) {
    nav { grid-template-areas: "logo links right" !important; grid-template-columns: auto 1fr auto !important; }
    #nav-search-form { display: none !important; }
    
    .slide {
        flex-direction: column !important;
        height: auto;
    }
    .slide img {
        width: 100% !important;
        height: 250px;
    }
}

.game-card-title {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.game-card-prices {
    display: flex;
    align-items: center;
    gap: 12px;
}

.old-price {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 0.9rem;
}

.current-price-hl {
    color: #4ade80;
    font-weight: 800;
    font-size: 1.1rem;
}

.game-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(124, 58, 237, 0.15);
}

.game-card:hover img {
    filter: brightness(1.1);
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: border-color 0.3s ease;
}

.glass-panel:hover {
    border-color: rgba(124, 58, 237, 0.3);
}

.game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.game-info {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.game-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.game-price {
    color: var(--accent-primary);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

/* Auth Pages */
.auth-container {
    max-width: 450px;
    margin: 100px auto;
    padding: 40px;
}

.input-group {
    margin-bottom: 24px;
}

.input-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

input,
textarea,
select {
    width: 100%;
    padding: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: white;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
}

.btn {
    background: rgba(255, 255, 255, 0.05); /* v29: Crystal glass base */
    backdrop-filter: blur(12px);
    color: white;
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    height: 48px; /* Hardened premium height */
    width: auto;
    padding: 0 35px;
    line-height: 1;
    box-sizing: border-box;
    vertical-align: middle;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-size: 0.85rem;
    position: relative;
    overflow: hidden;
}

.btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary)) !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.5);
    filter: brightness(1.1);
}

.btn-gold {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    border: none !important;
    color: #451a03 !important;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.btn-gold:hover {
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.5);
    transform: translateY(-2px) scale(1.02);
}

.btn-green {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-green:hover {
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.5);
}

.btn:active {
    transform: scale(0.96);
}

/* v31: Studio Form System - 'En Profesyonel' Version */
.form-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 45px !important; /* Breathable padding */
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.form-grid-studio {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.form-section-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.input-container {
    margin-bottom: 25px;
}

.input-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.studio-input {
    background: rgba(0, 0, 0, 0.2) !important;
    border: 1.5px solid var(--glass-border) !important;
    transition: all 0.3s ease !important;
}

.studio-input:focus {
    border-color: var(--accent-primary) !important;
    background: rgba(124, 58, 237, 0.05) !important;
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.1) !important;
}

/* Custom File Upload Zone */
.file-upload-zone {
    position: relative;
    border: 2px dashed var(--glass-border);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.02);
}

.file-upload-zone:hover {
    border-color: var(--accent-primary);
    background: rgba(124, 58, 237, 0.04);
}

.file-upload-zone input[type="file"] {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
}

.file-upload-text {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.file-icon {
    font-size: 1.8rem;
    margin-bottom: 10px;
    display: block;
}
.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th,
td {
    text-align: left;
    padding: 20px;
    border-bottom: 1px solid var(--glass-border);
}

th {
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 18px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
    height: 36px;
    box-sizing: border-box;
}

.badge-pending {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    border: 1px solid var(--glass-border);
}

.badge-approved {
    background: rgba(16, 185, 129, 0.1);
    color: #4ade80;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-rejected {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge:hover {
    transform: translateY(-2px);
    filter: brightness(1.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Premium Scrollbar Global */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--accent-primary), var(--accent-secondary));
    border-radius: 10px;
    border: 2px solid var(--bg-dark);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

/* Custom Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade {
    animation: fadeIn 0.6s ease-out forwards;
}

/* Skeleton Shimmer */
.shimmer {
    background: linear-gradient(90deg, #1a1a1e 25%, #2a2a2e 50%, #1a1a1e 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* Dropdown Animation */
.dropdown-content {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.dropdown:hover .dropdown-content {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Transitions */
.slide {
    animation: slideFade 0.8s ease-in-out;
}

@keyframes slideFade {
    from {
        opacity: 0;
        transform: scale(1.05);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer */
footer {
    margin-top: 100px;
    padding: 60px 40px;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    background: rgba(0, 0, 0, 0.2);
}

/* ===== v16: Index Page Grid Layouts ===== */
.deals-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.slider-container {
    height: 450px;
}

.slide {
    height: 100%;
}

/* ===== v16: Responsive / Mobile Uyumluluk ===== */

/* Tablet (max 768px) */
/* Block 2 Redundancy Removed */

/* ===== v16: Semantic Layout Classes (SEO Refactor) ===== */
.hero-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    margin-top: 20px;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 5px;
}

.section-title {
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.about-block {
    margin-top: 60px;
    padding: 50px;
    background: rgba(124, 58, 237, 0.04);
    border: 1px solid rgba(124, 58, 237, 0.1);
    border-radius: 16px;
}

.feature-item h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--accent-secondary);
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.7;
}

/* Category Nav */
.cat-nav {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
}

.cat-nav .badge {
    text-decoration: none;
    padding: 10px 20px;
}

/* Updated Responsive Rules for new classes */
/* Block 3 Redundancy Removed */

/* Mobile (max 480px) */
@media (max-width: 480px) {
    nav {
        padding: 10px 15px;
    }

    .logo {
        font-size: 1.2rem;
    }

    .nav-links a {
        font-size: 0.8rem;
        padding: 4px 6px;
    }

    .container {
        padding: 0 10px;
    }

    .game-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .game-card img {
        height: 140px;
    }

    .game-title {
        font-size: 0.95rem;
    }

    .game-price {
        font-size: 0.9rem;
    }

    .auth-container {
        margin: 20px auto;
        padding: 20px;
    }

    input,
    textarea,
    select {
        padding: 12px;
        font-size: 14px;
    }

    .btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    footer>div:last-child {
        flex-direction: column !important;
        gap: 10px !important;
        align-items: center !important;
    }

    .dropdown-content {
        position: fixed !important;
        left: 10px !important;
        right: 10px !important;
        width: auto !important;
    }

    .deals-grid {
        grid-template-columns: 1fr;
    }

    .slide>div:last-child h2 {
        font-size: 1.5rem !important;
        /* Scale down from 3rem */
        line-height: 1.2 !important;
    }

    .slide>div:last-child p {
        font-size: 0.85rem !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .slide>div:last-child span {
        font-size: 1.1rem !important;
    }

    .hero-title {
        font-size: 1.8rem !important;
    }

    .slide {
        flex-direction: column !important;
    }

    .slide img {
        width: 100% !important;
        height: 200px !important;
    }

    .slide>div:last-child {
        padding: 20px !important;
        background: rgba(10, 10, 12, 0.95) !important;
    }
}

/* Small Mobile (max 360px) */
@media (max-width: 360px) {
    .game-grid {
        grid-template-columns: 1fr;
    }

    nav .nav-links {
        gap: 4px;
    }

    .nav-links a {
        font-size: 0.75rem;
    }
}

/* v21: Structural Utility Overrides */
.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.5;
}

.bg-accent {
    background: var(--accent-primary) !important;
}

.relative-item {
    position: relative;
}

.badge-count.bg-accent {
    background: var(--accent-primary) !important;
    color: white !important;
}

/* v22: Nuclear Typography & Spacing */
.font-xxl {
    font-size: 1.8rem;
}

.mb-15 {
    margin-bottom: 15px !important;
}

.mb-10 {
    margin-bottom: 10px !important;
}

.p-12-30 {
    padding: 12px 30px !important;
}

.italic {
    font-style: italic;
}

.line-height-1-6 {
    line-height: 1.6;
}

.flex-center-gap-20 {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* v23: Final SEO Compliant Component Layer */
.badge-discount {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: #4ade80;
    color: #064e3b;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 0.8rem;
}

.game-category-label {
    font-size: 0.75rem;
    color: var(--accent-primary);
    font-weight: 700;
}

.game-title-main {
    margin: 5px 0 10px;
    font-size: 1.1rem;
    color: white;
    height: 48px; /* Standardize title height */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.2;
}

.game-price-row {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 24px;
}

.old-price-label {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 0.85rem;
    margin-right: 8px;
}

.current-price-label {
    font-weight: 700;
    color: white;
}

.italic {
    font-style: italic;
}

.mt-30 {
    margin-top: 30px !important;
}

.p-t-30 {
    padding-top: 30px !important;
}

/* v24: Global Appended Utilities from Header Refactor */
* {
    cursor: url('https://cdn-icons-png.flaticon.com/32/7915/7915521.png'), auto !important;
}

a,
button,
.glass-panel {
    cursor: url('https://cdn-icons-png.flaticon.com/32/7915/7915521.png'), pointer !important;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(var(--accent-primary), var(--accent-secondary));
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

.animate-premium {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-premium:hover {
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 10px 40px rgba(124, 58, 237, 0.3);
}

/* Semantic SEO Fixes */
header {
    width: 100%;
    z-index: 1000;
}