/* =============================================
   ATOMIC SCREENS — Premium/Lакшери Design
   Playfair Display + Montserrat
   Dark #1a1a2e, Gold #d4af37
   ============================================= */

/* 1. CSS Variables (:root) */
:root {
    /* Colors */
    --primary: #d4af37;
    --primary-dark: #b8960c;
    --primary-light: #e8cc6e;
    --secondary: #2c2c4a;
    --accent: #f0d878;

    /* Backgrounds */
    --bg-dark: #1a1a2e;
    --bg-darker: #12121f;
    --bg-card: #222240;
    --bg-card-hover: #2a2a4d;
    --bg-alt: #16162b;

    /* Text */
    --text-primary: #f0ece2;
    --text-secondary: #c0b8a8;
    --text-muted: #8a8498;
    --text-gold: #d4af37;

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

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

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

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

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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 {
    list-style: none;
}

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

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

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

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

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

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

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

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: color var(--transition);
}

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

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

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

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

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

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

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

/* 6. Mobile Menu */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1100;
}

.burger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

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

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(18, 18, 31, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

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

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

.mobile-menu__link {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--text-secondary);
    transition: color var(--transition);
}

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

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

.btn--primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--bg-darker);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn--primary:hover {
    background: linear-gradient(135deg, var(--accent), var(--primary));
    color: var(--bg-darker);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
}

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

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

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

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

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

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

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

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

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

.hero__title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    line-height: 1.1;
}

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

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

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

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

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

.hero--small .hero__text {
    margin-bottom: 0;
}

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

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

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

.section--alt {
    background: var(--bg-alt);
}

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

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

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

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

.section--filter {
    padding: var(--space-lg) 0 0;
}

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

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

.section__title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    text-align: center;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
    position: relative;
}

.section__title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary);
    margin: var(--space-md) auto 0;
    border-radius: 2px;
}

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

.section__cta {
    text-align: center;
    margin-top: 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: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    text-align: center;
    transition: all var(--transition);
}

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

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

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

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

/* 12. Featured Providers */
.featured__provider-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--primary);
    text-align: center;
    margin: var(--space-xl) 0 var(--space-md);
    letter-spacing: 1px;
}

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

/* 14. Game Tile (on games page rendered by JS) */
.game-tile {
    position: relative;
    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);
}

.game-tile:hover {
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

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

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

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

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

.game-tile__title {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-tile__provider {
    font-size: 0.6875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: var(--space-xs);
}

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

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

.game-tile--locked:hover .game-tile__image img {
    transform: none;
    filter: blur(4px) grayscale(50%);
}

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

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

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

.game-tile__lock-text {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Game Card (for home page featured) */
.game-card {
    position: relative;
    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);
}

.game-card:hover {
    border-color: rgba(212, 175, 55, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

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

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

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

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

.game-card__title {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
}

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

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

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

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

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

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

.filter-btn--active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--bg-darker);
    border-color: var(--primary);
}

/* 18. Unlock Banner */
.unlock-banner {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), rgba(212, 175, 55, 0.04));
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: var(--space-md) 0;
}

.unlock-banner__content {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.unlock-banner__icon {
    font-size: 1.5rem;
}

.unlock-banner__text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

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

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

.faq-item:hover,
.faq-item.is-open {
    border-color: rgba(212, 175, 55, 0.3);
}

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

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

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

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

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

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

.faq-item__answer p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0;
}

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

.disclaimer__text {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 0;
}

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

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

.footer__logo {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: var(--space-md);
}

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

.footer__description {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.footer__title {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: var(--space-lg);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

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

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

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

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

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

.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: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--bg-darker);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.875rem;
}

.footer__bottom {
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    padding-top: var(--space-lg);
    text-align: center;
}

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

/* 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__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: 480px;
    width: 100%;
    text-align: center;
}

.modal__content h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: var(--space-md);
}

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

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

/* Game Modal */
.game-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
}

.game-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
}

.game-modal__content {
    position: relative;
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 960px;
    max-height: 90vh;
    overflow: hidden;
    z-index: 1;
}

.game-modal__content--small {
    max-width: 420px;
}

.game-modal__close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 40px;
    height: 40px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    color: var(--primary);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    z-index: 5;
    line-height: 1;
}

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

.game-modal__title {
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-heading);
    font-size: 1.125rem;
    color: var(--primary);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.game-modal__frame {
    aspect-ratio: 16 / 9;
    width: 100%;
}

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

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

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

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

/* 24. Auth Forms */
.auth-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
}

.auth-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
}

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

.auth-modal__close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 36px;
    height: 36px;
    background: none;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    color: var(--primary);
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition);
    line-height: 1;
}

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

.auth-modal__tabs {
    display: flex;
    gap: 0;
    margin-bottom: var(--space-xl);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.auth-modal__tab {
    flex: 1;
    padding: var(--space-md);
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all var(--transition);
    border-bottom: 2px solid transparent;
}

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

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

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

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

.auth-form__label {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

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

.auth-form__message {
    font-size: 0.8125rem;
    min-height: 20px;
    text-align: center;
}

.auth-form__message.success {
    color: #4ade80;
}

.auth-form__message.error {
    color: #f87171;
}

/* 25. Account Page */
.auth-page-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    max-width: 800px;
    margin: 0 auto;
}

.auth-page-card {
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}

.auth-page-card__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: var(--space-lg);
    text-align: center;
}

.account-dashboard {
    max-width: 700px;
    margin: 0 auto;
}

/* 26. Profile */
.account-card {
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.account-card--profile {
    text-align: center;
    border-color: rgba(212, 175, 55, 0.25);
}

.account-card__level-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--bg-darker);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.account-card__username {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.account-card__email {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
}

.account-card--stat {
    text-align: center;
    padding: var(--space-lg);
}

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

.account-card__stat-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-xs);
}

.account-card__stat-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 27. XP Progress */
.xp-progress {
    margin-top: var(--space-lg);
}

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

.xp-progress__bar {
    height: 10px;
    background: var(--bg-darker);
    border-radius: 5px;
    overflow: hidden;
}

.xp-progress__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-dark), var(--primary), var(--accent));
    border-radius: 5px;
    transition: width 0.8s ease;
}

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

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

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

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

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

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

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

.daily-bonus__xp {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
}

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

.content-card__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: var(--space-md);
}

.content-card__intro {
    font-size: 1.125rem;
    color: var(--text-primary);
    line-height: 1.9;
    margin-bottom: var(--space-lg);
    border-left: 3px solid var(--primary);
    padding-left: var(--space-lg);
}

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

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

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

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

.content-list__item {
    padding: var(--space-sm) 0;
    padding-left: var(--space-lg);
    position: relative;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.content-list__item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15px;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

ol .content-list__item {
    list-style-type: decimal;
    padding-left: var(--space-xl);
}

ol .content-list__item::before {
    display: none;
}

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

.contact-info p {
    margin-bottom: var(--space-sm);
    font-size: 0.9375rem;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

/* Page Title */
.page-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    color: var(--text-primary);
    margin-bottom: var(--space-xl);
    line-height: 1.2;
}

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

.breadcrumb__link {
    color: var(--text-muted);
    transition: color var(--transition);
}

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

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

.breadcrumb__current {
    color: var(--primary);
}

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

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

.review-hero__score {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
}

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

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

.review-game-item {
    background: var(--bg-darker);
    border-radius: var(--radius-sm);
    overflow: hidden;
    text-align: center;
}

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

.review-game-item__title {
    display: block;
    padding: var(--space-sm);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

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

.fact-item__icon {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

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

.fact-item__text {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

.age-restriction {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    padding: var(--space-lg);
    background: var(--bg-darker);
    border-radius: var(--radius-md);
}

.age-restriction__badge {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--bg-darker);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
}

.help-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.help-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-darker);
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
}

.help-link:hover {
    border-color: var(--primary);
    background: rgba(212, 175, 55, 0.05);
}

.help-link__name {
    font-weight: 600;
    color: var(--text-primary);
}

.help-link__url {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

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

.article-card {
    position: relative;
    background: var(--bg-card);
    border: 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);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

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

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

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

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

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

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

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

.review-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

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

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

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

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

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

.review-card__stats {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
    padding: var(--space-md) 0;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.review-card__stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.review-card__stat-value {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.review-card__stat-label {
    font-size: 0.6875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

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

.mb-0 { margin-bottom: 0; }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

/* Card position for overlay pattern */
.article-card,
.offer-card,
.card {
    position: relative;
}

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

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

@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.875rem; }

    .header__nav {
        display: none;
    }

    .header__actions .btn {
        display: none;
    }

    .burger {
        display: flex;
    }

    .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: 1fr;
    }

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

    .hero__title {
        font-size: 2.75rem;
    }

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

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

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

    .hero__content--row {
        flex-direction: column;
        text-align: center;
        gap: var(--space-lg);
    }

    .hero__auth-buttons {
        justify-content: center;
    }

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

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

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

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

    .age-restriction {
        flex-direction: column;
        text-align: center;
    }

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

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

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

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.75rem;
    }

    .modal__actions {
        flex-direction: column;
    }

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

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

    .section__title::after {
        margin-top: var(--space-sm);
    }

    .page-title {
        font-size: 1.75rem;
    }
}

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

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

    .hero__title {
        font-size: 2.25rem;
    }

    .hero__title--small {
        font-size: 1.75rem;
    }

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

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

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

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

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

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

    .help-link {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-xs);
    }

    .breadcrumb {
        flex-wrap: wrap;
    }

    .review-card__stats {
        flex-direction: column;
        gap: var(--space-md);
    }
}