/**
 * JL1 JL2 Gaming Platform - Theme Stylesheet
 * Website: jl1jl2.click
 * Class Prefix: vf53-
 * Color Palette: #1A1A2E | #FFFACD | #F8F8FF | #FF69B4 | #4A4A4A
 */

/* ========================================
   CSS Variables & Root Styles
======================================== */
:root {
    --vf53-primary: #1A1A2E;
    --vf53-secondary: #FF69B4;
    --vf53-accent: #FFFACD;
    --vf53-dark: #0D0D1A;
    --vf53-light: #F8F8FF;
    --vf53-white: #FFFFFF;
    --vf53-gray: #4A4A4A;
    --vf53-muted: #8A8A9A;
    --vf53-gradient: linear-gradient(135deg, #1A1A2E 0%, #2D2D4A 100%);
    --vf53-gradient-accent: linear-gradient(135deg, #FF69B4 0%, #FF8DC7 100%);
    --vf53-shadow: 0 4px 20px rgba(26, 26, 46, 0.4);
    --vf53-shadow-light: 0 2px 10px rgba(0, 0, 0, 0.15);
    --vf53-radius: 16px;
    --vf53-radius-sm: 10px;
    --vf53-transition: all 0.3s ease;
}

/* ========================================
   Base Styles
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Roboto', sans-serif;
    background: var(--vf53-light);
    color: var(--vf53-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--vf53-transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   Header Styles
======================================== */
.vf53-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--vf53-gradient);
    padding: 12px 16px;
    transition: var(--vf53-transition);
}

.vf53-header-scrolled {
    background: rgba(26, 26, 46, 0.98);
    box-shadow: var(--vf53-shadow);
}

.vf53-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vf53-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vf53-logo-img {
    width: 40px;
    height: 40px;
}

.vf53-logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--vf53-white);
    letter-spacing: 1px;
}

.vf53-logo-text span {
    color: var(--vf53-secondary);
}

.vf53-header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.vf53-btn {
    padding: 10px 20px;
    border: none;
    border-radius: var(--vf53-radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--vf53-transition);
    font-size: 0.9rem;
}

.vf53-btn-login {
    background: transparent;
    border: 2px solid var(--vf53-secondary);
    color: var(--vf53-secondary);
}

.vf53-btn-login:hover {
    background: var(--vf53-secondary);
    color: var(--vf53-white);
}

.vf53-btn-register {
    background: var(--vf53-gradient-accent);
    color: var(--vf53-white);
}

.vf53-btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.4);
}

.vf53-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--vf53-white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ========================================
   Navigation Styles
======================================== */
.vf53-nav {
    display: none;
}

.vf53-nav-list {
    display: flex;
    gap: 24px;
    list-style: none;
}

.vf53-nav-link {
    color: var(--vf53-white);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.vf53-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--vf53-secondary);
    transition: var(--vf53-transition);
}

.vf53-nav-link:hover::after {
    width: 100%;
}

@media (min-width: 769px) {
    .vf53-nav {
        display: block;
    }
    .vf53-menu-toggle {
        display: none;
    }
}

/* ========================================
   Mobile Menu
======================================== */
.vf53-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--vf53-gradient);
    z-index: 9999;
    transition: var(--vf53-transition);
    padding: 80px 24px 24px;
    overflow-y: auto;
}

.siteef5-menu-active {
    right: 0;
}

.vf53-mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--vf53-white);
    font-size: 1.5rem;
    cursor: pointer;
}

.vf53-mobile-nav-list {
    list-style: none;
    padding: 0;
}

.vf53-mobile-nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.vf53-mobile-nav-link {
    display: block;
    padding: 16px 0;
    color: var(--vf53-white);
    font-size: 1rem;
    transition: var(--vf53-transition);
}

.vf53-mobile-nav-link:hover {
    color: var(--vf53-secondary);
    padding-left: 10px;
}

.vf53-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--vf53-transition);
}

.siteef5-overlay-active {
    opacity: 1;
    visibility: visible;
}

/* ========================================
   Hero Section
======================================== */
.vf53-hero {
    background: var(--vf53-gradient);
    padding: 120px 16px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.vf53-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 105, 180, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 250, 205, 0.1) 0%, transparent 50%);
}

.vf53-hero-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.vf53-hero-title {
    font-size: 2.2rem;
    color: var(--vf53-white);
    margin-bottom: 16px;
    font-weight: 700;
    line-height: 1.3;
}

.vf53-hero-title span {
    color: var(--vf53-secondary);
}

.vf53-hero-desc {
    font-size: 1rem;
    color: var(--vf53-muted);
    margin-bottom: 24px;
    line-height: 1.7;
}

.vf53-hero-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.vf53-btn-hero {
    padding: 14px 32px;
    font-size: 1rem;
}

/* ========================================
   Main Content
======================================== */
.vf53-main {
    padding: 20px 16px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .vf53-main {
        padding-bottom: 80px;
    }
}

/* ========================================
   Section Styles
======================================== */
.vf53-section {
    margin-bottom: 40px;
}

.vf53-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.vf53-section-title {
    font-size: 1.4rem;
    color: var(--vf53-primary);
    font-weight: 700;
    position: relative;
    padding-left: 16px;
}

.vf53-section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: var(--vf53-gradient-accent);
    border-radius: 2px;
}

.vf53-section-link {
    color: var(--vf53-secondary);
    font-weight: 500;
    font-size: 0.9rem;
}

/* ========================================
   Game Filter
======================================== */
.vf53-filter-container {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 20px;
    -webkit-overflow-scrolling: touch;
}

.siteef5-filter-btn {
    padding: 10px 20px;
    border: 2px solid var(--vf53-primary);
    background: transparent;
    color: var(--vf53-primary);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 500;
    white-space: nowrap;
    transition: var(--vf53-transition);
}

.siteef5-filter-btn:hover,
.siteef5-filter-active {
    background: var(--vf53-primary);
    color: var(--vf53-white);
}

/* ========================================
   Game Grid
======================================== */
.vf53-game-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

@media (min-width: 480px) {
    .vf53-game-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 769px) {
    .vf53-game-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 16px;
    }
}

@media (min-width: 1024px) {
    .vf53-game-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.vf53-game-card {
    background: var(--vf53-white);
    border-radius: var(--vf53-radius);
    overflow: hidden;
    box-shadow: var(--vf53-shadow-light);
    transition: var(--vf53-transition);
    cursor: pointer;
}

.vf53-game-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--vf53-shadow);
}

.vf53-game-img-wrapper {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.vf53-game-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--vf53-transition);
}

.vf53-game-card:hover .vf53-game-img {
    transform: scale(1.1);
}

.vf53-game-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 46, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--vf53-transition);
}

.vf53-game-card:hover .vf53-game-overlay {
    opacity: 1;
}

.vf53-game-play-btn {
    padding: 10px 24px;
    background: var(--vf53-gradient-accent);
    color: var(--vf53-white);
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
}

.vf53-game-info {
    padding: 10px;
    text-align: center;
}

.vf53-game-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--vf53-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ========================================
   Features Section
======================================== */
.vf53-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (min-width: 769px) {
    .vf53-features {
        grid-template-columns: repeat(4, 1fr);
    }
}

.vf53-feature-card {
    background: var(--vf53-white);
    padding: 24px 16px;
    border-radius: var(--vf53-radius);
    text-align: center;
    box-shadow: var(--vf53-shadow-light);
    transition: var(--vf53-transition);
}

.vf53-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--vf53-shadow);
}

.vf53-feature-icon {
    width: 56px;
    height: 56px;
    background: var(--vf53-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.vf53-feature-icon i {
    font-size: 1.5rem;
    color: var(--vf53-secondary);
}

.vf53-feature-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--vf53-primary);
    margin-bottom: 8px;
}

.vf53-feature-desc {
    font-size: 0.85rem;
    color: var(--vf53-gray);
    line-height: 1.5;
}

/* ========================================
   Promo Banner
======================================== */
.vf53-promo-banner {
    background: var(--vf53-gradient-accent);
    border-radius: var(--vf53-radius);
    padding: 24px;
    text-align: center;
    margin: 30px 0;
    position: relative;
    overflow: hidden;
}

.vf53-promo-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    animation: vf53pulse 3s ease-in-out infinite;
}

@keyframes vf53pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.vf53-promo-content {
    position: relative;
    z-index: 1;
}

.vf53-promo-title {
    font-size: 1.4rem;
    color: var(--vf53-white);
    font-weight: 700;
    margin-bottom: 8px;
}

.vf53-promo-desc {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 16px;
}

/* ========================================
   Accordion Styles
======================================== */
.vf53-accordion-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.vf53-accordion-item {
    background: var(--vf53-white);
    border-radius: var(--vf53-radius);
    overflow: hidden;
    box-shadow: var(--vf53-shadow-light);
}

.vf53-accordion-header {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--vf53-transition);
}

.vf53-accordion-header:hover {
    background: rgba(255, 105, 180, 0.1);
}

.vf53-accordion-title {
    font-weight: 600;
    color: var(--vf53-primary);
}

.vf53-accordion-icon {
    color: var(--vf53-secondary);
    transition: var(--vf53-transition);
}

.vf53-accordion-active .vf53-accordion-icon {
    transform: rotate(180deg);
}

.vf53-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.vf53-accordion-body {
    padding: 0 20px 20px;
    color: var(--vf53-gray);
    line-height: 1.7;
}

/* ========================================
   Footer Styles
======================================== */
.vf53-footer {
    background: var(--vf53-gradient);
    padding: 40px 16px 20px;
    margin-top: 40px;
}

.vf53-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.vf53-footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

@media (min-width: 769px) {
    .vf53-footer-top {
        grid-template-columns: repeat(3, 1fr);
    }
}

.vf53-footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.vf53-footer-desc {
    color: var(--vf53-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.vf53-footer-title {
    color: var(--vf53-white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.vf53-footer-links {
    list-style: none;
}

.vf53-footer-link {
    display: block;
    padding: 8px 0;
    color: var(--vf53-muted);
    font-size: 0.9rem;
    transition: var(--vf53-transition);
}

.vf53-footer-link:hover {
    color: var(--vf53-secondary);
    padding-left: 8px;
}

.vf53-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.vf53-copyright {
    color: var(--vf53-muted);
    font-size: 0.85rem;
}

/* ========================================
   Mobile Bottom Navigation
======================================== */
.vf53-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: var(--vf53-gradient);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

@media (min-width: 769px) {
    .vf53-bottom-nav {
        display: none;
    }
}

.vf53-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    padding: 8px;
    color: var(--vf53-muted);
    transition: var(--vf53-transition);
    border-radius: 12px;
}

.vf53-nav-item:hover,
.vf53-nav-item-active {
    color: var(--vf53-secondary);
    background: rgba(255, 105, 180, 0.15);
}

.vf53-nav-item i {
    font-size: 24px;
    margin-bottom: 4px;
}

.vf53-nav-item span {
    font-size: 10px;
    font-weight: 500;
}

/* ========================================
   Toast Notification
======================================== */
.vf53-toast {
    position: fixed;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--vf53-primary);
    color: var(--vf53-white);
    padding: 12px 24px;
    border-radius: var(--vf53-radius-sm);
    font-size: 0.9rem;
    opacity: 0;
    transition: var(--vf53-transition);
    z-index: 10000;
}

.vf53-toast-show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* ========================================
   Animations
======================================== */
@keyframes siteef5fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Help Page Styles
======================================== */
.vf53-help-section {
    background: var(--vf53-white);
    border-radius: var(--vf53-radius);
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: var(--vf53-shadow-light);
}

.vf53-help-title {
    font-size: 1.2rem;
    color: var(--vf53-primary);
    margin-bottom: 16px;
    font-weight: 600;
}

.vf53-help-content {
    color: var(--vf53-gray);
    line-height: 1.8;
}

.vf53-help-content p {
    margin-bottom: 12px;
}

.vf53-help-content ul,
.vf53-help-content ol {
    margin-left: 20px;
    margin-bottom: 12px;
}

.vf53-help-content li {
    margin-bottom: 8px;
}

.vf53-help-link {
    color: var(--vf53-secondary);
    font-weight: 500;
}

.vf53-help-link:hover {
    text-decoration: underline;
}

/* Page Header */
.vf53-page-header {
    background: var(--vf53-gradient);
    padding: 100px 16px 40px;
    text-align: center;
}

.vf53-page-title {
    font-size: 1.8rem;
    color: var(--vf53-white);
    font-weight: 700;
    margin-bottom: 8px;
}

.vf53-page-breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--vf53-muted);
}

.vf53-breadcrumb-link {
    color: var(--vf53-secondary);
}
