/* ============================================
   PageNetSoft — Скоростной (Speed/Lightning) Theme
   Fonts: Orbitron (headings), Exo 2 (body)
   Palette: Yellow, Red, Dark backgrounds, Lightning
   ============================================ */

/* 1. CSS Variables (:root) */
:root {
    /* Colors */
    --primary: #ffd000;
    --primary-dark: #ccaa00;
    --secondary: #ff3c3c;
    --accent: #ff6a00;

    /* Backgrounds */
    --bg-dark: #0a0a14;
    --bg-darker: #06060e;
    --bg-card: #12121f;
    --bg-card-hover: #1a1a2e;

    /* Text */
    --text-primary: #f0f0f5;
    --text-secondary: #b0b0c0;
    --text-muted: #6a6a80;

    /* 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: 'Exo 2', sans-serif;
    --font-heading: 'Orbitron', sans-serif;
}

/* 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: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: 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.25s ease;
}

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

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

input {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
}

/* 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: 2.5rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

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

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

/* 5. Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(10, 10, 20, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 208, 0, 0.15);
    z-index: 1000;
}

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

.logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 12px rgba(255, 208, 0, 0.4);
    transition: text-shadow 0.3s ease;
}

.logo:hover {
    color: var(--primary);
    text-shadow: 0 0 20px rgba(255, 208, 0, 0.7);
}

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

.header__link {
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: var(--space-xs) 0;
    transition: color 0.25s ease;
}

.header__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
    box-shadow: 0 0 8px rgba(255, 208, 0, 0.5);
}

.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 */
.header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
    z-index: 1010;
}

.header__burger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
    border-radius: 1px;
}

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

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

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

.mobile-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(6, 6, 14, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

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

.mobile-menu__link {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: var(--space-md) 0;
    border-bottom: 1px solid rgba(255, 208, 0, 0.1);
    transition: color 0.25s ease, padding-left 0.25s ease;
}

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

/* 7. Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: #0a0a14;
    box-shadow: 0 4px 20px rgba(255, 208, 0, 0.3);
}

.btn--primary:hover {
    box-shadow: 0 6px 30px rgba(255, 208, 0, 0.5);
    transform: translateY(-2px);
    color: #0a0a14;
}

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

.btn--secondary:hover {
    background: rgba(255, 208, 0, 0.1);
    color: var(--primary);
    box-shadow: 0 0 20px rgba(255, 208, 0, 0.15);
}

.btn--small {
    padding: 8px 18px;
    font-size: 0.8rem;
}

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

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

.btn--lightning {
    position: relative;
}

.btn--lightning .btn__lightning {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: none;
    animation: lightning-sweep 3s infinite;
}

@keyframes lightning-sweep {
    0% { left: -60px; }
    30% { left: 110%; }
    100% { left: 110%; }
}

.btn__text {
    position: relative;
    z-index: 1;
}

/* 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;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at center top, rgba(255, 208, 0, 0.08) 0%, transparent 60%),
                linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
}

.m-hero__content {
    position: relative;
    z-index: 2;
}

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

.m-hero__lightning {
    position: absolute;
    width: 3px;
    height: 200px;
    top: 10%;
    opacity: 0.15;
}

.m-hero__lightning--left {
    left: 10%;
    background: linear-gradient(180deg, var(--primary), transparent);
    transform: rotate(-15deg);
    animation: lightning-flicker 4s infinite;
}

.m-hero__lightning--right {
    right: 10%;
    background: linear-gradient(180deg, var(--secondary), transparent);
    transform: rotate(15deg);
    animation: lightning-flicker 4s infinite 1.5s;
}

@keyframes lightning-flicker {
    0%, 90%, 100% { opacity: 0.1; }
    92%, 95% { opacity: 0.6; }
    93% { opacity: 0; }
}

.m-hero__title {
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 4px;
    background: linear-gradient(135deg, var(--primary), var(--accent), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    margin-bottom: var(--space-md);
}

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

.m-hero__title--404 {
    font-size: 8rem;
    letter-spacing: 8px;
}

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

.m-hero--404 {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
}

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

.m-hero__subtitle {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    letter-spacing: 1px;
}

.m-hero__text {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 0 auto var(--space-xl);
    line-height: 1.7;
}

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

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

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

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

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

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

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

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

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

.m-section--games {
    padding: var(--space-lg) 0 var(--space-3xl);
}

.m-section__title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: var(--space-xl);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-primary);
}

.m-section__subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-top: calc(var(--space-md) * -1);
    margin-bottom: var(--space-xl);
    font-size: 1rem;
}

.m-page-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-xl);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.m-page-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-top: calc(var(--space-md) * -1);
    margin-bottom: var(--space-xl);
}

/* 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(255, 208, 0, 0.08);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 208, 0, 0.2);
    box-shadow: 0 8px 30px rgba(255, 208, 0, 0.08);
}

.benefit-card:hover::before {
    opacity: 1;
}

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

.benefit-card__title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* 12. Featured Providers */
.featured-provider__title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--primary);
    text-align: center;
    margin-bottom: var(--space-md);
    margin-top: var(--space-xl);
}

/* 13. Games Grid */
.games-grid--full {
    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;
}

/* 14. Game Tile (Featured on homepage) */
.game-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 208, 0, 0.06);
    position: relative;
}

.game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(255, 208, 0, 0.12);
    border-color: rgba(255, 208, 0, 0.2);
}

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

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

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

.game-card__overlay-play {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 20, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.game-card__play-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: #0a0a14;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 0 20px rgba(255, 208, 0, 0.4);
}

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

/* 15. Game Tile — Games Page (rendered by JS) */
.m-game-tile {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 208, 0, 0.06);
    position: relative;
}

.m-game-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(255, 208, 0, 0.12);
    border-color: rgba(255, 208, 0, 0.2);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

.m-game-tile__lock-text {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
}

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

.provider-section__title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid rgba(255, 208, 0, 0.15);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.provider-section__title::before {
    content: '⚡';
}

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

.provider-filter__btn {
    padding: 10px 20px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    background: var(--bg-card);
    border: 1px solid rgba(255, 208, 0, 0.1);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.25s ease;
}

.provider-filter__btn:hover {
    color: var(--primary);
    border-color: rgba(255, 208, 0, 0.3);
}

.provider-filter__btn.is-active {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #0a0a14;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(255, 208, 0, 0.25);
}

/* 19. Unlock Banner */
.unlock-banner {
    background: linear-gradient(135deg, rgba(255, 208, 0, 0.08), rgba(255, 106, 0, 0.08));
    border: 1px solid rgba(255, 208, 0, 0.2);
    border-radius: var(--radius-md);
    padding: var(--space-lg) var(--space-xl);
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}

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

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

/* 20. 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(255, 208, 0, 0.06);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.faq-item.is-open {
    border-color: rgba(255, 208, 0, 0.2);
}

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

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

.faq-item__icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

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

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

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

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

/* 21. Disclaimer */
.disclaimer {
    background: rgba(255, 60, 60, 0.06);
    border: 1px solid rgba(255, 60, 60, 0.15);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
}

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

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

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

/* 22. Footer */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid rgba(255, 208, 0, 0.1);
    padding: var(--space-3xl) 0 var(--space-xl);
}

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

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

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

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

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

.footer__link {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color 0.25s ease, padding-left 0.25s ease;
}

.footer__link:hover {
    color: var(--primary);
    padding-left: var(--space-sm);
}

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

.footer__compliance-link {
    display: inline-flex;
}

.footer__compliance-logo {
    height: 32px;
    width: auto;
    opacity: 0.7;
    transition: opacity 0.25s ease;
}

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

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

.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 2px solid var(--secondary);
    border-radius: 50%;
    color: var(--secondary);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 900;
}

.footer__bottom {
    border-top: 1px solid rgba(255, 208, 0, 0.08);
    padding-top: var(--space-xl);
    text-align: center;
}

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

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

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

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

.modal__content {
    background: var(--bg-card);
    border: 1px solid rgba(255, 208, 0, 0.15);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    max-width: 500px;
    width: 100%;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal__content--game {
    max-width: 95vw;
    width: 960px;
    height: 80vh;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

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

.modal__content--bonus {
    max-width: 420px;
    text-align: 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: rgba(255, 208, 0, 0.1);
    border: 1px solid rgba(255, 208, 0, 0.2);
    border-radius: 50%;
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.25s ease;
    z-index: 10;
}

.modal__close:hover {
    background: var(--primary);
    color: #0a0a14;
}

.modal__game-frame {
    flex: 1;
    width: 100%;
    height: 100%;
}

.modal__game-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* 24. Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 1px solid rgba(255, 208, 0, 0.15);
    padding: var(--space-lg);
    z-index: 1500;
    display: none;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.4);
}

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

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

.cookie-consent__text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    flex: 1;
    min-width: 250px;
}

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

/* 25. Age Verification */
.age-verify {
    text-align: center;
}

.age-verify__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: var(--space-md);
    color: var(--primary);
    text-transform: uppercase;
}

.age-verify__text {
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    font-size: 1rem;
}

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

/* 26. Auth Forms */
.auth-tabs {
    display: flex;
    margin-bottom: var(--space-xl);
    border-bottom: 2px solid rgba(255, 208, 0, 0.1);
}

.auth-tabs__btn {
    flex: 1;
    padding: var(--space-md);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: all 0.25s ease;
    cursor: pointer;
}

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

.auth-form__title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: var(--space-xl);
    text-align: center;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

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

.auth-form__label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.auth-form__input {
    width: 100%;
    padding: 12px var(--space-md);
    background: var(--bg-darker);
    border: 1px solid rgba(255, 208, 0, 0.1);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

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

.auth-form__input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 12px rgba(255, 208, 0, 0.15);
}

.auth-form__error {
    color: var(--secondary);
    font-size: 0.85rem;
    margin-bottom: var(--space-md);
    min-height: 1.2em;
}

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

.account-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 208, 0, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}

.account-card__title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
}

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

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

.why-register__title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: var(--space-xl);
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

.why-register__item {
    text-align: center;
    padding: var(--space-lg);
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 208, 0, 0.06);
}

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

.why-register__item h3 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.why-register__item p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* 28. Dashboard / Profile */
.dashboard {
    max-width: 700px;
    margin: 0 auto;
}

.dashboard__header {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    padding: var(--space-xl);
    background: var(--bg-card);
    border: 1px solid rgba(255, 208, 0, 0.1);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-xl);
}

.dashboard__level-badge {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(255, 208, 0, 0.3);
}

.dashboard__level-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: #0a0a14;
    line-height: 1;
}

.dashboard__level-label {
    font-family: var(--font-heading);
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #0a0a14;
    letter-spacing: 1px;
}

.dashboard__info {
    flex: 1;
}

.dashboard__username {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.dashboard__email {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* 29. XP Progress */
.dashboard__xp {
    background: var(--bg-card);
    border: 1px solid rgba(255, 208, 0, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.dashboard__xp-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-md);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.dashboard__xp-bar {
    height: 12px;
    background: var(--bg-darker);
    border-radius: 6px;
    overflow: hidden;
}

.dashboard__xp-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--secondary));
    border-radius: 6px;
    transition: width 0.6s ease;
    box-shadow: 0 0 10px rgba(255, 208, 0, 0.4);
}

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

.dashboard__stat {
    background: var(--bg-card);
    border: 1px solid rgba(255, 208, 0, 0.08);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    text-align: center;
}

.dashboard__stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: var(--space-xs);
}

.dashboard__stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

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

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

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

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

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

.daily-bonus__xp {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    text-shadow: 0 0 20px rgba(255, 208, 0, 0.5);
}

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

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

.m-breadcrumb__link {
    color: var(--text-muted);
    transition: color 0.25s ease;
}

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

.m-breadcrumb__sep {
    color: var(--primary);
    font-size: 0.7rem;
}

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

.m-content-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 208, 0, 0.06);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
}

.m-content-card h2 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
}

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

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

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

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

.m-content-card ul {
    list-style: disc;
}

.m-content-card ol {
    list-style: decimal;
}

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

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

.m-content-card__intro {
    font-size: 1.1rem;
    color: var(--text-primary) !important;
    border-left: 3px solid var(--primary);
    padding-left: var(--space-lg);
    margin-bottom: var(--space-xl) !important;
}

.m-content-card__cta {
    margin-top: var(--space-xl);
    text-align: center;
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 208, 0, 0.1);
}

/* Responsible Gaming Facts */
.responsible-facts {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.responsible-fact {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-lg);
    background: var(--bg-darker);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 208, 0, 0.06);
}

.responsible-fact__icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.responsible-fact strong {
    color: var(--text-primary);
    display: block;
    margin-bottom: var(--space-xs);
}

.responsible-fact p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Help Resources */
.help-resources {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.help-resource {
    background: var(--bg-darker);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 208, 0, 0.06);
}

.help-resource h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--primary);
    margin-top: 0;
    margin-bottom: var(--space-sm);
}

.help-resource p {
    font-size: 0.9rem;
    margin-bottom: var(--space-md);
}

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

.article-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 208, 0, 0.06);
    border-radius: var(--radius-md);
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(255, 208, 0, 0.1);
    border-color: rgba(255, 208, 0, 0.2);
}

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

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

.article-card__category {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #0a0a14;
    background: var(--primary);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
}

.article-card__title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

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

.article-card__meta {
    font-size: 0.8rem;
    color: var(--text-muted);
}

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

.review-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 208, 0, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    position: relative;
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(255, 208, 0, 0.1);
    border-color: rgba(255, 208, 0, 0.2);
}

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

.review-card__title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-sm);
}

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

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

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

.review-card__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.review-card__stat {
    text-align: center;
    padding: var(--space-sm);
    background: var(--bg-darker);
    border-radius: var(--radius-sm);
}

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

.review-card__stat-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

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

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

.review-hero__score {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-secondary);
}

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

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

.review-game-item {
    text-align: center;
}

.review-game-item__img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-xs);
}

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

/* 34. Stars */
.stars {
    color: #ffc107;
}

/* 35. Utility Classes */
.text-center { text-align: center; }
.text-primary-color { color: var(--primary); }

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

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

::-webkit-scrollbar-thumb {
    background: rgba(255, 208, 0, 0.2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 208, 0, 0.4);
}

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

@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: repeat(2, 1fr);
    }

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

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

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

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

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

@media (max-width: 768px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.4rem; }

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

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

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

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

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

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

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

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

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

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

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

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

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

    .modal__content {
        padding: var(--space-lg);
    }

    .modal__content--game {
        width: 100%;
        height: 75vh;
    }

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

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

@media (max-width: 480px) {
    .m-hero__title {
        font-size: 1.6rem;
        letter-spacing: 2px;
    }

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

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

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

    .btn--large {
        padding: 14px 28px;
        font-size: 0.85rem;
    }

    .age-verify__actions {
        flex-direction: column;
    }

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

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

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