/* ============================================
   1. CSS Variables (:root)
   ============================================ */
:root {
    /* Colors — Скоростной (Speed/Lightning) */
    --primary: #FFD600;
    --primary-dark: #E6C000;
    --secondary: #FF1744;
    --accent: #FF6D00;
    
    /* Backgrounds */
    --bg-dark: #0D0A1A;
    --bg-darker: #070510;
    --bg-card: #1A1530;
    --bg-card-hover: #241E40;
    
    /* Text */
    --text-primary: #FFFFFF;
    --text-secondary: #C4B5E0;
    --text-muted: #8A7BAA;
    
    /* 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 + Exo 2 */
    --font-body: 'Exo 2', sans-serif;
    --font-heading: 'Orbitron', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

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 {
    color: var(--primary);
    text-decoration: none;
    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);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 1.75rem; margin-bottom: var(--space-md); }
h3 { font-size: 1.35rem; margin-bottom: var(--space-sm); }
h4 { font-size: 1.1rem; }

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

/* ============================================
   4. Container
   ============================================ */
.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(13, 10, 26, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 214, 0, 0.15);
    z-index: 1000;
}

.m-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

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

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

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

.m-header__link {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    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.5);
}

.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;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

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

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

/* ============================================
   6. Mobile Menu
   ============================================ */
.m-mobile-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--bg-darker);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    transform: translateY(-120%);
    transition: transform 0.4s ease;
    z-index: 999;
    border-bottom: 2px solid var(--primary);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.m-mobile-menu.is-open {
    transform: translateY(0);
}

.m-mobile-menu__link {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid rgba(255, 214, 0, 0.1);
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.m-mobile-menu__link:hover,
.m-mobile-menu__link.is-active {
    color: var(--primary);
    padding-left: var(--space-sm);
}

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

.btn--primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #000;
    box-shadow: 0 4px 20px rgba(255, 214, 0, 0.3);
}

.btn--primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--secondary));
    color: #000;
    box-shadow: 0 6px 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);
    box-shadow: 0 0 20px rgba(255, 214, 0, 0.2);
}

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

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

/* ============================================
   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) 0;
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    overflow: hidden;
    text-align: 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 50%),
        radial-gradient(ellipse at 80% 50%, rgba(255, 23, 68, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

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

.m-hero__container--row {
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
}

.m-hero__lightning {
    position: absolute;
    width: 2px;
    height: 120px;
    background: linear-gradient(to bottom, transparent, var(--primary), transparent);
    opacity: 0.4;
    animation: lightningFlicker 3s infinite;
}

.m-hero__lightning--left {
    left: -40px;
    top: 20%;
    transform: rotate(-15deg);
}

.m-hero__lightning--right {
    right: -40px;
    top: 30%;
    transform: rotate(15deg);
}

@keyframes lightningFlicker {
    0%, 90%, 100% { opacity: 0.1; }
    5%, 10% { opacity: 0.8; }
    15% { opacity: 0.1; }
    20%, 22% { opacity: 0.6; }
    25% { opacity: 0.1; }
}

.m-hero__title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 40px rgba(255, 214, 0, 0.5), 0 0 80px rgba(255, 214, 0, 0.2);
    margin-bottom: var(--space-md);
}

.m-hero__title--small {
    font-size: 2rem;
}

.m-hero__title--404 {
    font-size: 6rem;
    color: var(--secondary);
    text-shadow: 0 0 60px rgba(255, 23, 68, 0.5);
}

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

.m-hero__text {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
    line-height: 1.8;
}

.m-hero--small {
    padding: var(--space-2xl) 0;
}

.m-hero--404 {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

@media (max-width: 768px) {
    .m-hero__title {
        font-size: 2rem;
    }
    .m-hero__title--small {
        font-size: 1.5rem;
    }
    .m-hero__title--404 {
        font-size: 4rem;
    }
    .m-hero__container--row {
        flex-direction: column;
        text-align: center;
        gap: var(--space-lg);
    }
    .m-hero__auth-buttons {
        justify-content: center;
    }
}

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

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

.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;
}

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

.m-section--games {
    padding-top: var(--space-lg);
}

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

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

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

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

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

.benefit-card {
    position: relative;
    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: transform 0.3s ease, border-color 0.3s ease, box-shadow 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__icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    display: block;
}

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

.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 {
    margin-bottom: var(--space-2xl);
}

.featured-provider__title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: var(--space-lg);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ============================================
   13. Games Grid
   ============================================ */
.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;
    }
}

.games-grid--full {
    /* Rendered by JS using m-games-grid */
}

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

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

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

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

.game-card__image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--bg-darker);
}

.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__play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 10, 26, 0.6);
    font-size: 2rem;
    color: var(--primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover .game-card__play-btn {
    opacity: 1;
}

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

/* m-game-tile — used by games.js renderer */
.m-game-tile {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255, 214, 0, 0.08);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

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

.m-game-tile__image {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--bg-darker);
}

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

.m-game-tile:hover .m-game-tile__image img {
    transform: scale(1.05);
}

.m-game-tile__play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 10, 26, 0.6);
    font-size: 2rem;
    color: var(--primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.m-game-tile:hover .m-game-tile__play-btn {
    opacity: 1;
}

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

/* ============================================
   15. Game Tile Locked
   ============================================ */
.m-game-tile--locked {
    cursor: default;
}

.m-game-tile--locked:hover {
    transform: none;
    border-color: rgba(255, 214, 0, 0.08);
    box-shadow: none;
}

.m-game-tile--locked .m-game-tile__image {
    filter: blur(4px) grayscale(50%);
    opacity: 0.6;
}

.m-game-tile--locked:hover .m-game-tile__image img {
    transform: none;
}

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

.m-game-tile__lock-icon {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.m-game-tile__lock-text {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    padding: 0 var(--space-sm);
}

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

.m-provider-section__title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid rgba(255, 214, 0, 0.2);
}

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

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

.filter-btn:hover {
    color: var(--primary);
    border-color: rgba(255, 214, 0, 0.3);
}

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

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

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

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

.unlock-banner__text strong {
    color: var(--primary);
}

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

/* ============================================
   19. FAQ
   ============================================ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 214, 0, 0.1);
}

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

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

.faq-item__icon {
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
    transition: transform 0.3s ease;
    font-weight: 300;
}

.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;
}

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

.faq-item__answer p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

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

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

.disclaimer-box strong {
    color: var(--secondary);
}

.disclaimer-box a {
    color: var(--primary);
}

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

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

.footer__logo {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-md);
    text-shadow: 0 0 20px rgba(255, 214, 0, 0.3);
}

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

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

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

.footer__nav a {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer__nav a:hover {
    color: var(--primary);
    padding-left: var(--space-xs);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 214, 0, 0.1);
    padding-top: var(--space-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
}

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

.footer__compliance-logo {
    height: 36px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    filter: grayscale(30%);
}

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

.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%;
    background: var(--secondary);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 900;
}

.footer__copyright {
    text-align: center;
}

.footer__copyright p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: var(--space-xs);
}

.footer__address {
    font-size: 0.8rem !important;
    color: var(--text-muted) !important;
    opacity: 0.6;
}

@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: opacity 0.3s ease, visibility 0.3s ease;
    padding: var(--space-lg);
}

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

.modal__content {
    background: var(--bg-card);
    border: 1px solid rgba(255, 214, 0, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    max-width: 480px;
    width: 100%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal__content--game {
    max-width: 900px;
    padding: 0;
    overflow: hidden;
}

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

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

.modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) var(--space-xl);
    border-bottom: 1px solid rgba(255, 214, 0, 0.1);
}

.modal__header h2,
.modal__header h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 0;
}

.modal__close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1.3rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.modal__close:hover {
    background: rgba(255, 23, 68, 0.3);
}

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

.modal__body--game {
    padding: 0;
    aspect-ratio: 16/9;
}

.modal__body--game iframe {
    width: 100%;
    height: 100%;
    border: none;
}

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

/* ============================================
   23. Cookie Consent
   ============================================ */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 1px solid rgba(255, 214, 0, 0.2);
    padding: var(--space-lg);
    z-index: 1500;
    display: none;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.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;
}

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

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

.auth-tab {
    flex: 1;
    padding: var(--space-md) var(--space-lg);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease, border-color 0.3s ease;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}

.auth-tab--active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.auth-form {
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
}

.auth-form--hidden {
    display: none;
}

.auth-form__title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: var(--space-xl);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(255, 214, 0, 0.15);
}

.auth-form__switch {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: var(--space-lg);
    margin-bottom: 0;
}

.auth-form__switch a {
    color: var(--primary);
    font-weight: 600;
}

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

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

.account-card__title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
}

.account-card__text {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: var(--space-lg);
}

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

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

.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);
}

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

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

.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-grid {
        grid-template-columns: 1fr;
    }
}

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

/* ============================================
   26. Profile
   ============================================ */
.profile-header {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
    padding: var(--space-xl);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 214, 0, 0.1);
}

.profile-header__badge {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #000;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 30px rgba(255, 214, 0, 0.3);
}

.profile-header__name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: var(--space-xs);
}

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

/* ============================================
   27. XP Progress
   ============================================ */
.profile-xp {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
    border: 1px solid rgba(255, 214, 0, 0.1);
}

.profile-xp__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.profile-xp__bar {
    height: 12px;
    background: var(--bg-darker);
    border-radius: 6px;
    overflow: hidden;
}

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

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

.profile-stat {
    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);
}

.profile-stat__value {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: var(--space-xs);
    text-shadow: 0 0 20px rgba(255, 214, 0, 0.3);
}

.profile-stat__label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

@media (max-width: 768px) {
    .profile-stats {
        grid-template-columns: 1fr;
    }
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    .profile-actions {
        flex-direction: column;
    }
}

/* ============================================
   29. Content Pages
   ============================================ */
.m-breadcrumb {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

.m-breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
}

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

.m-breadcrumb span {
    color: var(--text-muted);
    margin: 0 var(--space-xs);
}

.m-page-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 30px rgba(255, 214, 0, 0.3);
}

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

.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);
}

.m-content-card h2 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    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: 1rem;
    color: var(--text-primary);
    margin-top: var(--space-lg);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

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

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

.m-content-card strong {
    color: var(--text-primary);
}

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

.m-content-card__updated {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: var(--space-lg);
}

.m-content-card__meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(255, 214, 0, 0.1);
    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-md);
    padding: var(--space-lg);
    margin-top: var(--space-md);
}

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

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

.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: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

.article-card__category {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 700;
    color: #000;
    background: var(--primary);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
    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);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.blog-reviews {
    padding-top: var(--space-xl);
}

@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);
}

.reviews-grid--provider {
    margin-bottom: var(--space-2xl);
}

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

.provider-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 214, 0, 0.3);
}

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

.provider-card__name {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    margin-bottom: 0;
}

.provider-card__description {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.provider-card__stats {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
}

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

/* Review Page Specific */
.review-hero {
    margin-bottom: var(--space-xl);
}

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

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

.review-hero__meta {
    display: flex;
    gap: var(--space-xl);
    flex-wrap: wrap;
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.review-game-tile {
    position: relative;
    background: var(--bg-darker);
    border-radius: var(--radius-sm);
    overflow: hidden;
    text-align: center;
}

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

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

.review-rating-summary {
    margin-top: var(--space-xl);
    padding: var(--space-xl);
    background: var(--bg-darker);
    border-radius: var(--radius-md);
}

.review-rating-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid rgba(255, 214, 0, 0.05);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.review-rating-item:last-child {
    border-bottom: none;
    font-weight: 700;
    color: var(--text-primary);
}

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

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

/* ============================================
   Responsible Gaming Page
   ============================================ */
.facts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin: var(--space-lg) 0;
}

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

.fact-card__icon {
    font-size: 2rem;
    display: block;
    margin-bottom: var(--space-md);
}

.fact-card h3 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
}

.fact-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.help-resources {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin: var(--space-lg) 0;
}

.help-resource {
    background: var(--bg-darker);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    text-align: center;
}

.help-resource h3 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
}

.help-resource p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

@media (max-width: 768px) {
    .facts-grid,
    .help-resources {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Daily Bonus
   ============================================ */
.daily-bonus {
    text-align: center;
    padding: var(--space-lg);
}

.daily-bonus__icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

.daily-bonus__title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--primary);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
}

.daily-bonus__text {
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

.daily-bonus__amount {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: var(--space-md);
    text-shadow: 0 0 30px rgba(255, 214, 0, 0.5);
}

.daily-bonus__streak {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

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

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

.mb-0 {
    margin-bottom: 0;
}

/* ============================================
   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);
}

/* ============================================
   Media Query Summary — Extra small
   ============================================ */
@media (max-width: 480px) {
    h1 { font-size: 1.7rem; }
    h2 { font-size: 1.3rem; }
    .m-page-title { font-size: 1.5rem; }
    .m-content-card { padding: var(--space-lg); }
    .modal__content { padding: var(--space-lg); }
    .modal__actions { flex-direction: column; }
}