/* =============================================
   1. CSS Variables (:root)
   ============================================= */
:root {
    /* Colors — Gamification palette */
    --primary: #6c5ce7;
    --primary-dark: #5a4bd1;
    --primary-light: #a29bfe;
    --secondary: #ffd93d;
    --secondary-dark: #f0c800;
    --accent: #ff6b6b;
    --accent-dark: #ee5a24;

    /* Backgrounds */
    --bg-dark: #2d1b69;
    --bg-darker: #1a0e40;
    --bg-card: #3d2b7a;
    --bg-card-hover: #4a3590;
    --bg-light: #f8f7ff;

    /* Text */
    --text-primary: #ffffff;
    --text-secondary: #c8b8f0;
    --text-muted: #9b8dc7;
    --text-dark: #2d1b69;
    --text-on-light: #333333;

    /* 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;
    --radius-round: 50%;

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

    /* Fonts — Gamification style */
    --font-body: 'Quicksand', sans-serif;
    --font-heading: 'Fredoka', sans-serif;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(108, 92, 231, 0.15);
    --shadow-md: 0 4px 16px rgba(108, 92, 231, 0.2);
    --shadow-lg: 0 8px 32px rgba(108, 92, 231, 0.3);
    --shadow-glow: 0 0 20px rgba(108, 92, 231, 0.4);

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

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

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

body {
    font-family: var(--font-body);
    font-weight: 500;
    background: var(--bg-darker);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

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

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

ul, ol {
    list-style: none;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
    background: none;
}

button {
    cursor: pointer;
}

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

h1 { font-size: 2.5rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.15rem; }

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

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

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

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

/* =============================================
   5. Header
   ============================================= */
.m-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(26, 14, 64, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    border-bottom: 2px solid rgba(108, 92, 231, 0.3);
}

.m-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--secondary);
    text-shadow: 0 0 10px rgba(255, 217, 61, 0.3);
    letter-spacing: 0.5px;
}

.logo:hover {
    color: var(--secondary-dark);
}

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

.m-header__link {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    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: 3px;
    background: var(--secondary);
    border-radius: 2px;
    transition: width var(--transition-normal);
}

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

.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: 32px;
    height: 32px;
    cursor: pointer;
    z-index: 1001;
}

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

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

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

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

/* =============================================
   6. Mobile Menu
   ============================================= */
.m-mobile-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(26, 14, 64, 0.98);
    backdrop-filter: blur(12px);
    z-index: 999;
    display: none;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.m-mobile-menu.is-open {
    display: block;
    opacity: 1;
}

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

.m-mobile-menu__link {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: var(--space-md) 0;
    border-bottom: 1px solid rgba(108, 92, 231, 0.2);
    transition: color var(--transition-fast);
}

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

/* =============================================
   7. Buttons
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    text-align: center;
    white-space: nowrap;
}

.btn--primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.4);
}

.btn--primary:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    box-shadow: 0 6px 20px rgba(108, 92, 231, 0.5);
    transform: translateY(-2px);
}

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

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

.btn--lg {
    padding: 16px 40px;
    font-size: 1.15rem;
    border-radius: var(--radius-lg);
}

.btn--sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn--block {
    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;
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 50%, var(--primary-dark) 100%);
    overflow: hidden;
    text-align: center;
}

.m-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(108, 92, 231, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(255, 217, 61, 0.1) 0%, transparent 50%);
    animation: heroFloat 20s ease-in-out infinite;
    pointer-events: none;
}

@keyframes heroFloat {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-2%, 2%); }
}

.m-hero__content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.m-hero__title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: var(--space-md);
    text-shadow: 0 0 30px rgba(255, 217, 61, 0.3);
}

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

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

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

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

.m-hero__inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
}

.m-hero__left {
    flex: 1;
    text-align: left;
}

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

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

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

.m-hero__title--404 {
    font-size: 8rem;
    color: var(--secondary);
    text-shadow: 0 0 60px rgba(255, 217, 61, 0.4);
    line-height: 1;
    margin-bottom: var(--space-md);
}

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

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

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

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

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

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

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

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

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

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

.m-section__title--mt {
    margin-top: var(--space-3xl);
}

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

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

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

.m-page-title {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--secondary);
    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-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    border: 1px solid rgba(108, 92, 231, 0.2);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

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

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

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

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

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

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

/* =============================================
   12. Featured Providers
   ============================================= */
.featured-provider__title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-light);
    text-align: center;
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
}

/* =============================================
   13. Games Grid
   ============================================= */
.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 {
    /* same as base .games-grid */
}

/* =============================================
   14. Game Tile (on games page, rendered by JS)
   ============================================= */
.m-game-tile {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-card);
    border: 2px solid rgba(108, 92, 231, 0.2);
    transition: all var(--transition-normal);
    cursor: pointer;
}

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

.m-game-tile__image {
    position: relative;
    width: 100%;
    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 {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(45, 27, 105, 0.6);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

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

.m-game-tile__play-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-round);
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--bg-darker);
    box-shadow: 0 0 20px rgba(255, 217, 61, 0.5);
}

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

/* =============================================
   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--locked:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(108, 92, 231, 0.2);
}

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

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

.m-provider-section__title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid rgba(108, 92, 231, 0.3);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.m-provider-section__title::before {
    content: '🎮';
}

/* =============================================
   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.95rem;
    font-weight: 600;
    padding: 10px 22px;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 2px solid rgba(108, 92, 231, 0.2);
    cursor: pointer;
    transition: all var(--transition-normal);
}

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

.provider-filter__btn.is-active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.4);
}

/* =============================================
   18. Unlock Banner
   ============================================= */
.unlock-banner {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    background: linear-gradient(135deg, var(--bg-card), var(--primary-dark));
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-xl);
    border: 2px solid var(--secondary);
    box-shadow: 0 0 20px rgba(255, 217, 61, 0.15);
}

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

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

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

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

.faq-item {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid rgba(108, 92, 231, 0.2);
    overflow: hidden;
    transition: border-color var(--transition-normal);
}

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

.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: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    cursor: pointer;
    transition: color var(--transition-fast);
    background: transparent;
    border: none;
}

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

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

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

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

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

.faq-item__answer p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* =============================================
   20. Disclaimer
   ============================================= */
.disclaimer-box {
    background: rgba(108, 92, 231, 0.1);
    border: 1px solid rgba(108, 92, 231, 0.3);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
}

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

.disclaimer-box strong {
    color: var(--accent);
}

/* =============================================
   21. Footer
   ============================================= */
.m-footer {
    background: var(--bg-darker);
    border-top: 2px solid rgba(108, 92, 231, 0.3);
    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__logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary);
    display: inline-block;
    margin-bottom: var(--space-md);
}

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

.m-footer__title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
}

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

.m-footer__links li a {
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

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

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

.m-footer__compliance-logo {
    height: 36px;
    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);
    border-radius: var(--radius-sm);
    padding: 4px 8px;
}

.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: var(--radius-round);
}

.m-footer__bottom {
    border-top: 1px solid rgba(108, 92, 231, 0.2);
    padding-top: var(--space-lg);
    text-align: center;
}

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

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

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

.modal__content {
    background: var(--bg-dark);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    max-width: 480px;
    width: 100%;
    text-align: center;
    border: 1px solid rgba(108, 92, 231, 0.3);
    box-shadow: var(--shadow-lg);
    position: relative;
}

.modal__content h2 {
    font-family: var(--font-heading);
    color: var(--secondary);
    margin-bottom: var(--space-md);
}

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

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

.modal__content--game {
    max-width: 900px;
    height: 80vh;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal__close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 92, 231, 0.3);
    color: var(--text-primary);
    border-radius: var(--radius-round);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    border: none;
    transition: background var(--transition-fast);
}

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

.modal__game-frame {
    flex: 1;
    width: 100%;
    height: 100%;
}

.modal__game-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.modal__content--auth {
    max-width: 440px;
    text-align: left;
}

.modal__content--bonus {
    max-width: 400px;
}

/* =============================================
   23. Cookie Consent
   ============================================= */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-dark);
    border-top: 2px solid var(--primary);
    padding: var(--space-lg);
    z-index: 1500;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.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.9rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    flex: 1;
}

/* =============================================
   24. Auth Forms
   ============================================= */
.auth-tabs {
    display: flex;
    gap: 0;
    margin-bottom: var(--space-xl);
    border-bottom: 2px solid rgba(108, 92, 231, 0.2);
}

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

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

.auth-tabs__btn.is-active {
    color: var(--secondary);
    border-bottom-color: var(--secondary);
}

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

.auth-form__group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

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

.auth-form__group input {
    padding: 12px var(--space-md);
    border-radius: var(--radius-md);
    background: var(--bg-card);
    color: var(--text-primary);
    border: 2px solid rgba(108, 92, 231, 0.2);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

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

.auth-form__group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(108, 92, 231, 0.2);
}

.auth-form__note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: var(--space-sm);
    margin-bottom: 0;
}

.auth-form__note a {
    color: var(--secondary);
    font-weight: 600;
}

.auth-form__note a:hover {
    text-decoration: underline;
}

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

.auth-form__message--success {
    background: rgba(0, 184, 148, 0.2);
    color: #00b894;
    border: 1px solid rgba(0, 184, 148, 0.3);
}

.auth-form__message--error {
    background: rgba(255, 107, 107, 0.2);
    color: var(--accent);
    border: 1px solid rgba(255, 107, 107, 0.3);
}

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

.account-auth-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    border: 1px solid rgba(108, 92, 231, 0.2);
}

.account-auth-card__title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: var(--space-lg);
    text-align: center;
}

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

.account-benefits__title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: var(--space-xl);
}

/* =============================================
   26. Profile
   ============================================= */
.account-profile {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    border: 2px solid rgba(108, 92, 231, 0.3);
}

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

.account-profile__badge {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-round);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(108, 92, 231, 0.4);
    flex-shrink: 0;
}

.account-profile__level {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
}

.account-profile__name {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.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;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.account-xp__bar {
    height: 16px;
    background: var(--bg-darker);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(108, 92, 231, 0.2);
}

.account-xp__progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 8px;
    transition: width var(--transition-slow);
    min-width: 2%;
    position: relative;
}

.account-xp__progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px 8px 0 0;
}

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

.account-stats__item {
    text-align: center;
    padding: var(--space-md);
    background: var(--bg-darker);
    border-radius: var(--radius-md);
    border: 1px solid rgba(108, 92, 231, 0.15);
}

.account-stats__value {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: var(--space-xs);
}

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

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

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

.daily-bonus__icon {
    font-size: 3.5rem;
    display: block;
    margin-bottom: var(--space-md);
    animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.95); }
    100% { transform: scale(1); opacity: 1; }
}

.daily-bonus__title {
    color: var(--secondary);
    margin-bottom: var(--space-sm);
}

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

.daily-bonus__reward {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
    text-shadow: 0 0 20px rgba(255, 217, 61, 0.5);
    margin-bottom: var(--space-xl);
}

/* =============================================
   29. Content Pages
   ============================================= */
.m-content-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    border: 1px solid rgba(108, 92, 231, 0.2);
}

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

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

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

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

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

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

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

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

.m-content-card a {
    color: var(--secondary);
    font-weight: 600;
}

.m-content-card a:hover {
    text-decoration: underline;
}

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

/* Breadcrumb */
.m-breadcrumb {
    margin-bottom: var(--space-xl);
    font-size: 0.9rem;
}

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

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

.m-breadcrumb__sep {
    color: var(--text-muted);
    margin: 0 var(--space-sm);
}

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

/* Fact list (responsible page) */
.fact-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.fact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md);
    background: rgba(108, 92, 231, 0.1);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--primary);
}

.fact-item__icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.fact-item__content strong {
    display: block;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.fact-item__content p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

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

.help-resource {
    background: var(--bg-darker);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    border: 1px solid rgba(108, 92, 231, 0.2);
}

.help-resource h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--primary-light);
    margin-bottom: var(--space-sm);
    margin-top: 0;
}

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

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

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

.review-hero__score {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.review-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    justify-content: center;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

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

.review-game-tile {
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-darker);
    border: 1px solid rgba(108, 92, 231, 0.2);
}

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

.review-game-tile__title {
    display: block;
    padding: var(--space-sm);
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

.article-card {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(108, 92, 231, 0.2);
    transition: all var(--transition-normal);
}

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

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

.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;
    color: var(--bg-darker);
    background: var(--secondary);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.article-card__excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    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.9rem;
    font-weight: 600;
    color: var(--secondary);
}

/* =============================================
   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-radius: var(--radius-lg);
    padding: var(--space-xl);
    border: 1px solid rgba(108, 92, 231, 0.2);
    transition: all var(--transition-normal);
}

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

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

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

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

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

.review-card__description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.review-card__stats {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.review-card__stat {
    background: rgba(108, 92, 231, 0.1);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
}

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

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* Game card (featured on home page) */
.game-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-card);
    border: 2px solid rgba(108, 92, 231, 0.2);
    cursor: pointer;
    transition: all var(--transition-normal);
}

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

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

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

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

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

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

.game-card__play-btn {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-round);
    background: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--bg-darker);
    box-shadow: 0 0 20px rgba(255, 217, 61, 0.5);
}

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

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

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

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

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

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

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

    .m-header__burger {
        display: flex;
    }

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

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

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

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

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

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

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

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

/* Mobile */
@media (max-width: 768px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.4rem; }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    .modal__content--game {
        height: 70vh;
    }

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

/* Small Mobile */
@media (max-width: 480px) {
    .m-hero__title {
        font-size: 1.6rem;
    }

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

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

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

    .modal__buttons {
        flex-direction: column;
    }

    .daily-bonus__reward {
        font-size: 2rem;
    }
}