/* ============================================
   SALLAPOM - Premium/Luxury Social Casino
   Stylistic: #11 Premium/Лакшери
   Palette: Dark #1a1a2e, Gold #d4af37
   Fonts: Playfair Display / Montserrat
   ============================================ */

/* 1. CSS Variables (:root) */
:root {
    /* Colors */
    --primary: #d4af37;
    --primary-dark: #b8960c;
    --primary-light: #e8c95a;
    --secondary: #8b7355;
    --accent: #d4af37;

    /* Backgrounds */
    --bg-dark: #1a1a2e;
    --bg-darker: #12121f;
    --bg-card: #222240;
    --bg-card-hover: #2a2a4a;
    --bg-input: #1e1e35;
    --bg-hero: linear-gradient(135deg, #1a1a2e 0%, #0f0f1e 50%, #1a1a2e 100%);

    /* Text */
    --text-primary: #f0e6d3;
    --text-secondary: #c4b89a;
    --text-muted: #8a8198;
    --text-white: #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: 'Montserrat', sans-serif;
    --font-heading: 'Playfair Display', serif;

    /* 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-gold: 0 0 20px rgba(212, 175, 55, 0.15);

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

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    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 var(--transition);
}

a:hover {
    color: var(--primary-light);
}

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

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

h1 { font-size: 2.8rem; }
h2 { font-size: 2rem; margin-top: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-top: 1.5rem; margin-bottom: 0.75rem; }

p {
    margin-bottom: 1rem;
}

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

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

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

/* 5. Header */
.l-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    z-index: 1000;
}

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

.l-header__logo {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: 1px;
}

.l-header__logo:hover {
    color: var(--primary-light);
}

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

.l-header__link {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: var(--space-sm) 0;
    position: relative;
    transition: color var(--transition);
}

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

.l-header__link:hover,
.l-header__link.is-active {
    color: var(--primary);
}

.l-header__link:hover::after,
.l-header__link.is-active::after {
    width: 100%;
}

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

.l-header__account-btn {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--bg-dark);
    background: var(--primary);
    border: none;
    padding: 10px 24px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition);
}

.l-header__account-btn:hover {
    background: var(--primary-light);
    box-shadow: var(--shadow-gold);
}

/* 6. Mobile Menu */
.l-header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.l-header__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    transition: all var(--transition);
}

.l-header__mobile-menu {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(18, 18, 31, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
}

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

.l-header__mobile-inner {
    padding: var(--space-2xl) var(--space-lg);
}

.l-header__mobile-nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.l-header__mobile-link {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    transition: color var(--transition);
}

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

.l-header__mobile-account {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    color: var(--bg-dark);
    background: var(--primary);
    border: none;
    padding: 14px 32px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: var(--space-md);
    transition: all var(--transition);
}

.l-header__mobile-account:hover {
    background: var(--primary-light);
}

@media (max-width: 992px) {
    .l-header__nav {
        display: none;
    }
    .l-header__account-btn {
        display: none;
    }
    .l-header__burger {
        display: flex;
    }
    .l-header__mobile-menu {
        display: block;
    }
}

/* 7. Buttons */
.c-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    line-height: 1.4;
}

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

.c-btn--primary:hover {
    background: var(--primary-light);
    box-shadow: var(--shadow-gold);
    color: var(--bg-darker);
}

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

.c-btn--secondary:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--primary-light);
}

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

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

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

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

.m-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center top, rgba(212, 175, 55, 0.06) 0%, transparent 70%);
    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-white);
    margin-bottom: var(--space-md);
    letter-spacing: 2px;
}

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

.m-hero__subtitle {
    font-family: var(--font-body);
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: var(--space-lg);
}

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

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

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

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

.m-hero--404 {
    padding: 120px 0;
}

@media (max-width: 768px) {
    .m-hero__title {
        font-size: 2.4rem;
    }
    .m-hero__title--404 {
        font-size: 5rem;
    }
    .m-hero__row {
        flex-direction: column;
        text-align: center;
    }
    .m-hero__auth-buttons {
        justify-content: 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.2rem;
    font-weight: 700;
    color: var(--text-white);
    text-align: center;
    margin-bottom: var(--space-lg);
}

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

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

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

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

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

@media (max-width: 768px) {
    .m-section__title {
        font-size: 1.7rem;
    }
    .m-page-title {
        font-size: 1.9rem;
    }
}

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

.m-benefit-card {
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    text-align: center;
    transition: all var(--transition);
}

.m-benefit-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: var(--shadow-gold);
    transform: translateY(-4px);
}

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

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

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

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

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

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

.m-featured-provider__title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--primary);
    text-align: center;
    margin-bottom: var(--space-lg);
    letter-spacing: 1px;
}

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

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

.m-game-card--featured {
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition);
}

.m-game-card--featured:hover {
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: var(--shadow-gold);
    transform: translateY(-3px);
}

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

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

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

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

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

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

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

.m-game-card__title {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--text-white);
    margin-bottom: var(--space-xs);
}

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

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

/* 14. Game Tile */
.m-game-tile {
    position: relative;
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.08);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition);
}

.m-game-tile:hover {
    border-color: rgba(212, 175, 55, 0.35);
    box-shadow: var(--shadow-gold);
    transform: translateY(-3px);
}

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

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

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

.m-game-tile__play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 46, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
}

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

.m-game-tile__play-btn {
    width: 52px;
    height: 52px;
    background: var(--primary);
    color: var(--bg-darker);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

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

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

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

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

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

.m-game-tile--locked:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(212, 175, 55, 0.08);
}

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

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

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

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

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

.m-provider-section__title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    letter-spacing: 1px;
}

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

.m-filter-btn {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.1);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all var(--transition);
}

.m-filter-btn:hover {
    border-color: rgba(212, 175, 55, 0.3);
    color: var(--primary);
}

.m-filter-btn.is-active {
    background: var(--primary);
    color: var(--bg-darker);
    border-color: var(--primary);
}

/* 18. Unlock Banner */
.m-unlock-banner {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(212, 175, 55, 0.08) 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
}

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

.m-unlock-banner__content {
    flex: 1;
}

.m-unlock-banner__title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-white);
    margin-bottom: var(--space-xs);
}

.m-unlock-banner__text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

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

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

.m-faq-item {
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    overflow: hidden;
    background: var(--bg-card);
    transition: border-color var(--transition);
}

.m-faq-item:hover {
    border-color: rgba(212, 175, 55, 0.25);
}

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

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

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

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

.m-faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

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

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

/* 20. Disclaimer */
.m-disclaimer {
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
}

.m-disclaimer__text {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

.m-disclaimer__text strong {
    color: var(--primary);
}

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

/* 21. Footer */
.l-footer {
    background: var(--bg-darker);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    padding-top: var(--space-3xl);
}

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

.l-footer__logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: inline-block;
    margin-bottom: var(--space-md);
}

.l-footer__logo:hover {
    color: var(--primary-light);
}

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

.l-footer__nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.l-footer__nav-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.l-footer__nav-group {
    display: flex;
    flex-direction: column;
}

.l-footer__nav-link {
    font-size: 0.88rem;
    color: var(--text-muted);
    text-decoration: none;
    padding: var(--space-xs) 0;
    transition: color var(--transition);
}

.l-footer__nav-link:hover {
    color: var(--primary);
}

.l-footer__compliance {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-xl) 0;
    border-top: 1px solid rgba(212, 175, 55, 0.08);
    border-bottom: 1px solid rgba(212, 175, 55, 0.08);
}

.l-footer__compliance-logos {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

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

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

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

.l-footer__age-badge {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
    background: rgba(212, 175, 55, 0.2);
    border: 2px solid var(--primary);
    padding: 6px 14px;
    border-radius: var(--radius-sm);
}

.l-footer__bottom {
    padding: var(--space-lg) 0;
    text-align: center;
}

.l-footer__copyright {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
}

@media (max-width: 768px) {
    .l-footer__inner {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    .l-footer__compliance {
        flex-direction: column;
        gap: var(--space-lg);
    }
    .l-footer__compliance-logos {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* 22. Modals */
.c-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);
}

.c-modal__content {
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    max-width: 460px;
    width: 100%;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.c-modal__content--game {
    max-width: 900px;
    padding: 0;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.c-modal__content--auth {
    max-width: 440px;
    padding: var(--space-xl);
}

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

.c-modal__title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--text-white);
    text-align: center;
    margin-bottom: var(--space-md);
}

.c-modal__text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: var(--space-xl);
}

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

.c-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--text-primary);
    font-size: 1.4rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all var(--transition);
}

.c-modal__close:hover {
    background: var(--primary);
    color: var(--bg-darker);
}

.c-modal__game-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.c-modal__game-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    position: absolute;
    inset: 0;
}

/* 23. Cookie Consent */
.c-cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-darker);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding: var(--space-lg);
    z-index: 1500;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

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

.c-cookie-consent__text {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin: 0;
    flex: 1;
}

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

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

/* 24. Auth Forms */
.c-auth__tabs {
    display: flex;
    gap: 0;
    margin-bottom: var(--space-xl);
    border-bottom: 2px solid rgba(212, 175, 55, 0.1);
}

.c-auth__tab {
    flex: 1;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    background: none;
    border: none;
    padding: var(--space-md) var(--space-lg);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    transition: color var(--transition);
}

.c-auth__tab::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: transparent;
    transition: background var(--transition);
}

.c-auth__tab.is-active {
    color: var(--primary);
}

.c-auth__tab.is-active::after {
    background: var(--primary);
}

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

.c-auth__field {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
}

.c-auth__label {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.c-auth__input {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
    background: var(--bg-input);
    border: 1px solid rgba(212, 175, 55, 0.15);
    padding: 12px var(--space-md);
    border-radius: var(--radius-sm);
    outline: none;
    transition: border-color var(--transition);
}

.c-auth__input::placeholder {
    color: var(--text-muted);
}

.c-auth__input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

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

.m-account-form-card {
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
}

.m-account-form-card__title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: var(--space-lg);
}

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

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

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

.m-account-header {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
}

.m-account-header__level {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--bg-darker);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.m-account-header__info {
    flex: 1;
}

.m-account-header__name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-white);
    margin-bottom: 2px;
}

.m-account-header__email {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0;
}

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

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

.m-xp-bar {
    width: 100%;
    height: 12px;
    background: var(--bg-input);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.m-xp-bar__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
    border-radius: 6px;
    transition: width 0.6s ease;
    position: relative;
}

.m-xp-bar__fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.15) 50%, transparent 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

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

.m-account-stat {
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    text-align: center;
}

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

.m-account-stat__label {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

@media (max-width: 480px) {
    .m-account-stats {
        grid-template-columns: 1fr;
    }
    .m-account-actions {
        flex-direction: column;
    }
}

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

.m-daily-bonus__icon {
    font-size: 3.5rem;
    display: block;
    margin-bottom: var(--space-md);
}

.m-daily-bonus__title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

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

.m-daily-bonus__amount {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-xl);
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

/* 29. Content Pages */
.m-content-card {
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: var(--radius-md);
    padding: var(--space-2xl);
}

.m-content-card h2 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 1.5rem;
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

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

.m-content-card h3 {
    font-family: var(--font-heading);
    color: var(--text-white);
    font-size: 1.2rem;
}

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

.m-content-card ul,
.m-content-card ol {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

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

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

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

.m-content-card__cta {
    margin-top: var(--space-2xl);
    text-align: center;
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

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

.m-fact-card {
    background: var(--bg-input);
    border: 1px solid rgba(212, 175, 55, 0.08);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
}

.m-fact-card__icon {
    font-size: 1.5rem;
    display: block;
    margin-bottom: var(--space-sm);
}

.m-fact-card__title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--text-white);
    margin-bottom: var(--space-xs);
}

.m-fact-card__text {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

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

/* Comparison table (mobile vs desktop article) */
.m-comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-xl) 0;
}

.m-comparison-table th,
.m-comparison-table td {
    padding: var(--space-md);
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.m-comparison-table th {
    background: rgba(212, 175, 55, 0.1);
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.m-comparison-table td {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.m-comparison-table td:first-child {
    text-align: left;
    color: var(--text-white);
    font-weight: 500;
}

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

.m-breadcrumb__link {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition);
}

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

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

.m-breadcrumb__current {
    font-size: 0.85rem;
    color: var(--primary);
}

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

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

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

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

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

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

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

.m-review-game-tile span {
    font-size: 0.78rem;
    color: var(--text-muted);
    display: block;
}

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

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

.article-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition);
}

.article-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: var(--shadow-gold);
    transform: translateY(-3px);
}

.article-card__content {
    padding: var(--space-xl);
    position: relative;
    z-index: 0;
}

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

.article-card__category {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: var(--space-md);
    background: rgba(212, 175, 55, 0.1);
    padding: 4px 12px;
    border-radius: var(--radius-sm);
}

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

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

.article-card__link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

.m-review-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    transition: all var(--transition);
}

.m-review-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    box-shadow: var(--shadow-gold);
}

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

.m-review-card__title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-white);
    margin-bottom: var(--space-sm);
}

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

.m-review-card__score {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--text-secondary);
}

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

.m-review-card__stats {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.m-review-card__stat {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

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

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

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

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

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

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

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

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

::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 175, 55, 0.5);
}

/* Selection */
::selection {
    background: rgba(212, 175, 55, 0.3);
    color: var(--text-white);
}

/* Content card on smaller screens */
@media (max-width: 768px) {
    .m-content-card {
        padding: var(--space-lg);
    }
    h1 {
        font-size: 2rem;
    }
}

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

/* Section background accents */
.m-section--benefits {
    background: var(--bg-darker);
}

.m-section--featured {
    position: relative;
}

.m-section--featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

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

/* Provider filter on games page */
.m-section--unlock {
    padding: var(--space-lg) 0;
}

/* Game loading state */
.m-game-tile--loading {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}