/**
 * Jl8 Website Stylesheet
 * All classes use prefix "vfb6-" for namespace isolation
 * @version 1.0.0
 */

/* CSS Variables */
:root {
    --vfb6-primary: #ADFF2F;
    --vfb6-secondary: #00FA9A;
    --vfb6-accent: #BAE1FF;
    --vfb6-bg-dark: #0E1621;
    --vfb6-bg-light: #1a2533;
    --vfb6-text-light: #EEEEEE;
    --vfb6-text-muted: #a0aec0;
    --vfb6-success: #008000;
    --vfb6-gradient: linear-gradient(135deg, #ADFF2F 0%, #00FA9A 100%);
    --vfb6-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --vfb6-radius: 12px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--vfb6-bg-dark);
    color: var(--vfb6-text-light);
    line-height: 1.5rem;
    min-height: 100vh;
    max-width: 430px;
    margin: 0 auto;
    overflow-x: hidden;
}

/* Container */
.vfb6-container {
    width: 100%;
    padding: 0 1.6rem;
}

/* Header */
.vfb6-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    max-width: 430px;
    margin: 0 auto;
    background: linear-gradient(180deg, var(--vfb6-bg-dark) 0%, rgba(14, 22, 33, 0.95) 100%);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 1.6rem;
    border-bottom: 1px solid rgba(173, 255, 47, 0.2);
}

.vfb6-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.vfb6-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.vfb6-logo img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.vfb6-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--vfb6-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vfb6-header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.vfb6-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    border-radius: 8px;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.vfb6-btn-primary {
    background: var(--vfb6-gradient);
    color: var(--vfb6-bg-dark);
}

.vfb6-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(173, 255, 47, 0.4);
}

.vfb6-btn-outline {
    background: transparent;
    border: 2px solid var(--vfb6-primary);
    color: var(--vfb6-primary);
}

.vfb6-btn-outline:hover {
    background: var(--vfb6-primary);
    color: var(--vfb6-bg-dark);
}

.vfb6-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.vfb6-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--vfb6-primary);
    transition: all 0.3s ease;
}

/* Mobile Menu */
.vfb6-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--vfb6-bg-light);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem;
    overflow-y: auto;
}

.vfb6-menu-active {
    right: 0;
}

.vfb6-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: all 0.3s ease;
}

.vfb6-overlay-active {
    opacity: 1;
    visibility: visible;
}

.vfb6-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(173, 255, 47, 0.2);
}

.vfb6-menu-close {
    background: none;
    border: none;
    color: var(--vfb6-text-light);
    font-size: 2.4rem;
    cursor: pointer;
}

.vfb6-menu-nav {
    list-style: none;
}

.vfb6-menu-nav li {
    margin-bottom: 1rem;
}

.vfb6-menu-nav a {
    display: block;
    padding: 1rem;
    color: var(--vfb6-text-light);
    text-decoration: none;
    font-size: 1.4rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.vfb6-menu-nav a:hover {
    background: rgba(173, 255, 47, 0.1);
    color: var(--vfb6-primary);
}

/* Main Content */
main {
    padding-top: 70px;
    padding-bottom: 80px;
}

/* Carousel */
.vfb6-carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--vfb6-radius);
    margin-bottom: 2rem;
}

.vfb6-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.vfb6-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: relative;
}

.vfb6-slide-active {
    opacity: 1;
}

.vfb6-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.vfb6-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.vfb6-slide-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
}

.vfb6-slide-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.vfb6-dot-active {
    background: var(--vfb6-primary);
    transform: scale(1.2);
}

/* Sections */
.vfb6-section {
    padding: 2rem 1.6rem;
}

.vfb6-section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--vfb6-text-light);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.vfb6-section-title::before {
    content: '';
    width: 4px;
    height: 2rem;
    background: var(--vfb6-gradient);
    border-radius: 2px;
}

/* Game Grid */
.vfb6-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.vfb6-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.vfb6-game-item:hover {
    transform: scale(1.05);
}

.vfb6-game-item img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    box-shadow: var(--vfb6-shadow);
}

.vfb6-game-name {
    font-size: 1.1rem;
    color: var(--vfb6-text-light);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Category Section */
.vfb6-category-section {
    margin-bottom: 2.5rem;
}

.vfb6-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.vfb6-category-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--vfb6-primary);
}

/* Cards */
.vfb6-card {
    background: var(--vfb6-bg-light);
    border-radius: var(--vfb6-radius);
    padding: 1.6rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--vfb6-shadow);
    border: 1px solid rgba(173, 255, 47, 0.1);
}

.vfb6-card-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--vfb6-primary);
}

.vfb6-card-text {
    font-size: 1.3rem;
    color: var(--vfb6-text-muted);
    line-height: 1.8;
}

/* Features */
.vfb6-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

.vfb6-feature-item {
    background: var(--vfb6-bg-light);
    padding: 1.5rem;
    border-radius: var(--vfb6-radius);
    text-align: center;
    border: 1px solid rgba(173, 255, 47, 0.1);
    transition: all 0.3s ease;
}

.vfb6-feature-item:hover {
    border-color: var(--vfb6-primary);
    transform: translateY(-2px);
}

.vfb6-feature-icon {
    font-size: 2.8rem;
    margin-bottom: 0.8rem;
    color: var(--vfb6-primary);
}

.vfb6-feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--vfb6-text-light);
}

.vfb6-feature-desc {
    font-size: 1.1rem;
    color: var(--vfb6-text-muted);
    margin-top: 0.5rem;
}

/* FAQ */
.vfb6-faq-item {
    background: var(--vfb6-bg-light);
    border-radius: var(--vfb6-radius);
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid rgba(173, 255, 47, 0.1);
}

.vfb6-faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--vfb6-text-light);
}

.vfb6-faq-icon {
    transition: transform 0.3s ease;
    color: var(--vfb6-primary);
}

.vfb6-faq-icon-rotate {
    transform: rotate(180deg);
}

.vfb6-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
    font-size: 1.3rem;
    color: var(--vfb6-text-muted);
    line-height: 1.8;
}

.vfb6-faq-answer-open {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem;
}

/* Footer */
.vfb6-footer {
    background: var(--vfb6-bg-light);
    padding: 2rem 1.6rem;
    border-top: 1px solid rgba(173, 255, 47, 0.2);
}

.vfb6-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.vfb6-footer-links a {
    color: var(--vfb6-text-muted);
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.vfb6-footer-links a:hover {
    color: var(--vfb6-primary);
}

.vfb6-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.vfb6-partners img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.vfb6-partners img:hover {
    opacity: 1;
}

.vfb6-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--vfb6-text-muted);
}

/* Bottom Navigation */
.vfb6-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 430px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(26, 37, 51, 0.98) 0%, var(--vfb6-bg-dark) 100%);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0.8rem 0;
    height: 64px;
    z-index: 1000;
    border-top: 1px solid rgba(173, 255, 47, 0.2);
}

.vfb6-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 48px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.vfb6-nav-item:hover {
    transform: scale(1.1);
}

.vfb6-nav-item.active .vfb6-nav-icon {
    color: var(--vfb6-primary);
}

.vfb6-nav-icon {
    font-size: 2.2rem;
    color: var(--vfb6-text-muted);
    margin-bottom: 0.2rem;
    transition: color 0.3s ease;
}

.vfb6-nav-text {
    font-size: 1rem;
    color: var(--vfb6-text-muted);
    transition: color 0.3s ease;
}

.vfb6-nav-item:hover .vfb6-nav-icon,
.vfb6-nav-item:hover .vfb6-nav-text {
    color: var(--vfb6-primary);
}

/* Promo Link */
.vfb6-promo-link {
    color: var(--vfb6-primary);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.vfb6-promo-link:hover {
    text-decoration: underline;
    color: var(--vfb6-secondary);
}

/* Text Styles */
.vfb6-text-primary {
    color: var(--vfb6-primary);
}

.vfb6-text-gradient {
    background: var(--vfb6-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive Utilities */
@media (min-width: 769px) {
    .vfb6-bottom-nav {
        display: none;
    }

    main {
        padding-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    main {
        padding-bottom: 80px;
    }
}

/* Animation */
@keyframes vfb6-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.vfb6-animate-pulse {
    animation: vfb6-pulse 2s infinite;
}

/* H1 Title */
.vfb6-h1-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--vfb6-text-light);
    line-height: 1.4;
}

/* List Styles */
.vfb6-list {
    list-style: none;
    padding: 0;
}

.vfb6-list li {
    padding: 0.8rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.3rem;
    color: var(--vfb6-text-muted);
}

.vfb6-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.2rem;
    width: 8px;
    height: 8px;
    background: var(--vfb6-primary);
    border-radius: 50%;
}

/* RTP Display */
.vfb6-rtp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.vfb6-rtp-item {
    background: var(--vfb6-bg-light);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(173, 255, 47, 0.1);
}

.vfb6-rtp-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--vfb6-primary);
}

.vfb6-rtp-label {
    font-size: 1.1rem;
    color: var(--vfb6-text-muted);
    margin-top: 0.3rem;
}

/* Promo Banner */
.vfb6-promo-banner {
    background: var(--vfb6-gradient);
    border-radius: var(--vfb6-radius);
    padding: 1.5rem;
    text-align: center;
    margin: 1.5rem 0;
}

.vfb6-promo-banner-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--vfb6-bg-dark);
    margin-bottom: 0.5rem;
}

.vfb6-promo-banner-text {
    font-size: 1.3rem;
    color: var(--vfb6-bg-dark);
    opacity: 0.9;
}
