/* ==========================================================================
   COMVINT.COM — Social Casino
   Stylistic: #3 Паучий (Spider)
   Palette: Red, Blue, Web patterns
   Fonts: Bangers (display) + Nunito (body)
   ========================================================================== */

/* ==========================================================================
   1. CSS Variables (:root)
   ========================================================================== */
:root {
    /* Colors — Spider palette */
    --primary: #e23636;
    --primary-dark: #b71c1c;
    --primary-light: #ff5252;
    --secondary: #1565c0;
    --secondary-dark: #0d47a1;
    --secondary-light: #42a5f5;
    --accent: #ffca28;
    --accent-dark: #f9a825;

    /* Backgrounds */
    --bg-dark: #0a1128;
    --bg-darker: #060d1f;
    --bg-card: #111d3a;
    --bg-card-hover: #162548;
    --bg-surface: #0e1830;

    /* Text */
    --text-primary: #f0f0f5;
    --text-secondary: #b0b8d0;
    --text-muted: #6a7599;
    --text-on-primary: #ffffff;

    /* 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;
    --radius-xl: 24px;

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

    /* Fonts — Bangers + Nunito */
    --font-body: 'Nunito', sans-serif;
    --font-heading: 'Bangers', cursive;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow-red: 0 0 20px rgba(226, 54, 54, 0.4);
    --shadow-glow-blue: 0 0 20px rgba(21, 101, 192, 0.4);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.25s ease;
    --transition-slow: 0.4s ease;
}

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

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

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

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

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

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);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 1px;
    color: var(--text-primary);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.3rem; }

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

strong {
    font-weight: 700;
}

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

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

/* ==========================================================================
   5. Header
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(10, 17, 40, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 2px solid var(--primary);
    z-index: 1000;
    transition: background var(--transition-base);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Logo */
.logo {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(226, 54, 54, 0.5), 2px 2px 0 var(--secondary);
    transition: text-shadow var(--transition-base);
    position: relative;
}

.logo:hover {
    color: var(--primary-light);
    text-shadow: 0 0 20px rgba(226, 54, 54, 0.8), 2px 2px 0 var(--secondary-light);
}

.logo--footer {
    font-size: 1.8rem;
}

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

.site-header__link {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-secondary);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: var(--space-sm) 0;
    position: relative;
    transition: color var(--transition-fast);
}

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

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

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

.site-header__link.is-active {
    color: var(--primary-light);
}

/* Header Actions */
.site-header__actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

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

.burger__line {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: transform var(--transition-base), opacity var(--transition-base);
}

.burger.is-open .burger__line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.burger.is-open .burger__line:nth-child(2) {
    opacity: 0;
}

.burger.is-open .burger__line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(6, 13, 31, 0.97);
    backdrop-filter: blur(12px);
    z-index: 999;
    overflow-y: auto;
}

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

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

.mobile-menu__link {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    transition: background var(--transition-fast), color var(--transition-fast);
    letter-spacing: 1px;
}

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

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

    .burger {
        display: flex;
    }
}

/* ==========================================================================
   7. Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 1.5px;
    padding: 12px 28px;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-base);
    white-space: nowrap;
    line-height: 1.3;
}

.btn--primary {
    background: var(--primary);
    color: var(--text-on-primary);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow-red);
}

.btn--primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    box-shadow: 0 0 30px rgba(226, 54, 54, 0.6);
    color: var(--text-on-primary);
    transform: translateY(-2px);
}

.btn--outline {
    background: transparent;
    color: var(--secondary-light);
    border-color: var(--secondary);
}

.btn--outline:hover {
    background: var(--secondary);
    color: var(--text-on-primary);
    box-shadow: var(--shadow-glow-blue);
    transform: translateY(-2px);
}

.btn--ghost {
    background: transparent;
    color: var(--text-secondary);
    border-color: var(--text-muted);
}

.btn--ghost:hover {
    color: var(--text-primary);
    border-color: var(--text-secondary);
}

.btn--sm {
    font-size: 0.95rem;
    padding: 8px 18px;
}

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

.btn--block {
    display: flex;
    width: 100%;
}

.btn__icon {
    font-size: 1.2em;
}

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

/* ==========================================================================
   9. Hero Section
   ========================================================================== */
.m-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--secondary-dark) 50%, var(--primary-dark) 100%);
}

.m-hero--home {
    padding: 100px 0 80px;
    text-align: center;
}

.m-hero--home::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(226, 54, 54, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(21, 101, 192, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

/* Web decoration — spider web pattern */
.m-hero__web-deco {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 400px;
    height: 400px;
    background:
        repeating-conic-gradient(
            from 0deg,
            transparent 0deg 30deg,
            rgba(255, 255, 255, 0.03) 30deg 32deg
        );
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.6;
}

.m-hero__web-deco::before {
    content: '';
    position: absolute;
    inset: 30%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.m-hero__web-deco::after {
    content: '';
    position: absolute;
    inset: 55%;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 50%;
}

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

.m-hero__title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    color: var(--text-primary);
    text-shadow: 3px 3px 0 var(--primary), 6px 6px 0 rgba(0, 0, 0, 0.3);
    margin-bottom: var(--space-md);
    letter-spacing: 4px;
}

.m-hero__subtitle {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--secondary-light);
    margin-bottom: var(--space-lg);
    letter-spacing: 2px;
}

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

/* Small hero (games, etc.) */
.m-hero--small {
    padding: 40px 0 30px;
}

.m-hero--small .m-hero__title {
    font-size: 2.8rem;
    text-shadow: 2px 2px 0 var(--primary);
}

.m-hero--small .m-hero__subtitle {
    font-size: 1.2rem;
    margin-bottom: 0;
}

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

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

/* 404 hero */
.m-hero--404 {
    padding: 100px 0 80px;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-darker) 0%, #1a0a0a 100%);
}

.m-hero__title--404 {
    font-size: 8rem;
    color: var(--primary);
    text-shadow: 4px 4px 0 var(--secondary), 0 0 40px rgba(226, 54, 54, 0.5);
}

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

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

.m-section__title {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    text-align: center;
    margin-bottom: var(--space-md);
    letter-spacing: 2px;
    color: var(--text-primary);
}

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

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

.m-section__provider-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--secondary-light);
    margin-bottom: var(--space-md);
    margin-top: var(--space-xl);
    letter-spacing: 1px;
}

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

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

.m-section--benefits {
    background: var(--bg-surface);
    position: relative;
}

.m-section--benefits::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--primary));
}

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

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

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

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

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

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

/* Page titles */
.m-page-title {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    letter-spacing: 2px;
    margin-bottom: var(--space-md);
    text-shadow: 2px 2px 0 rgba(226, 54, 54, 0.3);
}

.m-page-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: var(--space-2xl);
    max-width: 640px;
}

/* Breadcrumb */
.m-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-sm);
    padding: var(--space-md) 0 var(--space-xl);
    font-size: 0.9rem;
}

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

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

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

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

/* ==========================================================================
   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(226, 54, 54, 0.15);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    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(--secondary));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

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

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

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

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

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

@media (max-width: 480px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   12. Featured Providers
   ========================================================================== */
/* (Used in home.php featured games) */

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

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

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

@media (max-width: 768px) {
    .games-grid--featured {
        max-width: 100%;
        gap: 12px;
    }
}

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

.provider-section__title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--secondary-light);
    letter-spacing: 1px;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid rgba(21, 101, 192, 0.3);
}

/* ==========================================================================
   14. Game Tile
   ========================================================================== */
.game-tile {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    cursor: pointer;
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.game-tile:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow-red);
    border-color: var(--primary);
}

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

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

.game-tile:hover .game-tile__img {
    transform: scale(1.08);
}

.game-tile__play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(10, 17, 40, 0.6);
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

.game-tile__play-icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    box-shadow: var(--shadow-glow-red);
}

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

/* Game Card for home featured */
.game-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    cursor: pointer;
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.game-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow-blue);
    border-color: var(--secondary);
}

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

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

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

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

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

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

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

.game-tile--locked:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.06);
}

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

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

.game-tile__lock-text {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
}

/* ==========================================================================
   16. Provider Section — games.php
   ========================================================================== */
/* (see .provider-section above) */

/* ==========================================================================
   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.95rem;
    letter-spacing: 1px;
    padding: 8px 20px;
    background: var(--bg-card);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
}

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

.provider-filter__btn.is-active {
    background: var(--secondary);
    color: var(--text-on-primary);
    border-color: var(--secondary);
    box-shadow: var(--shadow-glow-blue);
}

/* ==========================================================================
   18. Unlock Banner
   ========================================================================== */
.unlock-banner {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    background: linear-gradient(135deg, rgba(226, 54, 54, 0.15), rgba(21, 101, 192, 0.15));
    border: 1px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-xl);
    box-shadow: var(--shadow-glow-red);
}

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

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

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

@media (max-width: 768px) {
    .unlock-banner {
        flex-direction: column;
        text-align: center;
        gap: var(--space-md);
        padding: var(--space-lg);
    }
}

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

.faq-item {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition-base);
}

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

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

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

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

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

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

.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);
    line-height: 1.7;
    margin-bottom: 0;
}

/* ==========================================================================
   20. Disclaimer
   ========================================================================== */
.disclaimer-box {
    background: rgba(226, 54, 54, 0.08);
    border: 1px solid rgba(226, 54, 54, 0.25);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
}

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

.disclaimer-box__text strong {
    color: var(--primary-light);
}

.disclaimer-box__text a {
    color: var(--secondary-light);
    text-decoration: underline;
}

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

.site-footer::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--secondary);
}

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

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

.site-footer__tagline {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.site-footer__disclaimer {
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.site-footer__nav-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

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

.site-footer__nav-title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--primary-light);
    letter-spacing: 1px;
    margin-bottom: var(--space-sm);
}

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

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

/* Compliance */
.site-footer__compliance {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    padding: var(--space-xl) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    flex-wrap: wrap;
}

.site-footer__age-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 1px;
    flex-shrink: 0;
}

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

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

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

/* Bottom */
.site-footer__bottom {
    padding-top: var(--space-xl);
    text-align: center;
}

.site-footer__copy {
    color: var(--text-muted);
    font-size: 0.8rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.site-footer__copy small {
    display: block;
    margin-top: var(--space-xs);
    opacity: 0.7;
}

@media (max-width: 992px) {
    .site-footer__top {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
}

@media (max-width: 768px) {
    .site-footer__nav-group {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

/* ==========================================================================
   22. Modals
   ========================================================================== */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: var(--space-lg);
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    cursor: pointer;
}

.modal__box {
    position: relative;
    background: var(--bg-card);
    border: 2px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    max-width: 480px;
    width: 100%;
    z-index: 1;
    box-shadow: var(--shadow-glow-red), var(--shadow-lg);
    text-align: center;
}

.modal__spider-deco {
    position: absolute;
    top: -2px;
    right: 30px;
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

.modal__spider-deco::after {
    content: '🕷️';
    position: absolute;
    bottom: -16px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1rem;
}

.modal__title {
    font-family: var(--font-heading);
    font-size: 2rem;
    letter-spacing: 2px;
    margin-bottom: var(--space-md);
}

.modal__text {
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    line-height: 1.6;
}

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

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

.modal__note a {
    color: var(--text-muted);
    text-decoration: underline;
}

.modal__close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    line-height: 1;
}

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

/* Game Modal */
.modal__box--game {
    max-width: 900px;
    padding: var(--space-lg);
}

.modal__game-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-top: var(--space-md);
}

.modal__game-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.modal--game .modal__title {
    font-size: 1.4rem;
    text-align: left;
}

/* Auth Modal */
.modal__box--auth {
    max-width: 440px;
    text-align: left;
}

.modal--auth .modal__title {
    text-align: center;
}

/* Bonus Modal */
.modal__box--bonus {
    max-width: 400px;
}

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

.daily-bonus__icon {
    font-size: 3.5rem;
    margin-bottom: var(--space-md);
    display: block;
    animation: bounceIn 0.6s ease;
}

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

.daily-bonus__amount {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    color: var(--accent);
    letter-spacing: 2px;
    margin-bottom: var(--space-xl);
    text-shadow: 0 0 20px rgba(255, 202, 40, 0.5);
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.1); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
   23. Cookie Consent
   ========================================================================== */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 2px solid var(--primary);
    z-index: 1500;
    padding: var(--space-lg) 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
    transform: translateY(100%);
    transition: transform var(--transition-slow);
}

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

.cookie-consent__inner {
    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;
    margin-bottom: 0;
}

.cookie-consent__link {
    color: var(--primary-light);
    text-decoration: underline;
}

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

@media (max-width: 768px) {
    .cookie-consent__inner {
        flex-direction: column;
        text-align: center;
    }
}

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

.auth-tabs__btn {
    flex: 1;
    padding: var(--space-md);
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    letter-spacing: 1px;
    color: var(--text-muted);
    cursor: pointer;
    position: relative;
    transition: color var(--transition-fast);
}

.auth-tabs__btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

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

.auth-tabs__btn.is-active::after {
    transform: scaleX(1);
}

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

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

.auth-form__label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.auth-form__input {
    padding: 12px 16px;
    background: var(--bg-darker);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    outline: none;
}

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

.auth-form__input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(226, 54, 54, 0.15);
}

.auth-form__note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: var(--space-sm);
    margin-bottom: 0;
}

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

/* ==========================================================================
   25. Account Page
   ========================================================================== */
.account-auth-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, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}

.account-card__title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    letter-spacing: 1px;
    margin-bottom: var(--space-lg);
    color: var(--primary-light);
}

@media (max-width: 768px) {
    .account-auth-grid {
        grid-template-columns: 1fr;
    }
}

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

.why-account__title {
    font-family: var(--font-heading);
    font-size: 2rem;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: var(--space-xl);
}

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

.why-account__item {
    text-align: center;
    padding: var(--space-lg);
}

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

.why-account__item h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 1px;
    margin-bottom: var(--space-sm);
}

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

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

@media (max-width: 480px) {
    .why-account__grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   26. Profile
   ========================================================================== */
.profile-header {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
    padding: var(--space-xl);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(226, 54, 54, 0.2);
}

.profile-header__badge {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: white;
    box-shadow: var(--shadow-glow-red);
    flex-shrink: 0;
    letter-spacing: 1px;
}

.profile-header__name {
    font-family: var(--font-heading);
    font-size: 2rem;
    letter-spacing: 2px;
    margin-bottom: var(--space-xs);
}

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

.profile-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-top: var(--space-2xl);
    flex-wrap: wrap;
}

/* ==========================================================================
   27. XP Progress
   ========================================================================== */
.xp-card {
    background: var(--bg-card);
    border: 1px solid rgba(21, 101, 192, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.xp-card__title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    letter-spacing: 1px;
    margin-bottom: var(--space-md);
    color: var(--secondary-light);
}

.xp-card__bar-wrap {
    height: 20px;
    background: var(--bg-darker);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: var(--space-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.xp-card__bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 10px;
    transition: width 0.6s ease;
    box-shadow: 0 0 10px rgba(226, 54, 54, 0.5);
}

.xp-card__labels {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 700;
}

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

.stat-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    text-align: center;
}

.stat-card__value {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    color: var(--accent);
    letter-spacing: 2px;
    margin-bottom: var(--space-xs);
}

.stat-card__label {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

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

.m-content-card h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    letter-spacing: 1px;
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
    color: var(--primary-light);
}

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

.m-content-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    letter-spacing: 1px;
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
    color: var(--secondary-light);
}

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

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

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

.m-content-card a {
    color: var(--primary-light);
    text-decoration: underline;
    text-decoration-color: rgba(226, 54, 54, 0.3);
}

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

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

/* Table */
.m-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: var(--space-lg);
}

.m-table th,
.m-table td {
    padding: var(--space-md);
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.m-table th {
    font-family: var(--font-heading);
    font-size: 1rem;
    letter-spacing: 1px;
    color: var(--primary-light);
    background: var(--bg-darker);
}

.m-table td {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.m-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* 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-md);
    align-items: flex-start;
    padding: var(--space-md);
    background: rgba(21, 101, 192, 0.08);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--secondary);
}

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

.responsible-fact p {
    margin-bottom: 0;
}

/* Review page specifics */
.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: 1.3rem;
    color: var(--accent);
    letter-spacing: 1px;
}

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

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

.review-game-tile {
    background: var(--bg-darker);
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

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

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

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

@media (max-width: 480px) {
    .m-content-card {
        padding: var(--space-lg);
    }
}

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

.article-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

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

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

.article-card__category {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 1px;
    color: var(--secondary-light);
    background: rgba(21, 101, 192, 0.15);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: var(--space-md);
}

.article-card__title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    letter-spacing: 1px;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.article-card:hover .article-card__title {
    color: var(--primary-light);
}

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

.article-card__link {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--primary-light);
    letter-spacing: 1px;
}

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

@media (max-width: 480px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
}

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

.review-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary);
}

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

.review-card__title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    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);
    color: var(--accent);
    font-size: 1.1rem;
    letter-spacing: 1px;
}

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

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

.review-card__stat {
    font-size: 0.8rem;
    color: var(--text-muted);
    background: var(--bg-darker);
    padding: 4px 12px;
    border-radius: 20px;
}

@media (max-width: 992px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   32. Utility Classes
   ========================================================================== */
.stars {
    color: #ffc107;
}

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

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Web pattern background utility */
.has-web-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: url("data:image/svg+xml,%3Csvg width='300' height='300' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M150 0 L150 300 M0 150 L300 150 M0 0 L300 300 M300 0 L0 300' stroke='rgba(255,255,255,0.02)' fill='none'/%3E%3Ccircle cx='150' cy='150' r='50' stroke='rgba(255,255,255,0.02)' fill='none'/%3E%3Ccircle cx='150' cy='150' r='100' stroke='rgba(255,255,255,0.02)' fill='none'/%3E%3Ccircle cx='150' cy='150' r='150' stroke='rgba(255,255,255,0.015)' fill='none'/%3E%3C/svg%3E") no-repeat center;
    pointer-events: none;
    opacity: 0.7;
}

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

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

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

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

/* ==========================================================================
   RESPONSIVE GLOBAL
   ========================================================================== */
@media (max-width: 992px) {
    h1 { font-size: 2.4rem; }
    h2 { font-size: 1.8rem; }

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

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

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

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

@media (max-width: 768px) {
    .m-hero--home {
        padding: 60px 0 50px;
    }

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

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

    .m-hero__subtitle {
        font-size: 1.3rem;
    }

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

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

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

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

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

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }

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

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

    .btn--lg {
        font-size: 1.1rem;
        padding: 14px 28px;
    }

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