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

/* 1. CSS Variables (:root)
   ========================================================================== */
:root {
    /* Colors */
    --primary: #c0392b;
    --primary-dark: #96281b;
    --primary-light: #e74c3c;
    --secondary: #1a3a5c;
    --secondary-dark: #0f2440;
    --accent: #d4a017;
    --accent-light: #f0c040;

    /* Backgrounds */
    --bg-dark: #0d1b2a;
    --bg-darker: #091520;
    --bg-card: #132638;
    --bg-card-hover: #1a3350;
    --bg-hero: linear-gradient(135deg, #0d1b2a 0%, #1a3a5c 50%, #2c1320 100%);

    /* Text */
    --text-primary: #f0e6d3;
    --text-secondary: #b8a99a;
    --text-muted: #7a6e63;
    --text-heading: #f5eee6;
    --text-on-primary: #ffffff;

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

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

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

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

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

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

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

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

h1 { font-size: 2.8rem; }
h2 { font-size: 2rem; margin-bottom: var(--space-md); }
h3 { font-size: 1.5rem; margin-bottom: var(--space-sm); }

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

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: 800px;
}

/* 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 rgba(212, 160, 23, 0.15);
    z-index: 1000;
}

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

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    letter-spacing: 1px;
    text-transform: uppercase;
    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: 700;
    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.is-active::after,
.m-header__link:hover::after {
    width: 100%;
}

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

.m-header__account-btn {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-decoration: none;
    padding: var(--space-sm) var(--space-md);
    border: 1px solid rgba(212, 160, 23, 0.3);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.m-header__account-btn:hover,
.m-header__account-btn.is-active {
    color: var(--accent);
    border-color: var(--accent);
    background: rgba(212, 160, 23, 0.08);
}

.m-header__account-icon {
    font-size: 1.1rem;
}

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

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

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

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

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

/* 6. Mobile Menu
   ========================================================================== */
.m-header__mobile-menu {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(13, 27, 42, 0.98);
    backdrop-filter: blur(16px);
    z-index: 999;
    padding: var(--space-xl);
    overflow-y: auto;
}

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

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

.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 rgba(212, 160, 23, 0.1);
    transition: color var(--transition);
}

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

/* 7. Buttons
   ========================================================================== */
.m-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 14px 32px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition);
    line-height: 1;
}

.m-btn--primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-on-primary);
    box-shadow: 0 4px 16px rgba(192, 57, 43, 0.35);
}

.m-btn--primary:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    box-shadow: 0 6px 24px rgba(192, 57, 43, 0.5);
    transform: translateY(-2px);
    color: var(--text-on-primary);
}

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

.m-btn--secondary:hover {
    background: rgba(212, 160, 23, 0.1);
    color: var(--accent-light);
    border-color: var(--accent-light);
    transform: translateY(-2px);
}

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

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 14px 32px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    line-height: 1;
}

.btn--primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-on-primary);
    box-shadow: 0 4px 16px rgba(192, 57, 43, 0.35);
}

.btn--primary:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    transform: translateY(-2px);
}

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

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

/* 8. Main Content
   ========================================================================== */
.m-main {
    flex: 1;
    margin-top: var(--header-height);
}

/* 9. Hero Section
   ========================================================================== */
.m-hero {
    background: var(--bg-hero);
    padding: var(--space-3xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.m-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -25%;
    width: 150%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(192, 57, 43, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

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

.m-hero__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    position: relative;
    z-index: 1;
}

.m-hero__title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: var(--space-md);
    text-shadow: 0 2px 20px rgba(212, 160, 23, 0.3);
}

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

.m-hero__text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto var(--space-xl);
    line-height: 1.7;
}

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

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

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

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

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

.m-hero__title--404 {
    font-size: 8rem;
    color: var(--primary);
    text-shadow: 0 0 40px rgba(192, 57, 43, 0.4);
}

/* 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: 2.2rem;
    font-weight: 600;
    color: var(--text-heading);
    text-align: center;
    margin-bottom: var(--space-lg);
    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__subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: var(--space-2xl);
}

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

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

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

.m-benefit-card {
    background: var(--bg-card);
    border: 1px solid rgba(212, 160, 23, 0.1);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    text-align: center;
    transition: all var(--transition);
}

.m-benefit-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 160, 23, 0.3);
    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.2rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: var(--space-sm);
}

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

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

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

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

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

/* 14. Game Tile / Card
   ========================================================================== */
.m-game-tile {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
    border: 1px solid rgba(212, 160, 23, 0.08);
}

.m-game-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(212, 160, 23, 0.25);
}

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

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

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

.m-game-tile__play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 27, 42, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}

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

.m-game-tile__play-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-on-primary);
    box-shadow: 0 0 20px rgba(192, 57, 43, 0.5);
}

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

.m-game-tile__title {
    font-family: var(--font-heading);
    font-size: 1rem;
    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 / review) */
.m-game-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition);
    position: relative;
    border: 1px solid rgba(212, 160, 23, 0.08);
}

.m-game-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(212, 160, 23, 0.25);
}

.m-game-card__image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

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

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

.m-game-card__overlay-play {
    position: absolute;
    inset: 0;
    background: rgba(13, 27, 42, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}

.m-game-card:hover .m-game-card__overlay-play {
    opacity: 1;
}

.m-game-card__play-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-on-primary);
    box-shadow: 0 0 20px rgba(192, 57, 43, 0.5);
}

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

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

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

.m-game-card--small {
    text-align: center;
}

.m-game-card--small img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.m-game-card--small .m-game-card__title {
    font-size: 0.85rem;
    padding: var(--space-sm);
    margin-bottom: 0;
}

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

.m-game-tile__lock-overlay {
    position: absolute;
    inset: 0;
    background: rgba(13, 27, 42, 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__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid rgba(212, 160, 23, 0.15);
}

.m-provider-section__title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--accent);
}

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

/* 17. Filter
   ========================================================================== */
.m-filter {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    padding: var(--space-md);
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid rgba(212, 160, 23, 0.1);
}

.m-filter__btn {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 20px;
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid rgba(212, 160, 23, 0.15);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
}

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

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

/* 18. Unlock Banner
   ========================================================================== */
.m-unlock-banner {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg) var(--space-xl);
    background: linear-gradient(135deg, rgba(192, 57, 43, 0.12), rgba(212, 160, 23, 0.08));
    border: 1px solid rgba(212, 160, 23, 0.25);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-xl);
}

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

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

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

.m-faq__item {
    border: 1px solid rgba(212, 160, 23, 0.1);
    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: rgba(212, 160, 23, 0.25);
}

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

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

.m-faq__icon {
    font-size: 1.5rem;
    color: var(--accent);
    flex-shrink: 0;
    transition: transform var(--transition);
}

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

/* 20. Disclaimer
   ========================================================================== */
.m-disclaimer {
    padding: var(--space-lg);
    background: rgba(192, 57, 43, 0.08);
    border: 1px solid rgba(192, 57, 43, 0.2);
    border-radius: var(--radius-md);
    text-align: center;
}

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

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

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

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

.m-footer__top {
    display: flex;
    justify-content: space-between;
    gap: var(--space-3xl);
    margin-bottom: var(--space-2xl);
}

.m-footer__brand {
    max-width: 380px;
}

.m-footer__brand .logo {
    margin-bottom: var(--space-md);
    display: inline-block;
}

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

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

.m-footer__column {
    min-width: 140px;
}

.m-footer__title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: var(--space-md);
}

.m-footer__list {
    list-style: none;
    padding: 0;
}

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

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

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

.m-footer__compliance {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    padding: var(--space-xl) 0;
    border-top: 1px solid rgba(212, 160, 23, 0.1);
    border-bottom: 1px solid rgba(212, 160, 23, 0.1);
    margin-bottom: var(--space-xl);
}

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

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

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

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

.m-footer__age-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 900;
    font-size: 0.9rem;
    flex-shrink: 0;
}

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

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

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

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

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

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

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

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

.m-modal__close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(212, 160, 23, 0.2);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all var(--transition);
    line-height: 1;
}

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

.m-modal__game-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
}

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

/* Age modal (.modal) */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: var(--space-lg);
}

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

.modal__content {
    background: var(--bg-card);
    border: 1px solid rgba(212, 160, 23, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    max-width: 440px;
    width: 100%;
    text-align: center;
}

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

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

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

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

.cookie-consent.is-active {
    display: block;
}

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

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

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

/* 24. Auth Forms
   ========================================================================== */
.m-auth {
    padding: var(--space-md) 0;
}

.m-auth__tabs {
    display: flex;
    gap: 0;
    margin-bottom: var(--space-xl);
    border-bottom: 2px solid rgba(212, 160, 23, 0.15);
}

.m-auth__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;
    transition: all var(--transition);
    position: relative;
}

.m-auth__tab::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform var(--transition);
}

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

.m-auth__tab.is-active::after {
    transform: scaleX(1);
}

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

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

.m-auth__label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.m-auth__input {
    padding: 12px var(--space-md);
    background: var(--bg-darker);
    border: 1px solid rgba(212, 160, 23, 0.15);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: border-color var(--transition);
    outline: none;
}

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

.m-auth__input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.1);
}

.m-auth__error {
    font-size: 0.85rem;
    color: var(--primary-light);
    min-height: 20px;
}

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

/* 25. Account Page
   ========================================================================== */
.m-account-header {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.m-account-badge {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.m-account-badge__level {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-on-primary);
    line-height: 1;
}

.m-account-badge__label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 700;
}

.m-account-info {
    flex: 1;
}

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

/* 26. Profile / Content Cards
   ========================================================================== */
.m-page-title {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: var(--space-md);
}

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

.m-content-card {
    background: var(--bg-card);
    border: 1px solid rgba(212, 160, 23, 0.1);
    border-radius: var(--radius-md);
    padding: var(--space-2xl);
    margin-bottom: var(--space-xl);
}

.m-content-card--wide {
    grid-column: 1 / -1;
}

.m-content-card__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: var(--space-lg);
}

.m-content-card h2 {
    font-family: var(--font-heading);
    color: var(--accent);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
}

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

.m-content-card h3 {
    color: var(--text-heading);
    margin-top: var(--space-lg);
}

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

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

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

.m-content-card__cta {
    text-align: center;
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(212, 160, 23, 0.1);
}

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

.m-xp-bar__track {
    width: 100%;
    height: 20px;
    background: var(--bg-darker);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(212, 160, 23, 0.15);
}

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

.m-xp-bar__labels {
    text-align: center;
    margin-top: var(--space-sm);
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 700;
}

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

.m-stat-card {
    background: var(--bg-card);
    border: 1px solid rgba(212, 160, 23, 0.1);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    text-align: center;
}

.m-stat-card__value {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent);
    display: block;
    line-height: 1;
    margin-bottom: var(--space-sm);
}

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

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

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

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

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

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

/* Responsible Gaming */
.m-facts-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 rgba(212, 160, 23, 0.1);
    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-md);
}

.m-fact-card h3 {
    color: var(--accent);
    margin-bottom: var(--space-sm);
}

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

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

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

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

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

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

.m-article-card {
    background: var(--bg-card);
    border: 1px solid rgba(212, 160, 23, 0.08);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition);
    position: relative;
}

.m-article-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 160, 23, 0.25);
    box-shadow: var(--shadow-md);
}

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

.m-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(192, 57, 43, 0.12);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
}

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

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

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

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

.m-review-card {
    background: var(--bg-card);
    border: 1px solid rgba(212, 160, 23, 0.1);
    border-radius: var(--radius-md);
    padding: var(--space-2xl);
    position: relative;
}

.m-review-card__header {
    display: flex;
    align-items: center;
    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.6rem;
    font-weight: 700;
    color: var(--accent);
}

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

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

.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.85rem;
    color: var(--text-muted);
    background: var(--bg-darker);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
}

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

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

.m-daily-bonus__title {
    font-family: var(--font-heading);
    color: var(--accent);
    margin-bottom: var(--space-md);
}

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

.m-daily-bonus__amount {
    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);
}

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

.card {
    position: relative;
}

.offer-card {
    position: relative;
}

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

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

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

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

    .m-header__mobile-toggle {
        display: flex;
    }

    .m-header__account-text {
        display: none;
    }

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

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

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

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

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

    .m-hero__col--actions {
        justify-content: center;
    }

    .m-footer__top {
        flex-direction: column;
        gap: var(--space-xl);
    }

    .m-footer__brand {
        max-width: 100%;
    }

    h1 { font-size: 2.2rem; }
    .m-hero__title { font-size: 2.8rem; }
    .m-page-title { font-size: 2rem; }
}

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

    .m-games-grid--featured {
        max-width: 100%;
        gap: 12px;
    }

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

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

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

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

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

    .m-footer__links {
        gap: var(--space-xl);
    }

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

    .m-footer__compliance-logos {
        flex-wrap: wrap;
        justify-content: center;
    }

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

    .m-hero__title { font-size: 2.2rem; }
    .m-hero--small .m-hero__title { font-size: 1.8rem; }
    .m-hero__title--404 { font-size: 5rem; }

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

    .modal__buttons {
        flex-direction: column;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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