/* ============================================
   THE CACTUS BARN — Social Casino
   Style: #8 Женщина-воин (Warrior Woman)
   Palette: Red, Gold, Blue
   Fonts: Cormorant Garamond / Lato
   Architecture: BEM with m- prefix
   ============================================ */

/* 1. CSS Variables (:root) */
:root {
    /* Colors — Warrior Woman palette */
    --primary: #b91c1c;
    --primary-dark: #7f1d1d;
    --primary-light: #dc2626;
    --secondary: #1e3a5f;
    --secondary-dark: #0f2540;
    --accent: #d4a017;
    --accent-light: #f0c940;
    --accent-dark: #a17d12;

    /* Backgrounds */
    --bg-dark: #0d1b2a;
    --bg-darker: #060f1a;
    --bg-card: #132238;
    --bg-card-hover: #1a2d47;
    --bg-surface: #17293f;

    /* Text */
    --text-primary: #f1e8dc;
    --text-secondary: #b8a898;
    --text-muted: #7a6e62;
    --text-heading: #f5edd6;
    --text-link: #d4a017;

    /* Borders */
    --border-color: rgba(212, 160, 23, 0.15);
    --border-accent: rgba(212, 160, 23, 0.35);

    /* 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: 20px;

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

    /* Fonts — Warrior Woman: Cormorant Garamond + Lato */
    --font-body: 'Lato', sans-serif;
    --font-heading: 'Cormorant Garamond', 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(212,160,23,0.2);

    /* 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.7;
    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(--text-link);
    text-decoration: none;
    transition: color var(--transition);
}

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

ul, ol {
    list-style: none;
}

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

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

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

h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.3rem; }

p {
    margin-bottom: 1em;
}

strong {
    font-weight: 700;
}

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

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

/* 5. Header */
.m-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(13, 27, 42, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    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.7rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: color var(--transition);
}

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

.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;
    text-transform: uppercase;
    letter-spacing: 1px;
    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(--accent);
    transition: width var(--transition);
}

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

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

/* 6. Mobile Menu */
.m-header__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

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

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

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

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

.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-nav {
    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.5rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--border-color);
    transition: color var(--transition);
}

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

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

    .m-header__burger {
        display: flex;
    }

    .btn--account .btn__text {
        display: none;
    }
}

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

.btn--warrior {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(185, 28, 28, 0.3);
}

.btn--warrior:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    box-shadow: 0 6px 25px rgba(185, 28, 28, 0.5);
    transform: translateY(-2px);
    color: #fff;
}

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

.btn--secondary:hover {
    background: rgba(212, 160, 23, 0.1);
    border-color: var(--accent);
    color: var(--accent);
}

.btn--large {
    padding: 16px 36px;
    font-size: 1rem;
}

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

.btn--account {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn__icon {
    font-size: 1.1em;
}

/* 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;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    overflow: hidden;
}

.m-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 50% 20%, rgba(185,28,28,0.12) 0%, transparent 60%),
                radial-gradient(ellipse at 20% 80%, rgba(212,160,23,0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 80%, rgba(30,58,95,0.15) 0%, transparent 50%);
    pointer-events: none;
}

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

.m-hero__title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: var(--space-md);
    text-shadow: 0 2px 15px rgba(212,160,23,0.25);
}

.m-hero__subtitle {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
}

.m-hero__text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

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

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

.m-hero__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
    position: relative;
    z-index: 1;
}

.m-hero__left {
    text-align: left;
}

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

.m-hero__left .m-hero__text {
    margin-left: 0;
    margin-right: 0;
    max-width: 500px;
}

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

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

.m-hero__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    text-align: center;
}

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

@media (max-width: 768px) {
    .m-hero__title {
        font-size: 2.5rem;
    }

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

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

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

    .m-hero__left .m-hero__text {
        margin-left: auto;
        margin-right: auto;
    }

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

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

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

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

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

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

.m-section__subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-top: calc(-1 * var(--space-lg));
    margin-bottom: var(--space-2xl);
}

.m-section__provider-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--accent);
    margin-bottom: var(--space-md);
    text-align: center;
}

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

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

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

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

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

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

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

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

/* 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: all var(--transition);
}

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

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

.m-benefit-card__title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: var(--space-sm);
}

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

@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 — reused in reviews page */
.m-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

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

/* 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;
    margin-bottom: var(--space-xl);
}

@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 var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition);
}

.m-game-tile:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md), 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.08);
}

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

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

.m-game-tile__provider {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Game card (featured games on home) */
.game-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition);
}

.game-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md), 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.08);
}

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

.game-card__title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-heading);
    display: block;
    margin-bottom: var(--space-xs);
}

.game-card__provider {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.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, 15, 26, 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;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.m-provider-section__title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--border-accent);
}

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

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

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

.m-filter__btn.is-active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-color: var(--primary);
    color: #fff;
}

/* 18. Unlock Banner */
.m-unlock-banner {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    background: linear-gradient(135deg, var(--secondary-dark), var(--bg-card));
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-md);
    padding: var(--space-xl) var(--space-2xl);
}

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

.m-unlock-banner__content {
    flex: 1;
}

.m-unlock-banner__title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: var(--space-xs);
}

.m-unlock-banner__text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 0;
}

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

/* 19. FAQ */
.m-faq {
    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);
}

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

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

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

.m-faq__icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--accent);
    transition: transform var(--transition);
    flex-shrink: 0;
    margin-left: var(--space-md);
}

.m-faq__item.is-open .m-faq__icon {
    transform: rotate(45deg);
}

.m-faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

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

.m-faq__answer p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
}

/* 20. Disclaimer */
.m-disclaimer {
    background: var(--bg-card);
    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;
    margin-bottom: 0;
}

.m-disclaimer a {
    color: var(--accent);
}

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

.m-footer__content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    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(--accent);
    text-decoration: none;
    display: inline-block;
    margin-bottom: var(--space-md);
}

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

.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: 1.2rem;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: var(--space-lg);
}

.m-footer__links {
    list-style: none;
}

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

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

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

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

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

.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-weight: 900;
    font-size: 0.85rem;
}

.m-footer__bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-color);
    text-align: center;
}

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

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

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

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

/* 22. Modals */
.modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.modal__content {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    max-width: 480px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1;
    box-shadow: var(--shadow-lg);
}

.modal__content--game {
    max-width: 960px;
    padding: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
}

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

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

.modal__header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.modal__header h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--accent);
}

.modal__body {
    text-align: center;
}

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

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

.modal__close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    color: #fff;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    z-index: 10;
    transition: all var(--transition);
}

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

.modal__game-container {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
}

.modal__game-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.modal__tabs {
    display: flex;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: var(--space-xl);
}

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

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

.modal__tab.is-active {
    color: var(--accent);
}

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

.modal__tab-content {
    display: none;
}

.modal__tab-content.is-active {
    display: block;
}

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

.modal__bonus-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: var(--space-md);
}

.modal__bonus-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--accent);
    margin-bottom: var(--space-sm);
}

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

.modal__bonus-xp {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: var(--space-xl);
    text-shadow: 0 0 20px rgba(212,160,23,0.4);
}

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

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

.cookie-consent__content p {
    flex: 1;
    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 */
.form-group {
    margin-bottom: var(--space-lg);
}

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

.form-group 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), box-shadow var(--transition);
}

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

.form-group input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(212,160,23,0.15);
}

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

.form-note a {
    color: var(--accent);
    font-weight: 600;
}

/* 25. Account Page */
.m-auth-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2xl);
    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-2xl);
}

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

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

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

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

/* 26. Profile */
.m-profile {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
}

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

.m-profile__badge {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(212,160,23,0.3);
}

.m-profile__name {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: var(--space-xs);
}

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

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

.m-profile__xp-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

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

.m-profile__xp-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 6px;
    transition: width 0.8s ease;
    min-width: 0;
}

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

.m-profile__stat {
    text-align: center;
    padding: var(--space-lg);
    background: var(--bg-darker);
    border-radius: var(--radius-md);
}

.m-profile__stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: var(--space-xs);
}

.m-profile__stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

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

    .m-profile__actions {
        flex-direction: column;
    }
}

/* 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) var(--space-2xl);
}

.m-content-card h2 {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--accent);
    margin-top: var(--space-2xl);
    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.3rem;
    color: var(--text-heading);
    margin-top: var(--space-xl);
    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 {
    margin-bottom: 1em;
    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 a {
    color: var(--accent);
    font-weight: 600;
}

.m-content-card__intro {
    font-size: 1.15rem;
    color: var(--text-primary);
    line-height: 1.9;
    border-left: 3px solid var(--accent);
    padding-left: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.m-content-card__cta {
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-color);
    text-align: center;
}

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

/* Page Title */
.m-page-title {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: var(--space-xl);
    line-height: 1.3;
}

/* Breadcrumb */
.m-breadcrumb {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
    padding: var(--space-md) 0;
}

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

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

.m-breadcrumb__sep {
    margin: 0 var(--space-sm);
    color: var(--text-muted);
}

/* Fact Cards (Responsible page) */
.m-fact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin: var(--space-xl) 0;
}

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

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

.m-fact-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: var(--space-sm);
    margin-top: 0;
}

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

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

/* Review Hero */
.m-review-hero {
    margin-bottom: var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-md);
}

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

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

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

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

.m-review-game-tile {
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
    text-align: center;
    transition: border-color var(--transition);
}

.m-review-game-tile:hover {
    border-color: var(--accent);
}

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

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

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

/* 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: all var(--transition);
}

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

.article-card__content {
    padding: var(--space-xl);
    position: relative;
    z-index: 0;
}

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

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

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

.article-card__excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.article-card__link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@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-review-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    transition: all var(--transition);
}

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

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

.m-review-card__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

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

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

.m-review-card__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.m-review-card__stat {
    text-align: center;
    padding: var(--space-md);
    background: var(--bg-darker);
    border-radius: var(--radius-sm);
}

.m-review-card__stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 2px;
}

.m-review-card__stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

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

.hidden {
    display: none !important;
}

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

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

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

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

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

@media (max-width: 992px) {
    h1 { font-size: 2.4rem; }
    h2 { font-size: 1.8rem; }

    .m-section__title {
        font-size: 1.8rem;
    }

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

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

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

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

    .m-section__title {
        font-size: 1.6rem;
    }

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

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

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

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

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

@media (max-width: 480px) {
    body {
        font-size: 15px;
    }

    h1 { font-size: 1.7rem; }
    h2 { font-size: 1.4rem; }

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

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

    .m-section__title {
        font-size: 1.4rem;
    }

    .btn--large {
        padding: 14px 28px;
        font-size: 0.9rem;
    }

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

    .m-review-hero {
        flex-direction: column;
        align-items: flex-start;
    }

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