/* ============================================
   1. CSS Variables (:root)
   ============================================ */
:root {
    /* Colors - Женщина-воин palette */
    --primary: #b91c1c;
    --primary-dark: #7f1d1d;
    --primary-light: #dc2626;
    --secondary: #1e3a5f;
    --secondary-dark: #0f2640;
    --accent: #d4a017;
    --accent-light: #f0c040;

    /* Backgrounds */
    --bg-dark: #1a0a0a;
    --bg-darker: #120707;
    --bg-card: #2a1010;
    --bg-card-hover: #3a1818;
    --bg-section: #1e0d0d;
    --bg-hero: linear-gradient(135deg, #1a0a0a 0%, #2a1010 40%, #1e3a5f 100%);

    /* Text */
    --text-primary: #f5e6d3;
    --text-secondary: #c4a882;
    --text-muted: #8a7060;
    --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 - Cormorant Garamond / Lato */
    --font-body: 'Lato', sans-serif;
    --font-heading: 'Cormorant Garamond', serif;

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

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(185, 28, 28, 0.1);
    --shadow-md: 0 4px 16px rgba(185, 28, 28, 0.15);
    --shadow-lg: 0 8px 32px rgba(185, 28, 28, 0.2);
    --shadow-gold: 0 0 20px rgba(212, 160, 23, 0.3);
}

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

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-dark);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-white);
    margin-bottom: var(--space-md);
}

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

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

strong {
    color: var(--text-primary);
}

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

.m-container--narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ============================================
   5. Header
   ============================================ */
.m-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(26, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 160, 23, 0.15);
}

.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__brand {
    flex-shrink: 0;
}

.m-header__logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color var(--transition-fast);
}

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

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

.m-header__link {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-secondary);
    text-decoration: none;
    position: relative;
    padding: var(--space-xs) 0;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color var(--transition-fast);
}

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

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

.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-btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
    border: 1px solid var(--accent);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-fast);
}

.m-header__account-btn:hover {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: var(--bg-dark);
    box-shadow: var(--shadow-gold);
}

/* Burger */
.m-header__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    width: 40px;
    height: 40px;
}

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

/* ============================================
   6. Mobile Menu
   ============================================ */
.m-header__mobile-menu {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.m-header__mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
}

.m-header__mobile-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: var(--space-xl);
    padding: var(--space-2xl);
}

.m-header__mobile-link {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color var(--transition-fast);
}

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

.m-header__mobile-account {
    margin-top: var(--space-lg);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
    border: 1px solid var(--accent);
    padding: var(--space-md) var(--space-2xl);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition-fast);
}

.m-header__mobile-account:hover {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: var(--bg-dark);
}

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

.m-btn--primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--text-white);
    border-color: var(--accent);
    box-shadow: var(--shadow-sm);
}

.m-btn--primary:hover {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: var(--bg-dark);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}

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

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

/* ============================================
   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;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.m-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 50%, rgba(185, 28, 28, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.m-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, var(--bg-dark) 0%, transparent 100%);
    pointer-events: none;
}

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

.m-hero__content {
    flex: 1;
    max-width: 650px;
}

.m-hero__title {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 700;
    color: var(--text-white);
    line-height: 1.1;
    margin-bottom: var(--space-md);
    text-shadow: 0 2px 20px rgba(185, 28, 28, 0.3);
}

.m-hero__subtitle {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--accent);
    margin-bottom: var(--space-lg);
    letter-spacing: 1px;
}

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

.m-hero__cta {
    font-size: 1.1rem;
    padding: var(--space-md) var(--space-2xl);
}

.m-hero__decoration {
    flex-shrink: 0;
    position: relative;
}

.m-hero__shield {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    border: 2px solid rgba(212, 160, 23, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: shieldPulse 3s ease-in-out infinite;
    position: relative;
}

.m-hero__shield::before {
    content: '⚔️';
    font-size: 4rem;
    position: absolute;
}

.m-hero__shield::after {
    content: '';
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 1px solid rgba(212, 160, 23, 0.15);
    animation: shieldPulse 3s ease-in-out infinite reverse;
}

@keyframes shieldPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
}

/* Hero Small (Games page) */
.m-hero--small {
    min-height: auto;
    padding: var(--space-2xl) 0;
}

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

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

/* Hero 404 */
.m-hero--404 {
    text-align: center;
    justify-content: center;
}

.m-hero--404 .m-hero__container {
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

.m-hero__title--404 {
    font-size: 8rem;
    color: var(--primary);
    text-shadow: 0 0 40px rgba(185, 28, 28, 0.5);
}

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

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

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

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

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

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

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

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

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

.m-section__title {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--text-white);
    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-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
}

.m-section__notice {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
}

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

.m-section__divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    margin: var(--space-3xl) 0;
}

/* ============================================
   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 rgba(212, 160, 23, 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::before {
    transform: scaleX(1);
}

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

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

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

.m-benefit-card__text {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 0;
}

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

.m-featured-provider__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: var(--space-lg);
    text-align: center;
    letter-spacing: 1px;
}

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

@media (max-width: 992px) and (min-width: 769px) {
    .m-games-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

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

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

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

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

.m-game-tile__play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 10, 10, 0.6);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

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

.m-game-tile__play-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--text-white);
    box-shadow: var(--shadow-gold);
}

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

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

.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 {
    transform: none;
    filter: blur(4px) grayscale(50%);
}

.m-game-tile__lock-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 10, 10, 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;
    color: var(--text-muted);
    text-align: center;
    padding: 0 var(--space-sm);
}

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

.m-provider-section__header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px 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);
    margin-bottom: 0;
}

.m-provider-section__count {
    font-size: 0.85rem;
    color: var(--text-muted);
    background: var(--bg-card);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-sm);
}

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

.m-filter__btn {
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid rgba(212, 160, 23, 0.15);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition-fast);
}

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

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

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

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

.m-unlock-banner__text {
    flex: 1;
    color: var(--text-secondary);
    font-size: 0.95rem;
    min-width: 200px;
}

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

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

.m-faq__item {
    background: var(--bg-card);
    border: 1px solid rgba(212, 160, 23, 0.1);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition-fast);
}

.m-faq__item.is-open {
    border-color: rgba(212, 160, 23, 0.3);
}

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

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

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

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

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

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

.m-faq__answer p {
    padding: 0 var(--space-lg) var(--space-lg);
    color: var(--text-secondary);
    margin-bottom: 0;
}

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

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

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

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

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

.m-footer__top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    padding-bottom: var(--space-2xl);
    border-bottom: 1px solid rgba(212, 160, 23, 0.08);
}

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

.m-footer__logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    display: inline-block;
    margin-bottom: var(--space-md);
    text-transform: uppercase;
}

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

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

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

.m-footer__nav-section h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.m-footer__nav-section a {
    display: block;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: var(--space-xs) 0;
    transition: color var(--transition-fast);
}

.m-footer__nav-section a:hover {
    color: var(--text-primary);
}

/* Compliance */
.m-footer__compliance {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-xl) 0;
    border-bottom: 1px solid rgba(212, 160, 23, 0.08);
}

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

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

.m-footer__compliance-logo {
    height: 35px;
    width: auto;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
    filter: grayscale(30%);
}

.m-footer__compliance-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

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

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

/* Bottom */
.m-footer__bottom {
    padding: var(--space-xl) 0;
    text-align: center;
}

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

.m-footer__address {
    font-size: 0.8rem;
    color: var(--text-muted);
    opacity: 0.7;
}

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

.m-modal.is-open,
.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: 450px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.m-modal__content--game {
    max-width: 900px;
    padding: 0;
}

.m-modal__content--bonus {
    text-align: center;
}

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

.m-modal__header h2 {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    margin-bottom: 0;
    color: var(--text-white);
}

.m-modal__content--game .m-modal__header {
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid rgba(212, 160, 23, 0.1);
    background: var(--bg-card);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.m-modal__close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color var(--transition-fast);
}

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

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

.m-modal__game-wrapper {
    position: relative;
    padding-top: 56.25%;
    background: #000;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    overflow: hidden;
}

.m-modal__game-wrapper 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-card);
    border-top: 1px solid rgba(212, 160, 23, 0.2);
    padding: var(--space-lg);
    z-index: 1500;
    transform: translateY(100%);
    transition: transform var(--transition-normal);
}

.m-cookie-consent.is-visible {
    transform: translateY(0);
}

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

.m-cookie-consent__content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0;
    flex: 1;
    min-width: 200px;
}

/* ============================================
   24. Auth Forms
   ============================================ */
.m-auth-tabs {
    display: flex;
    gap: 0;
    margin-bottom: var(--space-lg);
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid rgba(212, 160, 23, 0.2);
}

.m-auth-tab {
    flex: 1;
    padding: var(--space-md);
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition-fast);
}

.m-auth-tab.active {
    background: var(--primary);
    color: var(--text-white);
}

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

.m-auth-form.active {
    display: flex;
}

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

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

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

/* ============================================
   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 rgba(212, 160, 23, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
}

.m-account-card__title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--accent);
}

.m-account-card__text {
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

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

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

/* ============================================
   26. Profile
   ============================================ */
.m-profile {
    max-width: 700px;
    margin: 0 auto;
}

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

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

.m-profile__info {
    flex: 1;
}

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

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

/* ============================================
   27. XP Progress
   ============================================ */
.m-profile__xp {
    background: var(--bg-card);
    border: 1px solid rgba(212, 160, 23, 0.15);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-bottom: var(--space-xl);
}

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

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

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

/* ============================================
   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-card);
    border: 1px solid rgba(212, 160, 23, 0.1);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    text-align: center;
}

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

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

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

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

.m-daily-bonus__amount {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: var(--space-md);
    text-shadow: var(--shadow-gold);
}

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

/* ============================================
   29. Content Pages
   ============================================ */
.m-page-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: var(--space-xl);
    line-height: 1.2;
}

.m-page-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: var(--space-2xl);
    max-width: 600px;
}

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

.m-content-card h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--accent);
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(212, 160, 23, 0.08);
}

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

.m-content-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-white);
    margin-top: var(--space-lg);
}

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

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

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

.m-content-card__cta {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(212, 160, 23, 0.1);
    flex-wrap: wrap;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* Review Games List */
.m-review-games-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-md);
    margin-bottom: var(--space-lg);
}

.m-review-games-list__item {
    background: var(--bg-darker);
    color: var(--text-secondary);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    border: 1px solid rgba(212, 160, 23, 0.1);
}

/* ============================================
   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.1);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-normal);
    position: relative;
}

.m-article-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 160, 23, 0.3);
    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(185, 28, 28, 0.15);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
}

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

.m-article-card__excerpt {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.m-article-card__rating {
    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 {
    background: var(--bg-card);
    border: 1px solid rgba(212, 160, 23, 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: rgba(212, 160, 23, 0.3);
    box-shadow: var(--shadow-md);
}

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

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

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

.m-review-card__score {
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--text-white);
    font-size: 0.95rem;
}

.m-review-card__text {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
}

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

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

/* ============================================
   32. Utility Classes
   ============================================ */
.stars {
    color: #ffc107;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

/* Game Card (featured on homepage - PHP rendered) */
.m-game-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(212, 160, 23, 0.08);
    transition: all var(--transition-normal);
    cursor: pointer;
    position: relative;
}

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

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

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

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

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

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

.m-game-card__play-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--text-white);
    box-shadow: var(--shadow-gold);
}

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

/* ============================================
   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
   ============================================ */

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

    .m-header__nav {
        display: none;
    }

    .m-header__burger {
        display: flex;
    }

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

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

    .m-hero__decoration {
        display: none;
    }

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

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

    .m-hero__auth-buttons {
        justify-content: center;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    .m-filter__btn {
        padding: var(--space-sm) var(--space-md);
        font-size: 0.8rem;
    }

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

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

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

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

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

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

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

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

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

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

    .m-hero__auth-buttons {
        flex-direction: column;
    }

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

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

    .m-footer__compliance-badges {
        justify-content: center;
    }

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

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

    .m-header__logo {
        font-size: 1.2rem;
    }
}
.article-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}
