/* ============================================
   MercyCalls Casino — Супер-солдат Style
   CSS Architecture: BEM with m- prefix
   Palette: Red, Blue, Gold, Patriotic
   Fonts: Oswald (headings), sans-serif body
   ============================================ */

/* 1. CSS Variables (:root) */
:root {
    /* Colors — Супер-солдат palette */
    --primary: #c62828;
    --primary-dark: #8e0000;
    --primary-light: #ff5f52;
    --secondary: #1565c0;
    --secondary-dark: #003c8f;
    --secondary-light: #5e92f3;
    --accent: #ffd600;
    --accent-dark: #c7a500;
    --accent-light: #ffff52;

    /* Backgrounds */
    --bg-dark: #0a1628;
    --bg-darker: #060f1d;
    --bg-card: #112240;
    --bg-card-hover: #1a3358;
    --bg-section-alt: #0d1e38;

    /* Text */
    --text-primary: #e8edf5;
    --text-secondary: #a8b8d0;
    --text-muted: #6b7fa0;
    --text-white: #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 — Oswald for headings, system sans-serif for body */
    --font-body: 'Oswald', 'Segoe UI', Tahoma, sans-serif;
    --font-heading: 'Oswald', Impact, 'Arial Black', sans-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-red: 0 0 20px rgba(198, 40, 40, 0.4);
    --shadow-glow-blue: 0 0 20px rgba(21, 101, 192, 0.4);
    --shadow-glow-gold: 0 0 20px rgba(255, 214, 0, 0.3);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-dark);
    min-height: 100vh;
    overflow-x: hidden;
}

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

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

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

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: 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: 700;
    line-height: 1.2;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
    font-weight: 300;
}

/* 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: linear-gradient(180deg, rgba(10, 22, 40, 0.98) 0%, rgba(10, 22, 40, 0.95) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 2px solid var(--primary);
    box-shadow: 0 2px 20px rgba(198, 40, 40, 0.2);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo:hover {
    opacity: 0.9;
}

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

.m-header__link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    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-normal);
}

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

.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__account {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color var(--transition-fast);
}

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

.m-header__account svg {
    width: 22px;
    height: 22px;
}

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

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

.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-mobile-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--bg-darker);
    border-bottom: 2px solid var(--primary);
    z-index: 999;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

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

.m-mobile-menu__content {
    display: flex;
    flex-direction: column;
    padding: var(--space-lg);
}

.m-mobile-menu__link {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: var(--space-md) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: color var(--transition-fast);
}

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

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

.m-btn--primary {
    background: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow-red);
}

.m-btn--primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-light);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(198, 40, 40, 0.6);
}

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

.m-btn--secondary:hover {
    background: var(--accent);
    color: var(--bg-dark);
    transform: translateY(-2px);
}

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

.m-btn--sm {
    font-size: 0.8rem;
    padding: 8px 18px;
    letter-spacing: 1px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 12px 28px;
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
}

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

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

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

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

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

.m-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(198, 40, 40, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(21, 101, 192, 0.15) 0%, transparent 50%);
    animation: heroGlow 8s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes heroGlow {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-3%, 3%); }
}

.m-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary), var(--accent), var(--primary));
    background-size: 200% 100%;
    animation: heroLine 4s linear infinite;
}

@keyframes heroLine {
    0% { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}

.m-hero__content {
    position: relative;
    z-index: 2;
}

.m-hero__title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, var(--text-white) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.m-hero__title--404 {
    font-size: 8rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.m-hero__subtitle {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: var(--space-lg);
}

.m-hero__text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto var(--space-xl);
    font-weight: 300;
}

.m-hero__shield {
    position: absolute;
    top: 50%;
    right: 10%;
    width: 200px;
    height: 200px;
    border: 4px solid rgba(255, 214, 0, 0.15);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    transform: translateY(-50%);
    opacity: 0.3;
    pointer-events: none;
}

.m-hero__shield::before {
    content: '★';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: rgba(255, 214, 0, 0.2);
}

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

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

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

.m-hero__container {
    position: relative;
    z-index: 2;
    text-align: center;
}

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

.m-hero__left {
    flex: 1;
}

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

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

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

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

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

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

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

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

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

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

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

.m-section__title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: var(--space-md);
    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);
    font-weight: 300;
}

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

.m-benefit-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 214, 0, 0.1);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.m-benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transition: transform var(--transition-normal);
}

.m-benefit-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 214, 0, 0.25);
    box-shadow: var(--shadow-md);
}

.m-benefit-card:hover::before {
    transform: scaleX(1);
}

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

.m-benefit-card__title {
    font-size: 1.1rem;
    margin-bottom: var(--space-sm);
    color: var(--accent);
}

.m-benefit-card__text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 300;
}

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

.m-featured-provider__title {
    font-size: 1.3rem;
    color: var(--accent);
    margin-bottom: var(--space-lg);
    text-align: center;
    letter-spacing: 2px;
}

/* Featured game cards on home page */
.m-game-card--featured {
    background: var(--bg-card);
    border: 1px solid rgba(255, 214, 0, 0.1);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
}

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

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

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

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

.m-game-card__title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.m-game-card__provider {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 300;
}

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

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

.m-game-tile:hover {
    transform: translateY(-4px);
    border-color: rgba(198, 40, 40, 0.4);
    box-shadow: var(--shadow-glow-red);
}

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

.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: 0.9rem;
    font-weight: 500;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

/* 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;
    border-color: rgba(255, 214, 0, 0.08);
    box-shadow: none;
}

.m-game-tile__lock-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 22, 40, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.m-game-tile__lock-icon {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.m-game-tile__lock-text {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    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-size: 1.4rem;
    color: var(--accent);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--primary);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    letter-spacing: 2px;
}

.m-provider-section__count {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0;
}

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

.m-filter-btn {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 10px 20px;
    border: 2px solid rgba(255, 214, 0, 0.2);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    background: transparent;
    cursor: pointer;
    transition: all var(--transition-normal);
}

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

.m-filter-btn.is-active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--text-white);
    box-shadow: var(--shadow-glow-red);
}

/* 18. Unlock Banner */
.m-unlock-banner {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    background: linear-gradient(135deg, rgba(198, 40, 40, 0.15) 0%, rgba(21, 101, 192, 0.15) 100%);
    border: 1px solid var(--primary);
    border-radius: var(--radius-md);
    padding: var(--space-lg) var(--space-xl);
    box-shadow: var(--shadow-glow-red);
}

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

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

.m-unlock-banner__text strong {
    color: var(--accent);
    font-weight: 600;
}

/* 19. FAQ */
.m-faq-list {
    max-width: 800px;
    margin: var(--space-2xl) auto 0;
}

.m-faq-item {
    border: 1px solid rgba(255, 214, 0, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    overflow: hidden;
    background: var(--bg-card);
    transition: border-color var(--transition-normal);
}

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

.m-faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: var(--space-lg);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
    cursor: pointer;
    transition: color var(--transition-fast);
}

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

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

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

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

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

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

/* 20. Disclaimer */
.m-disclaimer {
    background: rgba(198, 40, 40, 0.1);
    border: 1px solid rgba(198, 40, 40, 0.3);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
}

.m-disclaimer p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
    font-weight: 300;
}

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

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

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

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

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

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

.m-footer__title {
    font-size: 1rem;
    color: var(--accent);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

.m-footer__list a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 300;
    transition: color var(--transition-fast);
}

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

.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(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
}

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

.m-footer__compliance-logos a {
    display: inline-flex;
    align-items: center;
    transition: opacity var(--transition-fast);
}

.m-footer__compliance-logos a:hover {
    opacity: 0.8;
}

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

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

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

.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    flex-shrink: 0;
}

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

.m-footer__bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 300;
    margin: 0;
}

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

.m-modal[style*="display: flex"],
.m-modal.is-open {
    opacity: 1;
    visibility: visible;
}

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

.m-modal__content {
    position: relative;
    z-index: 2;
    background: var(--bg-card);
    border: 1px solid rgba(255, 214, 0, 0.15);
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}

.m-modal__content--game {
    max-width: 900px;
    width: 95%;
    padding: 0;
    background: #000;
    border-color: var(--primary);
}

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

.m-modal__content--bonus {
    padding: var(--space-xl);
    text-align: center;
    max-width: 420px;
}

.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;
    font-size: 1.5rem;
    color: var(--text-secondary);
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition-fast);
}

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

.m-modal__game-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 62.5%;
}

.m-modal__game-wrapper iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* Age Modal */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
}

.modal__content {
    background: var(--bg-card);
    border: 2px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    max-width: 450px;
    width: 90%;
    text-align: center;
    box-shadow: var(--shadow-glow-red);
}

.modal__content h2 {
    font-size: 1.6rem;
    margin-bottom: var(--space-md);
    color: var(--accent);
}

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

.modal__actions {
    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: 2px solid var(--primary);
    padding: var(--space-lg);
    z-index: 2500;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

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

.cookie-consent__content p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.9rem;
    font-weight: 300;
}

/* 24. Auth Forms */
.m-auth-tabs {
    display: flex;
    margin-bottom: var(--space-xl);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.m-auth-tab {
    flex: 1;
    padding: var(--space-md);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

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

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

.m-auth-form__title {
    font-size: 1.3rem;
    margin-bottom: var(--space-lg);
    text-align: center;
    color: var(--text-white);
}

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

.m-form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
}

.m-form-group input {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-darker);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: border-color var(--transition-fast);
}

.m-form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(198, 40, 40, 0.2);
}

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

.m-auth-form__switch {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: var(--space-lg);
    font-weight: 300;
}

.m-auth-form__switch a {
    color: var(--accent);
    font-weight: 500;
}

/* 25. Account Page */
.m-auth-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    max-width: 900px;
    margin: 0 auto;
}

.m-auth-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 214, 0, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}

.m-auth-card__title {
    font-size: 1.3rem;
    margin-bottom: var(--space-sm);
    color: var(--accent);
}

.m-auth-card__text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: var(--space-lg);
    font-weight: 300;
}

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

/* 26. Profile */
.m-profile-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 214, 0, 0.15);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-md);
}

.m-profile-card__header {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.m-profile-card__badge {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: 3px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    flex-shrink: 0;
    box-shadow: var(--shadow-glow-gold);
}

.m-profile-card__name {
    font-size: 1.4rem;
    margin-bottom: 4px;
}

.m-profile-card__email {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 300;
    margin: 0;
}

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

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

.m-xp-progress__header {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-sm);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

.m-xp-progress__bar {
    height: 12px;
    background: var(--bg-darker);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.m-xp-progress__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 6px;
    transition: width var(--transition-slow);
    box-shadow: 0 0 10px rgba(198, 40, 40, 0.5);
}

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

.m-stat-card {
    background: var(--bg-darker);
    border: 1px solid rgba(255, 214, 0, 0.08);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    text-align: center;
}

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

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

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

.m-breadcrumb a {
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

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

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

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

.m-content-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 214, 0, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
}

.m-content-card h2 {
    font-size: 1.4rem;
    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 p {
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.7;
}

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

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

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

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

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

.m-content-card__intro {
    font-size: 1.1rem;
    color: var(--text-primary);
    border-left: 3px solid var(--primary);
    padding-left: var(--space-lg);
    margin-bottom: var(--space-xl);
    font-weight: 300;
}

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

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

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

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

/* Facts Grid (Responsible page) */
.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(255, 214, 0, 0.08);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    text-align: center;
}

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

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

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

/* Help Links (Responsible page) */
.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-darker);
    border: 1px solid rgba(21, 101, 192, 0.2);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
}

.m-help-link h3 {
    font-size: 1rem;
    color: var(--secondary-light);
    margin-bottom: var(--space-sm);
}

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

/* Review page specific */
.m-review-hero {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.m-review-hero__meta {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: var(--space-md);
    font-weight: 300;
}

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

.m-review-game-card {
    background: var(--bg-darker);
    border: 1px solid rgba(255, 214, 0, 0.08);
    border-radius: var(--radius-md);
    overflow: hidden;
    text-align: center;
}

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

.m-review-game-card span {
    display: block;
    padding: var(--space-sm);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

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

.m-daily-bonus__title {
    font-size: 1.6rem;
    color: var(--accent);
    margin-bottom: var(--space-md);
}

.m-daily-bonus__text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
    font-weight: 300;
}

.m-daily-bonus__text strong {
    color: var(--accent);
    font-size: 1.3rem;
}

.m-daily-bonus__streak {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: var(--space-xl);
    font-weight: 300;
}

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

.article-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 214, 0, 0.08);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-normal);
    position: relative;
}

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

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

.article-card__category {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-light);
    background: rgba(198, 40, 40, 0.15);
    padding: 4px 12px;
    border-radius: 3px;
    margin-bottom: var(--space-md);
}

.article-card__title {
    font-size: 1.15rem;
    margin-bottom: var(--space-md);
    color: var(--text-white);
    line-height: 1.3;
}

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

.article-card__meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 300;
}

.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 {
    background: var(--bg-card);
    border: 1px solid rgba(255, 214, 0, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all var(--transition-normal);
    position: relative;
}

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

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

.m-review-card__title {
    font-size: 1.3rem;
    margin-bottom: var(--space-sm);
    color: var(--text-white);
}

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

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

.m-review-card__stat {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 300;
}

/* 32. Utility Classes */
.m-text-center {
    text-align: center;
}

.stars {
    color: #ffc107;
    font-size: 1rem;
    letter-spacing: 2px;
}

.card {
    position: relative;
}

.offer-card {
    position: relative;
}

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

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

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

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

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

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

    .m-header__menu {
        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__content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

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

    .m-hero__shield {
        display: none;
    }

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

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

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

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

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

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

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

    .m-stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-sm);
    }

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

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

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

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

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

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

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

    .m-hero__subtitle {
        font-size: 1.1rem;
    }

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

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

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

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

    .m-filter-bar {
        gap: var(--space-xs);
    }

    .m-filter-btn {
        font-size: 0.75rem;
        padding: 8px 12px;
        letter-spacing: 1px;
    }

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

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

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

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

    .m-profile-card__actions {
        flex-direction: column;
    }
}

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

    h1 { font-size: 1.8rem; }

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

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

    .m-games-grid {
        gap: var(--space-md);
    }

    .m-stat-card__value {
        font-size: 1.4rem;
    }

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

    .modal__actions {
        flex-direction: column;
    }

    .m-btn--lg {
        font-size: 0.95rem;
        padding: 14px 28px;
    }
}