/* ============================================
   ROGERORRA CASINO — RETRO STYLE
   CSS Architecture: BEM with m- prefix
   Font: Press Start 2P / VT323
   Palette: #f4e4ba, #e8a87c, #2d1b00, #5c3d1e
   ============================================ */

/* 1. CSS Variables (:root) */
:root {
    /* Colors */
    --primary: #e8a87c;
    --primary-dark: #d4915f;
    --secondary: #f4e4ba;
    --accent: #ff6b35;
    --accent-dark: #e55a2b;

    /* Backgrounds */
    --bg-dark: #2d1b00;
    --bg-darker: #1a0f00;
    --bg-card: #3d2a10;
    --bg-card-hover: #4d3a1a;
    --bg-light: #f4e4ba;

    /* Text */
    --text-primary: #f4e4ba;
    --text-secondary: #e8a87c;
    --text-muted: #a08060;
    --text-dark: #2d1b00;

    /* 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: 'VT323', monospace;
    --font-heading: 'Press Start 2P', monospace;
}

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

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

body {
    font-family: var(--font-body);
    font-size: 20px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-dark);
    min-height: 100vh;
    overflow-x: hidden;
}

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

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

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

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

/* 3. Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--secondary);
    line-height: 1.4;
    margin-bottom: var(--space-md);
}

h1 { font-size: 1.4rem; }
h2 { font-size: 1rem; }
h3 { font-size: 0.85rem; }
h4 { font-size: 0.75rem; }

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

/* 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: var(--bg-darker);
    border-bottom: 3px solid var(--primary);
    z-index: 1000;
    image-rendering: pixelated;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--secondary);
    text-decoration: none;
    letter-spacing: 1px;
    text-shadow: 2px 2px 0 var(--primary-dark);
    transition: color 0.2s;
}

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

.m-nav {
    display: flex;
    gap: var(--space-lg);
}

.m-nav__link {
    font-family: var(--font-heading);
    font-size: 0.55rem;
    color: var(--text-primary);
    text-decoration: none;
    padding: var(--space-sm) 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    letter-spacing: 0.5px;
}

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

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

/* 6. Mobile Menu */
.m-burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: 2px solid var(--primary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    padding: 6px;
}

.m-burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s;
}

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

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

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

.m-mobile-menu {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-darker);
    z-index: 999;
    padding: var(--space-xl);
    overflow-y: auto;
}

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

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

.m-mobile-nav__link {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    color: var(--text-primary);
    text-decoration: none;
    padding: var(--space-md);
    border: 2px solid var(--bg-card);
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    display: block;
}

.m-mobile-nav__link:hover,
.m-mobile-nav__link.is-active {
    color: var(--accent);
    border-color: var(--accent);
    background: var(--bg-card);
}

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

/* 7. Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.6rem;
    padding: var(--space-md) var(--space-xl);
    border: 3px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    letter-spacing: 0.5px;
    line-height: 1.4;
    white-space: nowrap;
    image-rendering: pixelated;
}

.btn--primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent-dark);
    box-shadow: 4px 4px 0 var(--accent-dark);
}

.btn--primary:hover {
    background: var(--accent-dark);
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--accent-dark);
    color: #fff;
}

.btn--secondary {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
    box-shadow: 4px 4px 0 var(--primary-dark);
}

.btn--secondary:hover {
    background: var(--primary);
    color: var(--bg-dark);
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--primary-dark);
}

.btn--lg {
    font-size: 0.7rem;
    padding: var(--space-lg) var(--space-2xl);
}

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

.btn--account {
    background: var(--bg-card);
    color: var(--secondary);
    border-color: var(--primary);
    box-shadow: 3px 3px 0 var(--primary-dark);
    font-family: var(--font-heading);
    font-size: 0.55rem;
    padding: var(--space-sm) var(--space-lg);
}

.btn--account:hover {
    background: var(--primary);
    color: var(--bg-dark);
    transform: translate(1px, 1px);
    box-shadow: 2px 2px 0 var(--primary-dark);
}

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

/* 9. Hero Section */
.m-hero {
    padding: var(--space-3xl) 0;
    text-align: center;
    background: var(--bg-darker);
    border-bottom: 3px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.m-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(244, 228, 186, 0.03) 2px,
            rgba(244, 228, 186, 0.03) 4px
        );
    pointer-events: none;
}

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

.m-hero__content--row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    text-align: left;
}

.m-hero__title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--secondary);
    text-shadow: 3px 3px 0 var(--bg-dark), 4px 4px 0 var(--primary-dark);
    margin-bottom: var(--space-lg);
    letter-spacing: 1px;
}

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

.m-hero__text {
    font-size: 22px;
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

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

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

.m-hero__container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    text-align: center;
}

.m-hero__title--404 {
    font-size: 4rem;
    color: var(--accent);
    text-shadow: 4px 4px 0 var(--bg-darker);
}

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

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

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

.m-section__title {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--secondary);
    text-align: center;
    margin-bottom: var(--space-lg);
    text-shadow: 2px 2px 0 var(--bg-darker);
}

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

.m-section--benefits {
    background: var(--bg-darker);
    border-top: 3px solid var(--bg-card);
    border-bottom: 3px solid var(--bg-card);
}

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

.m-section--faq {
    background: var(--bg-darker);
    border-top: 3px solid var(--bg-card);
}

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

.m-section--filter {
    padding: var(--space-lg) 0;
    background: var(--bg-darker);
    border-bottom: 2px solid var(--bg-card);
}

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

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

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

.benefit-card {
    background: var(--bg-card);
    border: 2px solid var(--primary-dark);
    border-radius: var(--radius-sm);
    padding: var(--space-xl);
    text-align: center;
    transition: all 0.2s;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
}

.benefit-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 rgba(0,0,0,0.4);
    border-color: var(--accent);
}

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

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

.benefit-card__text {
    color: var(--text-muted);
    font-size: 18px;
}

@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 */
.featured-provider {
    margin-bottom: var(--space-2xl);
}

.featured-provider__title {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    color: var(--primary);
    margin-bottom: var(--space-lg);
    text-align: center;
    padding-bottom: var(--space-sm);
    border-bottom: 2px dashed var(--bg-card);
}

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

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

.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 */
.m-games-grid--featured,
.games-grid--featured {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 500px;
    margin: 0 auto;
}

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

/* 14. Game Tile */
.m-game-tile {
    position: relative;
    background: var(--bg-card);
    border: 2px solid var(--primary-dark);
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.3);
}

.m-game-tile:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 rgba(0,0,0,0.4);
    border-color: var(--accent);
}

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

.m-game-tile__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s;
}

.m-game-tile__info {
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-darker);
    border-top: 2px solid var(--primary-dark);
}

.m-game-tile__title {
    font-family: var(--font-heading);
    font-size: 0.45rem;
    color: var(--secondary);
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.m-game-tile__provider {
    font-size: 14px;
    color: var(--text-muted);
    display: block;
    margin-top: 2px;
}

/* Game Card (Featured on Home) */
.game-card {
    position: relative;
    background: var(--bg-card);
    border: 2px solid var(--primary-dark);
    border-radius: var(--radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.3);
}

.game-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 rgba(0,0,0,0.4);
    border-color: var(--accent);
}

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

.game-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-card__info {
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-darker);
    border-top: 2px solid var(--primary-dark);
}

.game-card__title {
    font-family: var(--font-heading);
    font-size: 0.45rem;
    color: var(--secondary);
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 15. Game Tile Locked */
.m-game-tile--locked .m-game-tile__image img {
    filter: blur(4px) grayscale(50%);
    opacity: 0.6;
}

.m-game-tile__lock-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 15, 0, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.m-game-tile__lock-icon {
    font-size: 32px;
    margin-bottom: var(--space-sm);
}

.m-game-tile__lock-text {
    font-family: var(--font-heading);
    font-size: 0.45rem;
    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__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px dashed var(--primary-dark);
}

.m-provider-section__title {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    color: var(--primary);
    margin-bottom: 0;
}

.m-provider-section__count {
    font-size: 16px;
    color: var(--text-muted);
}

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

.filter-btn {
    font-family: var(--font-heading);
    font-size: 0.5rem;
    padding: var(--space-sm) var(--space-lg);
    background: var(--bg-card);
    color: var(--text-muted);
    border: 2px solid var(--bg-card);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
}

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

.filter-btn--active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent-dark);
    box-shadow: 2px 2px 0 var(--accent-dark);
}

/* 18. Unlock Banner */
.unlock-banner {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: var(--bg-darker);
    border: 2px solid var(--accent);
    border-radius: var(--radius-sm);
    box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
}

.unlock-banner__icon {
    font-size: 32px;
    flex-shrink: 0;
}

.unlock-banner__text {
    flex: 1;
    font-size: 18px;
    color: var(--text-primary);
    line-height: 1.5;
}

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

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

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

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

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

.faq-item__icon {
    font-size: 24px;
    color: var(--primary);
    flex-shrink: 0;
    transition: transform 0.3s;
    font-family: var(--font-body);
}

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

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.is-open .faq-item__answer {
    max-height: 500px;
}

.faq-item__answer p {
    padding: 0 var(--space-lg) var(--space-lg);
    color: var(--text-muted);
    font-size: 18px;
    line-height: 1.7;
}

/* 20. Disclaimer */
.disclaimer-box {
    background: var(--bg-card);
    border: 2px solid var(--primary-dark);
    border-radius: var(--radius-sm);
    padding: var(--space-lg);
    box-shadow: 3px 3px 0 rgba(0,0,0,0.2);
}

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

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

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

.m-footer__logo h3 {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    color: var(--secondary);
    margin-bottom: var(--space-md);
    text-shadow: 2px 2px 0 var(--bg-dark);
}

.m-footer__logo p {
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.6;
}

.m-footer__section h4 {
    font-family: var(--font-heading);
    font-size: 0.55rem;
    color: var(--secondary);
    margin-bottom: var(--space-lg);
}

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

.m-footer__nav a {
    color: var(--text-muted);
    font-size: 18px;
    transition: color 0.2s;
}

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

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

.footer__compliance-logo {
    height: 36px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.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: 40px;
    height: 40px;
    background: var(--accent);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.5rem;
    border-radius: 50%;
    border: 2px solid var(--accent-dark);
    box-shadow: 2px 2px 0 var(--accent-dark);
}

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

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

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

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

/* 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__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.modal__content {
    position: relative;
    z-index: 2;
    background: var(--bg-card);
    border: 3px solid var(--primary);
    border-radius: var(--radius-md);
    padding: var(--space-2xl);
    max-width: 500px;
    width: 100%;
    text-align: center;
    box-shadow: 6px 6px 0 rgba(0,0,0,0.4);
}

.modal__content h2 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--secondary);
    margin-bottom: var(--space-lg);
}

.modal__content p {
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
    font-size: 20px;
}

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

.modal__close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: none;
    border: 2px solid var(--primary-dark);
    color: var(--primary);
    font-size: 28px;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    line-height: 1;
    font-family: var(--font-body);
}

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

.modal__content--game {
    max-width: 900px;
    padding: var(--space-md);
}

.modal__game-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border: 2px solid var(--primary-dark);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

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

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

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

/* 23. Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-darker);
    border-top: 3px solid var(--primary);
    padding: var(--space-lg);
    z-index: 1500;
    display: none;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.5);
}

.cookie-consent.is-visible {
    display: block;
}

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

.cookie-consent__content p {
    flex: 1;
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 0;
}

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

/* 24. Auth Forms */
.auth-tabs {
    display: flex;
    gap: 0;
    margin-bottom: var(--space-xl);
    border: 2px solid var(--primary-dark);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.auth-tab {
    flex: 1;
    padding: var(--space-md);
    font-family: var(--font-heading);
    font-size: 0.5rem;
    background: var(--bg-darker);
    color: var(--text-muted);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.auth-tab--active {
    background: var(--accent);
    color: #fff;
}

.auth-form__title {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    color: var(--secondary);
    margin-bottom: var(--space-lg);
}

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

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.45rem;
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

.form-input {
    width: 100%;
    padding: var(--space-md);
    font-family: var(--font-body);
    font-size: 20px;
    background: var(--bg-darker);
    color: var(--text-primary);
    border: 2px solid var(--primary-dark);
    border-radius: var(--radius-sm);
    transition: border-color 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
}

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

.form-error {
    background: #4a1010;
    color: #ff6b6b;
    font-size: 16px;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    border: 1px solid #ff6b6b;
    margin-bottom: var(--space-md);
}

/* 25. Account Page */
.account-forms-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: 2px solid var(--primary-dark);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
}

.account-card__title {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    color: var(--secondary);
    margin-bottom: var(--space-xl);
    text-align: center;
}

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

.why-register__title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--secondary);
    text-align: center;
    margin-bottom: var(--space-xl);
}

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

.why-register__item {
    text-align: center;
    padding: var(--space-lg);
    background: var(--bg-card);
    border: 2px solid var(--primary-dark);
    border-radius: var(--radius-sm);
    box-shadow: 3px 3px 0 rgba(0,0,0,0.2);
}

.why-register__icon {
    font-size: 36px;
    display: block;
    margin-bottom: var(--space-md);
}

.why-register__item h3 {
    font-family: var(--font-heading);
    font-size: 0.5rem;
    color: var(--secondary);
    margin-bottom: var(--space-sm);
}

.why-register__item p {
    color: var(--text-muted);
    font-size: 17px;
}

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

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

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

/* 26. Profile / Dashboard */
.account-dashboard {
    max-width: 700px;
    margin: 0 auto;
}

.account-profile {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
    padding: var(--space-xl);
    background: var(--bg-card);
    border: 2px solid var(--primary-dark);
    border-radius: var(--radius-md);
    box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
}

.account-profile__badge {
    flex-shrink: 0;
}

.level-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--accent);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    border-radius: 50%;
    border: 3px solid var(--accent-dark);
    box-shadow: 3px 3px 0 var(--accent-dark);
}

.account-profile__name {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--secondary);
    margin-bottom: var(--space-xs);
}

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

/* 27. XP Progress */
.account-xp {
    margin-bottom: var(--space-xl);
    padding: var(--space-xl);
    background: var(--bg-card);
    border: 2px solid var(--primary-dark);
    border-radius: var(--radius-md);
    box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
}

.account-xp h2 {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    color: var(--secondary);
    margin-bottom: var(--space-lg);
}

.xp-bar {
    width: 100%;
    height: 24px;
    background: var(--bg-darker);
    border: 2px solid var(--primary-dark);
    border-radius: var(--radius-sm);
    overflow: hidden;
    position: relative;
}

.xp-bar__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--primary));
    border-radius: var(--radius-sm);
    transition: width 0.5s ease;
    image-rendering: pixelated;
    position: relative;
}

.xp-bar__fill::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 6px,
        rgba(255,255,255,0.1) 6px,
        rgba(255,255,255,0.1) 12px
    );
}

.xp-bar__text {
    text-align: center;
    margin-top: var(--space-sm);
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 0;
}

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

.stat-card {
    background: var(--bg-card);
    border: 2px solid var(--primary-dark);
    border-radius: var(--radius-sm);
    padding: var(--space-xl);
    text-align: center;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.3);
}

.stat-card__value {
    display: block;
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--accent);
    margin-bottom: var(--space-sm);
}

.stat-card__label {
    color: var(--text-muted);
    font-size: 16px;
}

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

@media (max-width: 768px) {
    .account-stats {
        grid-template-columns: 1fr;
    }
    .account-profile {
        flex-direction: column;
        text-align: center;
    }
}

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

.daily-bonus__icon {
    font-size: 56px;
    margin-bottom: var(--space-md);
    display: block;
}

.daily-bonus__title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: var(--secondary);
    margin-bottom: var(--space-md);
}

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

.daily-bonus__amount {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--accent);
    margin-bottom: var(--space-xl);
    text-shadow: 2px 2px 0 var(--bg-darker);
}

/* 29. Content Pages */
.m-page-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: var(--space-lg);
    text-shadow: 2px 2px 0 var(--bg-darker);
    line-height: 1.6;
}

.m-page-subtitle {
    color: var(--text-muted);
    font-size: 20px;
    margin-bottom: var(--space-2xl);
}

.m-breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    font-size: 16px;
}

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

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

.m-content-card {
    background: var(--bg-card);
    border: 2px solid var(--primary-dark);
    border-radius: var(--radius-md);
    padding: var(--space-2xl);
    box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
    line-height: 1.8;
}

.m-content-card h2 {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: var(--secondary);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
    padding-top: var(--space-lg);
    border-top: 1px dashed var(--primary-dark);
}

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

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

.m-content-card p {
    color: var(--text-primary);
    font-size: 20px;
    line-height: 1.8;
}

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

.m-content-card li {
    color: var(--text-primary);
    font-size: 19px;
    margin-bottom: var(--space-sm);
    line-height: 1.7;
}

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

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

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

.m-content-card__cta {
    text-align: center;
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 2px dashed var(--primary-dark);
}

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

/* Responsible Gaming Facts */
.facts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin: var(--space-xl) 0;
}

.fact-card {
    background: var(--bg-darker);
    border: 2px solid var(--primary-dark);
    border-radius: var(--radius-sm);
    padding: var(--space-xl);
    text-align: center;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.2);
}

.fact-card__icon {
    font-size: 36px;
    display: block;
    margin-bottom: var(--space-md);
}

.fact-card h3 {
    font-family: var(--font-heading);
    font-size: 0.55rem;
    color: var(--secondary);
    margin-bottom: var(--space-sm);
    margin-top: 0;
}

.fact-card p {
    color: var(--text-muted);
    font-size: 17px;
    margin-bottom: 0;
}

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

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

.help-resource {
    background: var(--bg-darker);
    border: 2px solid var(--primary-dark);
    border-radius: var(--radius-sm);
    padding: var(--space-xl);
    text-align: center;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.2);
}

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

.help-resource p {
    color: var(--text-muted);
    font-size: 17px;
    margin-bottom: var(--space-lg);
}

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

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

.article-card {
    position: relative;
    background: var(--bg-card);
    border: 2px solid var(--primary-dark);
    border-radius: var(--radius-sm);
    overflow: hidden;
    transition: all 0.2s;
    box-shadow: 3px 3px 0 rgba(0,0,0,0.3);
}

.article-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 rgba(0,0,0,0.4);
    border-color: var(--accent);
}

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

.article-card__category {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.4rem;
    color: var(--accent);
    background: var(--bg-darker);
    padding: var(--space-xs) var(--space-sm);
    border: 1px solid var(--accent);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
}

.article-card__title {
    font-family: var(--font-heading);
    font-size: 0.55rem;
    color: var(--secondary);
    margin-bottom: var(--space-md);
    line-height: 1.5;
}

.article-card__excerpt {
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.article-card__link {
    font-family: var(--font-heading);
    font-size: 0.45rem;
    color: var(--accent);
}

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

.blog-reviews {
    margin-top: var(--space-xl);
}

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

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

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

.provider-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.provider-card {
    position: relative;
    background: var(--bg-card);
    border: 2px solid var(--primary-dark);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
    transition: all 0.2s;
}

.provider-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 rgba(0,0,0,0.4);
    border-color: var(--accent);
}

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

.provider-card__name {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    color: var(--secondary);
    margin-bottom: var(--space-sm);
}

.provider-card__desc {
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: var(--space-lg);
}

.provider-card__stats {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.provider-card__stat {
    font-size: 15px;
    color: var(--text-primary);
    background: var(--bg-darker);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    border: 1px solid var(--primary-dark);
}

@media (max-width: 992px) {
    .provider-cards-grid {
        grid-template-columns: 1fr;
    }
}

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

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

.review-hero__score {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    color: var(--secondary);
}

.review-hero__meta {
    display: flex;
    gap: var(--space-md);
    color: var(--text-muted);
    font-size: 17px;
    flex-wrap: wrap;
}

/* 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 {
    background: var(--bg-darker);
    border: 2px solid var(--primary-dark);
    border-radius: var(--radius-sm);
    overflow: hidden;
    text-align: center;
}

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

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

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

/* 32. Utility Classes */
.stars {
    color: #ffc107;
    font-size: 20px;
    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);
    border: 0;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--primary-dark);
    border: 2px solid var(--bg-darker);
}

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

/* Responsive Hero */
@media (max-width: 768px) {
    .m-hero__title {
        font-size: 1rem;
    }
    .m-hero__content--row {
        flex-direction: column;
        text-align: center;
        gap: var(--space-lg);
    }
    .m-hero__auth-buttons {
        justify-content: center;
    }
    h1 { font-size: 1rem; }
    h2 { font-size: 0.8rem; }
    .m-page-title {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .m-hero__title {
        font-size: 0.8rem;
    }
    .m-hero__title--404 {
        font-size: 2.5rem;
    }
    h1 { font-size: 0.8rem; }
    .m-page-title {
        font-size: 0.7rem;
    }
}

/* Scanline overlay effect for retro */
.retro-theme .m-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        transparent,
        transparent 1px,
        rgba(0,0,0,0.05) 1px,
        rgba(0,0,0,0.05) 2px
    );
    pointer-events: none;
}