/* ============================================
   LUA UHALE CASINO — Retro Style CSS
   Style: #13 Ретро
   Fonts: Press Start 2P, VT323
   ============================================ */

/* 1. CSS Variables (:root) */
:root {
    /* Colors — Retro Palette */
    --primary: #e8a87c;
    --primary-dark: #d4926a;
    --secondary: #c97b4b;
    --accent: #f7d794;
    
    /* Backgrounds */
    --bg-dark: #2c1e12;
    --bg-darker: #1e140b;
    --bg-card: #3d2b1a;
    --bg-card-hover: #4a3522;
    --bg-highlight: #5c3d24;
    
    /* Text */
    --text-primary: #f4e4ba;
    --text-secondary: #d4c49a;
    --text-muted: #a89070;
    --text-link: #e8a87c;
    
    /* 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', cursive;
    
    /* Borders */
    --border-pixel: 3px solid var(--primary);
    --border-subtle: 2px solid rgba(232, 168, 124, 0.2);
    
    /* Shadows */
    --shadow-retro: 4px 4px 0px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 10px rgba(232, 168, 124, 0.3);
}

/* 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;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--text-link);
    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(--text-primary);
    line-height: 1.4;
    margin-bottom: var(--space-md);
}

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

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

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

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

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

/* 5. Header */
.m-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: var(--bg-darker);
    border-bottom: var(--border-pixel);
    z-index: 1000;
    display: flex;
    align-items: center;
}

.m-header__container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: var(--accent);
    font-weight: 400;
    text-decoration: none;
    text-shadow: 2px 2px 0 rgba(0,0,0,0.5);
    white-space: nowrap;
}

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

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

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

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

.m-header__link.is-active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
}

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

/* Burger */
.m-header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    z-index: 1001;
}

.m-header__burger span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s;
}

.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 */
.mobile-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-darker);
    z-index: 999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
}

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

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

.mobile-menu__link {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-decoration: none;
    padding: var(--space-md);
    border-bottom: var(--border-subtle);
    transition: color 0.2s;
}

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

/* 7. Buttons */
.btn {
    font-family: var(--font-heading);
    font-size: 0.6rem;
    padding: 12px 24px;
    border: var(--border-pixel);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    transition: all 0.2s;
    text-align: center;
    line-height: 1.4;
    box-shadow: var(--shadow-retro);
    position: relative;
}

.btn:active {
    box-shadow: 1px 1px 0px rgba(0,0,0,0.5);
    transform: translate(2px, 2px);
}

.btn--primary {
    background: var(--primary);
    color: var(--bg-darker);
    border-color: var(--primary-dark);
}

.btn--primary:hover {
    background: var(--accent);
    color: var(--bg-darker);
    border-color: var(--primary);
}

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

.btn--secondary:hover {
    background: var(--bg-card);
    border-color: var(--primary);
    color: var(--accent);
}

.btn--lg {
    font-size: 0.7rem;
    padding: 16px 32px;
}

.btn--sm {
    font-size: 0.5rem;
    padding: 8px 16px;
}

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

.btn--account {
    background: var(--bg-card);
    color: var(--accent);
    border-color: var(--primary);
    font-size: 0.5rem;
    padding: 8px 16px;
}

.btn--account:hover {
    background: var(--primary);
    color: var(--bg-darker);
}

.btn__text {
    display: inline;
}

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

/* 9. Hero Section */
.m-hero {
    background: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    padding: var(--space-3xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: var(--border-pixel);
}

.m-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        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__container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    position: relative;
    z-index: 1;
}

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

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

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

.m-hero__pixel-border {
    width: 80px;
    height: 8px;
    margin: 0 auto var(--space-lg);
    background: repeating-linear-gradient(
        90deg,
        var(--primary) 0px,
        var(--primary) 8px,
        transparent 8px,
        transparent 16px
    );
}

.m-hero__title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--accent);
    text-shadow: 3px 3px 0 rgba(0,0,0,0.6);
    margin-bottom: var(--space-md);
}

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

.m-hero__title--404 {
    font-size: 4rem;
    color: var(--primary);
}

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

.m-hero__text {
    font-family: var(--font-body);
    font-size: 22px;
    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--404 {
    padding: var(--space-3xl) 0;
}

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

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

.m-section--benefits {
    background: var(--bg-darker);
    border-top: var(--border-subtle);
    border-bottom: var(--border-subtle);
}

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

.m-section--faq {
    background: var(--bg-darker);
    border-top: var(--border-subtle);
}

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

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

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

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

.m-section__title {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--accent);
    text-align: center;
    margin-bottom: var(--space-md);
    text-shadow: 2px 2px 0 rgba(0,0,0,0.4);
}

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

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

.m-section__notice {
    text-align: center;
    color: var(--text-muted);
    font-size: 20px;
}

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

.m-page-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--accent);
    text-shadow: 2px 2px 0 rgba(0,0,0,0.4);
    margin-bottom: var(--space-md);
}

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

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

.benefit-card {
    background: var(--bg-card);
    border: var(--border-subtle);
    padding: var(--space-xl);
    text-align: center;
    transition: transform 0.2s, border-color 0.2s;
    position: relative;
}

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

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

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

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

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

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

.game-card--featured {
    background: var(--bg-card);
    border: var(--border-subtle);
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.2s;
    position: relative;
}

.game-card--featured:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

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

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

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

.game-card__play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 20, 11, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.game-card--featured:hover .game-card__play-overlay {
    opacity: 1;
}

.game-card__play-btn {
    font-size: 2rem;
    color: var(--accent);
    text-shadow: 2px 2px 0 rgba(0,0,0,0.5);
}

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

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

/* 14. Game Tile */
.m-game-tile {
    background: var(--bg-card);
    border: var(--border-subtle);
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.2s, transform 0.2s;
    position: relative;
}

.m-game-tile:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.m-game-tile__image-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
}

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

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

.m-game-tile__play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 20, 11, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

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

.m-game-tile__play-icon {
    font-size: 2rem;
    color: var(--accent);
    text-shadow: 2px 2px 0 rgba(0,0,0,0.5);
}

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

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

.m-game-tile__provider {
    font-family: var(--font-body);
    font-size: 16px;
    color: var(--text-muted);
}

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

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

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

.m-game-tile--locked:hover .m-game-tile__image {
    transform: none;
}

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

.m-game-tile__lock-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 20, 11, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
}

.m-game-tile__lock-icon {
    font-size: 2rem;
}

.m-game-tile__lock-text {
    font-family: var(--font-heading);
    font-size: 0.4rem;
    color: var(--text-muted);
    text-align: center;
    padding: 0 var(--space-sm);
}

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

.provider-section__title {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: var(--primary);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: var(--border-subtle);
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.provider-section__count {
    font-family: var(--font-body);
    font-size: 18px;
    color: var(--text-muted);
}

/* 17. Filter */
.filter-bar {
    display: flex;
    gap: var(--space-sm);
    overflow-x: auto;
    padding-bottom: var(--space-xs);
    -webkit-overflow-scrolling: touch;
}

.filter-bar::-webkit-scrollbar {
    height: 4px;
}

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

.filter-bar::-webkit-scrollbar-thumb {
    background: var(--primary);
}

.filter-btn {
    font-family: var(--font-heading);
    font-size: 0.45rem;
    padding: 10px 20px;
    background: var(--bg-card);
    color: var(--text-muted);
    border: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

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

.filter-btn--active {
    background: var(--primary);
    color: var(--bg-darker);
    border-color: var(--primary-dark);
    box-shadow: var(--shadow-retro);
}

/* 18. Unlock Banner */
.unlock-banner {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    background: var(--bg-card);
    border: var(--border-pixel);
    padding: var(--space-lg);
    flex-wrap: wrap;
}

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

.unlock-banner__text {
    flex: 1;
    font-size: 18px;
    color: var(--text-secondary);
    min-width: 200px;
}

.unlock-banner__text strong {
    font-family: var(--font-heading);
    font-size: 0.5rem;
    color: var(--accent);
    display: block;
    margin-bottom: var(--space-xs);
}

/* 19. FAQ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.faq-item {
    background: var(--bg-card);
    border: var(--border-subtle);
    overflow: hidden;
}

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

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

.faq-item__icon {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--primary);
    flex-shrink: 0;
    transition: transform 0.3s;
}

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

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s;
    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 {
    font-size: 20px;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* 20. Disclaimer */
.disclaimer-box {
    background: var(--bg-card);
    border: 2px solid rgba(232, 168, 124, 0.3);
    padding: var(--space-lg);
    text-align: center;
}

.disclaimer-box__text {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 0;
}

.disclaimer-box__text strong {
    font-family: var(--font-heading);
    font-size: 0.45rem;
    color: var(--primary);
}

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

.m-footer__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

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

.m-footer__section {
    display: flex;
    flex-direction: column;
}

.m-footer__logo {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    color: var(--accent);
    margin-bottom: var(--space-md);
    text-shadow: 2px 2px 0 rgba(0,0,0,0.4);
}

.m-footer__description {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.5;
}

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

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

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

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

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

.footer__compliance-logo {
    height: 32px;
    width: auto;
    opacity: 0.7;
    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: 36px;
    height: 36px;
    border: 2px solid var(--primary);
    font-family: var(--font-heading);
    font-size: 0.5rem;
    color: var(--primary);
    flex-shrink: 0;
}

.m-footer__bottom {
    border-top: var(--border-subtle);
    padding-top: var(--space-lg);
    text-align: center;
}

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

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

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

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

.modal__content {
    background: var(--bg-card);
    border: var(--border-pixel);
    padding: var(--space-xl);
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 6px 6px 0 rgba(0,0,0,0.5);
}

.modal__content--game {
    max-width: 900px;
    padding: 0;
}

.modal__content--auth {
    max-width: 420px;
}

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

.modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg);
    border-bottom: var(--border-subtle);
}

.modal__header h2 {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    color: var(--accent);
    margin-bottom: 0;
}

.modal__game-title {
    font-family: var(--font-heading);
    font-size: 0.6rem;
    color: var(--accent);
    margin-bottom: 0;
}

.modal__title {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    color: var(--accent);
    margin-bottom: 0;
}

.modal__close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    padding: var(--space-sm);
    transition: color 0.2s;
}

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

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

.modal__body p {
    font-size: 20px;
    color: var(--text-secondary);
    text-align: center;
}

.modal__body--game {
    padding: 0;
    aspect-ratio: 16/9;
}

.modal__footer {
    padding: var(--space-lg);
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    border-top: var(--border-subtle);
}

.game-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* 23. Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-darker);
    border-top: var(--border-pixel);
    padding: var(--space-lg);
    z-index: 1500;
    display: none;
    transform: translateY(0);
}

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

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

.cookie-consent__content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 0;
    flex: 1;
    min-width: 200px;
}

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

/* 24. Auth Forms */
.auth-tabs {
    display: flex;
    border-bottom: var(--border-subtle);
}

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

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

.auth-tabs__btn--active {
    color: var(--accent);
    border-bottom-color: var(--primary);
}

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

.auth-form--hidden {
    display: none;
}

.auth-form__title {
    font-family: var(--font-heading);
    font-size: 0.6rem;
    color: var(--accent);
    text-align: center;
    margin-bottom: var(--space-xl);
}

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

.auth-form__group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.4rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.auth-form__input {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-darker);
    border: 2px solid var(--bg-highlight);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 20px;
    transition: border-color 0.2s;
}

.auth-form__input:focus {
    outline: none;
    border-color: var(--primary);
}

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

.auth-form__error {
    font-family: var(--font-body);
    font-size: 18px;
    color: #e74c3c;
    margin-bottom: var(--space-md);
    min-height: 20px;
}

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

.account-card {
    background: var(--bg-card);
    border: var(--border-subtle);
    padding: var(--space-xl);
}

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

.account-card .auth-form {
    padding: 0;
}

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

.why-register__title {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--accent);
    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;
    background: var(--bg-card);
    border: var(--border-subtle);
    padding: var(--space-xl);
}

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

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

.why-register__item p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* 26. Profile */
.profile-card {
    background: var(--bg-card);
    border: var(--border-pixel);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-retro);
}

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

.profile-card__badge {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--bg-darker);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    border: 4px solid var(--accent);
    box-shadow: var(--shadow-retro);
    flex-shrink: 0;
}

.profile-card__name {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    color: var(--accent);
    margin-bottom: var(--space-xs);
}

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

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

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

.xp-bar__track {
    width: 100%;
    height: 20px;
    background: var(--bg-darker);
    border: 2px solid var(--bg-highlight);
    overflow: hidden;
    position: relative;
}

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

.xp-bar__fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent 0px,
        transparent 8px,
        rgba(0,0,0,0.15) 8px,
        rgba(0,0,0,0.15) 10px
    );
}

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

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

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

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

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

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

.daily-bonus__icon {
    font-size: 3rem;
    display: block;
    text-align: center;
    margin-bottom: var(--space-md);
}

.daily-bonus__text {
    font-size: 22px;
    color: var(--text-secondary);
    text-align: center;
}

.daily-bonus__streak {
    font-family: var(--font-heading);
    font-size: 0.45rem;
    color: var(--primary);
    text-align: center;
}

/* 29. Content Pages */
.m-content-card {
    background: var(--bg-card);
    border: var(--border-subtle);
    padding: var(--space-2xl);
}

.m-content-card h2 {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    color: var(--accent);
    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: 0.6rem;
    color: var(--primary);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

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

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

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

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

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

.contact-info {
    background: var(--bg-darker);
    border: var(--border-subtle);
    padding: var(--space-lg);
    margin-top: var(--space-md);
}

.contact-info p {
    margin-bottom: var(--space-xs);
    font-size: 18px;
}

.article-cta {
    text-align: center;
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: var(--border-subtle);
}

.m-breadcrumb {
    font-family: var(--font-body);
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

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

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

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

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

.article-card {
    background: var(--bg-card);
    border: var(--border-subtle);
    overflow: hidden;
    transition: border-color 0.2s, transform 0.2s;
    position: relative;
}

.article-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

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

.article-card__category {
    font-family: var(--font-heading);
    font-size: 0.35rem;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: var(--space-sm);
    display: block;
}

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

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

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

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

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

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

.provider-card {
    background: var(--bg-card);
    border: var(--border-subtle);
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    transition: border-color 0.2s;
    position: relative;
}

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

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

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

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

.stars {
    color: #ffc107;
    font-size: 1.2rem;
}

.provider-card__score {
    font-family: var(--font-heading);
    font-size: 0.4rem;
    color: var(--text-muted);
}

.provider-card__description {
    font-size: 18px;
    color: var(--text-muted);
    line-height: 1.5;
    flex: 1;
}

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

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

/* 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: 0.5rem;
    color: var(--text-muted);
}

.review-hero__meta {
    display: flex;
    gap: var(--space-xl);
    justify-content: center;
    flex-wrap: wrap;
    font-size: 18px;
    color: var(--text-muted);
}

.review-games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-xl);
}

.review-game-tile {
    background: var(--bg-darker);
    border: var(--border-subtle);
    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-secondary);
    padding: var(--space-sm);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsible Gaming */
.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: var(--border-subtle);
    padding: var(--space-xl);
    text-align: center;
}

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

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

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

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

.help-link {
    display: block;
    background: var(--bg-darker);
    border: var(--border-subtle);
    padding: var(--space-lg);
    text-decoration: none;
    transition: border-color 0.2s;
}

.help-link:hover {
    border-color: var(--primary);
}

.help-link strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.45rem;
    color: var(--accent);
    margin-bottom: var(--space-xs);
}

.help-link span {
    font-size: 16px;
    color: var(--text-muted);
}

/* 32. Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }

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

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

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

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

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

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

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

    .m-header__actions {
        display: none;
    }

    .m-header__burger {
        display: flex;
    }

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

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

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

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

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

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

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

@media (max-width: 768px) {
    h1 { font-size: 1.1rem; }
    h2 { font-size: 0.8rem; }
    h3 { font-size: 0.7rem; }

    body {
        font-size: 18px;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    .profile-card {
        padding: var(--space-xl);
    }

    .profile-card__header {
        flex-direction: column;
        text-align: center;
    }

    .profile-card__stats {
        grid-template-columns: 1fr;
    }

    .profile-card__actions {
        flex-direction: column;
    }

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

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

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

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

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

    .why-register__grid {
        grid-template-columns: 1fr;
    }

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

    .filter-btn {
        font-size: 0.38rem;
        padding: 8px 12px;
    }

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

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

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

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

    .logo {
        font-size: 0.55rem;
    }

    .btn {
        font-size: 0.45rem;
        padding: 10px 16px;
    }

    .btn--lg {
        font-size: 0.55rem;
        padding: 12px 24px;
    }

    .m-games-grid {
        gap: var(--space-md);
    }
}