/* ============================================
   MallTimings - Social Casino
   Stylistic: #4 Скоростной
   Palette: Yellow, Red, Lightning, Speed
   Fonts: Orbitron / Exo 2
   ============================================ */

/* 1. CSS Variables (:root) */
:root {
    /* Colors - Speed / Lightning palette */
    --primary: #FFD600;
    --primary-dark: #E6C000;
    --secondary: #FF1744;
    --accent: #FF6D00;

    /* Backgrounds */
    --bg-dark: #0a0a14;
    --bg-darker: #050510;
    --bg-card: #12122a;
    --bg-card-hover: #1a1a3a;

    /* Text */
    --text-primary: #f0f0f5;
    --text-secondary: #b0b0c8;
    --text-muted: #6a6a8a;

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

    /* Effects */
    --glow-primary: 0 0 20px rgba(255, 214, 0, 0.3);
    --glow-secondary: 0 0 20px rgba(255, 23, 68, 0.3);
    --glow-accent: 0 0 15px rgba(255, 109, 0, 0.25);
    --lightning-gradient: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, var(--secondary) 100%);
    --speed-gradient: linear-gradient(90deg, var(--secondary) 0%, var(--primary) 100%);
}

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

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

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

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

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

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

ul, ol {
    list-style: none;
}

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

input {
    font-family: inherit;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-lg) 0;
}

th, td {
    padding: var(--space-sm) var(--space-md);
    text-align: left;
    border-bottom: 1px solid rgba(255, 214, 0, 0.1);
}

th {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--primary);
    letter-spacing: 1px;
}

td {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

h1 { font-size: 2.5rem; font-weight: 900; }
h2 { font-size: 1.8rem; font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 700; }

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

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

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

/* 5. Header */
.m-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(10, 10, 20, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 2px solid rgba(255, 214, 0, 0.15);
    z-index: 1000;
    transition: background 0.3s ease;
}

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

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

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

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

.m-header__link {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: var(--space-sm) 0;
    position: relative;
    transition: color 0.3s ease;
}

.m-header__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--speed-gradient);
    transition: width 0.3s ease;
}

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

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

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

.m-header__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
    z-index: 1001;
}

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

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

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

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

/* 6. Mobile Menu */
.m-mobile-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 20, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.m-mobile-menu__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: var(--space-xl);
}

.m-mobile-menu__link {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

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

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

.btn--primary {
    background: var(--lightning-gradient);
    color: #0a0a14;
    box-shadow: var(--glow-primary);
}

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

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

.btn--secondary:hover {
    background: rgba(255, 214, 0, 0.1);
    color: var(--primary);
    transform: translateY(-2px);
}

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

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

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

.btn--account {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 8px 20px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.btn--account:hover {
    background: rgba(255, 214, 0, 0.1);
    box-shadow: var(--glow-primary);
}

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

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

/* 9. Hero Section */
.m-hero {
    position: relative;
    padding: var(--space-3xl) 0;
    text-align: center;
    overflow: hidden;
    background: radial-gradient(ellipse at center top, rgba(255, 214, 0, 0.08) 0%, transparent 60%),
                radial-gradient(ellipse at 80% 50%, rgba(255, 23, 68, 0.05) 0%, transparent 50%),
                var(--bg-darker);
}

.m-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5 L32 25 L30 30 L28 25Z' fill='rgba(255,214,0,0.03)'/%3E%3C/svg%3E");
    pointer-events: none;
}

.m-hero__container {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

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

.m-hero__title {
    font-size: 3rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: var(--lightning-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-md);
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% { filter: drop-shadow(0 0 5px rgba(255, 214, 0, 0.3)); }
    100% { filter: drop-shadow(0 0 15px rgba(255, 214, 0, 0.6)); }
}

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

.m-hero__subtitle {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-md);
}

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

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

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

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

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

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

.m-section__title {
    font-size: 2rem;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: var(--space-lg);
    position: relative;
}

.m-section__title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--speed-gradient);
    margin: var(--space-sm) auto 0;
    border-radius: 2px;
}

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

.m-section__text {
    text-align: center;
    color: var(--text-muted);
}

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

.m-section__divider {
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 214, 0, 0.2) 50%, transparent 100%);
    margin: var(--space-2xl) 0;
}

.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--filter {
    padding: var(--space-md) 0;
}

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

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

.m-page-title {
    font-size: 2.2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: var(--space-md);
}

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

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

.benefit-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 214, 0, 0.1);
    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: var(--speed-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 214, 0, 0.3);
    box-shadow: var(--glow-primary);
}

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

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

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

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

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

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

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

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

.m-game-tile:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 214, 0, 0.3);
    box-shadow: var(--glow-primary);
}

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

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

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

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

.m-game-tile__title {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.m-game-tile__provider {
    font-size: 0.7rem;
    color: var(--text-muted);
    display: block;
    margin-top: 2px;
}

/* Game Card for featured */
.game-card {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(255, 214, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 214, 0, 0.3);
    box-shadow: var(--glow-primary);
}

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

.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__info {
    padding: var(--space-sm) var(--space-md);
}

.game-card__title {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-card__provider {
    font-size: 0.7rem;
    color: var(--text-muted);
    display: block;
    margin-top: 2px;
}

/* 15. Game Tile Locked */
.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(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;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.provider-section__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid rgba(255, 214, 0, 0.1);
}

.provider-section__title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
}

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

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

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

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

.provider-filter__btn.is-active {
    background: var(--lightning-gradient);
    color: #0a0a14;
    border-color: transparent;
    box-shadow: var(--glow-primary);
}

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

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

.m-filter__btn.is-active {
    background: var(--lightning-gradient);
    color: #0a0a14;
    border-color: transparent;
    box-shadow: var(--glow-primary);
}

/* 18. Unlock Banner */
.unlock-banner {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    background: linear-gradient(135deg, rgba(255, 23, 68, 0.1) 0%, rgba(255, 214, 0, 0.1) 100%);
    border: 1px solid rgba(255, 214, 0, 0.2);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
}

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

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

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

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

.faq-item {
    border: 1px solid rgba(255, 214, 0, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    overflow: hidden;
    background: var(--bg-card);
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(255, 214, 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-heading);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

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

.faq-item__icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: var(--space-md);
}

.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.4s ease;
    padding: 0 var(--space-lg);
}

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

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

/* 20. Disclaimer */
.disclaimer {
    background: var(--bg-card);
    border: 1px solid rgba(255, 23, 68, 0.15);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
}

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

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

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

.disclaimer a:hover {
    text-decoration: underline;
}

/* 21. Footer */
.m-footer {
    background: var(--bg-darker);
    border-top: 2px solid rgba(255, 214, 0, 0.1);
    padding: var(--space-2xl) 0 var(--space-lg);
}

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

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

.m-footer__logo .logo {
    font-size: 1.3rem;
    display: inline-block;
    margin-bottom: var(--space-sm);
}

.m-footer__description {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.m-footer__title {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: var(--space-md);
}

.m-footer__links {
    list-style: none;
}

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

.m-footer__links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

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

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

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

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

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

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

.m-footer__bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: var(--space-xs);
}

.m-footer__address {
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0.7;
}

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

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

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

.modal__content {
    position: relative;
    z-index: 2;
    background: var(--bg-card);
    border: 1px solid rgba(255, 214, 0, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    max-width: 480px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

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

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

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

.modal__close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    font-size: 1.8rem;
    color: var(--text-muted);
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
    z-index: 3;
}

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

.modal--game .modal__content--game {
    max-width: 95vw;
    width: 1100px;
    padding: 0;
    overflow: hidden;
    background: #000;
}

.modal__game-container {
    position: relative;
    width: 100%;
    padding-top: 62.5%;
}

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

.modal--game .modal__close {
    position: absolute;
    top: var(--space-sm);
    right: var(--space-sm);
    background: rgba(10, 10, 20, 0.8);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--primary);
    z-index: 10;
}

.modal--auth .modal__content--auth {
    max-width: 420px;
    text-align: left;
    padding: var(--space-xl);
}

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

/* 23. Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 2px solid rgba(255, 214, 0, 0.2);
    padding: var(--space-lg);
    z-index: 3000;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

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

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

.cookie-consent__content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0;
    flex: 1;
}

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

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

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

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

.auth-form__title {
    font-size: 1.2rem;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
}

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

.auth-form__group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
    margin-bottom: var(--space-xs);
}

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

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

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

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

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

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

.account-card__title {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: var(--space-lg);
    text-align: center;
}

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

.why-register__title {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: var(--space-xl);
}

.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, 214, 0, 0.08);
}

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

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

.why-register__item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* 26. Profile */
.account-profile {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid rgba(255, 214, 0, 0.15);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
}

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

.account-profile__badge {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--lightning-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 900;
    color: #0a0a14;
    flex-shrink: 0;
    box-shadow: var(--glow-primary);
}

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

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

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

.xp-progress__header {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--space-sm);
    font-family: var(--font-heading);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-secondary);
}

.xp-progress__bar {
    width: 100%;
    height: 12px;
    background: var(--bg-darker);
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid rgba(255, 214, 0, 0.1);
}

.xp-progress__fill {
    height: 100%;
    background: var(--speed-gradient);
    border-radius: 6px;
    transition: width 0.6s ease;
    box-shadow: 0 0 10px rgba(255, 214, 0, 0.3);
}

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

.account-stats__item {
    text-align: center;
    padding: var(--space-md);
    background: var(--bg-darker);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 214, 0, 0.08);
}

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

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

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

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

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

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

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

.daily-bonus__xp {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: var(--space-lg);
    text-shadow: 0 0 15px rgba(255, 214, 0, 0.5);
}

/* 29. Content Pages */
.m-content-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 214, 0, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
}

.m-content-card h2 {
    font-size: 1.4rem;
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
    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-sm);
    color: var(--text-primary);
}

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

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

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

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

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

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

.m-content-card a {
    color: var(--primary);
    text-decoration: underline;
    text-decoration-color: rgba(255, 214, 0, 0.3);
}

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

.m-content-card__cta {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 214, 0, 0.1);
}

.m-breadcrumb {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: var(--space-xl);
}

.m-breadcrumb a {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

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

.m-breadcrumb__sep {
    margin: 0 var(--space-sm);
    color: var(--primary);
}

/* Responsible Gaming */
.responsible-facts {
    display: grid;
    gap: var(--space-md);
    margin: var(--space-lg) 0;
}

.responsible-fact {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
    padding: var(--space-md);
    background: rgba(255, 214, 0, 0.03);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 214, 0, 0.08);
}

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

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

.responsible-fact p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Review Pages */
.review-hero {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.review-hero__tagline {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-top: var(--space-sm);
}

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

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

.review-game-item img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 214, 0, 0.08);
    margin-bottom: var(--space-xs);
}

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

/* Review Cards (reviews page) */
.reviews-cards {
    display: grid;
    gap: var(--space-xl);
    max-width: 800px;
    margin: 0 auto;
}

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

.review-card:hover {
    border-color: rgba(255, 214, 0, 0.3);
    box-shadow: var(--glow-primary);
}

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

.review-card__title {
    font-size: 1.3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.review-card__text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    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: 0.85rem;
    color: var(--text-muted);
    background: var(--bg-darker);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-sm);
}

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

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

.article-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 214, 0, 0.3);
    box-shadow: var(--glow-primary);
}

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

.article-card__category {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: var(--space-sm);
    display: block;
}

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

.article-card__excerpt {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

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

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

.stars--lg {
    font-size: 1.5rem;
    letter-spacing: 3px;
}

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

.hidden {
    display: none !important;
}

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

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

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

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

/* Speed lines animation for hero */
@keyframes speedLines {
    0% { transform: translateX(-100%); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateX(100vw); opacity: 0; }
}

/* Lightning flash effect */
@keyframes lightningFlash {
    0%, 100% { opacity: 0; }
    50% { opacity: 0.05; }
}

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

@media (max-width: 992px) {
    .m-header__nav {
        display: none;
    }

    .m-header__burger {
        display: flex;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    .m-content-card__cta {
        flex-direction: column;
    }

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

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

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

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

    .modal__content {
        padding: var(--space-xl);
        width: 95%;
    }

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

    .review-card__stats {
        flex-direction: column;
    }
}

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

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

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

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

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

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

    .modal__actions {
        flex-direction: column;
    }

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