/* ==========================================================================
   1. CSS Variables (:root)
   ========================================================================== */
:root {
    /* Colors - Retro Palette */
    --primary: #e8a87c;
    --primary-dark: #d4905e;
    --secondary: #85677b;
    --accent: #c97b3d;

    /* Backgrounds - Retro warm tones */
    --bg-dark: #2a1f3d;
    --bg-darker: #1e1530;
    --bg-card: #3a2d52;
    --bg-card-hover: #4a3d62;
    --bg-alt: #231a34;

    /* Text */
    --text-primary: #f4e4ba;
    --text-secondary: #c9b896;
    --text-muted: #9a8b77;

    /* Utility */
    --success: #7ec87e;
    --error: #e86464;
    --warning: #e8c84c;

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

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

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

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

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

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

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

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

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

h1 { font-size: 24px; }
h2 { font-size: 18px; }
h3 { font-size: 14px; }
h4 { font-size: 12px; }

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

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

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

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

.header__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo__text {
    font-family: var(--font-heading);
    font-size: 14px;
    color: var(--primary);
    text-shadow: 2px 2px 0 var(--accent);
    white-space: nowrap;
}

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

.header__link {
    font-family: var(--font-heading);
    font-size: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    position: relative;
}

.header__link:hover,
.header__link.is-active {
    color: var(--primary);
    background: rgba(232, 168, 124, 0.1);
}

.header__link.is-active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary);
}

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

.pixel-icon {
    font-size: 16px;
    margin-right: var(--space-xs);
}

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

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

.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(6px, -6px);
}

/* ==========================================================================
   6. Mobile Menu
   ========================================================================== */
.mobile-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-darker);
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.is-active {
    transform: translateX(0);
}

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

.mobile-menu__link {
    font-family: var(--font-heading);
    font-size: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    padding: var(--space-md);
    border: 2px solid transparent;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.mobile-menu__link:hover,
.mobile-menu__link.is-active {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(232, 168, 124, 0.1);
}

.mobile-menu__account {
    margin-top: var(--space-md);
}

/* ==========================================================================
   7. Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 10px;
    padding: 12px 24px;
    border: 3px solid transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.4;
}

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

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

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

.btn--secondary:hover {
    background: rgba(232, 168, 124, 0.1);
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--secondary);
}

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

.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 {
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 50%, var(--secondary) 100%);
    padding: var(--space-3xl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 4px solid var(--primary);
}

.m-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(232, 168, 124, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(232, 168, 124, 0.05) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
}

.m-hero__container {
    position: relative;
    z-index: 1;
}

.m-hero__container--row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
}

.m-hero__title {
    font-size: 28px;
    color: var(--primary);
    text-shadow: 3px 3px 0 var(--bg-darker);
    margin-bottom: var(--space-md);
    letter-spacing: 2px;
}

.m-hero__title--404 {
    font-size: 64px;
    color: var(--accent);
}

.m-hero__subtitle {
    font-family: var(--font-heading);
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.m-hero__text {
    font-size: 22px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto var(--space-xl);
}

.m-hero__actions {
    display: flex;
    gap: var(--space-md);
}

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

.m-hero--404 {
    padding: var(--space-3xl) 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

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

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

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

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

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

.m-section__title {
    font-size: 20px;
    text-align: center;
    color: var(--primary);
    margin-bottom: var(--space-lg);
    text-shadow: 2px 2px 0 var(--bg-darker);
}

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

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

.m-page-title {
    font-size: 22px;
    color: var(--primary);
    text-shadow: 2px 2px 0 var(--bg-darker);
    margin-bottom: var(--space-md);
}

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

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

.benefit-card {
    background: var(--bg-card);
    border: 2px solid var(--secondary);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.benefit-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 8px 0 rgba(232, 168, 124, 0.2);
}

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

.benefit-card__title {
    font-size: 11px;
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

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

/* ==========================================================================
   12. Featured Providers
   ========================================================================== */
.featured-provider__title {
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
    margin: var(--space-xl) 0 var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 2px dashed var(--secondary);
}

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

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

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

/* ==========================================================================
   14. Game Tile / Card
   ========================================================================== */
.game-card {
    position: relative;
    background: var(--bg-card);
    border: 2px solid var(--secondary);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.game-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 8px 0 rgba(232, 168, 124, 0.15);
}

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

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

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

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

.game-card--featured {
    border-color: var(--accent);
}

.game-card--small .game-card__title {
    font-size: 7px;
    padding: var(--space-xs) var(--space-sm);
}

/* ==========================================================================
   15. Game Tile Locked (games.js renders these)
   ========================================================================== */
.m-game-tile {
    position: relative;
    background: var(--bg-card);
    border: 2px solid var(--secondary);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.m-game-tile:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 8px 0 rgba(232, 168, 124, 0.15);
}

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

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

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

.m-game-tile__title {
    display: block;
    font-family: var(--font-heading);
    font-size: 8px;
    color: var(--text-primary);
    padding: var(--space-sm) var(--space-md);
    text-align: center;
    line-height: 1.5;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

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

.m-game-tile__lock-icon {
    font-size: 32px;
}

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

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

.provider-section__title {
    font-size: 16px;
    color: var(--primary);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 3px solid var(--secondary);
    text-shadow: 2px 2px 0 var(--bg-darker);
}

/* ==========================================================================
   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-heading);
    font-size: 9px;
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 2px solid var(--secondary);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s ease;
}

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

.provider-filter__btn.is-active {
    background: var(--primary);
    color: var(--bg-darker);
    border-color: var(--primary-dark);
    box-shadow: 3px 3px 0 var(--primary-dark);
}

/* ==========================================================================
   18. Unlock Banner
   ========================================================================== */
.unlock-banner {
    background: linear-gradient(90deg, var(--bg-card), var(--secondary));
    border: 3px solid var(--primary);
    border-left: none;
    border-right: none;
    padding: var(--space-lg) 0;
}

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

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

.unlock-banner__text {
    font-family: var(--font-heading);
    font-size: 9px;
    color: var(--text-primary);
    flex: 1;
    min-width: 200px;
    line-height: 1.8;
}

/* ==========================================================================
   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: 2px solid var(--secondary);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.faq-item.is-active {
    border-color: var(--primary);
}

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

.faq-item__arrow {
    font-size: 14px;
    color: var(--primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.is-active .faq-item__arrow {
    transform: rotate(180deg);
}

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

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

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

/* ==========================================================================
   20. Disclaimer
   ========================================================================== */
.disclaimer {
    background: var(--bg-card);
    border: 2px solid var(--secondary);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
}

.disclaimer__text {
    font-size: 16px;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.8;
    margin-bottom: 0;
}

.disclaimer__text strong {
    color: var(--warning);
    font-family: var(--font-heading);
    font-size: 10px;
}

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

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

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

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

.footer__title {
    font-size: 10px;
    color: var(--primary);
    margin-bottom: var(--space-md);
}

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

.footer__link {
    font-size: 18px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
    padding: var(--space-xs) 0;
}

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

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

.footer__compliance a {
    display: inline-flex;
    align-items: center;
}

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

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

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

.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 3px solid var(--error);
    border-radius: 50%;
    font-family: var(--font-heading);
    font-size: 10px;
    color: var(--error);
}

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

.footer__copyright {
    font-size: 16px;
    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;
    opacity: 0;
    visibility: hidden;
    z-index: 2000;
    transition: all 0.3s ease;
    padding: var(--space-lg);
}

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

.modal__content {
    background: var(--bg-card);
    border: 3px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    max-width: 480px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: 8px 8px 0 rgba(232, 168, 124, 0.3);
}

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

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

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

.modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-lg);
    border-bottom: 2px solid var(--secondary);
    background: var(--bg-darker);
}

.modal__title {
    font-size: 12px;
    color: var(--primary);
    margin-bottom: 0;
}

.modal__close {
    background: none;
    border: 2px solid var(--secondary);
    color: var(--text-secondary);
    font-size: 20px;
    cursor: pointer;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    font-family: var(--font-body);
}

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

.modal__body {
    width: 100%;
}

.modal__iframe {
    width: 100%;
    height: 70vh;
    max-height: 600px;
    border: none;
    display: block;
}

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

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

.pixel-decoration {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin: var(--space-md) auto;
}

/* ==========================================================================
   23. Cookie Consent
   ========================================================================== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-darker);
    border-top: 3px solid var(--primary);
    padding: var(--space-lg);
    z-index: 1500;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.cookie-consent.is-active {
    transform: translateY(0);
}

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

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

.cookie-consent__link {
    color: var(--primary);
}

.cookie-consent__btn {
    flex-shrink: 0;
}

/* ==========================================================================
   24. Auth Forms
   ========================================================================== */
.auth-tabs {
    display: flex;
    border-bottom: 2px solid var(--secondary);
    margin-bottom: var(--space-xl);
}

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

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

.auth-form__title {
    font-size: 14px;
    margin-bottom: var(--space-lg);
}

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

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

.auth-form__label {
    display: block;
    font-family: var(--font-heading);
    font-size: 9px;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

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

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

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

.auth-form__error {
    font-family: var(--font-heading);
    font-size: 9px;
    color: var(--error);
    margin-bottom: var(--space-md);
    min-height: 20px;
}

.auth-form__note {
    font-size: 16px;
    color: var(--text-muted);
    margin-top: var(--space-md);
    text-align: center;
}

.auth-form__note a {
    color: var(--primary);
}

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

.account-card {
    background: var(--bg-card);
    border: 2px solid var(--secondary);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}

.account-card__title {
    font-size: 14px;
    color: var(--primary);
    margin-bottom: var(--space-lg);
    text-align: center;
}

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

.why-register__title {
    font-size: 18px;
    text-align: center;
    color: var(--primary);
    margin-bottom: var(--space-xl);
}

/* ==========================================================================
   26. Profile
   ========================================================================== */
.account-profile {
    background: var(--bg-card);
    border: 3px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 6px 6px 0 rgba(232, 168, 124, 0.2);
}

.account-profile__header {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.account-profile__badge {
    width: 64px;
    height: 64px;
    background: var(--primary);
    color: var(--bg-darker);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 24px;
    border: 3px solid var(--primary-dark);
    box-shadow: 4px 4px 0 var(--primary-dark);
    flex-shrink: 0;
}

.account-profile__name {
    font-size: 18px;
    margin-bottom: var(--space-xs);
}

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

.account-profile__xp {
    margin-bottom: var(--space-xl);
}

.account-profile__actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-top: var(--space-xl);
}

/* ==========================================================================
   27. XP Progress
   ========================================================================== */
.xp-bar__label {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-size: 9px;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

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

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

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

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

.account-stats__item {
    background: var(--bg-darker);
    border: 2px solid var(--secondary);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    text-align: center;
}

.account-stats__value {
    display: block;
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--primary);
    margin-bottom: var(--space-xs);
}

.account-stats__label {
    display: block;
    font-size: 16px;
    color: var(--text-muted);
}

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

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

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

.m-breadcrumb__sep {
    color: var(--secondary);
    font-size: 16px;
}

.m-breadcrumb__current {
    font-size: 16px;
    color: var(--text-secondary);
}

.m-content-card {
    background: var(--bg-card);
    border: 2px solid var(--secondary);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
}

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

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

.m-content-card h3 {
    color: var(--text-secondary);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

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

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

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

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

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

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

/* 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-darker);
    border: 2px solid var(--secondary);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    text-align: center;
}

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

.info-card__title {
    font-size: 11px;
    color: var(--primary);
    margin-bottom: var(--space-sm);
}

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

/* Article Navigation */
.article-nav {
    display: flex;
    justify-content: space-between;
    gap: var(--space-md);
    margin-top: var(--space-2xl);
}

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

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

.review-hero__score {
    font-family: var(--font-heading);
    font-size: 14px;
    color: var(--primary);
}

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

/* Review Games */
.review-games {
    margin-top: var(--space-3xl);
}

.review-cta {
    text-align: center;
    margin-top: var(--space-xl);
}

/* ==========================================================================
   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: 2px solid var(--secondary);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
}

.article-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 0 rgba(232, 168, 124, 0.15);
}

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

.article-card__category {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 8px;
    color: var(--accent);
    background: rgba(201, 123, 61, 0.15);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
    border: 1px solid var(--accent);
}

.article-card__title {
    font-size: 11px;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

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

.article-card__link {
    font-family: var(--font-heading);
    font-size: 9px;
    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-xl);
}

.review-card {
    position: relative;
    background: var(--bg-card);
    border: 2px solid var(--secondary);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all 0.3s ease;
}

.review-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 0 rgba(232, 168, 124, 0.15);
}

.review-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-md);
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.review-card__title {
    font-size: 14px;
    color: var(--primary);
    margin-bottom: 0;
}

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

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

.review-card__stat {
    font-size: 16px;
    color: var(--text-secondary);
    background: var(--bg-darker);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-sm);
    border: 1px solid var(--secondary);
}

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

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

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

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

.daily-bonus__title {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: var(--space-md);
}

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

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

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

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

::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 5px;
}

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

/* ==========================================================================
   Responsive — 992px
   ========================================================================== */
@media (max-width: 992px) {
    .header__nav {
        display: none;
    }

    .header__burger {
        display: flex;
    }

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

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

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

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

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

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

/* ==========================================================================
   Responsive — 768px
   ========================================================================== */
@media (max-width: 768px) {
    h1 { font-size: 18px; }
    h2 { font-size: 14px; }

    .m-hero__title {
        font-size: 20px;
    }

    .m-hero__title--404 {
        font-size: 48px;
    }

    .m-section__title {
        font-size: 16px;
    }

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

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

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

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

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

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

    .modal__iframe {
        height: 50vh;
    }

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

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

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

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

    .article-nav {
        flex-direction: column;
    }

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

/* ==========================================================================
   Responsive — 480px
   ========================================================================== */
@media (max-width: 480px) {
    .m-hero {
        padding: var(--space-2xl) 0;
    }

    .m-hero__title {
        font-size: 16px;
    }

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

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

    .logo__text {
        font-size: 11px;
    }

    .modal__actions {
        flex-direction: column;
    }

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

    .m-hero__actions .btn {
        width: 100%;
    }

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

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

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

    .provider-filter__btn {
        font-size: 8px;
        padding: var(--space-xs) var(--space-sm);
    }
}