/* ==========================================================================
   1. CSS Variables (:root)
   ========================================================================== */
:root {
    /* Colors - Лучник: зеленый, черный, стрелы */
    --primary: #2e7d32;
    --primary-dark: #1b5e20;
    --primary-light: #4caf50;
    --secondary: #1a1a1a;
    --accent: #a5d6a7;
    --accent-gold: #c8e6c9;

    /* Backgrounds */
    --bg-dark: #0d1a0d;
    --bg-darker: #061006;
    --bg-card: #142814;
    --bg-card-hover: #1c3a1c;
    --bg-section: #0f200f;
    --bg-header: rgba(13, 26, 13, 0.95);

    /* Text */
    --text-primary: #e8f5e9;
    --text-secondary: #a5d6a7;
    --text-muted: #6b8e6b;
    --text-dark: #0d1a0d;

    /* 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 - Bitter (headings) + Karla (body) */
    --font-body: 'Karla', sans-serif;
    --font-heading: 'Bitter', serif;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(46, 125, 50, 0.3);

    /* Transitions */
    --transition: 0.3s ease;
    --transition-fast: 0.15s ease;
}

/* ==========================================================================
   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-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-dark);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--accent);
}

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

li {
    margin-bottom: var(--space-sm);
}

/* ==========================================================================
   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.875rem; }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }

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

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

em {
    color: var(--text-secondary);
}

/* ==========================================================================
   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: var(--bg-header);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(46, 125, 50, 0.2);
    z-index: 1000;
    transition: background var(--transition);
}

.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.75rem;
    font-weight: 700;
    color: var(--primary-light);
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: color var(--transition);
}

.logo:hover {
    color: var(--accent);
}

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

.m-header__link {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    padding: var(--space-sm) 0;
    position: relative;
    transition: color var(--transition);
}

.m-header__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-light);
    transition: width var(--transition);
}

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

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

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

.m-header__account-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition), box-shadow var(--transition);
}

.m-header__account-btn:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow-glow);
}

/* Burger */
.m-header__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.m-header__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.m-header__burger.is-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.m-header__burger.is-active span:nth-child(2) {
    opacity: 0;
}

.m-header__burger.is-active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================================================
   6. Mobile Menu
   ========================================================================== */
.m-header__mobile-menu {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-darker);
    z-index: 999;
    overflow-y: auto;
}

.m-header__mobile-menu.is-open {
    display: block;
}

.m-header__mobile-content {
    display: flex;
    flex-direction: column;
    padding: var(--space-xl) var(--space-lg);
    gap: var(--space-sm);
}

.m-header__mobile-link {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    padding: var(--space-md) 0;
    border-bottom: 1px solid rgba(46, 125, 50, 0.15);
    transition: color var(--transition);
}

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

.m-header__mobile-account {
    margin-top: var(--space-md);
    background: var(--primary);
    color: #fff;
    border: none;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: background var(--transition);
}

.m-header__mobile-account:hover {
    background: var(--primary-dark);
}

/* ==========================================================================
   7. Buttons
   ========================================================================== */
.m-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition);
    white-space: nowrap;
    line-height: 1.4;
}

.m-btn--primary {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.m-btn--primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: var(--shadow-glow);
    color: #fff;
}

.m-btn--secondary {
    background: transparent;
    color: var(--primary-light);
    border-color: var(--primary-light);
}

.m-btn--secondary:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.m-btn--ghost {
    background: transparent;
    color: var(--text-secondary);
    border-color: rgba(165, 214, 167, 0.3);
}

.m-btn--ghost:hover {
    background: rgba(46, 125, 50, 0.15);
    color: var(--text-primary);
    border-color: var(--primary-light);
}

.m-btn--lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

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

.m-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(135deg, var(--bg-darker) 0%, var(--bg-dark) 40%, rgba(46, 125, 50, 0.08) 100%);
    overflow: hidden;
}

.m-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(46, 125, 50, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.m-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(46, 125, 50, 0.3), transparent);
}

.m-hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.m-hero__title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    letter-spacing: -1px;
}

.m-hero__title--404 {
    font-size: 8rem;
    color: var(--primary-light);
    line-height: 1;
}

.m-hero__subtitle {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: var(--space-lg);
}

.m-hero__text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

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

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

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

.m-hero__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
}

.m-hero__left {
    flex: 1;
}

.m-hero__right {
    display: flex;
    gap: var(--space-md);
    flex-shrink: 0;
}

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

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

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

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

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

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

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

.m-section--filter {
    padding: var(--space-lg) 0;
    background: var(--bg-dark);
    position: sticky;
    top: var(--header-height);
    z-index: 50;
    border-bottom: 1px solid rgba(46, 125, 50, 0.15);
}

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

.m-section__title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: var(--space-md);
}

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

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

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

.m-benefit-card {
    background: var(--bg-card);
    border: 1px solid rgba(46, 125, 50, 0.15);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    text-align: center;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.m-benefit-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

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

.m-benefit-card__title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

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

/* ==========================================================================
   12. Featured Providers
   ========================================================================== */
.m-featured__provider-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: var(--space-md);
    margin-top: var(--space-xl);
    text-align: center;
}

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

/* Featured Grid - самостоятельный класс */
.m-games-grid--featured {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
}

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

/* ==========================================================================
   14. Game Tile
   ========================================================================== */
.m-game-tile {
    position: relative;
    background: var(--bg-card);
    border: 1px solid rgba(46, 125, 50, 0.12);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.m-game-tile:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

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

.m-game-tile__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition);
}

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

.m-game-tile__info {
    padding: var(--space-md);
}

.m-game-tile__title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    display: block;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.m-game-tile__provider {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
}

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

.m-game-tile--locked:hover {
    transform: none;
    box-shadow: none;
}

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

.m-game-tile__lock-overlay {
    position: absolute;
    inset: 0;
    background: rgba(6, 16, 6, 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-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    padding: 0 var(--space-sm);
}

/* Game card (featured games on home) */
.game-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid rgba(46, 125, 50, 0.12);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.game-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

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

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

.game-card__info {
    padding: var(--space-md);
}

.game-card__title {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    display: block;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-card__provider {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
}

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

.m-provider-section__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid rgba(46, 125, 50, 0.2);
}

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

.m-filter-btn {
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid rgba(46, 125, 50, 0.2);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.m-filter-btn:hover {
    background: rgba(46, 125, 50, 0.15);
    border-color: var(--primary);
    color: var(--text-primary);
}

.m-filter-btn.is-active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ==========================================================================
   18. Unlock Banner
   ========================================================================== */
.m-unlock-banner {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.15) 0%, rgba(46, 125, 50, 0.05) 100%);
    border: 1px solid rgba(46, 125, 50, 0.3);
    border-radius: var(--radius-md);
    padding: var(--space-lg) var(--space-xl);
}

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

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

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

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

.m-faq-item {
    border: 1px solid rgba(46, 125, 50, 0.12);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    background: var(--bg-card);
    overflow: hidden;
    transition: border-color var(--transition);
}

.m-faq-item:hover {
    border-color: rgba(46, 125, 50, 0.3);
}

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

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

.m-faq-item__arrow {
    font-size: 0.75rem;
    transition: transform var(--transition);
    flex-shrink: 0;
    color: var(--primary-light);
}

.m-faq-item.is-open .m-faq-item__arrow {
    transform: rotate(180deg);
}

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

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

.m-faq-item__answer p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
}

/* ==========================================================================
   20. Disclaimer
   ========================================================================== */
.m-disclaimer {
    background: rgba(46, 125, 50, 0.05);
    border: 1px solid rgba(46, 125, 50, 0.15);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
}

.m-disclaimer p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.6;
}

.m-disclaimer strong {
    color: var(--primary-light);
}

/* ==========================================================================
   21. Footer
   ========================================================================== */
.m-footer {
    background: var(--bg-darker);
    border-top: 1px solid rgba(46, 125, 50, 0.15);
    padding: var(--space-3xl) 0 var(--space-xl);
}

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

.m-footer__logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: var(--space-md);
}

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

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

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

.m-footer__link {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition);
}

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

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

.m-footer__compliance-logo {
    height: 36px;
    width: auto;
    opacity: 0.7;
    transition: opacity var(--transition);
}

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

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

.m-footer__age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
}

.m-footer__bottom {
    border-top: 1px solid rgba(46, 125, 50, 0.1);
    padding-top: var(--space-lg);
    text-align: center;
}

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

/* ==========================================================================
   22. Modals
   ========================================================================== */
.m-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
}

.m-modal[style*="display: flex"],
.m-modal.is-open {
    opacity: 1;
    visibility: visible;
}

/* Override for JS display toggling */
.m-modal[style*="display: none"] {
    opacity: 0;
    visibility: hidden;
}

.m-modal__overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.m-modal__content {
    position: relative;
    z-index: 1;
    background: var(--bg-card);
    border: 1px solid rgba(46, 125, 50, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    max-width: 440px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

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

.m-modal__close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.25rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background var(--transition), color var(--transition);
}

.m-modal__close:hover {
    background: rgba(46, 125, 50, 0.15);
    color: var(--text-primary);
}

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

.m-modal__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0;
    text-align: center;
}

.m-modal__body p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: var(--space-lg);
}

.m-modal__body--centered {
    text-align: center;
}

.m-modal__actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

/* Game Modal */
.m-game-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.m-game-modal__overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.m-game-modal__content {
    position: relative;
    z-index: 1;
    width: 95%;
    max-width: 1100px;
    height: 80vh;
    background: var(--bg-darker);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(46, 125, 50, 0.2);
}

.m-game-modal__close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: rgba(6, 16, 6, 0.8);
    border: 1px solid rgba(46, 125, 50, 0.3);
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 10;
    transition: background var(--transition);
}

.m-game-modal__close:hover {
    background: var(--primary);
}

.m-game-modal__iframe {
    width: 100%;
    height: 100%;
    border: none;
}

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

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

.m-cookie-consent__text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    flex: 1;
    margin-bottom: 0;
}

.m-cookie-consent__actions {
    display: flex;
    gap: var(--space-sm);
    flex-shrink: 0;
}

/* ==========================================================================
   24. Auth Forms
   ========================================================================== */
.m-auth-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid rgba(46, 125, 50, 0.15);
}

.m-auth-tab {
    flex: 1;
    background: none;
    border: none;
    padding: var(--space-md);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color var(--transition), border-color var(--transition);
}

.m-auth-tab:hover {
    color: var(--text-secondary);
}

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

.m-auth-form {
    padding-top: var(--space-lg);
}

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

.m-form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
}

.m-form-input {
    width: 100%;
    padding: 12px var(--space-md);
    background: var(--bg-darker);
    border: 1px solid rgba(46, 125, 50, 0.2);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}

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

.m-form-input:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
}

.m-form-error {
    background: rgba(211, 47, 47, 0.1);
    border: 1px solid rgba(211, 47, 47, 0.3);
    border-radius: var(--radius-sm);
    padding: var(--space-sm) var(--space-md);
    margin-bottom: var(--space-md);
    font-size: 0.85rem;
    color: #ef5350;
}

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

.m-auth-card {
    background: var(--bg-card);
    border: 1px solid rgba(46, 125, 50, 0.15);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}

.m-auth-card__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    text-align: center;
}

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

.m-why-register__title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    text-align: center;
    margin-bottom: var(--space-xl);
}

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

.m-why-register__item {
    text-align: center;
    padding: var(--space-lg);
}

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

.m-why-register__item h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

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

/* ==========================================================================
   26. Profile
   ========================================================================== */
.m-account-header {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
    padding: var(--space-xl);
    background: var(--bg-card);
    border: 1px solid rgba(46, 125, 50, 0.15);
    border-radius: var(--radius-lg);
}

.m-account-header__badge {
    width: 64px;
    height: 64px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    box-shadow: var(--shadow-glow);
}

.m-account-header__name {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    margin-bottom: 0;
}

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

.m-account-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-top: var(--space-2xl);
}

/* ==========================================================================
   27. XP Progress
   ========================================================================== */
.m-xp-section {
    background: var(--bg-card);
    border: 1px solid rgba(46, 125, 50, 0.15);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.m-xp-section__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.m-xp-bar {
    width: 100%;
    height: 12px;
    background: var(--bg-darker);
    border-radius: 6px;
    overflow: hidden;
}

.m-xp-bar__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 6px;
    transition: width 0.6s ease;
    min-width: 0;
}

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

.m-stat-card {
    background: var(--bg-card);
    border: 1px solid rgba(46, 125, 50, 0.15);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    text-align: center;
}

.m-stat-card__value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: var(--space-xs);
}

.m-stat-card__label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Daily Bonus */
.m-daily-bonus__icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

.m-daily-bonus__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-light);
    margin-bottom: var(--space-sm);
}

.m-daily-bonus__text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.m-daily-bonus__amount {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: var(--space-lg);
}

/* ==========================================================================
   29. Content Pages
   ========================================================================== */
.m-page-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

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

.m-content-card {
    background: var(--bg-card);
    border: 1px solid rgba(46, 125, 50, 0.12);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
}

.m-content-card h2 {
    font-size: 1.5rem;
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
    color: var(--primary-light);
}

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

.m-content-card h3 {
    font-size: 1.15rem;
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

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

.m-content-card li {
    line-height: 1.7;
}

.m-content-card a {
    color: var(--primary-light);
    text-decoration: underline;
    text-decoration-color: rgba(76, 175, 80, 0.3);
    transition: text-decoration-color var(--transition);
}

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

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

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

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

/* Responsible Gaming */
.m-fact-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin: var(--space-lg) 0;
}

.m-fact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    background: var(--bg-darker);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
}

.m-fact-item__icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.m-fact-item strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.m-fact-item p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

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

.m-help-resource {
    background: var(--bg-darker);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
}

.m-help-resource h3 {
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: var(--space-sm);
    color: var(--primary-light);
}

.m-help-resource p {
    font-size: 0.85rem;
    margin-bottom: var(--space-md);
}

/* Article CTA */
.m-article-cta {
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.15) 0%, rgba(46, 125, 50, 0.05) 100%);
    border: 1px solid rgba(46, 125, 50, 0.3);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    text-align: center;
    margin-top: var(--space-2xl);
}

.m-article-cta p {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

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

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

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

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

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

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

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

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

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

/* Review Games Grid */
.m-review-games {
    margin-top: var(--space-xl);
}

.m-review-games h3 {
    margin-bottom: var(--space-md);
}

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

.m-review-games__item {
    background: var(--bg-darker);
    border-radius: var(--radius-sm);
    overflow: hidden;
    text-align: center;
}

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

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

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

.article-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid rgba(46, 125, 50, 0.12);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.article-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

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

.article-card__category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-light);
    background: rgba(46, 125, 50, 0.12);
    padding: 4px 10px;
    border-radius: 3px;
    margin-bottom: var(--space-md);
}

.article-card__title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.article-card__excerpt {
    font-size: 0.85rem;
    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-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-light);
}

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

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

.m-review-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid rgba(46, 125, 50, 0.12);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.m-review-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.m-review-card__header {
    margin-bottom: var(--space-md);
}

.m-review-card__title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

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

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

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

.m-review-card__stats {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.m-review-card__stat {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

/* ==========================================================================
   32. Utility Classes
   ========================================================================== */
.stars {
    color: #ffc107;
}

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

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }

.card {
    position: relative;
}

.offer-card {
    position: relative;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--primary-dark);
    border-radius: 4px;
}

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

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* Desktop Large */
@media (max-width: 1200px) {
    .m-footer__content {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }
}

/* Tablet */
@media (max-width: 992px) {
    .m-header__nav {
        display: none;
    }

    .m-header__burger {
        display: flex;
    }

    .m-benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .m-articles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .m-reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .m-why-register__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .m-help-resources {
        grid-template-columns: 1fr;
    }

    .m-review-games__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .m-hero__title {
        font-size: 2.5rem;
    }

    .m-hero__row {
        flex-direction: column;
        text-align: center;
    }

    .m-hero__right {
        justify-content: center;
    }

    .m-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Mobile */
@media (max-width: 768px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.375rem; }

    .m-container {
        padding: 0 var(--space-md);
    }

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

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

    .m-hero__title--404 {
        font-size: 5rem;
    }

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

    .m-benefits-grid {
        grid-template-columns: 1fr;
    }

    .m-auth-grid {
        grid-template-columns: 1fr;
    }

    .m-articles-grid {
        grid-template-columns: 1fr;
    }

    .m-reviews-grid {
        grid-template-columns: 1fr;
    }

    .m-footer__content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .m-content-card {
        padding: var(--space-lg);
    }

    .m-unlock-banner {
        flex-direction: column;
        text-align: center;
    }

    .m-filter-bar {
        overflow-x: auto;
        justify-content: flex-start;
        flex-wrap: nowrap;
        padding-bottom: var(--space-sm);
        -webkit-overflow-scrolling: touch;
    }

    .m-filter-btn {
        flex-shrink: 0;
    }

    .m-cookie-consent__content {
        flex-direction: column;
        text-align: center;
    }

    .m-page-title {
        font-size: 1.75rem;
    }

    .m-why-register__grid {
        grid-template-columns: 1fr;
    }

    .m-account-header {
        flex-direction: column;
        text-align: center;
    }

    .m-account-actions {
        flex-direction: column;
    }

    .m-review-games__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .m-review-hero__meta {
        flex-direction: column;
        gap: var(--space-sm);
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .m-hero__title {
        font-size: 1.75rem;
    }

    .m-hero__title--404 {
        font-size: 4rem;
    }

    .m-modal__content {
        width: 95%;
        padding: var(--space-lg);
    }

    .m-game-modal__content {
        width: 100%;
        height: 100vh;
        border-radius: 0;
    }

    .m-stats-grid {
        grid-template-columns: 1fr;
    }
}