/* ============================================
   RandallOtis - Social Casino
   Stylistic: #7 Лучник (Archer)
   Palette: Green, Black, Arrows
   Fonts: Bitter (headings), Karla (body)
   ============================================ */

/* 1. CSS Variables (:root) */
:root {
    /* Colors - Archer palette */
    --primary: #2e7d32;
    --primary-dark: #1b5e20;
    --primary-light: #4caf50;
    --secondary: #263238;
    --accent: #66bb6a;
    --accent-bright: #a5d6a7;
    --gold: #c8b900;
    --gold-light: #e6d94e;

    /* Backgrounds */
    --bg-dark: #101a10;
    --bg-darker: #0a120a;
    --bg-card: #1a2e1a;
    --bg-card-hover: #1f381f;
    --bg-surface: #142214;
    --bg-light: #e8f5e9;

    /* Text */
    --text-primary: #e8f5e9;
    --text-secondary: #a5d6a7;
    --text-muted: #6b8e6b;
    --text-on-primary: #ffffff;
    --text-dark: #1b2e1b;

    /* 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;
    --radius-xl: 24px;

    /* Header */
    --header-height: 70px;

    /* Fonts */
    --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-fast: 0.15s ease;
    --transition-base: 0.25s ease;
    --transition-slow: 0.4s ease;
}

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

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);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

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

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

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

h1 { font-size: 2.5rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

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

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

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

/* 5. Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(10, 18, 10, 0.95);
    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-base);
}

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

.header__brand {
    flex-shrink: 0;
}

.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;
    display: inline-block;
}

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

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

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

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

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

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

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

.header__account-btn {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    background: var(--primary);
    color: var(--text-on-primary);
    border: none;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition-fast), box-shadow var(--transition-fast);
}

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

.header__account-icon {
    width: 20px;
    height: 20px;
}

.header__mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.header__burger-line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform var(--transition-base), opacity var(--transition-base);
}

@media (max-width: 768px) {
    .header__nav {
        display: none;
    }

    .header__account-btn span {
        display: none;
    }

    .header__mobile-toggle {
        display: flex;
    }
}

/* 6. Mobile Menu */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 1500;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base);
}

.mobile-menu.is-open {
    pointer-events: all;
    opacity: 1;
    visibility: visible;
}

.mobile-menu__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
}

.mobile-menu__content {
    position: absolute;
    top: 0;
    right: 0;
    width: 280px;
    height: 100%;
    background: var(--bg-darker);
    border-left: 1px solid rgba(46, 125, 50, 0.2);
    padding: var(--space-lg);
    transform: translateX(100%);
    transition: transform var(--transition-base);
}

.mobile-menu.is-open .mobile-menu__content {
    transform: translateX(0);
}

.mobile-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-2xl);
}

.mobile-menu__close {
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
}

.mobile-menu__close svg {
    width: 100%;
    height: 100%;
}

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

.mobile-menu__link {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    padding: var(--space-md) var(--space-sm);
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast), color var(--transition-fast);
}

.mobile-menu__link:hover {
    background: var(--bg-card);
    color: var(--text-primary);
}

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

.btn--primary {
    background: var(--primary);
    color: var(--text-on-primary);
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.3);
}

.btn--primary:hover {
    background: var(--primary-dark);
    box-shadow: 0 4px 16px rgba(46, 125, 50, 0.4);
    color: var(--text-on-primary);
    transform: translateY(-1px);
}

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

.btn--secondary:hover {
    background: var(--primary);
    color: var(--text-on-primary);
}

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

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

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

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

/* 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.1) 100%);
    overflow: hidden;
}

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

.m-hero__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2xl);
    position: relative;
}

.m-hero__content {
    max-width: 600px;
}

.m-hero__title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    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.5rem;
    color: var(--primary-light);
    margin-bottom: var(--space-lg);
    font-weight: 600;
}

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

.m-hero__actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.m-hero__visual {
    flex-shrink: 0;
}

.m-hero__arrow-decor {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.m-hero__arrow {
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), transparent);
    border-radius: 2px;
    position: relative;
    animation: arrowPulse 2s ease-in-out infinite;
}

.m-hero__arrow:nth-child(1) { width: 100px; animation-delay: 0s; }
.m-hero__arrow:nth-child(2) { width: 70px; animation-delay: 0.3s; }
.m-hero__arrow:nth-child(3) { width: 50px; animation-delay: 0.6s; }

.m-hero__arrow::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid var(--primary);
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
}

@keyframes arrowPulse {
    0%, 100% { opacity: 0.4; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(10px); }
}

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

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

.m-hero--404 {
    text-align: center;
    padding: 120px 0;
}

.m-hero--404 .m-hero__container {
    flex-direction: column;
    align-items: center;
}

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

@media (max-width: 768px) {
    .m-hero__title { font-size: 2.25rem; }
    .m-hero__subtitle { font-size: 1.2rem; }
    .m-hero__visual { display: none; }
    .m-hero__title--404 { font-size: 5rem; }
    .m-hero__container { flex-direction: column; text-align: center; }
    .m-hero__actions { justify-content: center; }
}

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

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

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

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

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

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

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

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

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

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

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

/* Page titles */
.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);
}

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

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

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

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

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

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

.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-base), border-color var(--transition-base);
}

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

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

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

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

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

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

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

.featured-provider__title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--accent);
    margin-bottom: var(--space-md);
    text-align: center;
}

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

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

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

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

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

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

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

.game-card__info {
    padding: var(--space-sm) var(--space-md);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

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

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

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

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

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

.provider-section__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid rgba(46, 125, 50, 0.2);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.provider-section__title::before {
    content: '➤';
    color: var(--primary);
    font-size: 1rem;
}

/* 14. Game Tile */
.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-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

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

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

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

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

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

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

.game-tile__provider {
    font-size: 0.75rem;
    color: var(--text-muted);
}

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

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

.game-tile--locked:hover {
    transform: none;
    border-color: rgba(46, 125, 50, 0.12);
    box-shadow: none;
}

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

.game-tile__lock-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 18, 10, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    z-index: 2;
}

.game-tile__lock-icon {
    font-size: 2rem;
}

.game-tile__lock-text {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
    padding: 0 var(--space-sm);
}

/* 16. Provider Section */
/* (see .provider-section above) */

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

.provider-filter__btn {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 10px 20px;
    border: 2px solid rgba(46, 125, 50, 0.25);
    background: transparent;
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.provider-filter__btn:hover {
    border-color: var(--primary);
    color: var(--text-primary);
}

.provider-filter__btn.is-active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-on-primary);
}

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

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

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

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

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

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

.faq-item.is-active {
    border-color: var(--primary);
}

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

.faq-item__arrow {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--primary);
    transition: transform var(--transition-base);
}

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

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

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

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

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

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

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

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

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

.footer__brand .logo {
    font-size: 1.3rem;
    margin-bottom: var(--space-md);
    display: inline-block;
}

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

.footer__title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

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

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

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

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

.footer__compliance-link {
    display: inline-flex;
}

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

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

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

.footer__age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-light);
}

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

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

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

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

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

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

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

.modal__content {
    position: relative;
    background: var(--bg-card);
    border: 1px solid rgba(46, 125, 50, 0.25);
    border-radius: var(--radius-lg);
    max-width: 480px;
    width: 100%;
    z-index: 1;
    overflow: hidden;
}

/* Age Modal */
.age-modal__content {
    padding: var(--space-2xl);
    text-align: center;
}

.age-modal__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

.age-modal__text {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

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

/* Game Modal */
.game-modal__content {
    max-width: 900px;
    width: 95%;
    max-height: 90vh;
}

.game-modal__close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 32px;
    height: 32px;
    background: var(--bg-darker);
    border: 1px solid rgba(46, 125, 50, 0.3);
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background var(--transition-fast), color var(--transition-fast);
}

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

.game-modal__close svg {
    width: 18px;
    height: 18px;
}

.game-modal__header {
    padding: var(--space-lg) var(--space-xl);
    border-bottom: 1px solid rgba(46, 125, 50, 0.15);
}

.game-modal__title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    padding-right: var(--space-2xl);
}

.game-modal__body {
    width: 100%;
    aspect-ratio: 16 / 9;
}

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

/* 23. Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 1px solid rgba(46, 125, 50, 0.25);
    padding: var(--space-lg);
    z-index: 1800;
    transform: translateY(100%);
    transition: transform var(--transition-base);
}

.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__text p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.cookie-consent__actions {
    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 */
.auth-modal__content {
    padding: var(--space-2xl);
    max-width: 420px;
}

.auth-modal__close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    z-index: 10;
}

.auth-modal__close svg {
    width: 20px;
    height: 20px;
}

.auth-modal__tabs {
    display: flex;
    gap: 0;
    margin-bottom: var(--space-xl);
    border-bottom: 2px solid rgba(46, 125, 50, 0.15);
}

.auth-modal__tab {
    flex: 1;
    padding: var(--space-md);
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    position: relative;
    transition: color var(--transition-fast);
}

.auth-modal__tab::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: transparent;
    transition: background var(--transition-fast);
}

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

.auth-modal__tab.is-active::after {
    background: var(--primary);
}

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

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

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

.form-group__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-fast), box-shadow var(--transition-fast);
    outline: none;
}

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

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

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

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

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

.account-benefits {
    margin-top: var(--space-2xl);
}

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

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

.account-dashboard__level-badge {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: 3px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-on-primary);
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(46, 125, 50, 0.3);
}

.account-dashboard__username {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

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

.account-dashboard__xp {
    margin-bottom: var(--space-2xl);
}

@media (max-width: 768px) {
    .account-forms { grid-template-columns: 1fr; }
    .account-dashboard { padding: var(--space-lg); }
    .account-dashboard__header { flex-direction: column; text-align: center; }
}

/* 26. Profile */
/* (integrated in account dashboard) */

/* 27. XP Progress */
.xp-bar__label {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
    font-weight: 600;
}

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

.xp-bar__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--accent));
    border-radius: 6px;
    transition: width 0.6s ease;
    position: relative;
}

.xp-bar__fill::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    animation: xpShimmer 2s infinite;
}

@keyframes xpShimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

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

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

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

.stat-card__label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
}

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

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

/* 29. Content Pages */
.m-content-card {
    background: var(--bg-card);
    border: 1px solid rgba(46, 125, 50, 0.12);
    border-radius: var(--radius-md);
    padding: var(--space-2xl);
    margin-bottom: var(--space-xl);
}

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

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

.m-content-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--accent);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

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

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

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

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

.m-content-card a:hover {
    color: var(--accent-bright);
}

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

.m-content-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-lg) 0;
}

.m-content-table th,
.m-content-table td {
    padding: var(--space-md);
    text-align: left;
    border-bottom: 1px solid rgba(46, 125, 50, 0.12);
}

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

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

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

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

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

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

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

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

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

.help-resource {
    background: var(--bg-surface);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    border: 1px solid rgba(46, 125, 50, 0.12);
}

.help-resource h3 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    margin-top: 0;
}

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

@media (max-width: 768px) {
    .help-resources { grid-template-columns: 1fr; }
    .m-content-card { padding: var(--space-lg); }
}

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

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

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

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

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

.review-game-tile {
    background: var(--bg-surface);
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid rgba(46, 125, 50, 0.1);
}

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

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

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

/* 30. Blog Grid */
.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-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

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

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

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

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

.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.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.article-card__readmore {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent);
    transition: color var(--transition-fast);
}

.article-card:hover .article-card__readmore {
    color: var(--accent-bright);
}

.blog-reviews-section {
    padding-top: var(--space-2xl);
    border-top: 1px solid rgba(46, 125, 50, 0.12);
}

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

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

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

.review-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid rgba(46, 125, 50, 0.15);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    transition: transform var(--transition-base), border-color var(--transition-base);
}

.review-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
}

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

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

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

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

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

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

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

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

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

/* 32. Utility Classes */
.stars {
    color: #ffc107;
    letter-spacing: 2px;
}

.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-lg { margin-top: var(--space-lg); }

/* Daily Bonus Modal */
.daily-bonus-modal__content {
    max-width: 400px;
    padding: 0;
}

.daily-bonus-modal__header {
    padding: var(--space-xl);
    text-align: center;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.daily-bonus-modal__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-on-primary);
}

.daily-bonus-modal__body {
    padding: var(--space-xl);
    text-align: center;
}

.daily-bonus-modal__text {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.daily-bonus-modal__reward {
    margin-bottom: var(--space-md);
}

.daily-bonus-modal__xp {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-light);
}

.daily-bonus-modal__footer {
    padding: 0 var(--space-xl) var(--space-xl);
    text-align: center;
}

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

/* Selection */
::selection {
    background: var(--primary);
    color: var(--text-on-primary);
}