/**
 * JLQQQ Gaming Platform - Theme Stylesheet
 * Version 1.0.0
 * Classes use v969- prefix for namespace isolation
 * Color Palette: #B0E0E6 | #F0F8FF | #1A1A2E | #F4A460 | #FAFAFA | #00BFFF
 */

/* CSS Variables */
:root {
    --v969-primary: #00BFFF;
    --v969-primary-light: #B0E0E6;
    --v969-secondary: #F4A460;
    --v969-bg-dark: #1A1A2E;
    --v969-bg-darker: #12121F;
    --v969-bg-light: #F0F8FF;
    --v969-text-light: #FAFAFA;
    --v969-text-dark: #1A1A2E;
    --v969-accent: #F4A460;
    --v969-gradient-primary: linear-gradient(135deg, #00BFFF 0%, #B0E0E6 100%);
    --v969-gradient-dark: linear-gradient(180deg, #1A1A2E 0%, #12121F 100%);
    --v969-shadow: 0 4px 20px rgba(0, 191, 255, 0.15);
    --v969-shadow-hover: 0 8px 30px rgba(0, 191, 255, 0.25);
    --v969-border-radius: 12px;
    --v969-transition: all 0.3s ease;
}

/* Reset and Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--v969-gradient-dark);
    color: var(--v969-text-light);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

body.v969-no-scroll {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--v969-transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* Container */
.v969-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Header */
.v969-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 191, 255, 0.2);
    transition: var(--v969-transition);
}

.v969-header-scrolled {
    background: rgba(26, 26, 46, 0.98);
    box-shadow: var(--v969-shadow);
}

.v969-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.v969-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.v969-logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.v969-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--v969-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.v969-header-buttons {
    display: flex;
    gap: 10px;
}

.v969-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--v969-transition);
    border: none;
    outline: none;
}

.v969-btn-login {
    background: transparent;
    border: 2px solid var(--v969-primary);
    color: var(--v969-primary);
}

.v969-btn-login:hover {
    background: var(--v969-primary);
    color: var(--v969-bg-dark);
}

.v969-btn-register {
    background: var(--v969-gradient-primary);
    color: var(--v969-bg-dark);
    box-shadow: var(--v969-shadow);
}

.v969-btn-register:hover {
    transform: translateY(-2px);
    box-shadow: var(--v969-shadow-hover);
}

.v969-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--v969-text-light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
}

/* Desktop Navigation */
.v969-nav-desktop {
    display: flex;
    gap: 24px;
}

.v969-nav-desktop a {
    color: var(--v969-text-light);
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.v969-nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--v969-primary);
    transition: var(--v969-transition);
}

.v969-nav-desktop a:hover::after {
    width: 100%;
}

/* Carousel */
.v969-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--v969-border-radius);
    margin-top: 80px;
}

.v969-carousel-slides {
    position: relative;
    width: 100%;
    aspect-ratio: 16/7;
}

.v969-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.v969-carousel-slide.v969-slide-active {
    opacity: 1;
}

.v969-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.v969-carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.v969-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--v969-transition);
}

.v969-carousel-dot.v969-dot-active {
    background: var(--v969-primary);
    transform: scale(1.2);
}

/* Main Content */
.v969-main {
    padding: 20px 0 100px;
}

/* Section Titles */
.v969-section-title {
    text-align: center;
    margin-bottom: 30px;
}

.v969-section-title h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: var(--v969-gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.v969-section-title p {
    color: var(--v969-primary-light);
    font-size: 1rem;
}

/* Game Grid */
.v969-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.v969-game-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--v969-border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--v969-transition);
    border: 1px solid rgba(0, 191, 255, 0.1);
}

.v969-game-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--v969-shadow-hover);
    border-color: var(--v969-primary);
}

.v969-game-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.v969-game-card-title {
    padding: 10px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
    background: rgba(26, 26, 46, 0.8);
}

/* Category Tabs */
.v969-category-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    margin-bottom: 20px;
    scrollbar-width: none;
}

.v969-category-tabs::-webkit-scrollbar {
    display: none;
}

.v969-category-tab {
    flex-shrink: 0;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--v969-transition);
    border: 1px solid transparent;
}

.v969-category-tab:hover,
.v969-category-tab.v969-tab-active {
    background: var(--v969-gradient-primary);
    color: var(--v969-bg-dark);
}

/* Content Modules */
.v969-module {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--v969-border-radius);
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(0, 191, 255, 0.1);
}

.v969-module h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--v969-primary);
}

.v969-module p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.v969-module ul {
    margin-left: 20px;
}

.v969-module li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.v969-module li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: var(--v969-primary);
    border-radius: 50%;
}

/* Footer */
.v969-footer {
    background: var(--v969-bg-darker);
    padding: 40px 16px 20px;
    border-top: 1px solid rgba(0, 191, 255, 0.1);
}

.v969-footer-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.v969-footer-partners img {
    height: 35px;
    opacity: 0.7;
    transition: var(--v969-transition);
    filter: grayscale(100%);
}

.v969-footer-partners img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

.v969-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.v969-footer-links a {
    color: var(--v969-primary-light);
    font-size: 0.9rem;
}

.v969-footer-links a:hover {
    color: var(--v969-primary);
}

.v969-footer-copyright {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Mobile Bottom Navigation */
.v969-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(180deg, rgba(26, 26, 46, 0.98) 0%, rgba(18, 18, 31, 0.99) 100%);
    backdrop-filter: blur(15px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 1px solid rgba(0, 191, 255, 0.2);
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
}

.v969-bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    color: var(--v969-primary-light);
    cursor: pointer;
    transition: var(--v969-transition);
    border-radius: 12px;
    padding: 8px;
}

.v969-bottom-nav-item:hover {
    color: var(--v969-primary);
    background: rgba(0, 191, 255, 0.1);
}

.v969-bottom-nav-item.v969-nav-active {
    color: var(--v969-primary);
}

.v969-bottom-nav-item i,
.v969-bottom-nav-item .material-icons {
    font-size: 24px;
    margin-bottom: 4px;
}

.v969-bottom-nav-item span {
    font-size: 10px;
    font-weight: 500;
}

/* Mobile Menu */
.v969-mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: var(--v969-bg-darker);
    z-index: 9999;
    transition: var(--v969-transition);
    overflow-y: auto;
    padding: 80px 20px 30px;
}

.v969-mobile-menu.v969-menu-active {
    right: 0;
}

.v969-mobile-menu a {
    display: block;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1rem;
}

.v969-mobile-menu a:hover {
    color: var(--v969-primary);
}

.v969-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--v969-transition);
}

.v969-menu-overlay.v969-overlay-active {
    opacity: 1;
    visibility: visible;
}

/* CTA Section */
.v969-cta {
    background: var(--v969-gradient-primary);
    border-radius: var(--v969-border-radius);
    padding: 30px;
    text-align: center;
    margin-bottom: 30px;
}

.v969-cta h3 {
    font-size: 1.5rem;
    color: var(--v969-bg-dark);
    margin-bottom: 10px;
}

.v969-cta p {
    color: var(--v969-bg-dark);
    margin-bottom: 20px;
}

.v969-cta .v969-btn {
    background: var(--v969-bg-dark);
    color: var(--v969-text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .v969-header-buttons {
        display: none;
    }

    .v969-menu-toggle {
        display: block;
    }

    .v969-nav-desktop {
        display: none;
    }

    .v969-carousel-slides {
        aspect-ratio: 16/9;
    }

    .v969-game-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .v969-game-card-title {
        font-size: 0.75rem;
        padding: 8px;
    }

    .v969-section-title h2 {
        font-size: 1.4rem;
    }

    .v969-module {
        padding: 20px;
    }

    .v969-main {
        padding-bottom: 90px;
    }

    .v969-bottom-nav {
        display: flex;
    }
}

@media (max-width: 430px) {
    .v969-game-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .v969-section-title h2 {
        font-size: 1.2rem;
    }

    .v969-logo-text {
        font-size: 1.2rem;
    }

    .v969-cta {
        padding: 20px;
    }

    .v969-cta h3 {
        font-size: 1.2rem;
    }
}

@media (min-width: 769px) {
    .v969-bottom-nav {
        display: none;
    }

    .v969-main {
        padding-bottom: 40px;
    }
}

/* Utility Classes */
.v969-text-center {
    text-align: center;
}

.v969-mb-20 {
    margin-bottom: 20px;
}

.v969-mt-20 {
    margin-top: 20px;
}

.v969-hidden {
    display: none !important;
}

/* Animation */
@keyframes v969-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.v969-pulse {
    animation: v969-pulse 2s infinite;
}

/* FAQ Accordion */
.v969-faq-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--v969-border-radius);
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid rgba(0, 191, 255, 0.1);
}

.v969-faq-question {
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.v969-faq-question:hover {
    color: var(--v969-primary);
}

.v969-faq-answer {
    padding: 0 20px 15px;
    color: var(--v969-primary-light);
    line-height: 1.7;
}

/* Page Hero */
.v969-page-hero {
    background: var(--v969-gradient-primary);
    padding: 100px 20px 40px;
    text-align: center;
    margin-top: 70px;
}

.v969-page-hero h1 {
    font-size: 2rem;
    color: var(--v969-bg-dark);
    margin-bottom: 10px;
}

.v969-page-hero p {
    color: var(--v969-bg-dark);
    opacity: 0.9;
}
