/**
 * Lamelo Ball - Main Stylesheet
 * All classes use 'vfeb-' prefix for namespace isolation
 * Color palette: #6495ED | #0C0C0C | #000080 | #B0E0E6
 * @version 1.0.0
 */

/* CSS Variables */
:root {
    --vfeb-primary: #6495ED;
    --vfeb-secondary: #000080;
    --vfeb-bg-dark: #0C0C0C;
    --vfeb-bg-light: #B0E0E6;
    --vfeb-text-light: #FFFFFF;
    --vfeb-text-muted: #B0E0E6;
    --vfeb-accent: #6495ED;
    --vfeb-gradient: linear-gradient(135deg, #6495ED 0%, #000080 100%);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--vfeb-bg-dark);
    color: var(--vfeb-text-light);
    line-height: 1.5rem;
    font-size: 1.4rem;
    min-height: 100vh;
}

a {
    color: var(--vfeb-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--vfeb-bg-light);
}

/* Container */
.vfeb-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.2rem;
}

/* Header */
.vfeb-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(12, 12, 12, 0.98) 0%, rgba(12, 12, 12, 0.95) 100%);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(100, 149, 237, 0.3);
}

.vfeb-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.2rem;
}

.vfeb-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.vfeb-logo img {
    width: 28px;
    height: 28px;
    border-radius: 4px;
}

.vfeb-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--vfeb-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vfeb-header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.vfeb-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-height: 36px;
}

.vfeb-btn-primary {
    background: var(--vfeb-gradient);
    color: var(--vfeb-text-light);
}

.vfeb-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(100, 149, 237, 0.4);
}

.vfeb-btn-outline {
    background: transparent;
    border: 2px solid var(--vfeb-primary);
    color: var(--vfeb-primary);
}

.vfeb-btn-outline:hover {
    background: var(--vfeb-primary);
    color: var(--vfeb-bg-dark);
}

.vfeb-menu-toggle {
    background: none;
    border: none;
    color: var(--vfeb-text-light);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu */
.vfeb-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--vfeb-bg-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem 1.5rem;
    border-left: 1px solid rgba(100, 149, 237, 0.3);
}

.vfeb-menu-active {
    right: 0;
}

.vfeb-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;
}

.vfeb-overlay-active {
    opacity: 1;
    visibility: visible;
}

.vfeb-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(100, 149, 237, 0.2);
}

.vfeb-menu-close {
    background: none;
    border: none;
    color: var(--vfeb-text-light);
    font-size: 2.4rem;
    cursor: pointer;
}

.vfeb-nav-list {
    list-style: none;
}

.vfeb-nav-item {
    margin-bottom: 0.5rem;
}

.vfeb-nav-link {
    display: block;
    padding: 1rem;
    color: var(--vfeb-text-light);
    font-size: 1.4rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.vfeb-nav-link:hover {
    background: rgba(100, 149, 237, 0.15);
    color: var(--vfeb-primary);
}

/* Slider */
.vfeb-slider {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.vfeb-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.vfeb-slide-active {
    opacity: 1;
}

.vfeb-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vfeb-slider-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
}

.vfeb-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.vfeb-dot-active {
    background: var(--vfeb-primary);
    transform: scale(1.2);
}

/* Main Content */
.vfeb-main {
    padding-top: 70px;
    padding-bottom: 2rem;
}

@media (max-width: 768px) {
    .vfeb-main {
        padding-bottom: 80px;
    }
}

/* Section Titles */
.vfeb-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--vfeb-primary);
    margin-bottom: 1.2rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--vfeb-secondary);
}

.vfeb-h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--vfeb-text-light);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

/* Game Grid */
.vfeb-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.vfeb-game-card {
    background: rgba(0, 0, 128, 0.2);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.vfeb-game-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(100, 149, 237, 0.3);
}

.vfeb-game-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.vfeb-game-name {
    padding: 0.6rem 0.4rem;
    font-size: 1.1rem;
    text-align: center;
    color: var(--vfeb-text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: rgba(12, 12, 12, 0.8);
}

/* Category Section */
.vfeb-category-section {
    margin-bottom: 2rem;
}

.vfeb-category-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--vfeb-bg-light);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.vfeb-category-title i {
    color: var(--vfeb-primary);
}

/* Content Sections */
.vfeb-content-section {
    background: linear-gradient(135deg, rgba(0, 0, 128, 0.2) 0%, rgba(12, 12, 12, 0.9) 100%);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(100, 149, 237, 0.2);
}

.vfeb-content-section h2 {
    font-size: 1.6rem;
    color: var(--vfeb-primary);
    margin-bottom: 1rem;
}

.vfeb-content-section p {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--vfeb-text-muted);
    margin-bottom: 1rem;
}

.vfeb-content-section ul {
    list-style: none;
    padding-left: 0;
}

.vfeb-content-section li {
    padding: 0.6rem 0;
    padding-left: 1.8rem;
    position: relative;
    font-size: 1.3rem;
    color: var(--vfeb-text-muted);
}

.vfeb-content-section li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--vfeb-primary);
}

/* Promo Link Styles */
.vfeb-promo-link {
    color: var(--vfeb-primary);
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.vfeb-promo-link:hover {
    color: var(--vfeb-bg-light);
    text-decoration: underline;
}

.vfeb-promo-btn {
    display: inline-block;
    background: var(--vfeb-gradient);
    color: var(--vfeb-text-light);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.vfeb-promo-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(100, 149, 237, 0.4);
}

/* Footer */
.vfeb-footer {
    background: linear-gradient(180deg, rgba(0, 0, 128, 0.3) 0%, rgba(12, 12, 12, 0.98) 100%);
    padding: 2rem 0;
    border-top: 1px solid rgba(100, 149, 237, 0.2);
}

.vfeb-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.vfeb-footer-link {
    color: var(--vfeb-text-muted);
    font-size: 1.2rem;
    padding: 0.4rem 0.8rem;
    background: rgba(100, 149, 237, 0.1);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.vfeb-footer-link:hover {
    color: var(--vfeb-primary);
    background: rgba(100, 149, 237, 0.2);
}

.vfeb-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
}

.vfeb-partner-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: grayscale(50%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.vfeb-partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

.vfeb-copyright {
    text-align: center;
    color: var(--vfeb-text-muted);
    font-size: 1.1rem;
}

/* Bottom Navigation */
.vfeb-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(0, 0, 128, 0.95) 0%, rgba(12, 12, 12, 0.98) 100%);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.6rem 0;
    border-top: 1px solid rgba(100, 149, 237, 0.3);
}

@media (min-width: 769px) {
    .vfeb-bottom-nav {
        display: none;
    }
}

.vfeb-bottom-nav-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 430px;
    margin: 0 auto;
}

.vfeb-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 50px;
    background: none;
    border: none;
    color: var(--vfeb-text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.4rem;
}

.vfeb-nav-btn:hover,
.vfeb-nav-btn-active {
    color: var(--vfeb-primary);
    transform: scale(1.05);
}

.vfeb-nav-btn i {
    font-size: 22px;
    margin-bottom: 0.3rem;
}

.vfeb-nav-btn span {
    font-size: 10px;
    font-weight: 500;
}

/* Promo Text */
.vfeb-promo-text {
    background: var(--vfeb-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Highlight Box */
.vfeb-highlight-box {
    background: rgba(100, 149, 237, 0.1);
    border-left: 4px solid var(--vfeb-primary);
    padding: 1rem 1.2rem;
    margin: 1rem 0;
    border-radius: 0 8px 8px 0;
}

/* Stats Grid */
.vfeb-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.vfeb-stat-item {
    background: rgba(0, 0, 128, 0.2);
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.vfeb-stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--vfeb-primary);
}

.vfeb-stat-label {
    font-size: 1.1rem;
    color: var(--vfeb-text-muted);
}

/* FAQ Section */
.vfeb-faq-item {
    background: rgba(0, 0, 128, 0.15);
    border-radius: 8px;
    margin-bottom: 0.8rem;
    overflow: hidden;
}

.vfeb-faq-question {
    padding: 1rem 1.2rem;
    font-weight: 600;
    color: var(--vfeb-text-light);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vfeb-faq-answer {
    padding: 0 1.2rem 1rem;
    color: var(--vfeb-text-muted);
    font-size: 1.3rem;
    line-height: 1.5;
}

/* Features List */
.vfeb-features-list {
    display: grid;
    gap: 1rem;
}

.vfeb-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 128, 0.1);
    border-radius: 8px;
}

.vfeb-feature-icon {
    width: 40px;
    height: 40px;
    background: var(--vfeb-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vfeb-feature-icon i {
    color: var(--vfeb-text-light);
    font-size: 18px;
}

.vfeb-feature-content h3 {
    font-size: 1.4rem;
    color: var(--vfeb-primary);
    margin-bottom: 0.4rem;
}

.vfeb-feature-content p {
    font-size: 1.2rem;
    color: var(--vfeb-text-muted);
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 380px) {
    .vfeb-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .vfeb-btn {
        padding: 0.5rem 0.8rem;
        font-size: 1.1rem;
    }
}
