/* ============================================
   YouTellBrisk - Soft UI Style
   Fonts: Lexend (body) + Red Hat Display (heading)
   Palette: Light #e0e5ec, soft shadows
   ============================================ */

/* 1. CSS Variables (:root) */
:root {
    /* Colors - Soft UI Palette */
    --primary: #6c5ce7;
    --primary-dark: #5a4bd1;
    --primary-light: #a29bfe;
    --secondary: #00b894;
    --accent: #fd79a8;

    /* Backgrounds - Soft UI Light */
    --bg-dark: #e0e5ec;
    --bg-darker: #d1d9e6;
    --bg-card: #e0e5ec;
    --bg-input: #e0e5ec;
    --bg-hero: #d1d9e6;

    /* Text */
    --text-primary: #2d3436;
    --text-secondary: #636e72;
    --text-muted: #b2bec3;
    --text-light: #dfe6e9;

    /* Soft UI Shadows */
    --shadow-light: -6px -6px 12px rgba(255, 255, 255, 0.8);
    --shadow-dark: 6px 6px 12px rgba(163, 177, 198, 0.6);
    --shadow-inset-light: inset -3px -3px 7px rgba(255, 255, 255, 0.7);
    --shadow-inset-dark: inset 3px 3px 7px rgba(163, 177, 198, 0.5);

    /* Combined soft shadows */
    --shadow-soft: -6px -6px 12px rgba(255, 255, 255, 0.8), 6px 6px 12px rgba(163, 177, 198, 0.6);
    --shadow-soft-sm: -3px -3px 6px rgba(255, 255, 255, 0.8), 3px 3px 6px rgba(163, 177, 198, 0.6);
    --shadow-soft-inset: inset -3px -3px 7px rgba(255, 255, 255, 0.7), inset 3px 3px 7px rgba(163, 177, 198, 0.5);
    --shadow-soft-lg: -10px -10px 20px rgba(255, 255, 255, 0.8), 10px 10px 20px rgba(163, 177, 198, 0.6);

    /* 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: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 50px;

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

    /* Fonts */
    --font-body: 'Lexend', sans-serif;
    --font-heading: 'Red Hat Display', sans-serif;

    /* Transitions */
    --transition: all 0.3s ease;
}

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

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

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    font-weight: 400;
    font-size: 16px;
    min-height: 100vh;
}

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

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

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

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

h1 { font-size: 2.5rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }

p {
    margin-bottom: 1rem;
}

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

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

/* 5. Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    z-index: 1000;
    background: var(--bg-dark);
    box-shadow: var(--shadow-soft-sm);
}

.header__nav {
    height: 100%;
}

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

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

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

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

.header__link {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    padding: var(--space-sm) 0;
    position: relative;
    transition: var(--transition);
}

.header__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: 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);
}

.header__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: var(--bg-dark);
    border: none;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-soft-sm);
    cursor: pointer;
    gap: 5px;
    padding: 0;
}

.header__burger span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

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

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

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

/* 6. Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-dark);
    z-index: 999;
    overflow-y: auto;
}

.mobile-menu.is-active {
    display: block;
}

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

.mobile-menu__link {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    background: var(--bg-dark);
    box-shadow: var(--shadow-soft-sm);
    transition: var(--transition);
}

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

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

.btn--primary {
    background: var(--primary);
    color: #fff;
    box-shadow: -3px -3px 6px rgba(255, 255, 255, 0.5), 3px 3px 6px rgba(108, 92, 231, 0.4);
}

.btn--primary:hover {
    background: var(--primary-dark);
    color: #fff;
    box-shadow: -2px -2px 4px rgba(255, 255, 255, 0.5), 4px 4px 8px rgba(108, 92, 231, 0.5);
    transform: translateY(-1px);
}

.btn--secondary {
    background: var(--bg-dark);
    color: var(--text-primary);
    box-shadow: var(--shadow-soft-sm);
}

.btn--secondary:hover {
    color: var(--primary);
    box-shadow: var(--shadow-soft-inset);
}

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

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

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

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

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

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

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

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

.m-hero__text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto var(--space-xl);
    line-height: 1.8;
}

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

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

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

.m-hero__title--404 {
    font-size: 8rem;
    color: var(--primary-light);
    text-shadow: -4px -4px 8px rgba(255,255,255,0.8), 4px 4px 8px rgba(163,177,198,0.6);
}

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

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

.m-hero__col .m-hero__text {
    margin: 0;
    text-align: left;
}

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

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

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

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

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

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

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

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

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

.m-section--page-top {
    padding-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-radius: var(--radius-md);
    padding: var(--space-xl);
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
}

.benefit-card:hover {
    box-shadow: var(--shadow-soft-lg);
    transform: translateY(-2px);
}

.benefit-card__icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    margin-left: auto;
    margin-right: auto;
    background: var(--bg-dark);
    border-radius: 50%;
    box-shadow: var(--shadow-soft-inset);
}

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

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

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

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

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

/* 14. Game Tile / Card */
.game-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.game-card:hover {
    box-shadow: var(--shadow-soft-lg);
    transform: translateY(-3px);
}

.game-card__image {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--bg-darker);
}

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

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

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

/* Game tile for games.php */
.m-game-tile {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.m-game-tile:hover {
    box-shadow: var(--shadow-soft-lg);
    transform: translateY(-3px);
}

.m-game-tile__image {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--bg-darker);
    position: relative;
}

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

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

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

.m-game-tile__provider {
    display: block;
    padding: 0 var(--space-md) var(--space-sm);
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
}

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

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

.m-game-tile--locked:hover {
    transform: none;
    box-shadow: var(--shadow-soft);
}

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

.m-game-tile__lock-overlay {
    position: absolute;
    inset: 0;
    background: rgba(45, 52, 54, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    backdrop-filter: blur(2px);
}

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

.m-game-tile__lock-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
    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: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 3px solid var(--primary-light);
    display: inline-block;
}

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

.provider-filter__btn {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 10px 22px;
    border: none;
    border-radius: var(--radius-full);
    background: var(--bg-dark);
    color: var(--text-secondary);
    box-shadow: var(--shadow-soft-sm);
    cursor: pointer;
    transition: var(--transition);
}

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

.provider-filter__btn.is-active {
    background: var(--primary);
    color: #fff;
    box-shadow: inset -2px -2px 4px rgba(90, 75, 209, 0.3), inset 2px 2px 4px rgba(108, 92, 231, 0.8);
}

/* 18. Unlock Banner */
.unlock-banner {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    margin-bottom: var(--space-xl);
    box-shadow: var(--shadow-soft);
    border-left: 4px solid var(--primary);
}

.unlock-banner.is-hidden {
    display: none;
}

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

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

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

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

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

.faq-item {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: var(--transition);
}

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

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

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

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

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

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

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

.faq-item.is-active {
    box-shadow: var(--shadow-soft-inset);
}

/* 20. Disclaimer */
.disclaimer {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    box-shadow: var(--shadow-soft-sm);
    border-left: 4px solid var(--accent);
}

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

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

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

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

.footer__top {
    display: flex;
    justify-content: space-between;
    gap: var(--space-3xl);
    margin-bottom: var(--space-2xl);
}

.footer__brand {
    flex: 1;
    max-width: 380px;
}

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

.footer__description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.footer__links {
    display: flex;
    gap: var(--space-3xl);
}

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

.footer__title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.footer__link {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer__bottom {
    border-top: 2px solid rgba(163, 177, 198, 0.3);
    padding-top: var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

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

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

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

.footer__compliance-logo--light-bg {
    background: #fff;
    padding: 4px 8px;
    border-radius: 4px;
}

.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-dark);
    color: var(--accent);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 50%;
    box-shadow: var(--shadow-soft-sm);
}

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

/* 22. Modals */
.modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    z-index: 2000;
    transition: var(--transition);
}

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

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(45, 52, 54, 0.6);
    backdrop-filter: blur(4px);
}

.modal__content {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    max-width: 480px;
    width: 90%;
    box-shadow: var(--shadow-soft-lg);
    z-index: 1;
    max-height: 90vh;
    overflow-y: auto;
}

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

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

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

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

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

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

.modal__close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--text-secondary);
    cursor: pointer;
    box-shadow: var(--shadow-soft-sm);
    transition: var(--transition);
    z-index: 5;
}

.modal__close:hover {
    color: var(--text-primary);
    box-shadow: var(--shadow-soft-inset);
}

/* Game Modal */
.game-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-lg);
    background: var(--bg-darker);
}

.game-modal__title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.game-modal__close {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    box-shadow: var(--shadow-soft-sm);
    transition: var(--transition);
}

.game-modal__close:hover {
    color: var(--text-primary);
    box-shadow: var(--shadow-soft-inset);
}

.game-modal__body {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--bg-darker);
}

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

/* 23. Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    box-shadow: 0 -4px 20px rgba(163, 177, 198, 0.5);
    z-index: 1500;
    padding: var(--space-lg);
    display: none;
}

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

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

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

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

/* 24. Auth Forms */
.auth-tabs {
    display: flex;
    gap: var(--space-xs);
    margin-bottom: var(--space-xl);
    background: var(--bg-darker);
    border-radius: var(--radius-full);
    padding: 4px;
}

.auth-tabs__btn {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: var(--radius-full);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.auth-tabs__btn.is-active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 2px 8px rgba(108, 92, 231, 0.3);
}

.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.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.auth-form__input {
    padding: 12px 18px;
    border: none;
    border-radius: var(--radius-md);
    background: var(--bg-input);
    box-shadow: var(--shadow-soft-inset);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
    transition: var(--transition);
    outline: none;
}

.auth-form__input:focus {
    box-shadow: var(--shadow-soft-inset), 0 0 0 2px var(--primary-light);
}

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

.auth-form__error {
    font-size: 0.85rem;
    color: var(--accent);
    min-height: 1.2em;
}

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

.auth-page-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-soft);
}

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

.auth-page-card__text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

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

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

/* 26. Profile */
.account-profile {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
    padding: var(--space-xl);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.account-profile__badge {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-dark);
    border-radius: 50%;
    box-shadow: var(--shadow-soft-inset);
    flex-shrink: 0;
}

.account-profile__level {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
}

.account-profile__name {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2px;
}

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

/* 27. XP Progress */
.account-xp {
    margin-bottom: var(--space-xl);
    padding: var(--space-lg);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.account-xp__header {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.account-xp__bar {
    height: 14px;
    background: var(--bg-dark);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-soft-inset);
    overflow: hidden;
}

.account-xp__progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: var(--radius-full);
    transition: width 0.5s ease;
    box-shadow: 0 0 8px rgba(108, 92, 231, 0.4);
}

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

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

.account-stat__value {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 2px;
}

.account-stat__label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

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

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

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

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

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

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

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

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

/* 29. Content Pages */
.m-content-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-soft);
    line-height: 1.8;
}

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

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

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

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

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

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

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

.m-content-card__cta {
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 2px solid rgba(163, 177, 198, 0.3);
    text-align: center;
}

.m-content-card__cta p {
    font-size: 1.05rem;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: var(--space-md);
}

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

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

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

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

.m-breadcrumb__current {
    color: var(--text-secondary);
    font-weight: 500;
}

.m-page-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-xl);
    line-height: 1.3;
}

/* Table */
.m-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: var(--space-lg) 0;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft-sm);
}

.m-table th,
.m-table td {
    padding: var(--space-md);
    text-align: left;
}

.m-table th {
    background: var(--bg-darker);
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.m-table td {
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(163, 177, 198, 0.2);
}

.m-table tr:last-child td {
    border-bottom: none;
}

/* Info Cards (responsible page) */
.info-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin: var(--space-xl) 0;
}

.info-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    text-align: center;
    box-shadow: var(--shadow-soft);
}

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

.info-card__title {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.info-card__text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* 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-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.review-hero__meta {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

.review-game-tile {
    background: var(--bg-dark);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-soft-sm);
    text-align: center;
}

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

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

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

.article-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    position: relative;
}

.article-card:hover {
    box-shadow: var(--shadow-soft-lg);
    transform: translateY(-3px);
}

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

.article-card__category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary);
    background: var(--bg-darker);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
}

.article-card__title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    line-height: 1.4;
}

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

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

.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 {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    box-shadow: var(--shadow-soft-lg);
    transform: translateY(-3px);
}

.review-card__header {
    padding: var(--space-xl) var(--space-xl) var(--space-md);
}

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

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

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

.review-card__body {
    padding: 0 var(--space-xl);
    flex: 1;
}

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

.review-card__stats {
    display: flex;
    gap: var(--space-xl);
    margin-top: var(--space-md);
}

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

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

.review-card__stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.review-card__footer {
    padding: var(--space-lg) var(--space-xl) var(--space-xl);
}

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

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

.hidden {
    display: none !important;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

    .header__menu {
        display: none;
    }

    .header__burger {
        display: flex;
    }

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

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

    .m-hero__col .m-hero__text {
        text-align: center;
    }
}

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

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

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

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

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

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

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

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

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

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

    .info-cards {
        grid-template-columns: 1fr;
    }

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

    .footer__top {
        flex-direction: column;
        gap: var(--space-xl);
    }

    .footer__brand {
        max-width: 100%;
    }

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

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

    .footer__compliance {
        justify-content: center;
    }

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

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

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

    .auth-page-card {
        padding: var(--space-lg);
    }

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

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

    .account-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-sm);
    }

    .account-stat {
        padding: var(--space-md);
    }

    .account-stat__value {
        font-size: 1.375rem;
    }

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

    .provider-filter__btn {
        padding: 8px 14px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 15px;
    }

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

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

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

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

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

    .modal__content {
        padding: var(--space-lg);
        margin: var(--space-md);
        width: calc(100% - 2 * var(--space-md));
    }

    .modal__actions {
        flex-direction: column;
    }

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

    .review-hero__meta {
        flex-wrap: wrap;
    }

    .m-hero__col--actions {
        flex-direction: column;
        width: 100%;
    }

    .m-hero__col--actions .btn {
        width: 100%;
    }
}