/* ============================================================
   HazelKnox — Styles
   Stylistic: #10 Яркий и динамичный
   Palette: Orange #ff6b00, Violet #7c3aed
   Fonts: Outfit (headings), Rubik (body)
   Architecture: BEM with m- prefix
   ============================================================ */

/* 1. CSS Variables (:root)
   ------------------------------------------------------------ */
:root {
    /* Colors */
    --primary: #ff6b00;
    --primary-dark: #e05e00;
    --primary-light: #ff8c33;
    --secondary: #7c3aed;
    --secondary-dark: #6425d0;
    --secondary-light: #9b6bf5;
    --accent: #fbbf24;

    /* Backgrounds */
    --bg-dark: #1a1029;
    --bg-darker: #120b1e;
    --bg-card: #241839;
    --bg-card-hover: #2e2047;
    --bg-section-alt: #1e1331;

    /* Text */
    --text-primary: #f5f0ff;
    --text-secondary: #c4b5e0;
    --text-muted: #8b79a8;

    /* Borders */
    --border-color: rgba(124, 58, 237, 0.25);
    --border-color-light: rgba(255, 107, 0, 0.2);

    /* 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: 'Rubik', sans-serif;
    --font-heading: 'Outfit', sans-serif;

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

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-glow-primary: 0 0 20px rgba(255, 107, 0, 0.3);
    --shadow-glow-secondary: 0 0 20px rgba(124, 58, 237, 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.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 {
    text-decoration: none;
    color: var(--primary);
    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-primary);
}

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

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

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

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

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

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

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

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.logo:hover {
    opacity: 0.9;
}

.logo--footer {
    font-size: 1.4rem;
}

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

.m-header__link {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 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: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width var(--transition-base);
    border-radius: 1px;
}

.m-header__link:hover,
.m-header__link.is-active {
    color: var(--text-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-sm);
}

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

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

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

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

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

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

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

.m-header__mobile-nav {
    display: flex;
    flex-direction: column;
    padding: var(--space-xl) var(--space-lg);
    gap: var(--space-sm);
}

.m-header__mobile-link {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--border-color);
    transition: color var(--transition-fast);
}

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

.m-header__mobile-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

/* 7. Buttons
   ------------------------------------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 10px 24px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    line-height: 1.4;
    letter-spacing: 0.3px;
    white-space: nowrap;
}

.btn--primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.35);
}

.btn--primary:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    color: #fff;
    box-shadow: var(--shadow-glow-primary);
    transform: translateY(-2px);
}

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

.btn--secondary:hover {
    background: var(--secondary);
    color: #fff;
    box-shadow: var(--shadow-glow-secondary);
    transform: translateY(-2px);
}

.btn--lg {
    font-size: 1.1rem;
    padding: 14px 36px;
    border-radius: var(--radius-md);
}

.btn--sm {
    font-size: 0.85rem;
    padding: 8px 18px;
}

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

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

/* 9. Hero Section
   ------------------------------------------------------------ */
.m-hero {
    position: relative;
    padding: var(--space-3xl) 0;
    background: linear-gradient(160deg, var(--bg-darker) 0%, var(--bg-dark) 40%, var(--bg-section-alt) 100%);
    overflow: hidden;
}

.m-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.m-hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.m-hero__container {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.m-hero__container--row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    max-width: 100%;
    gap: var(--space-xl);
}

.m-hero__left {
    flex: 1;
}

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

.m-hero__title {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary-light) 50%, var(--secondary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.m-hero__subtitle {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: var(--space-md);
}

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

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

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

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

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

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

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

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

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

.m-section--unlock {
    padding: 0;
}

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

.m-section__subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: var(--space-2xl);
    font-size: 1.05rem;
}

.m-section__text {
    text-align: center;
    color: var(--text-secondary);
}

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

.m-section__divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    margin: var(--space-3xl) auto var(--space-2xl);
}

.m-page-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--space-md);
    text-align: center;
}

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

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

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

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

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

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

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

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

.featured-provider__title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--secondary-light);
    margin-bottom: var(--space-lg);
    text-align: center;
}

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

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

.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

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

.games-grid--full {
    /* uses same .games-grid base */
}

/* 14. Game Tile / Game Card
   ------------------------------------------------------------ */
.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);
}

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

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

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

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

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

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

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

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

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

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

/* 15. Game Tile Locked
   ------------------------------------------------------------ */
.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(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow-primary);
}

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

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

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

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

.m-game-tile:hover .m-game-tile__overlay-play {
    opacity: 1;
}

.m-game-tile__play-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #fff;
    box-shadow: var(--shadow-glow-primary);
}

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

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

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

/* Locked State */
.m-game-tile--locked {
    cursor: pointer;
}

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

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

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

.m-game-tile__lock-overlay {
    position: absolute;
    inset: 0;
    background: rgba(18, 11, 30, 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-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    text-align: center;
    padding: 0 var(--space-sm);
}

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

.provider-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--border-color);
}

.provider-section__title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
}

.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);
    border: 1px solid var(--border-color);
}

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

.provider-filter__btn {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 10px 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-base);
}

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

.provider-filter__btn.is-active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 2px 8px rgba(255, 107, 0, 0.3);
}

/* 18. Unlock Banner
   ------------------------------------------------------------ */
.unlock-banner {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(124, 58, 237, 0.15) 100%);
    border: 1px solid var(--secondary);
    border-radius: var(--radius-md);
    padding: var(--space-lg) var(--space-xl);
    margin: var(--space-lg) 0;
}

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

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

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

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

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

.faq-item:hover {
    border-color: rgba(255, 107, 0, 0.4);
}

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

.faq-item__icon {
    font-size: 1.5rem;
    color: var(--primary);
    flex-shrink: 0;
    transition: transform var(--transition-base);
    line-height: 1;
}

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

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base), padding var(--transition-base);
}

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

.faq-item__answer p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 0;
}

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

.disclaimer-box__text {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 0;
    text-align: center;
}

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

.disclaimer-box__text a {
    color: var(--secondary-light);
}

/* 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__description {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-top: var(--space-md);
}

.m-footer__title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.m-footer__link {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
    padding: var(--space-xs) 0;
}

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

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

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

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

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

.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
}

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

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

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

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

.modal__content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    max-width: 440px;
    width: 100%;
    overflow: hidden;
}

.modal__body {
    padding: var(--space-2xl);
    text-align: center;
}

.modal__body h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
}

.modal__body p {
    margin-bottom: var(--space-xl);
}

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

/* Game Modal */
.game-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
}

.game-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
}

.game-modal__content {
    position: relative;
    width: 100%;
    max-width: 960px;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
}

.game-modal__content--small {
    max-width: 420px;
    aspect-ratio: auto;
    padding: var(--space-2xl);
}

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

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

.game-modal__iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* 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: 1500;
    padding: var(--space-lg);
}

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

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

/* 24. Auth Forms / Auth Modal
   ------------------------------------------------------------ */
.auth-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
}

.auth-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
}

.auth-modal__content {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    max-width: 440px;
    width: 100%;
    padding: var(--space-2xl);
}

.auth-modal__close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all var(--transition-fast);
    line-height: 1;
}

.auth-modal__close:hover {
    background: var(--primary);
}

.auth-modal__tabs {
    display: flex;
    gap: 2px;
    margin-bottom: var(--space-xl);
    background: var(--bg-darker);
    border-radius: var(--radius-sm);
    padding: 3px;
}

.auth-modal__tab {
    flex: 1;
    padding: 10px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    background: none;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.auth-modal__tab.is-active {
    background: var(--primary);
    color: #fff;
}

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

.auth-modal__switch {
    font-size: 0.85rem;
    text-align: center;
    color: var(--text-muted);
    margin-top: var(--space-md);
    margin-bottom: 0;
}

.auth-modal__switch a {
    color: var(--primary);
    font-weight: 600;
}

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

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
}

.form-input {
    width: 100%;
    padding: 12px var(--space-md);
    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.95rem;
    transition: border-color var(--transition-fast);
    outline: none;
}

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

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
}

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

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

.account-card__title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

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

.account-benefits {
    margin-top: var(--space-2xl);
}

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

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

.account-profile__badge {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}

.account-profile__name {
    font-size: 1.5rem;
    margin-bottom: 2px;
}

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

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

.account-xp__header {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-sm);
}

.account-xp__label {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.account-xp__values {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.account-xp__bar {
    width: 100%;
    height: 12px;
    background: var(--bg-darker);
    border-radius: 6px;
    overflow: hidden;
}

.account-xp__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 6px;
    transition: width 0.6s ease;
}

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

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

.account-stat__value {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: var(--space-xs);
}

.account-stat__label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

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

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

.m-content-card h2 {
    font-size: 1.5rem;
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-color);
}

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

.m-content-card h3 {
    font-size: 1.2rem;
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
    color: var(--secondary-light);
}

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

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

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

.m-content-card a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}

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

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

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

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

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

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

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

/* Responsible Facts */
.responsible-facts {
    margin: var(--space-lg) 0;
}

.responsible-fact {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--border-color);
}

.responsible-fact:last-child {
    border-bottom: none;
}

.responsible-fact__icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.responsible-fact p {
    margin-bottom: 0;
}

/* Daily Bonus */
.daily-bonus {
    text-align: center;
}

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

.daily-bonus__title {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

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

.daily-bonus__amount {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: var(--space-lg);
}

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

.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(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow-primary);
}

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

.article-card__category {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--secondary-light);
    background: rgba(124, 58, 237, 0.15);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
}

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

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

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

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

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

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

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

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

.review-card__title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.review-card__rating {
    font-size: 0.9rem;
}

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

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

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

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

.review-hero__rating {
    font-size: 1.3rem;
    margin-bottom: var(--space-sm);
}

.review-hero__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.review-game-tile {
    text-align: center;
}

.review-game-tile img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    margin-bottom: var(--space-xs);
}

.review-game-tile span {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

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

.mt-lg {
    margin-top: var(--space-lg);
}

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

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

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

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

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

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

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

    .m-header__nav,
    .m-header__actions {
        display: none;
    }

    .m-header__burger {
        display: flex;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    .account-profile {
        padding: var(--space-lg);
    }

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

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

    .account-stat__value {
        font-size: 1.3rem;
    }

    .unlock-banner {
        flex-direction: column;
        text-align: center;
        gap: var(--space-md);
    }

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

    .provider-filter__btn {
        font-size: 0.8rem;
        padding: 8px 14px;
    }

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

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

    .modal__actions {
        flex-direction: column;
    }

    .game-modal__content {
        aspect-ratio: auto;
        height: 80vh;
    }
}

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

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

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

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

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

    .m-hero__text {
        font-size: 0.95rem;
    }

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

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

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

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

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