/* ============================================
   1. CSS Variables (:root)
   Oceanic Style — #6
   ============================================ */
:root {
    /* Colors */
    --primary: #1a8faa;
    --primary-dark: #136d84;
    --primary-light: #2bb5d4;
    --secondary: #0d6e5b;
    --secondary-dark: #0a5647;
    --accent: #d4a527;
    --accent-dark: #b58c1f;
    --accent-light: #e8c45a;

    /* Backgrounds */
    --bg-dark: #0a1628;
    --bg-darker: #06101e;
    --bg-card: #0f2035;
    --bg-card-hover: #142a42;
    --bg-surface: #132840;

    /* Text */
    --text-primary: #e8f0f8;
    --text-secondary: #9ab8d4;
    --text-muted: #6b8baa;
    --text-heading: #ffffff;

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

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

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

    /* Fonts */
    --font-body: 'Source Sans 3', sans-serif;
    --font-heading: 'Playfair Display', 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.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(26, 143, 170, 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-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: 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-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

ul, ol {
    list-style: none;
}

button, input, select, textarea {
    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);
    color: var(--text-heading);
    font-weight: 700;
    line-height: 1.2;
}

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

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

/* ============================================
   4. Container
   ============================================ */
.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, 22, 40, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(26, 143, 170, 0.15);
    z-index: 1000;
    transition: background var(--transition-base);
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--text-heading);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color var(--transition-fast);
    white-space: nowrap;
}

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

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

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

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

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

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

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

/* ============================================
   6. Mobile Menu / Burger
   ============================================ */
.m-header__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    z-index: 1002;
}

.m-header__burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-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);
}

.mobile-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(6, 16, 30, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base);
    overflow-y: auto;
}

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

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

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

.mobile-menu__link {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    padding: var(--space-md) 0;
    border-bottom: 1px solid rgba(26, 143, 170, 0.1);
    transition: color var(--transition-fast);
}

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

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

    .m-header__actions .btn {
        display: none;
    }

    .m-header__burger {
        display: flex;
    }
}

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

.btn--primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: #0a1628;
    border-color: var(--accent);
}

.btn--primary:hover {
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(212, 165, 39, 0.35);
    color: #0a1628;
}

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

.btn--secondary:hover {
    background: var(--primary);
    color: var(--text-heading);
    transform: translateY(-2px);
}

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

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

.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;
    padding: var(--space-3xl) 0;
    background: linear-gradient(160deg, var(--bg-darker) 0%, var(--bg-dark) 40%, #0d2a40 70%, #0a2233 100%);
    overflow: hidden;
    text-align: center;
}

.m-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -25%;
    width: 150%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 50%, rgba(26, 143, 170, 0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 30%, rgba(212, 165, 39, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

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

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

.m-hero__title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: var(--space-md);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.m-hero__title--404 {
    font-size: 8rem;
    color: var(--accent);
    line-height: 1;
}

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

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

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

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

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

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

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

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

@media (max-width: 768px) {
    .m-hero__title {
        font-size: 2.5rem;
    }

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

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

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

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

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

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

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

.m-page-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-heading);
    margin-bottom: var(--space-lg);
}

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

@media (max-width: 768px) {
    .m-section {
        padding: var(--space-2xl) 0;
    }

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

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

/* ============================================
   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 rgba(26, 143, 170, 0.12);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    text-align: center;
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(26, 143, 170, 0.3);
}

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

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

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

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

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

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

.featured-provider__title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--accent);
    text-align: center;
    margin-bottom: var(--space-lg);
    font-style: italic;
}

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

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

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

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

/* ============================================
   14. Game Tile (games page)
   ============================================ */
.game-tile {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(26, 143, 170, 0.1);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    cursor: pointer;
}

.game-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(26, 143, 170, 0.3);
}

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

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

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

.game-tile__info {
    padding: var(--space-md);
}

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

.game-tile__provider {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

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

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

.game-tile--locked:hover {
    transform: none;
    box-shadow: none;
}

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

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

.game-tile__lock-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   14b. Game Card (home featured)
   ============================================ */
.game-card {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(26, 143, 170, 0.1);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(26, 143, 170, 0.3);
}

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

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

.game-card__info {
    padding: var(--space-md);
    text-align: center;
}

.game-card__name {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-heading);
}

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

.provider-section__title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--accent);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid rgba(212, 165, 39, 0.2);
    font-style: italic;
}

/* ============================================
   17. Filter
   ============================================ */
.m-section--filter {
    padding: var(--space-lg) 0;
}

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

.filter-btn {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid rgba(26, 143, 170, 0.15);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.filter-btn:hover {
    background: var(--bg-card-hover);
    color: var(--text-heading);
    border-color: var(--primary);
}

.filter-btn.is-active {
    background: var(--primary);
    color: var(--text-heading);
    border-color: var(--primary);
}

/* ============================================
   18. Unlock Banner
   ============================================ */
.unlock-banner {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    background: linear-gradient(135deg, rgba(26, 143, 170, 0.12), rgba(212, 165, 39, 0.08));
    border: 1px solid rgba(212, 165, 39, 0.25);
    border-radius: var(--radius-md);
    padding: var(--space-lg) var(--space-xl);
}

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

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

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

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

@media (max-width: 768px) {
    .unlock-banner {
        flex-direction: column;
        text-align: center;
        gap: var(--space-md);
    }
}

/* ============================================
   19. FAQ
   ============================================ */
.m-section--faq {
    background: var(--bg-darker);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(26, 143, 170, 0.1);
}

.faq-item__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) 0;
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-heading);
    cursor: pointer;
    text-align: left;
    transition: color var(--transition-fast);
}

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

.faq-item__icon {
    font-size: 1.5rem;
    color: var(--primary-light);
    flex-shrink: 0;
    margin-left: var(--space-md);
    transition: transform var(--transition-base);
}

.faq-item.is-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.is-open .faq-item__answer {
    max-height: 500px;
    padding-bottom: var(--space-lg);
}

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

/* ============================================
   20. Disclaimer
   ============================================ */
.m-section--disclaimer {
    padding: var(--space-xl) 0;
}

.disclaimer {
    background: rgba(212, 165, 39, 0.06);
    border: 1px solid rgba(212, 165, 39, 0.15);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
}

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

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

.disclaimer a {
    color: var(--primary-light);
    text-decoration: underline;
}

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

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

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

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

.m-footer__column {
    min-width: 140px;
}

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

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

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

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

.m-footer__compliance {
    border-top: 1px solid rgba(26, 143, 170, 0.1);
    padding-top: var(--space-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-lg);
}

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

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

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

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

.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(212, 165, 39, 0.15);
    border: 2px solid var(--accent);
    color: var(--accent);
    font-weight: 700;
    font-size: 0.85rem;
}

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

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

@media (max-width: 768px) {
    .m-footer__content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

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

/* ============================================
   22. Modals
   ============================================ */
.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: opacity var(--transition-base), visibility var(--transition-base);
    padding: var(--space-lg);
}

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

.modal__content {
    background: var(--bg-surface);
    border: 1px solid rgba(26, 143, 170, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    max-width: 480px;
    width: 100%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
}

.modal__header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.modal__header h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
}

.modal__body {
    text-align: center;
}

.modal__body p {
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

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

.modal__close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    font-size: 1.8rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color var(--transition-fast);
    line-height: 1;
    z-index: 1;
}

.modal__close:hover {
    color: var(--text-heading);
}

/* Game Modal */
.modal--game .modal__content--game {
    max-width: 960px;
    padding: var(--space-md);
    background: #000;
}

.modal__game-frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #000;
}

.modal__game-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: var(--radius-sm);
}

/* ============================================
   23. Cookie Consent
   ============================================ */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border-top: 1px solid rgba(26, 143, 170, 0.2);
    padding: var(--space-lg);
    z-index: 1500;
    transform: translateY(100%);
    transition: transform var(--transition-base);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

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

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

.cookie-consent__content p {
    flex: 1;
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

@media (max-width: 768px) {
    .cookie-consent__content {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   24. Auth Forms
   ============================================ */
.auth-modal__tabs {
    display: flex;
    margin-bottom: var(--space-xl);
    border-bottom: 2px solid rgba(26, 143, 170, 0.1);
}

.auth-modal__tab {
    flex: 1;
    padding: var(--space-md);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
    cursor: pointer;
    text-align: center;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color var(--transition-fast), border-color var(--transition-fast);
}

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

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

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

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

.form-input {
    width: 100%;
    padding: 12px var(--space-md);
    background: var(--bg-card);
    border: 1px solid rgba(26, 143, 170, 0.15);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

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

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

.auth-modal__message {
    margin-top: var(--space-md);
    font-size: 0.85rem;
    text-align: center;
    min-height: 20px;
}

.auth-modal__message.is-error {
    color: #e74c3c;
}

.auth-modal__message.is-success {
    color: #2ecc71;
}

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

.account-card {
    background: var(--bg-card);
    border: 1px solid rgba(26, 143, 170, 0.12);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
}

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

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

@media (max-width: 768px) {
    .account-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   26. Profile
   ============================================ */
.account-profile {
    background: var(--bg-card);
    border: 1px solid rgba(26, 143, 170, 0.12);
    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: 64px;
    height: 64px;
    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: 700;
    color: var(--text-heading);
    border: 3px solid var(--accent);
    flex-shrink: 0;
}

.account-profile__name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
}

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

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

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

.xp-bar__label {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

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

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

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

.stat-card {
    background: var(--bg-darker);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    text-align: center;
}

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

.stat-card__label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* Responsible Gaming */
.responsible-facts {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin: var(--space-lg) 0;
}

.responsible-fact {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md);
    background: rgba(26, 143, 170, 0.06);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary);
}

.responsible-fact__icon {
    font-size: 1.4rem;
    flex-shrink: 0;
}

.responsible-fact strong {
    color: var(--text-heading);
    display: block;
    margin-bottom: 2px;
}

.responsible-fact p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

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

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

.daily-bonus__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent);
    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: 700;
    color: var(--accent);
    margin-bottom: var(--space-lg);
}

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

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

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

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

/* 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 {
    text-align: center;
}

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

.review-game-tile span {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

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

@media (max-width: 480px) {
    .m-content-card {
        padding: var(--space-lg);
    }
}

/* Why Join Section */
.m-section--why-join {
    padding-top: var(--space-2xl);
}

/* ============================================
   30. Blog Grid / Articles 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 rgba(26, 143, 170, 0.1);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(26, 143, 170, 0.3);
}

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

.article-card__category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary-light);
    background: rgba(26, 143, 170, 0.1);
    padding: 4px 10px;
    border-radius: 3px;
    margin-bottom: var(--space-md);
}

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

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

.article-card__link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent);
    transition: color var(--transition-fast);
}

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

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

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

/* ============================================
   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 rgba(26, 143, 170, 0.1);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
    border-color: rgba(26, 143, 170, 0.3);
}

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

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

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

.review-card__score {
    font-weight: 700;
    color: var(--text-heading);
    font-size: 0.95rem;
}

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

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

.review-card__stat {
    font-size: 0.8rem;
    color: var(--text-muted);
    background: var(--bg-darker);
    padding: 4px 10px;
    border-radius: 3px;
}

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

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

.m-section--reviews-list {
    padding-top: var(--space-xl);
}

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

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

.hidden {
    display: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Mandatory relative positioning for cards */
.article-card,
.offer-card,
.card {
    position: relative;
}

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

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

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

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

/* ============================================
   Selection
   ============================================ */
::selection {
    background: var(--primary);
    color: var(--text-heading);
}