/* ============================================
   TechEtan — Космический страж (Cosmic Guardian)
   CSS Architecture: BEM with m- prefix
   Fonts: Space Grotesk + Inter
   Palette: Green, Black, Cosmic
   ============================================ */

/* 1. CSS Variables (:root) */
:root {
    /* Colors — Cosmic Guardian palette */
    --primary: #00e676;
    --primary-dark: #00c853;
    --primary-light: #69f0ae;
    --secondary: #00bfa5;
    --accent: #76ff03;
    --accent-dark: #64dd17;

    /* Backgrounds — Deep space */
    --bg-dark: #0a0e17;
    --bg-darker: #060911;
    --bg-card: #111827;
    --bg-card-hover: #1a2332;
    --bg-surface: #0d1220;
    --bg-hero: radial-gradient(ellipse at 50% 0%, #0d2818 0%, #0a0e17 60%);

    /* Text */
    --text-primary: #e8f5e9;
    --text-secondary: #a5d6a7;
    --text-muted: #66bb6a;
    --text-white: #ffffff;

    /* Borders */
    --border-color: rgba(0, 230, 118, 0.15);
    --border-glow: rgba(0, 230, 118, 0.4);

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

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

    /* Fonts */
    --font-body: 'Inter', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 230, 118, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 230, 118, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 230, 118, 0.15);
    --shadow-glow: 0 0 20px rgba(0, 230, 118, 0.3);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 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-size: 16px;
    line-height: 1.6;
    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(--primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

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

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

h1 { font-size: 2.5rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

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

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

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

/* 5. Header */
.m-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(10, 14, 23, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: background var(--transition-base);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
    text-shadow: 0 0 20px rgba(0, 230, 118, 0.4);
    transition: text-shadow var(--transition-base);
}

.logo:hover {
    color: var(--primary);
    text-shadow: 0 0 30px rgba(0, 230, 118, 0.6);
}

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

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

.m-header__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition-base);
    box-shadow: 0 0 8px rgba(0, 230, 118, 0.4);
}

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

.m-header__link:hover::after,
.m-header__link.is-active::after {
    width: 100%;
}

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

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

.m-header__burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.m-header__burger.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.m-header__burger.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* 6. Mobile Menu */
.m-mobile-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(6, 9, 17, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-base);
}

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

.m-mobile-menu__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    padding: var(--space-3xl) var(--space-lg);
    min-height: 60vh;
}

.m-mobile-menu__link {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    padding: var(--space-sm) var(--space-lg);
    transition: color var(--transition-fast);
}

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

/* 7. Buttons */
.btn-primary,
.m-btn--primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: var(--primary);
    color: var(--bg-darker);
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary:hover,
.m-btn--primary:hover {
    background: var(--primary-light);
    color: var(--bg-darker);
    box-shadow: var(--shadow-glow);
    transform: translateY(-1px);
}

.btn-secondary,
.m-btn--secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    background: transparent;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    border: 2px solid var(--primary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-secondary:hover,
.m-btn--secondary:hover {
    background: rgba(0, 230, 118, 0.1);
    color: var(--primary-light);
    border-color: var(--primary-light);
    box-shadow: 0 0 15px rgba(0, 230, 118, 0.2);
}

.m-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    border: none;
}

.m-btn--glow {
    box-shadow: 0 0 20px rgba(0, 230, 118, 0.35), 0 0 60px rgba(0, 230, 118, 0.15);
    animation: pulseGlow 2.5s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 230, 118, 0.35), 0 0 60px rgba(0, 230, 118, 0.15); }
    50% { box-shadow: 0 0 30px rgba(0, 230, 118, 0.5), 0 0 80px rgba(0, 230, 118, 0.25); }
}

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

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

/* 9. Hero Section */
.m-hero {
    position: relative;
    overflow: hidden;
    background: var(--bg-hero);
    padding: var(--space-3xl) 0;
    text-align: center;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.m-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 230, 118, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 191, 165, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

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

.m-hero--404 {
    min-height: 60vh;
}

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

.m-hero__stars {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 30% 60%, rgba(255,255,255,0.4), transparent),
        radial-gradient(1.5px 1.5px at 50% 10%, rgba(0,230,118,0.5), transparent),
        radial-gradient(1px 1px at 70% 40%, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 90% 80%, rgba(255,255,255,0.3), transparent),
        radial-gradient(1.5px 1.5px at 15% 85%, rgba(0,230,118,0.4), transparent),
        radial-gradient(1px 1px at 60% 90%, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 85% 15%, rgba(255,255,255,0.5), transparent);
    animation: starsTwinkle 4s ease-in-out infinite alternate;
    pointer-events: none;
}

@keyframes starsTwinkle {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

.m-hero__ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    border: 2px solid rgba(0, 230, 118, 0.12);
    border-radius: 50%;
    box-shadow: 0 0 40px rgba(0, 230, 118, 0.08), inset 0 0 40px rgba(0, 230, 118, 0.04);
    animation: ringPulse 5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes ringPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

.m-hero__title {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: var(--space-md);
    text-shadow: 0 0 40px rgba(0, 230, 118, 0.3);
}

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

.m-hero__subtitle {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: var(--space-md);
    letter-spacing: 1px;
    text-transform: uppercase;
}

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

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

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

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

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

.m-section--benefits {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.m-section--faq {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
}

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

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

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

.m-section--games {
    padding: var(--space-2xl) 0 var(--space-3xl);
    background: var(--bg-dark);
}

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

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

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

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

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

.m-benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    text-align: center;
    transition: all var(--transition-base);
    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(--secondary));
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

.m-benefit-card:hover::before {
    opacity: 1;
}

.m-benefit-card__icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    filter: drop-shadow(0 0 8px rgba(0, 230, 118, 0.3));
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.m-game-card__play-icon {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--bg-darker);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-glow);
}

.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.875rem;
    font-weight: 600;
    color: var(--text-white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

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

.m-game-tile:hover {
    border-color: var(--border-glow);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

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

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

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

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

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

.m-game-tile__play-btn {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--bg-darker);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-glow);
}

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

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

.m-game-tile__provider {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* 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: var(--border-color);
    box-shadow: none;
}

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

.m-game-tile__lock-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 14, 23, 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);
    filter: drop-shadow(0 0 8px rgba(0, 230, 118, 0.3));
}

.m-game-tile__lock-text {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.m-provider-section__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.m-provider-section__title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--primary);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(0, 230, 118, 0.4);
}

/* 17. Filter */
.m-filter-bar {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    overflow-x: auto;
    padding-bottom: var(--space-xs);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

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

.m-filter-btn {
    padding: 10px 20px;
    background: var(--bg-card);
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition-fast);
}

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

.m-filter-btn.is-active {
    background: var(--primary);
    color: var(--bg-darker);
    border-color: var(--primary);
    font-weight: 600;
    box-shadow: 0 0 12px rgba(0, 230, 118, 0.3);
}

/* 18. Unlock Banner */
.m-unlock-banner {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    background: linear-gradient(135deg, rgba(0, 230, 118, 0.08), rgba(0, 191, 165, 0.08));
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-md);
    padding: var(--space-lg) var(--space-xl);
}

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

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

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

/* 19. FAQ */
.m-faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.m-faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition-base);
}

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

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

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

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

.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: max-height var(--transition-base), padding var(--transition-base);
}

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

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

/* 20. Disclaimer */
.m-disclaimer {
    background: var(--bg-card);
    border: 1px solid rgba(255, 193, 7, 0.2);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
}

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

.m-disclaimer strong {
    color: #ffc107;
}

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

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

.m-footer__section h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

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

.m-footer__links a {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
    padding: 2px 0;
}

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

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

.footer__compliance-logo {
    height: 32px;
    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);
    border-radius: 4px;
    padding: 4px 8px;
}

.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(244, 67, 54, 0.15);
    border: 2px solid #f44336;
    border-radius: 50%;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    color: #f44336;
}

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

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

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

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

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

.m-modal__content {
    position: relative;
    z-index: 2;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.m-modal__content--game {
    max-width: 900px;
    max-height: 90vh;
}

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

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

.m-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--border-color);
}

.m-modal__title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-white);
}

.m-modal__close {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.m-modal__close:hover {
    background: rgba(244, 67, 54, 0.15);
    border-color: #f44336;
    color: #f44336;
}

.m-modal__body {
    padding: 0;
}

.m-modal__iframe {
    width: 100%;
    height: 70vh;
    border: none;
    display: block;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* Age Verification Modal (non-BEM legacy) */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

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

.modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    text-align: center;
    max-width: 440px;
    width: 90%;
    box-shadow: var(--shadow-lg);
}

.modal-content h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-white);
    margin-bottom: var(--space-md);
}

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

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

/* 23. Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    z-index: 2500;
    padding: var(--space-lg);
    transform: translateY(100%);
    transition: transform var(--transition-base);
}

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

.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 {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
}

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

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

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

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

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

.m-auth-form__title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: var(--space-lg);
}

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

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

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

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

.m-form-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 230, 118, 0.1);
}

.m-form-error {
    color: #f44336;
    font-size: 0.8125rem;
    margin-bottom: var(--space-md);
    min-height: 20px;
}

.m-auth-form__disclaimer {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: var(--space-md);
    line-height: 1.5;
}

.m-auth-form__disclaimer a {
    color: var(--primary);
}

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

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

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

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

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

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

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

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

/* 26. Profile */
.m-page-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: var(--space-sm);
}

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

/* 27. XP Progress */
.m-xp-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.m-xp-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.m-xp-card__bar {
    height: 12px;
    background: var(--bg-darker);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.m-xp-card__progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: 6px;
    transition: width 0.8s ease;
    box-shadow: 0 0 10px rgba(0, 230, 118, 0.4);
}

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

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

.m-stat-card__value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-xs);
    text-shadow: 0 0 15px rgba(0, 230, 118, 0.3);
}

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

/* Daily Bonus */
.m-daily-bonus__icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
}

.m-daily-bonus__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: var(--space-sm);
}

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

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

.m-daily-bonus__xp {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    text-shadow: 0 0 20px rgba(0, 230, 118, 0.4);
}

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

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

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

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

.m-breadcrumb span:last-child {
    color: var(--text-secondary);
}

.m-content-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--space-2xl);
    line-height: 1.8;
}

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

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

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

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

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

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

.m-content-card a {
    color: var(--primary);
}

.m-content-card a:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

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

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

/* Info Cards (Responsible page) */
.m-info-cards {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin: var(--space-xl) 0;
}

.m-info-card {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
}

.m-info-card__icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.m-info-card strong {
    color: var(--text-white);
    display: block;
    margin-bottom: var(--space-xs);
}

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

.m-age-badge-large {
    width: 80px;
    height: 80px;
    background: rgba(244, 67, 54, 0.15);
    border: 3px solid #f44336;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: #f44336;
    margin: var(--space-xl) auto;
}

.m-help-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.m-help-link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    text-decoration: none;
    transition: all var(--transition-base);
}

.m-help-link:hover {
    border-color: var(--border-glow);
    box-shadow: var(--shadow-sm);
}

.m-help-link strong {
    font-family: var(--font-heading);
    color: var(--text-white);
    font-size: 1rem;
}

.m-help-link span {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.m-help-link__url {
    color: var(--primary) !important;
    font-size: 0.8125rem !important;
}

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

.m-review-hero__tagline {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-top: var(--space-sm);
}

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

.m-review-game-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.m-review-game-item img {
    aspect-ratio: 4/3;
    object-fit: cover;
}

.m-review-game-item span {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.8125rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

.article-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-base);
}

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

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

.article-card__category {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-md);
    background: rgba(0, 230, 118, 0.1);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
}

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

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

.article-card__link {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
}

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

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

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

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

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

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

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

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

.m-review-card__stat {
    font-size: 0.8125rem;
    color: var(--text-muted);
    background: var(--bg-surface);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

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

.m-loading {
    text-align: center;
    padding: var(--space-3xl);
}

.m-loading__spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto var(--space-md);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.is-hidden {
    display: none !important;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 230, 118, 0.3);
}

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

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

    .m-header__burger {
        display: flex;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    .m-modal__iframe {
        height: 55vh;
    }

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

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

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

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

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

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

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

    .m-filter-btn {
        padding: 8px 14px;
        font-size: 0.8125rem;
    }
}

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

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

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

    .modal-buttons {
        flex-direction: column;
    }

    .m-review-card__stats {
        flex-direction: column;
    }
}