/* =============================================
   SeaGlimpses — Main Styles
   Oceanic Theme: Playfair Display / Source Sans 3
   ============================================= */

/* =============================================
   CSS Variables
   ============================================= */
:root {
    /* Oceanic Palette */
    --ocean-deep: #0a1628;
    --ocean-dark: #0f2035;
    --ocean-mid: #143050;
    --ocean-light: #1a4070;
    --ocean-surface: #1e5090;
    --sea-green: #0d9488;
    --sea-green-light: #14b8a6;
    --sea-foam: #5eead4;
    --gold: #d4a843;
    --gold-light: #e8c468;
    --gold-dark: #b8922e;
    --coral: #f97316;
    --pearl: #f0f4f8;
    --sand: #e2d9c8;

    /* Backgrounds */
    --bg-dark: #0a1628;
    --bg-surface: #0f2035;
    --bg-card: #143050;
    --bg-card-hover: #1a4070;
    --bg-highlight: rgba(13, 148, 136, 0.1);

    /* Text */
    --text-primary: #f0f4f8;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-accent: #5eead4;
    --text-gold: #d4a843;

    /* Borders */
    --border-light: rgba(255, 255, 255, 0.08);
    --border-medium: rgba(255, 255, 255, 0.12);
    --border-accent: rgba(13, 148, 136, 0.3);

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Radius */
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Fonts */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans 3', 'Source Sans Pro', sans-serif;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 20px rgba(13, 148, 136, 0.15);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

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

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

a {
    color: inherit;
    text-decoration: none;
}

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

input, button, textarea, select {
    font: inherit;
}

ul, ol {
    list-style: none;
}

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

/* =============================================
   LOGO
   ============================================= */
.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
}

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

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
    white-space: nowrap;
    line-height: 1.4;
}

.btn--primary {
    background: linear-gradient(135deg, var(--sea-green), var(--sea-green-light));
    color: white;
    border-color: var(--sea-green);
}

.btn--primary:hover {
    background: linear-gradient(135deg, var(--sea-green-light), var(--sea-foam));
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.4);
}

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

.btn--secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--sea-foam);
    color: var(--sea-foam);
}

.btn--large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

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

.m-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-xs);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}

.m-btn--secondary {
    background: rgba(255,255,255,0.1);
    color: var(--text-primary);
    border-color: var(--border-medium);
}

/* =============================================
   HEADER
   ============================================= */
.m-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
}

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

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

.m-header__link {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast), background var(--transition-fast);
    text-decoration: none;
}

.m-header__link:hover,
.m-header__link.is-active {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.m-header__link.is-active {
    color: var(--sea-foam);
}

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

.m-header__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 6px;
    cursor: pointer;
    background: none;
    border: none;
}

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

@media (max-width: 768px) {
    .m-header__nav {
        display: none;
    }
    .m-header__actions .btn--primary {
        display: none;
    }
    .m-header__burger {
        display: flex;
    }
}

/* =============================================
   MOBILE MENU
   ============================================= */
.m-mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    max-width: 85vw;
    background: var(--bg-surface);
    z-index: 2000;
    transform: translateX(100%);
    transition: transform var(--transition-base);
    overflow-y: auto;
    border-left: 1px solid var(--border-light);
}

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

.m-mobile-menu__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1999;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.m-mobile-menu__overlay.is-open {
    opacity: 1;
}

.m-mobile-menu__content {
    padding: var(--space-xl);
}

.m-mobile-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-2xl);
}

.m-mobile-menu__close {
    font-size: 1.8rem;
    color: var(--text-secondary);
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
}

.m-mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    margin-bottom: var(--space-2xl);
}

.m-mobile-menu__link {
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: var(--space-md) var(--space-sm);
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast), background var(--transition-fast);
    text-decoration: none;
}

.m-mobile-menu__link:hover,
.m-mobile-menu__link.is-active {
    color: var(--sea-foam);
    background: rgba(13, 148, 136, 0.08);
}

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

/* =============================================
   MAIN
   ============================================= */
.m-main {
    min-height: calc(100vh - 64px - 300px);
}

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

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

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

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

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

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

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

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

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

.m-section--why-account {
    padding-top: var(--space-3xl);
}

.m-section__title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: var(--space-md);
}

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

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

/* =============================================
   HERO
   ============================================= */
.m-hero {
    position: relative;
    background: linear-gradient(135deg, var(--ocean-deep), var(--ocean-mid), var(--ocean-dark));
    padding: var(--space-3xl) 0;
    overflow: hidden;
}

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

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

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

.m-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
}

.m-hero__content--row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    text-align: left;
    gap: var(--space-xl);
}

.m-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    line-height: 1.15;
}

.m-hero__title--404 {
    font-size: clamp(4rem, 12vw, 8rem);
    color: var(--sea-foam);
    opacity: 0.7;
}

.m-hero__subtitle {
    font-family: var(--font-body);
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.m-hero__text {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

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

.m-hero__waves {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    overflow: hidden;
    z-index: 1;
}

.m-hero__wave {
    position: absolute;
    bottom: 0;
    left: -5%;
    width: 110%;
    height: 60px;
    border-radius: 50% 50% 0 0;
}

.m-hero__wave--1 {
    background: rgba(13, 148, 136, 0.08);
    bottom: 10px;
    animation: waveFloat 8s ease-in-out infinite;
}

.m-hero__wave--2 {
    background: var(--bg-dark);
    bottom: 0;
    animation: waveFloat 6s ease-in-out infinite reverse;
}

@keyframes waveFloat {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(20px); }
}

@media (max-width: 768px) {
    .m-hero__content--row {
        flex-direction: column;
        text-align: center;
    }
    .m-hero__auth-buttons {
        justify-content: center;
    }
}

/* =============================================
   BENEFITS GRID
   ============================================= */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--space-xl);
}

.benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

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

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

.benefit-card__title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

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

/* =============================================
   FEATURED GAMES (Home)
   ============================================= */
.featured-provider {
    margin-bottom: var(--space-2xl);
}

.featured-provider__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--border-accent);
}

.games-grid--featured {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-lg);
}

.game-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

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

.game-card__image {
    position: relative;
    overflow: hidden;
}

.game-card__image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-base);
}

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

.game-card__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

.game-card__play-btn {
    font-size: 2.5rem;
    color: white;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.game-card__info {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.game-card__title {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-card__provider {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* =============================================
   GAMES PAGE — GRID & TILES
   ============================================= */
.m-provider-section {
    margin-bottom: var(--space-2xl);
}

.m-provider-section__title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--border-accent);
}

.m-provider-section__count {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-muted);
}

.m-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: var(--space-lg);
}

.m-game-tile {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
    position: relative;
}

.m-game-tile:hover {
    transform: translateY(-4px);
    border-color: var(--sea-green);
    box-shadow: var(--shadow-glow);
}

.m-game-tile__image {
    position: relative;
    overflow: hidden;
}

.m-game-tile__image img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-base);
}

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

.m-game-tile__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

.m-game-tile__play {
    font-size: 2.5rem;
    color: white;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.m-game-tile__info {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.m-game-tile__title {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.m-game-tile__provider {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--text-muted);
}

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

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

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

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

.m-game-tile__lock-text {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.m-game-tile__lock-btn {
    margin-top: var(--space-xs);
}

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

.provider-filter__btn {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    background: transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.provider-filter__btn:hover {
    color: var(--text-primary);
    border-color: var(--border-medium);
    background: rgba(255, 255, 255, 0.05);
}

.provider-filter__btn.is-active {
    color: var(--sea-foam);
    border-color: var(--sea-green);
    background: rgba(13, 148, 136, 0.1);
}

/* =============================================
   UNLOCK BANNER
   ============================================= */
.unlock-banner {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding: var(--space-lg) var(--space-xl);
    background: linear-gradient(135deg, var(--ocean-mid), var(--ocean-light));
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-md);
}

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

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

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

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

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

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

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

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

.faq-item__icon {
    font-size: 1.3rem;
    color: var(--sea-foam);
    flex-shrink: 0;
    transition: transform var(--transition-base);
}

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

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

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

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

/* =============================================
   DISCLAIMER
   ============================================= */
.disclaimer {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    border-left: 4px solid var(--gold);
}

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

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

/* =============================================
   FOOTER
   ============================================= */
.m-footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-light);
    padding: var(--space-3xl) 0 var(--space-xl);
}

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

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

.m-footer__description {
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-top: var(--space-sm);
}

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

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

.m-footer__link {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-decoration: none;
    padding: var(--space-xs) 0;
    transition: color var(--transition-fast);
}

.m-footer__link:hover {
    color: var(--sea-foam);
}

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

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

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

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

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

.m-footer__bottom {
    border-top: 1px solid var(--border-light);
    padding-top: var(--space-xl);
    text-align: center;
}

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

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

@media (max-width: 1024px) {
    .m-footer__content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .m-footer__content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
}

/* =============================================
   MODALS
   ============================================= */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 5000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
}

.modal.is-active,
.modal.is-open {
    display: flex;
}

.modal__content {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal__content--game {
    max-width: 90vw;
    width: 960px;
    padding: 0;
}

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

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

.modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-lg);
    border-bottom: 1px solid var(--border-light);
}

.modal__header h2,
.modal__header h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
}

.modal__title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
}

.modal__close {
    font-size: 1.8rem;
    color: var(--text-secondary);
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    transition: color var(--transition-fast);
}

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

.modal__body {
    padding: var(--space-xl);
    font-family: var(--font-body);
    color: var(--text-secondary);
    line-height: 1.6;
}

.modal__body--game {
    padding: 0;
    aspect-ratio: 16/9;
}

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

.modal__actions {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg);
    justify-content: center;
    border-top: 1px solid var(--border-light);
}

/* =============================================
   AUTH FORMS
   ============================================= */
.auth-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: var(--space-xl);
}

.auth-tabs__btn {
    flex: 1;
    padding: var(--space-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
}

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

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

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

.auth-form__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: var(--space-sm);
}

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

.auth-form__group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.auth-form__input {
    padding: 0.75rem 1rem;
    background: var(--bg-dark);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: border-color var(--transition-fast);
    outline: none;
}

.auth-form__input:focus {
    border-color: var(--sea-green);
}

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

.auth-form__error {
    font-size: 0.85rem;
    color: #ef4444;
    min-height: 1.2em;
}

.auth-form__note {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.5;
}

.auth-form__note a {
    color: var(--sea-foam);
    text-decoration: underline;
}

/* =============================================
   ACCOUNT PAGE
   ============================================= */
.account-auth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

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

.account-auth-card__title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    text-align: center;
}

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

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

.account-profile__badge {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    background: linear-gradient(135deg, var(--ocean-mid), var(--ocean-light));
    border: 2px solid var(--gold);
    border-radius: 50%;
    flex-shrink: 0;
}

.account-profile__name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

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

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

.xp-bar__label {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.xp-bar__track {
    height: 12px;
    background: var(--bg-card);
    border-radius: 6px;
    overflow: hidden;
}

.xp-bar__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--sea-green), var(--sea-foam));
    border-radius: 6px;
    transition: width var(--transition-slow);
}

.account-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.account-stat {
    text-align: center;
    padding: var(--space-lg);
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
}

.account-stat__value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: var(--space-xs);
}

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

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

/* Daily Bonus */
.daily-bonus__xp {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: var(--space-md);
}

.daily-bonus__text {
    font-family: var(--font-body);
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.daily-bonus__streak {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--coral);
}

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

/* =============================================
   COOKIE CONSENT
   ============================================= */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9000;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-light);
    padding: var(--space-lg);
    transform: translateY(100%);
    transition: transform var(--transition-base);
}

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

.cookie-consent__text h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.cookie-consent__text p {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

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

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

/* =============================================
   PAGE TITLES (duplicate-safe)
   ============================================= */
.m-page-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: var(--space-md);
    letter-spacing: -0.01em;
}

.m-page-subtitle {
    font-family: var(--font-body);
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-2xl);
    max-width: 680px;
}

/* Narrow container */
.m-container--narrow {
    max-width: 820px;
    margin: 0 auto;
}

/* =============================================
   RESPONSIVE — GAMES
   ============================================= */
@media (max-width: 768px) {
    .m-games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
    .games-grid--featured {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .m-games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }
}

/* =============================================
   SeaGlimpses — Main Styles
   Oceanic Theme: Playfair Display / Source Sans 3
   ============================================= */

/* =============================================
   CSS Variables
   ============================================= */
:root {
    /* Oceanic Palette */
    --ocean-deep: #0a1628;
    --ocean-dark: #0f2035;
    --ocean-mid: #143050;
    --ocean-light: #1a4070;
    --ocean-surface: #1e5090;
    --sea-green: #0d9488;
    --sea-green-light: #14b8a6;
    --sea-foam: #5eead4;
    --gold: #d4a843;
    --gold-light: #e8c468;
    --gold-dark: #b8922e;
    --coral: #f97316;
    --pearl: #f0f4f8;
    --sand: #e2d9c8;

    /* Backgrounds */
    --bg-dark: #0a1628;
    --bg-surface: #0f2035;
    --bg-card: #143050;
    --bg-card-hover: #1a4070;
    --bg-highlight: rgba(13, 148, 136, 0.1);

    /* Text */
    --text-primary: #f0f4f8;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-accent: #5eead4;
    --text-gold: #d4a843;

    /* Borders */
    --border-light: rgba(255, 255, 255, 0.08);
    --border-medium: rgba(255, 255, 255, 0.12);
    --border-accent: rgba(13, 148, 136, 0.3);

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Radius */
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Fonts */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Source Sans 3', 'Source Sans Pro', sans-serif;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 20px rgba(13, 148, 136, 0.15);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

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

a {
    color: var(--sea-foam);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--gold-light);
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    line-height: 1.3;
    color: var(--text-primary);
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    font-family: var(--font-body);
    border: none;
    background: none;
}

input, button, textarea, select {
    font: inherit;
}

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

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

/* =============================================
   LOGO
   ============================================= */
.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: color var(--transition-fast);
}

.logo:hover {
    color: var(--sea-foam);
}

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

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
    border: 2px solid transparent;
    cursor: pointer;
    white-space: nowrap;
    line-height: 1.4;
}

.btn--primary {
    background: linear-gradient(135deg, var(--sea-green), var(--sea-green-light));
    color: #fff;
    border-color: var(--sea-green);
}

.btn--primary:hover {
    background: linear-gradient(135deg, var(--sea-green-light), var(--sea-foam));
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(13, 148, 136, 0.4);
}

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

.btn--secondary:hover {
    border-color: var(--sea-foam);
    color: var(--sea-foam);
    transform: translateY(-2px);
}

.btn--large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

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

.btn--gold {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: #fff;
    border-color: var(--gold-dark);
}

.btn--gold:hover {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 168, 67, 0.4);
}

/* =============================================
   HEADER
   ============================================= */
.m-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
}

.m-header__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

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

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

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

.m-header__link.is-active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--sea-green);
    border-radius: 1px;
}

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

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

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

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

    .m-header__actions .btn {
        display: none;
    }

    .m-header__burger {
        display: flex;
    }

    .m-header__content {
        height: 60px;
    }
}

/* =============================================
   MOBILE MENU
   ============================================= */
.m-mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 300px;
    max-width: 85vw;
    background: var(--bg-surface);
    z-index: 2000;
    transform: translateX(100%);
    transition: transform var(--transition-base);
    overflow-y: auto;
    border-left: 1px solid var(--border-light);
}

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

.m-mobile-menu__overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1999;
    opacity: 0;
    transition: opacity var(--transition-base);
    pointer-events: none;
}

.m-mobile-menu__overlay.is-open {
    opacity: 1;
    pointer-events: auto;
}

.m-mobile-menu__content {
    padding: var(--space-xl);
}

.m-mobile-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-2xl);
}

.m-mobile-menu__close {
    font-size: 2rem;
    color: var(--text-secondary);
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
}

.m-mobile-menu__close:hover {
    color: var(--text-primary);
}

.m-mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
}

.m-mobile-menu__link {
    display: block;
    padding: var(--space-md);
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.m-mobile-menu__link:hover,
.m-mobile-menu__link.is-active {
    color: var(--sea-foam);
    background: var(--bg-highlight);
}

.m-mobile-menu__actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

/* =============================================
   MAIN
   ============================================= */
.m-main {
    min-height: calc(100vh - 70px - 200px);
}

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

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

.m-section__title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.5vw, 2.25rem);
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: var(--space-md);
}

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

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

.m-section--benefits {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

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

.m-section--faq {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-light);
}

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

/* =============================================
   HERO
   ============================================= */
.m-hero {
    position: relative;
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, var(--ocean-deep) 0%, var(--ocean-mid) 50%, var(--ocean-dark) 100%);
    overflow: hidden;
    text-align: center;
}

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

.m-hero__content--row {
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    gap: var(--space-xl);
}

.m-hero__title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.m-hero__title--404 {
    font-size: clamp(4rem, 12vw, 8rem);
    color: var(--sea-foam);
    opacity: 0.6;
}

.m-hero__subtitle {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: var(--sea-foam);
    margin-bottom: var(--space-md);
    font-weight: 500;
}

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

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

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

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

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

/* Waves */
.m-hero__waves {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    overflow: hidden;
    z-index: 1;
}

.m-hero__wave {
    position: absolute;
    bottom: 0;
    left: -5%;
    width: 110%;
    height: 80px;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

.m-hero__wave--1 {
    background: rgba(13, 148, 136, 0.08);
    bottom: 10px;
    animation: waveFloat 8s ease-in-out infinite;
}

.m-hero__wave--2 {
    background: var(--bg-dark);
    bottom: 0;
    animation: waveFloat 6s ease-in-out infinite reverse;
}

@keyframes waveFloat {
    0%, 100% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(15px) translateY(-5px); }
}

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

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

    .m-hero__text {
        margin-left: 0;
        margin-right: 0;
    }
}

/* =============================================
   BENEFITS GRID
   ============================================= */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: var(--space-xl);
}

.benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
    transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.benefit-card:hover {
    transform: translateY(-4px);
    border-color: var(--sea-green);
    box-shadow: var(--shadow-glow);
}

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

.benefit-card__title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

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

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

/* =============================================
   FEATURED GAMES (Home Page)
   ============================================= */
.featured-provider {
    margin-bottom: var(--space-2xl);
}

.featured-provider__title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--border-accent);
}

.games-grid--featured {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: var(--space-lg);
}

.game-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

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

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

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

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

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

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

.game-card__play-btn {
    font-size: 2.5rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.game-card__info {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.game-card__title {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-card__provider {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* =============================================
   GAMES PAGE — PROVIDER FILTER
   ============================================= */
.m-section--filter {
    padding: var(--space-lg) 0;
}

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

.provider-filter__btn {
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    cursor: pointer;
    transition: all var(--transition-fast);
}

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

.provider-filter__btn.is-active {
    background: linear-gradient(135deg, var(--sea-green), var(--sea-green-light));
    color: #fff;
    border-color: var(--sea-green);
}

/* =============================================
   GAMES PAGE — UNLOCK BANNER
   ============================================= */
.m-section--unlock {
    padding: var(--space-md) 0;
}

.unlock-banner {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.1), rgba(212, 168, 67, 0.08));
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-md);
    padding: var(--space-lg) var(--space-xl);
}

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

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

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

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

/* =============================================
   GAMES PAGE — PROVIDER SECTIONS & GRID
   ============================================= */
.m-section--games {
    padding: var(--space-xl) 0 var(--space-3xl);
}

.m-provider-section {
    margin-bottom: var(--space-2xl);
}

.m-provider-section__title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--border-accent);
}

.m-provider-section__count {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-muted);
}

.m-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: var(--space-lg);
}

@media (max-width: 480px) {
    .m-games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
}

/* =============================================
   GAME TILE
   ============================================= */
.m-game-tile {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: transform var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
    position: relative;
}

.m-game-tile:hover {
    transform: translateY(-4px);
    border-color: var(--sea-green);
    box-shadow: var(--shadow-glow);
}

.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 var(--transition-base);
}

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

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

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

.m-game-tile__play {
    font-size: 2.5rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.m-game-tile__info {
    padding: var(--space-sm) var(--space-md);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.m-game-tile__title {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.m-game-tile__provider {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Locked State */
.m-game-tile--locked {
    opacity: 0.85;
}

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

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

.m-game-tile__lock-text {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.m-game-tile__lock-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.7rem;
    border-radius: var(--radius-xs);
    background: linear-gradient(135deg, var(--sea-green), var(--sea-green-light));
    color: #fff;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.m-game-tile__lock-btn:hover {
    transform: scale(1.05);
}

/* =============================================
   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 var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition-fast);
}

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

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

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

.faq-item__icon {
    font-size: 1.3rem;
    color: var(--sea-foam);
    flex-shrink: 0;
    transition: transform var(--transition-base);
}

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

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

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

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

/* =============================================
   MODALS
   ============================================= */
.modal {
    position: fixed;
    inset: 0;
    z-index: 5000;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-base), visibility var(--transition-base);
}

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

.modal__content {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.modal__content--game {
    max-width: 960px;
    max-height: 95vh;
}

.modal__content--auth {
    max-width: 440px;
    padding: var(--space-xl);
}

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

.modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) var(--space-xl);
    border-bottom: 1px solid var(--border-light);
}

.modal__header h2,
.modal__title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.modal__close {
    font-size: 1.8rem;
    color: var(--text-muted);
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: color var(--transition-fast);
}

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

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

.modal__body p {
    font-family: var(--font-body);
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.modal__body--game {
    padding: 0;
    aspect-ratio: 16/9;
}

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

.modal__actions {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg) var(--space-xl);
    border-top: 1px solid var(--border-light);
    justify-content: center;
}

/* =============================================
   AUTH TABS & FORMS
   ============================================= */
.auth-tabs {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
    border-bottom: 2px solid var(--border-light);
}

.auth-tabs__btn {
    flex: 1;
    padding: var(--space-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.auth-tabs__btn:hover {
    color: var(--text-secondary);
}

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

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

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

.auth-form__title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

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

.auth-form__group label {
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.auth-form__input {
    padding: 0.75rem var(--space-md);
    background: var(--bg-dark);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: border-color var(--transition-fast);
    outline: none;
}

.auth-form__input:focus {
    border-color: var(--sea-green);
}

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

.auth-form__error {
    font-size: 0.85rem;
    color: #ef4444;
    min-height: 1.2em;
}

.auth-form__note {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

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

/* =============================================
   ACCOUNT PAGE
   ============================================= */
.account-auth-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

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

.account-auth-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}

.account-auth-card__title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
}

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

/* Account Profile (Logged In) */
.account-profile {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    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: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.account-profile__name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

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

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

.xp-bar__label {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.xp-bar__track {
    height: 12px;
    background: var(--bg-dark);
    border-radius: 6px;
    overflow: hidden;
}

.xp-bar__fill {
    height: 100%;
    background: linear-gradient(90deg, var(--sea-green), var(--sea-foam));
    border-radius: 6px;
    transition: width var(--transition-slow);
}

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

.account-stat {
    text-align: center;
    padding: var(--space-md);
    background: var(--bg-dark);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
}

.account-stat__value {
    display: block;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: var(--space-xs);
}

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

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

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

.daily-bonus__xp {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: var(--space-md);
}

.daily-bonus__text {
    font-family: var(--font-body);
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.daily-bonus__streak {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--coral);
}

/* =============================================
   DISCLAIMER
   ============================================= */
.disclaimer {
    background: var(--bg-dark);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    border-left: 4px solid var(--gold);
}

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

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

/* =============================================
   COOKIE CONSENT
   ============================================= */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3000;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-light);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform var(--transition-base);
}

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

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

.cookie-consent__text h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.cookie-consent__text p {
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

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

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

    .cookie-consent__actions {
        width: 100%;
        justify-content: center;
    }
}

/* =============================================
   AGE BADGE
   ============================================= */
.age-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ef4444;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
}

/* =============================================
   FOOTER
   ============================================= */
.m-footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border-light);
    padding: var(--space-3xl) 0 var(--space-xl);
}

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

.m-footer__description {
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-top: var(--space-md);
}

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

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

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

.m-footer__link:hover {
    color: var(--sea-foam);
}

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

.footer__compliance-logo {
    height: 32px;
    width: auto;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
    filter: grayscale(30%);
}

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

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

.m-footer__bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-light);
    text-align: center;
}

.m-footer__bottom p {
    font-family: var(--font-body);
    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;
}

@media (max-width: 1024px) {
    .m-footer__content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .m-footer__content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
}

/* =============================================
   Content Tables
   ============================================= */
.content-table {
    margin: var(--space-xl) 0;
    overflow-x: auto;
}

.content-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-dark);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

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

.content-table th {
    background: var(--bg-surface);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

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

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

@media (max-width: 768px) {
    .content-table {
        font-size: 0.85rem;
    }

    .content-table th,
    .content-table td {
        padding: var(--space-sm);
    }
}

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

.stars {
    color: #ffc107;
}
