/* ==========================================================================
   PinkAwful — Современный минимализм
   Social Casino | DE
   Font: Work Sans
   Palette: Light #f5f5f7, Accent #2563eb
   ========================================================================== */

/* 1. CSS Variables (:root) */
:root {
    /* Colors */
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #64748b;
    --accent: #0ea5e9;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    /* Backgrounds */
    --bg-body: #f5f5f7;
    --bg-white: #ffffff;
    --bg-card: #ffffff;
    --bg-dark: #1e293b;
    --bg-darker: #0f172a;
    --bg-muted: #f1f5f9;
    --bg-hero: linear-gradient(135deg, #1e293b 0%, #334155 100%);

    /* Text */
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-white: #ffffff;
    --text-on-primary: #ffffff;

    /* Borders */
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;

    /* 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;
    --radius-full: 9999px;

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

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;

    /* Fonts */
    --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

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

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

a:hover {
    color: var(--primary-dark);
}

ul, ol {
    list-style: none;
}

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

h1 { font-size: 2.5rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

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

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

/* 5. Header */
.m-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: box-shadow var(--transition-base);
}

.m-header.is-scrolled {
    box-shadow: var(--shadow-md);
}

.m-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.m-header__logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: opacity var(--transition-fast);
}

.m-header__logo:hover {
    opacity: 0.85;
    color: var(--primary);
}

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

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

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

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

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

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

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

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

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

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

.m-header__mobile-inner {
    padding: var(--space-xl) var(--space-lg);
}

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

.m-header__mobile-link {
    display: block;
    padding: var(--space-md) var(--space-lg);
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: background var(--transition-fast);
}

.m-header__mobile-link:hover {
    background: var(--bg-muted);
    color: var(--primary);
}

.m-header__mobile-account {
    margin-top: var(--space-xl);
    width: 100%;
}

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

.m-btn--primary {
    background: var(--primary);
    color: var(--text-on-primary);
    border-color: var(--primary);
}

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

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

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

.m-btn--lg {
    padding: 14px 36px;
    font-size: 1.0625rem;
}

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

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

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

.m-hero__content {
    max-width: 680px;
    margin: 0 auto;
}

.m-hero__title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: var(--space-md);
    letter-spacing: -0.03em;
}

.m-hero__subtitle {
    font-size: 1.375rem;
    font-weight: 400;
    color: var(--primary-light);
    margin-bottom: var(--space-lg);
}

.m-hero__text {
    font-size: 1.0625rem;
    color: #cbd5e1;
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

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

.m-hero--compact .m-hero__title {
    font-size: 2.25rem;
}

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

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

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

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

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

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

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

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

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

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

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

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

.m-section--filter {
    padding: var(--space-lg) 0;
    position: sticky;
    top: var(--header-height);
    background: var(--bg-body);
    z-index: 50;
    border-bottom: 1px solid var(--border-color);
}

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

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

.m-section__subtitle {
    font-size: 1.0625rem;
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.m-section__provider-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    margin-top: var(--space-xl);
    text-align: center;
}

.m-section__provider-title:first-of-type {
    margin-top: 0;
}

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

.m-section__empty {
    text-align: center;
    color: var(--text-muted);
    padding: var(--space-2xl) 0;
}

.m-section__divider {
    height: 1px;
    background: var(--border-color);
    margin: var(--space-2xl) 0;
}

/* Page Titles */
.m-page-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.m-page-subtitle {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-2xl);
    line-height: 1.7;
}

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

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

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

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

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

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

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

.m-benefit-card__title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

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

/* 12. Featured Providers */
/* (Styled via section and game cards) */

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

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

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

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

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

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

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

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

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

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

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

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

.m-game-tile__provider {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
    margin-top: 2px;
}

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

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

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

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

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

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

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

.m-game-card__provider {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
    margin-top: 2px;
}

.m-game-card--small {
    cursor: default;
}

.m-game-card--small:hover {
    transform: none;
    box-shadow: var(--shadow-md);
}

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

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

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

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

.m-game-tile--locked:hover .m-game-tile__image img {
    filter: blur(4px) grayscale(50%);
    transform: scale(1);
}

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

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

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

.m-game-tile__lock-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* 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: 2px solid var(--border-color);
}

.m-provider-section__title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
}

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

/* 17. Filter */
.m-filter {
    display: flex;
    gap: var(--space-sm);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: var(--space-xs);
}

.m-filter::-webkit-scrollbar {
    display: none;
}

.m-filter__btn {
    padding: 8px 20px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-fast);
}

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

.m-filter__btn.is-active {
    background: var(--primary);
    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: var(--bg-white);
    border: 2px solid var(--primary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

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

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

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

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

.m-faq__item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    overflow: hidden;
    background: var(--bg-white);
    transition: border-color var(--transition-base);
}

.m-faq__item.is-open {
    border-color: var(--primary);
}

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

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

.m-faq__icon {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--primary);
    flex-shrink: 0;
    transition: transform var(--transition-base);
}

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

.m-faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow);
}

.m-faq__item.is-open .m-faq__answer {
    max-height: 500px;
}

.m-faq__answer p {
    padding: 0 var(--space-lg) var(--space-lg);
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
}

/* 20. Disclaimer */
.m-disclaimer {
    padding: var(--space-lg);
    background: var(--bg-muted);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--warning);
}

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

.m-disclaimer p strong {
    color: var(--text-secondary);
}

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

/* 21. Footer */
.m-footer {
    background: var(--bg-dark);
    color: #cbd5e1;
    padding-top: var(--space-3xl);
}

.m-footer__top {
    display: flex;
    justify-content: space-between;
    gap: var(--space-3xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.m-footer__logo a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    text-decoration: none;
}

.m-footer__description {
    margin-top: var(--space-md);
    font-size: 0.9375rem;
    color: #94a3b8;
    line-height: 1.7;
}

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

.m-footer__column h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: var(--space-lg);
}

.m-footer__column ul {
    list-style: none;
}

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

.m-footer__column a {
    font-size: 0.9375rem;
    color: #94a3b8;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.m-footer__column a:hover {
    color: var(--text-white);
}

.m-footer__bottom {
    padding: var(--space-xl) 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
}

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

.m-footer__compliance a {
    display: inline-flex;
    align-items: center;
}

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

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

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

.m-footer__age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid #ef4444;
    border-radius: 50%;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #ef4444;
}

.m-footer__copyright {
    font-size: 0.8125rem;
    color: #64748b;
    text-align: center;
}

/* 22. Modals */
.m-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: var(--space-lg);
    backdrop-filter: blur(4px);
}

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

.m-modal__content {
    position: relative;
    z-index: 1;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    max-width: 460px;
    width: 100%;
    box-shadow: var(--shadow-xl);
    max-height: 90vh;
    overflow-y: auto;
}

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

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

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

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

.m-modal__header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

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

.m-modal__actions {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.m-modal__actions .m-btn {
    flex: 1;
}

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

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

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

.m-modal__game-container iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* 23. Cookie Consent */
.m-cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    padding: var(--space-lg);
    z-index: 1500;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.15);
}

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

.m-cookie-consent__content p {
    color: #cbd5e1;
    font-size: 0.875rem;
    margin-bottom: 0;
    flex: 1;
}

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

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

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

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

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

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

.m-auth-form__group {
    margin-bottom: var(--space-md);
}

.m-auth-form__group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.m-auth-form__group input {
    width: 100%;
    padding: 10px 14px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--text-primary);
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    outline: none;
    transition: border-color var(--transition-fast);
}

.m-auth-form__group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

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

.m-auth-form .m-btn {
    margin-top: var(--space-md);
}

.m-auth-form__message {
    margin-top: var(--space-md);
    padding: var(--space-md);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    display: none;
    text-align: center;
}

.m-auth-form__message.is-success {
    display: block;
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.m-auth-form__message.is-error {
    display: block;
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

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

.m-account-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
}

.m-account-card__title {
    font-size: 1.375rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
}

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

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

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

.m-profile__badge {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.m-profile__level {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-on-primary);
}

.m-profile__name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

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

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

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

.m-progress-bar {
    height: 10px;
    background: var(--bg-muted);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.m-progress-bar__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: var(--radius-full);
    transition: width var(--transition-slow);
}

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

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

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

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

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

.m-profile__actions .m-btn {
    flex: 1;
}

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

.m-daily-bonus__xp {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-md);
}

.m-daily-bonus__streak {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

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

.m-content-card__meta {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-md);
    border-bottom: 1px solid var(--border-color);
}

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

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

.m-content-card h3 {
    font-size: 1.25rem;
    margin-top: var(--space-lg);
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

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

.m-content-card ul,
.m-content-card ol {
    list-style: none;
    margin-bottom: var(--space-lg);
    padding-left: 0;
}

.m-content-card ul li,
.m-content-card ol li {
    position: relative;
    padding-left: var(--space-lg);
    margin-bottom: var(--space-sm);
    color: var(--text-secondary);
    line-height: 1.7;
}

.m-content-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

.m-content-card__cta {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-color);
}

/* Contact Info */
.m-contact-info {
    background: var(--bg-muted);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-top: var(--space-md);
}

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

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

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

.m-info-card {
    background: var(--bg-muted);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    border: 1px solid var(--border-color);
}

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

.m-info-card h3 {
    font-size: 1rem;
    margin-top: 0;
    margin-bottom: var(--space-sm);
}

.m-info-card p {
    font-size: 0.9375rem;
    margin-bottom: 0;
}

/* Help Links */
.m-help-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.m-help-link {
    background: var(--bg-muted);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    border: 1px solid var(--border-color);
}

.m-help-link h3 {
    font-size: 1.125rem;
    margin-top: 0;
    margin-bottom: var(--space-sm);
}

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

/* Table */
.m-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-lg) 0;
    font-size: 0.9375rem;
}

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

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

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

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

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

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

.m-article-card__category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    background: rgba(37, 99, 235, 0.08);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
}

.m-article-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    line-height: 1.4;
}

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

.m-article-card__meta {
    margin-top: var(--space-sm);
}

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

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

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

.m-review-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

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

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

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

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

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

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

/* 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-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
}

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

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

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

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

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

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

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

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

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

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

    .m-header__burger {
        display: flex;
    }

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

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

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

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

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

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

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

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

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

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

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

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

    .m-hero--compact .m-hero__title {
        font-size: 1.75rem;
    }

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

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

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

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

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

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

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

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

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

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

    .m-content-card__cta {
        flex-direction: column;
    }

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

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

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

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

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

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

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

    .m-modal__content {
        padding: var(--space-lg);
        margin: var(--space-md);
    }

    .m-modal__content--game {
        padding: 0;
    }
}

@media (max-width: 480px) {
    .m-container {
        padding: 0 var(--space-md);
    }

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

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

    .m-header__logo {
        font-size: 1.25rem;
    }

    .m-btn--lg {
        padding: 12px 28px;
        font-size: 1rem;
    }

    .m-filter__btn {
        padding: 6px 14px;
        font-size: 0.8125rem;
    }

    .m-provider-section__header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }
}
.article-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}
