/* =============================================
   1. CSS Variables (:root)
   ============================================= */
:root {
    /* Colors - Лучник: Green, Black, Arrows */
    --primary: #2e7d32;
    --primary-dark: #1b5e20;
    --primary-light: #4caf50;
    --secondary: #1a1a1a;
    --accent: #a5d6a7;
    
    /* Backgrounds */
    --bg-dark: #0d1a0f;
    --bg-darker: #081209;
    --bg-card: #142117;
    --bg-card-hover: #1a2e1e;
    --bg-section: #0f1e12;
    
    /* Text */
    --text-primary: #e8f5e9;
    --text-secondary: #a5d6a7;
    --text-muted: #6b8f6e;
    --text-dark: #1a1a1a;
    
    /* 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 (heading) + Karla (body) */
    --font-body: 'Karla', sans-serif;
    --font-heading: 'Bitter', serif;
    
    /* Borders */
    --border-color: rgba(46, 125, 50, 0.2);
    --border-color-light: rgba(165, 214, 167, 0.15);
    
    /* 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-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s 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;
}

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

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

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

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    font-size: inherit;
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* =============================================
   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: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

@media (max-width: 768px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
}

/* =============================================
   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, 26, 15, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    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.5rem;
    font-weight: 700;
    color: var(--primary-light);
    text-decoration: none;
    letter-spacing: -0.5px;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
}

.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;
    position: relative;
    padding: var(--space-xs) 0;
    transition: color var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

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

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

/* Burger */
.m-header__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    padding: 0;
}

.m-header__burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-normal);
    transform-origin: center;
}

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

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

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

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

/* =============================================
   6. Mobile Menu
   ============================================= */
.m-header__mobile-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(13, 26, 15, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    padding: var(--space-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 999;
}

.m-header__mobile-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

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

.m-header__mobile-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-secondary);
    padding: var(--space-md);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.m-header__mobile-link:hover,
.m-header__mobile-link.is-active {
    color: var(--primary-light);
    background: rgba(46, 125, 50, 0.1);
}

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

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

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

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

.btn--secondary:hover {
    background: rgba(46, 125, 50, 0.15);
    color: var(--accent);
    border-color: var(--accent);
}

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

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

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

/* =============================================
   8. Main Content
   ============================================= */
.m-main {
    padding-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(160deg, var(--bg-darker) 0%, var(--bg-dark) 40%, rgba(46, 125, 50, 0.08) 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(46, 125, 50, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 30%, rgba(76, 175, 80, 0.06) 0%, transparent 40%);
    pointer-events: none;
}

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

.m-hero__title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    line-height: 1.1;
}

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

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

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

.m-hero--sm .m-hero__title {
    font-size: 2.2rem;
}

.m-hero__inner--row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    text-align: left;
}

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

/* Hero Decoration - Arrows */
.m-hero__decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.m-hero__arrow {
    position: absolute;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), transparent);
    opacity: 0.2;
}

.m-hero__arrow::after {
    content: '';
    position: absolute;
    right: -8px;
    top: -4px;
    width: 0;
    height: 0;
    border-left: 10px solid var(--primary);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    opacity: 0.6;
}

.m-hero__arrow--1 {
    top: 20%;
    left: 5%;
    transform: rotate(-15deg);
    animation: arrowFloat1 6s ease-in-out infinite;
}

.m-hero__arrow--2 {
    top: 60%;
    right: 8%;
    left: auto;
    transform: rotate(10deg);
    animation: arrowFloat2 8s ease-in-out infinite;
}

.m-hero__arrow--3 {
    bottom: 25%;
    left: 12%;
    transform: rotate(-5deg);
    animation: arrowFloat3 7s ease-in-out infinite;
}

@keyframes arrowFloat1 {
    0%, 100% { transform: rotate(-15deg) translateX(0); opacity: 0.2; }
    50% { transform: rotate(-15deg) translateX(20px); opacity: 0.4; }
}

@keyframes arrowFloat2 {
    0%, 100% { transform: rotate(10deg) translateX(0); opacity: 0.15; }
    50% { transform: rotate(10deg) translateX(-15px); opacity: 0.35; }
}

@keyframes arrowFloat3 {
    0%, 100% { transform: rotate(-5deg) translateX(0); opacity: 0.18; }
    50% { transform: rotate(-5deg) translateX(25px); opacity: 0.38; }
}

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

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

.m-hero__title--404 {
    font-size: 8rem;
    color: var(--primary);
    text-shadow: 0 0 40px rgba(46, 125, 50, 0.3);
    line-height: 1;
    margin-bottom: var(--space-md);
}

@media (max-width: 768px) {
    .m-hero {
        padding: var(--space-2xl) 0;
    }
    .m-hero__title {
        font-size: 2rem;
    }
    .m-hero__subtitle {
        font-size: 1.1rem;
    }
    .m-hero__inner--row {
        flex-direction: column;
        text-align: center;
    }
    .m-hero__title--404 {
        font-size: 5rem;
    }
}

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

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

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

.m-section--filters {
    padding: var(--space-lg) 0;
    background: var(--bg-section);
    border-bottom: 1px solid var(--border-color);
}

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

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

.m-section__title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    margin: var(--space-md) auto 0;
    border-radius: 2px;
}

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

.m-benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    text-align: center;
    transition: var(--transition-normal);
}

.m-benefit-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    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;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

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

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

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

/* =============================================
   12. Featured Providers
   ============================================= */
.m-featured-provider {
    margin-bottom: var(--space-2xl);
}

.m-featured-provider__title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--primary-light);
    margin-bottom: var(--space-lg);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* Review Games Grid */
.m-games-grid--review {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin: var(--space-xl) 0;
}

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

/* =============================================
   14. Game Tile
   ============================================= */
.m-game-tile {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-normal);
}

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

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

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

.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;
    color: var(--text-primary);
    font-weight: 600;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

/* Game Card (for featured & review) */
.m-game-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-normal);
}

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

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

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

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

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

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

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

.m-game-card--small .m-game-card__image {
    aspect-ratio: 4 / 3;
}

.m-game-card--small .m-game-card__title {
    font-size: 0.8rem;
    padding: var(--space-sm) var(--space-md);
}

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

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

.m-game-tile--locked:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--border-color);
}

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

.m-game-tile__lock-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8, 18, 9, 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.85rem;
    color: var(--text-secondary);
    text-align: center;
    padding: 0 var(--space-sm);
}

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

.m-provider-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-color);
}

.m-provider-section__title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.m-provider-section__count {
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

.m-filter-btn {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    transition: var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
}

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

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

/* =============================================
   18. Unlock Banner
   ============================================= */
.m-unlock-banner {
    background: linear-gradient(90deg, rgba(46, 125, 50, 0.15), rgba(76, 175, 80, 0.08));
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: var(--space-lg) 0;
}

.m-unlock-banner__content {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

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

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

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

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

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

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

.m-faq-item:hover {
    border-color: var(--primary);
}

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

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

.m-faq-item__icon {
    flex-shrink: 0;
    transition: transform var(--transition-normal);
    color: var(--primary-light);
}

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

.m-faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal), padding var(--transition-normal);
}

.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 {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
}

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

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

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

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

.m-disclaimer--highlight {
    background: rgba(46, 125, 50, 0.12);
    border-color: var(--primary);
    margin-top: var(--space-xl);
}

/* =============================================
   21. Footer
   ============================================= */
.m-footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding-top: var(--space-3xl);
}

.m-footer__top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid var(--border-color);
}

.m-footer__logo {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-light);
    text-decoration: none;
    display: inline-block;
    margin-bottom: var(--space-md);
}

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

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

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

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

.m-footer__links li a:hover {
    color: var(--primary-light);
}

.m-footer__badges {
    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-fast);
}

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

.m-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(--primary);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
}

.m-footer__bottom {
    padding: var(--space-xl) 0;
    text-align: center;
}

.m-footer__bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.m-footer__address {
    margin-top: var(--space-xs);
    font-size: 0.8rem !important;
    color: var(--text-muted);
}

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

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

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

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

.modal__overlay {
    position: absolute;
    inset: 0;
    cursor: pointer;
}

.modal__content {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    max-width: 480px;
    width: 100%;
    z-index: 1;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

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

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

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

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

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

/* Game Modal */
.modal--game .modal__content--game {
    max-width: 900px;
    padding: var(--space-md);
}

.modal__game-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--text-primary);
    padding: var(--space-md);
    text-align: left;
}

.modal__game-frame {
    position: relative;
    width: 100%;
    padding-bottom: 62.5%;
    background: var(--bg-darker);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.modal__game-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Auth Modal */
.modal--auth .modal__content--auth {
    max-width: 440px;
    text-align: left;
    padding: var(--space-xl);
}

/* Bonus Modal */
.modal--bonus .modal__content--bonus {
    max-width: 400px;
    text-align: center;
}

/* =============================================
   23. Cookie Consent
   ============================================= */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: var(--space-lg);
    z-index: 1500;
    transform: translateY(100%);
    transition: transform var(--transition-normal);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.4);
}

.cookie-consent.is-visible {
    transform: translateY(0);
}

.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-secondary);
    flex: 1;
}

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

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

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

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

.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__title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
}

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

.m-form-group label {
    display: block;
    font-size: 0.9rem;
    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 var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: border-color var(--transition-fast);
}

.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-input::placeholder {
    color: var(--text-muted);
}

.m-form-error {
    font-size: 0.85rem;
    color: #ef5350;
    margin-bottom: var(--space-md);
    min-height: 1.2em;
}

.m-auth-form__note {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: var(--space-md);
    text-align: center;
}

.m-auth-form__note a {
    color: var(--primary-light);
}

/* =============================================
   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 var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}

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

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

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

.m-account-dashboard {
    max-width: 700px;
    margin: 0 auto;
}

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

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

/* =============================================
   26. Profile
   ============================================= */
.m-profile-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    margin-bottom: var(--space-xl);
}

.m-profile-card__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-glow);
}

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

.m-profile-card__email {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
}

/* =============================================
   27. XP Progress
   ============================================= */
.m-xp-progress {
    margin-top: var(--space-lg);
}

.m-xp-progress__header {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.m-xp-progress__bar {
    height: 12px;
    background: var(--bg-darker);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.m-xp-progress__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 6px;
    transition: width var(--transition-slow);
    position: relative;
}

.m-xp-progress__fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: var(--accent);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(165, 214, 167, 0.6);
}

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

.m-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    text-align: center;
}

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

.m-stat-card__label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

/* =============================================
   29. Content Pages
   ============================================= */
.m-content-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
}

.m-content-card h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--border-color);
}

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

.m-content-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary-light);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

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

.m-content-card ul,
.m-content-card ol {
    margin-bottom: var(--space-md);
    padding-left: var(--space-xl);
}

.m-content-card ul {
    list-style: disc;
}

.m-content-card ol {
    list-style: decimal;
}

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

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

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

.m-page-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: var(--space-xl);
    line-height: 1.3;
}

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

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

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

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

.m-breadcrumb span:last-child {
    color: var(--text-secondary);
}

/* Table */
.m-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: var(--space-lg);
}

.m-table th,
.m-table td {
    padding: var(--space-md);
    border: 1px solid var(--border-color);
    text-align: left;
}

.m-table th {
    background: var(--bg-darker);
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-primary);
}

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

/* Article CTA */
.m-article-cta {
    text-align: center;
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-color);
}

/* Facts Grid (Responsible Gaming) */
.m-facts-grid {
    display: grid;
    gap: var(--space-md);
    margin: var(--space-lg) 0;
}

.m-fact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    background: rgba(46, 125, 50, 0.06);
    border: 1px solid var(--border-color);
    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 {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

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

.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 {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.m-daily-bonus__amount {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-bottom: var(--space-xl);
    text-shadow: 0 0 20px rgba(46, 125, 50, 0.4);
}

/* 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__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    font-size: 0.95rem;
    color: var(--text-muted);
}

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

.article-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-normal);
}

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

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

.article-card__category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-md);
    padding: var(--space-xs) var(--space-sm);
    background: rgba(46, 125, 50, 0.15);
    border-radius: var(--radius-sm);
}

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

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

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

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

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

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

.m-review-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: var(--transition-normal);
}

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

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

.m-review-card__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-primary);
}

.m-review-card__rating {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.m-review-card__text {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.m-review-card__stats {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.m-review-card__stat {
    font-size: 0.9rem;
    color: var(--text-muted);
    background: rgba(46, 125, 50, 0.08);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

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

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

/* =============================================
   Additional Responsive Overrides
   ============================================= */
@media (max-width: 768px) {
    .m-content-card {
        padding: var(--space-lg);
    }
    
    .m-section {
        padding: var(--space-2xl) 0;
    }
    
    .m-account-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .m-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .modal__content {
        padding: var(--space-lg);
        margin: var(--space-md);
    }
    
    .modal__buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .m-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .m-filter-bar {
        gap: var(--space-xs);
    }
    
    .m-filter-btn {
        font-size: 0.75rem;
        padding: 8px 12px;
    }
}