/* ==========================================================================
   1. CSS Variables (:root)
   ========================================================================== */
:root {
    /* Colors — Скоростной: Желтый, красный, молнии, скорость */
    --primary: #FFD600;
    --primary-dark: #E6C000;
    --secondary: #FF1744;
    --accent: #FF6D00;
    
    /* Backgrounds */
    --bg-dark: #1A0A0A;
    --bg-darker: #0F0505;
    --bg-card: #2A1212;
    --bg-card-hover: #3A1A1A;
    
    /* Text */
    --text-primary: #FFFFFF;
    --text-secondary: #FFE082;
    --text-muted: #B0897A;
    
    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    
    /* Header */
    --header-height: 70px;
    
    /* Fonts — Orbitron for headings, Exo 2 for body */
    --font-body: 'Exo 2', sans-serif;
    --font-heading: 'Orbitron', sans-serif;
}

/* ==========================================================================
   2. Reset & Base
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-dark);
    min-height: 100vh;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

ul, ol {
    padding-left: var(--space-lg);
}

/* ==========================================================================
   3. Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

p {
    margin-bottom: var(--space-md);
    color: var(--text-secondary);
}

strong {
    color: var(--text-primary);
}

/* ==========================================================================
   4. Container
   ========================================================================== */
.m-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.m-container--narrow {
    max-width: 800px;
}

/* ==========================================================================
   5. Header
   ========================================================================== */
.m-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(26, 10, 10, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--primary);
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(255, 214, 0, 0.15);
}

.m-header__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.6rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(255, 214, 0, 0.5);
    transition: text-shadow 0.3s ease;
}

.logo:hover {
    color: var(--primary);
    text-shadow: 0 0 30px rgba(255, 214, 0, 0.8);
}

.m-header__nav {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.m-header__link {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: var(--space-xs) 0;
    transition: color 0.3s ease;
}

.m-header__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
    box-shadow: 0 0 8px rgba(255, 214, 0, 0.6);
}

.m-header__link:hover,
.m-header__link.is-active {
    color: var(--primary);
}

.m-header__link:hover::after,
.m-header__link.is-active::after {
    width: 100%;
}

.m-header__actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.m-header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}

.m-header__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .m-header__nav {
        display: none;
    }
    .m-header__burger {
        display: flex;
    }
    .m-header__actions .btn {
        display: none;
    }
}

/* ==========================================================================
   6. Mobile Menu
   ========================================================================== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg-darker);
    z-index: 1500;
    transition: right 0.3s ease;
    border-left: 2px solid var(--primary);
}

.mobile-menu.is-open {
    right: 0;
}

.mobile-menu__content {
    padding: var(--space-2xl) var(--space-lg);
}

.mobile-menu__close {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    background: none;
    border: none;
    color: var(--primary);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.mobile-menu__link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.mobile-menu__link:hover {
    color: var(--primary);
}

/* ==========================================================================
   7. Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 12px 28px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    line-height: 1.4;
}

.btn--primary {
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow: 0 0 20px rgba(255, 214, 0, 0.3);
}

.btn--primary:hover {
    background: var(--primary-dark);
    color: var(--bg-dark);
    box-shadow: 0 0 30px rgba(255, 214, 0, 0.5);
    transform: translateY(-2px);
}

.btn--secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn--secondary:hover {
    background: rgba(255, 214, 0, 0.1);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn--full {
    width: 100%;
}

.btn--lg {
    padding: 16px 40px;
    font-size: 1rem;
}

.btn--sm {
    padding: 8px 18px;
    font-size: 0.8rem;
}

/* ==========================================================================
   8. Main Content
   ========================================================================== */
.m-main {
    margin-top: var(--header-height);
    min-height: calc(100vh - var(--header-height));
}

/* ==========================================================================
   9. Hero Section
   ========================================================================== */
.m-hero {
    position: relative;
    padding: var(--space-3xl) var(--space-lg);
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 40%, #2A0A0A 100%);
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.m-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(255, 214, 0, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(255, 23, 68, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.m-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), var(--primary), transparent);
    box-shadow: 0 0 15px rgba(255, 214, 0, 0.5);
}

.m-hero__container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.m-hero__lightning {
    position: absolute;
    width: 3px;
    height: 200px;
    z-index: 1;
    opacity: 0.3;
}

.m-hero__lightning--left {
    left: 10%;
    top: 20%;
    background: linear-gradient(180deg, transparent, var(--primary), transparent);
    transform: rotate(-15deg);
    animation: lightning-flicker 3s infinite;
}

.m-hero__lightning--right {
    right: 10%;
    top: 30%;
    background: linear-gradient(180deg, transparent, var(--secondary), transparent);
    transform: rotate(15deg);
    animation: lightning-flicker 4s infinite 1s;
}

@keyframes lightning-flicker {
    0%, 100% { opacity: 0.1; }
    5% { opacity: 0.8; }
    10% { opacity: 0.2; }
    15% { opacity: 0.6; }
    20% { opacity: 0.1; }
    50% { opacity: 0.3; }
}

.m-hero__title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 4px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    margin-bottom: var(--space-md);
}

.m-hero__title--404 {
    font-size: 8rem;
    line-height: 1;
}

.m-hero__subtitle {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.m-hero__text {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.m-hero__auth-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.m-hero--small {
    min-height: 280px;
    padding: var(--space-2xl) var(--space-lg);
}

.m-hero--404 {
    min-height: 60vh;
}

@media (max-width: 768px) {
    .m-hero {
        min-height: 400px;
        padding: var(--space-2xl) var(--space-md);
    }
    .m-hero__title {
        font-size: 2.2rem;
        letter-spacing: 2px;
    }
    .m-hero__title--404 {
        font-size: 5rem;
    }
    .m-hero__subtitle {
        font-size: 1rem;
    }
    .m-hero__lightning {
        display: none;
    }
}

/* ==========================================================================
   10. Sections
   ========================================================================== */
.m-section {
    padding: var(--space-3xl) 0;
}

.m-section--benefits {
    background: var(--bg-darker);
}

.m-section--featured {
    background: var(--bg-dark);
}

.m-section--faq {
    background: var(--bg-darker);
}

.m-section--disclaimer {
    padding: var(--space-xl) 0;
    background: var(--bg-dark);
}

.m-section--unlock {
    padding: var(--space-lg) 0 0;
}

.m-section--filter {
    padding: var(--space-lg) 0;
}

.m-section--games {
    padding: var(--space-lg) 0 var(--space-3xl);
}

.m-section--page-top {
    padding-top: var(--space-2xl);
}

.m-section__title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: var(--space-lg);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
}

.m-section__title--mt {
    margin-top: var(--space-3xl);
}

.m-section__subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: var(--space-2xl);
    font-size: 1.05rem;
}

.m-section__text {
    text-align: center;
    color: var(--text-muted);
}

.m-section__cta {
    text-align: center;
    margin-top: var(--space-2xl);
}

.m-page-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: var(--space-md);
    text-align: center;
}

.m-page-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: var(--space-2xl);
}

/* ==========================================================================
   11. Benefits
   ========================================================================== */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.benefit-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    text-align: center;
    border: 1px solid rgba(255, 214, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 214, 0, 0.3);
    box-shadow: 0 8px 30px rgba(255, 214, 0, 0.1);
}

.benefit-card:hover::before {
    opacity: 1;
}

.benefit-card__icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.benefit-card__title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.benefit-card__text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   12. Featured Providers
   ========================================================================== */
.featured-provider__title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    text-align: center;
    margin: var(--space-xl) 0 var(--space-md);
}

/* ==========================================================================
   13. Games Grid
   ========================================================================== */
.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

@media (max-width: 768px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.games-grid--featured {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .games-grid--featured {
        max-width: 100%;
        gap: 12px;
    }
}

/* ==========================================================================
   14. Game Tile / Game Card
   ========================================================================== */
.game-card {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 214, 0, 0.08);
}

.game-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 214, 0, 0.3);
    box-shadow: 0 8px 25px rgba(255, 214, 0, 0.15);
}

.game-card__image {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.game-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.game-card:hover .game-card__image img {
    transform: scale(1.05);
}

.game-card__overlay-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 10, 10, 0.6);
    opacity: 0;
    transition: opacity 0.3s ease;
    font-size: 2.5rem;
    color: var(--primary);
    text-shadow: 0 0 20px rgba(255, 214, 0, 0.6);
}

.game-card:hover .game-card__overlay-play {
    opacity: 1;
}

.game-card__title {
    display: block;
    padding: var(--space-sm) var(--space-md);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-card__provider {
    display: block;
    padding: 0 var(--space-md) var(--space-sm);
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
}

/* ==========================================================================
   15. Game Tile Locked
   ========================================================================== */
.game-card--locked .game-card__image img {
    filter: blur(4px) grayscale(50%);
    opacity: 0.6;
}

.game-card__lock-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 5, 5, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.game-card__lock-overlay .lock-icon {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.game-card__lock-overlay .lock-text {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
}

/* ==========================================================================
   16. Provider Section
   ========================================================================== */
.provider-section {
    margin-bottom: var(--space-2xl);
}

.provider-section__title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid rgba(255, 214, 0, 0.2);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.provider-section__title::before {
    content: '⚡';
}

/* ==========================================================================
   17. Filter
   ========================================================================== */
.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    justify-content: center;
}

.filter-btn {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 20px;
    background: var(--bg-card);
    color: var(--text-muted);
    border: 1px solid rgba(255, 214, 0, 0.15);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-btn.is-active {
    background: var(--primary);
    color: var(--bg-dark);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(255, 214, 0, 0.3);
}

@media (max-width: 480px) {
    .filter-btn {
        font-size: 0.7rem;
        padding: 8px 14px;
    }
}

/* ==========================================================================
   18. Unlock Banner
   ========================================================================== */
.unlock-banner {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    background: linear-gradient(135deg, rgba(255, 214, 0, 0.1) 0%, rgba(255, 23, 68, 0.08) 100%);
    border: 1px solid rgba(255, 214, 0, 0.3);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
}

.unlock-banner__icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.unlock-banner__text {
    flex: 1;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .unlock-banner {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   19. FAQ
   ========================================================================== */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.faq-item {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 214, 0, 0.08);
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item.is-open {
    border-color: rgba(255, 214, 0, 0.3);
}

.faq-item__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg);
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-primary);
    text-align: left;
    transition: color 0.3s ease;
}

.faq-item__question:hover {
    color: var(--primary);
}

.faq-item__icon {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: var(--space-md);
}

.faq-item.is-open .faq-item__icon {
    transform: rotate(45deg);
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 var(--space-lg);
}

.faq-item.is-open .faq-item__answer {
    max-height: 500px;
    padding: 0 var(--space-lg) var(--space-lg);
}

.faq-item__answer p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ==========================================================================
   20. Disclaimer
   ========================================================================== */
.disclaimer-box {
    background: rgba(255, 23, 68, 0.08);
    border: 1px solid rgba(255, 23, 68, 0.3);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
}

.disclaimer-box__text {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.7;
}

/* ==========================================================================
   21. Footer
   ========================================================================== */
.footer {
    background: var(--bg-darker);
    border-top: 2px solid rgba(255, 214, 0, 0.15);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.footer__content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer__logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.4rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: var(--space-md);
}

.footer__logo:hover {
    color: var(--primary);
}

.footer__description {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer__title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: var(--space-lg);
}

.footer__nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer__link {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer__link:hover {
    color: var(--primary);
}

.footer__compliance {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-md);
}

.footer__compliance-logo {
    height: 35px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer__compliance-logo:hover {
    opacity: 1;
}

.footer__compliance-logo--light-bg {
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 8px;
    border-radius: 4px;
}

.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--secondary);
    color: var(--secondary);
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 0.85rem;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 214, 0, 0.1);
    padding-top: var(--space-lg);
    text-align: center;
}

.footer__copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .footer__content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .footer__content {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   22. Modals
   ========================================================================== */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    z-index: 2000;
    transition: all 0.3s ease;
    padding: var(--space-lg);
}

.modal.is-active {
    opacity: 1;
    visibility: visible;
}

.modal__content {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    max-width: 450px;
    width: 100%;
    position: relative;
    border: 1px solid rgba(255, 214, 0, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal__content h2 {
    font-family: var(--font-heading);
    text-align: center;
    color: var(--primary);
    margin-bottom: var(--space-md);
}

.modal__content p {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.modal__actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
}

.modal__close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
    z-index: 5;
}

.modal__close:hover {
    color: var(--primary);
}

.modal__content--game {
    max-width: 900px;
    height: 80vh;
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
}

.modal__game-frame {
    flex: 1;
    width: 100%;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #000;
}

.modal__content--auth {
    max-width: 420px;
}

.modal__content--bonus {
    max-width: 400px;
    text-align: center;
}

/* ==========================================================================
   23. Cookie Consent
   ========================================================================== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 2px solid var(--primary);
    z-index: 1800;
    padding: var(--space-lg);
    display: none;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

.cookie-consent.is-visible {
    display: block;
}

.cookie-consent__content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
}

.cookie-consent__content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
    flex: 1;
}

@media (max-width: 768px) {
    .cookie-consent__content {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   24. Auth Forms
   ========================================================================== */
.auth-tabs {
    display: flex;
    gap: 0;
    margin-bottom: var(--space-xl);
    border-bottom: 2px solid rgba(255, 214, 0, 0.15);
}

.auth-tabs__btn {
    flex: 1;
    padding: var(--space-md);
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.auth-tabs__btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.auth-tabs__btn.is-active {
    color: var(--primary);
}

.auth-tabs__btn.is-active::after {
    opacity: 1;
}

.auth-form__group {
    margin-bottom: var(--space-md);
}

.auth-form__label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
}

.auth-form__input {
    width: 100%;
    padding: 12px var(--space-md);
    background: var(--bg-darker);
    border: 1px solid rgba(255, 214, 0, 0.15);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
}

.auth-form__input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(255, 214, 0, 0.2);
}

.auth-form__input::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.auth-form__error {
    color: var(--secondary);
    font-size: 0.85rem;
    margin-bottom: var(--space-md);
    min-height: 20px;
}

/* ==========================================================================
   25. Account Page
   ========================================================================== */
.account-forms {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

.account-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    border: 1px solid rgba(255, 214, 0, 0.1);
}

.account-card__title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: var(--space-lg);
    text-align: center;
}

.why-register {
    margin-top: var(--space-2xl);
}

.why-register__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    text-align: center;
    color: var(--primary);
    margin-bottom: var(--space-xl);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.why-register__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.why-register__item {
    text-align: center;
    padding: var(--space-lg);
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 214, 0, 0.08);
}

.why-register__icon {
    font-size: 2rem;
    display: block;
    margin-bottom: var(--space-sm);
}

.why-register__item h3 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.why-register__item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .why-register__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .account-forms {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .why-register__grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   26. Profile
   ========================================================================== */
.account-profile {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    border: 1px solid rgba(255, 214, 0, 0.15);
}

.account-profile__header {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.account-profile__badge {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--bg-dark);
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(255, 214, 0, 0.3);
}

.account-profile__name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.account-profile__email {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.account-profile__actions {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

/* ==========================================================================
   27. XP Progress
   ========================================================================== */
.account-profile__xp {
    margin-bottom: var(--space-xl);
}

.xp-bar__label {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-sm);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.xp-bar__track {
    width: 100%;
    height: 12px;
    background: var(--bg-darker);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(255, 214, 0, 0.15);
}

.xp-bar__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary));
    border-radius: 6px;
    transition: width 0.5s ease;
    box-shadow: 0 0 10px rgba(255, 214, 0, 0.4);
}

/* ==========================================================================
   28. Stats
   ========================================================================== */
.account-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.account-stats__item {
    text-align: center;
    padding: var(--space-md);
    background: var(--bg-darker);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 214, 0, 0.08);
}

.account-stats__value {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: var(--space-xs);
}

.account-stats__label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   29. Content Pages
   ========================================================================== */
.m-content-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    border: 1px solid rgba(255, 214, 0, 0.08);
    margin-bottom: var(--space-xl);
}

.m-content-card h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.m-content-card h2:first-child {
    margin-top: 0;
}

.m-content-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.m-content-card p {
    color: var(--text-muted);
    line-height: 1.8;
}

.m-content-card ul,
.m-content-card ol {
    margin-bottom: var(--space-md);
    color: var(--text-muted);
}

.m-content-card li {
    margin-bottom: var(--space-sm);
    line-height: 1.7;
}

.m-content-card a {
    color: var(--primary);
    text-decoration: underline;
}

.m-content-card a:hover {
    color: var(--primary-dark);
}

.m-content-card__intro {
    font-size: 1.1rem;
    color: var(--text-secondary) !important;
    border-left: 3px solid var(--primary);
    padding-left: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.m-content-card__cta {
    text-align: center;
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 214, 0, 0.1);
}

.contact-info {
    background: var(--bg-darker);
    border-radius: var(--radius-sm);
    padding: var(--space-lg);
    margin-top: var(--space-md);
}

.contact-info p {
    margin-bottom: var(--space-xs);
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.m-breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    font-size: 0.85rem;
    flex-wrap: wrap;
}

.m-breadcrumb__link {
    color: var(--text-muted);
}

.m-breadcrumb__link:hover {
    color: var(--primary);
}

.m-breadcrumb__sep {
    color: var(--text-muted);
    opacity: 0.5;
}

.m-breadcrumb__current {
    color: var(--text-secondary);
}

.responsible-facts {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin: var(--space-lg) 0;
}

.responsible-fact {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--bg-darker);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary);
}

.responsible-fact__icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.responsible-fact p {
    margin-bottom: 0;
}

/* Review pages */
.review-hero {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.review-hero__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.review-hero__score {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.review-hero__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    color: var(--text-muted);
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.review-games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin: var(--space-lg) 0;
}

.review-game-item {
    text-align: center;
    background: var(--bg-darker);
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid rgba(255, 214, 0, 0.08);
}

.review-game-item img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.review-game-item span {
    display: block;
    padding: var(--space-sm);
    font-size: 0.8rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width: 768px) {
    .review-games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .m-content-card {
        padding: var(--space-lg);
    }
}

/* ==========================================================================
   30. Blog Grid
   ========================================================================== */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.article-card {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 214, 0, 0.08);
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 214, 0, 0.3);
    box-shadow: 0 8px 25px rgba(255, 214, 0, 0.1);
}

.article-card__content {
    padding: var(--space-xl);
}

.article-card__category {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--bg-dark);
    background: var(--primary);
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: var(--space-md);
}

.article-card__title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.article-card__excerpt {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-card__link {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
}

.article-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

@media (max-width: 992px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   31. Reviews Grid
   ========================================================================== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.review-card {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    border: 1px solid rgba(255, 214, 0, 0.1);
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 214, 0, 0.3);
    box-shadow: 0 8px 25px rgba(255, 214, 0, 0.1);
}

.review-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.review-card__title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0;
}

.review-card__rating {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.review-card__score {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.review-card__description {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

.review-card__stats {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    margin-bottom: var(--space-lg);
}

.review-card__stat {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

@media (max-width: 992px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   32. Utility Classes
   ========================================================================== */
.stars {
    color: #ffc107;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

.text-center {
    text-align: center;
}

.mt-lg {
    margin-top: var(--space-lg);
}

.mb-lg {
    margin-bottom: var(--space-lg);
}

/* Daily Bonus */
.daily-bonus {
    text-align: center;
}

.daily-bonus__icon {
    font-size: 4rem;
    margin-bottom: var(--space-md);
    animation: bounce-glow 2s infinite;
}

@keyframes bounce-glow {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 5px rgba(255,214,0,0.3)); }
    50% { transform: scale(1.1); filter: drop-shadow(0 0 15px rgba(255,214,0,0.6)); }
}

.daily-bonus__title {
    font-family: var(--font-heading);
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.daily-bonus__text {
    color: var(--text-muted);
}

.daily-bonus__reward {
    margin: var(--space-xl) 0;
}

.daily-bonus__xp {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    text-shadow: 0 0 20px rgba(255, 214, 0, 0.5);
}

/* ==========================================================================
   33. Scrollbar
   ========================================================================== */
::-webkit-scrollbar {
    width: 8px;
}

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

::-webkit-scrollbar-thumb {
    background: rgba(255, 214, 0, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 214, 0, 0.5);
}

/* ==========================================================================
   Selection
   ========================================================================== */
::selection {
    background: rgba(255, 214, 0, 0.3);
    color: var(--text-primary);
}

/* ==========================================================================
   Speed lines animation (decorative)
   ========================================================================== */
@keyframes speed-line {
    0% { transform: translateX(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(200%); opacity: 0; }
}