/**
 * JLBoss Games - Main Stylesheet
 * Mobile-first responsive design
 * Prefix: vf14-
 */

/* CSS Variables */
:root {
    --vf14-primary: #FFBF00;
    --vf14-secondary: #FFF176;
    --vf14-accent: #FF9800;
    --vf14-bg: #0E1621;
    --vf14-bg-light: #1a2530;
    --vf14-text: #ffffff;
    --vf14-text-muted: #a0aec0;
    --vf14-border: #2d3748;
    --vf14-success: #48bb78;
    --vf14-danger: #f56565;
    --vf14-gradient: linear-gradient(135deg, #FFBF00 0%, #FF9800 100%);
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--vf14-bg);
    color: var(--vf14-text);
    line-height: 1.5;
    font-size: 1.6rem;
    min-height: 100vh;
}

/* Container */
.vf14-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.vf14-wrapper {
    padding: 2rem 0;
}

/* Header */
.vf14-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--vf14-bg) 0%, rgba(14, 22, 33, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--vf14-border);
}

.vf14-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    max-width: 430px;
    margin: 0 auto;
}

.vf14-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.vf14-logo img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.vf14-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--vf14-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vf14-header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.vf14-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    font-size: 1.3rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.vf14-btn-primary {
    background: var(--vf14-gradient);
    color: var(--vf14-bg);
}

.vf14-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 191, 0, 0.4);
}

.vf14-btn-outline {
    background: transparent;
    color: var(--vf14-primary);
    border: 2px solid var(--vf14-primary);
}

.vf14-btn-outline:hover {
    background: var(--vf14-primary);
    color: var(--vf14-bg);
}

.vf14-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: var(--vf14-text);
    font-size: 2.4rem;
    cursor: pointer;
}

/* Mobile Menu */
.vf14-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--vf14-bg-light);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 8rem 2rem 2rem;
    overflow-y: auto;
}

.vf14-menu-active {
    right: 0;
}

.vf14-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;
}

.vf14-overlay-active {
    opacity: 1;
    visibility: visible;
}

.vf14-menu-nav {
    list-style: none;
}

.vf14-menu-nav li {
    margin-bottom: 0.5rem;
}

.vf14-menu-nav a {
    display: block;
    padding: 1.2rem 1.5rem;
    color: var(--vf14-text);
    text-decoration: none;
    font-size: 1.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.vf14-menu-nav a:hover {
    background: var(--vf14-bg);
    color: var(--vf14-primary);
}

/* Main Content */
.vf14-main {
    padding-top: 70px;
    padding-bottom: 2rem;
}

@media (max-width: 768px) {
    .vf14-main {
        padding-bottom: 80px;
    }
}

/* Carousel */
.vf14-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.vf14-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.vf14-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.vf14-slide-active {
    opacity: 1;
    position: relative;
}

.vf14-slide img {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
}

.vf14-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 0;
}

.vf14-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--vf14-border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.vf14-dot-active {
    background: var(--vf14-primary);
    transform: scale(1.2);
}

/* Section Titles */
.vf14-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--vf14-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--vf14-border);
}

.vf14-section-title i {
    margin-right: 0.8rem;
}

/* Game Grid */
.vf14-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.vf14-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.vf14-game-item:hover {
    transform: translateY(-5px);
}

.vf14-game-item img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    margin-bottom: 0.5rem;
    object-fit: cover;
    border: 2px solid var(--vf14-border);
    transition: border-color 0.3s ease;
}

.vf14-game-item:hover img {
    border-color: var(--vf14-primary);
}

.vf14-game-name {
    font-size: 1.1rem;
    color: var(--vf14-text);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Cards */
.vf14-card {
    background: var(--vf14-bg-light);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--vf14-border);
}

.vf14-card-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--vf14-primary);
    margin-bottom: 1rem;
}

.vf14-card-content {
    font-size: 1.4rem;
    color: var(--vf14-text-muted);
    line-height: 1.6;
}

/* Features List */
.vf14-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1.5rem 0;
}

.vf14-feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: var(--vf14-bg-light);
    border-radius: 8px;
    border: 1px solid var(--vf14-border);
}

.vf14-feature-item i {
    font-size: 2rem;
    color: var(--vf14-primary);
}

.vf14-feature-text {
    font-size: 1.2rem;
    color: var(--vf14-text);
}

/* Promo Links */
.vf14-promo-link {
    color: var(--vf14-primary);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

.vf14-promo-link:hover {
    color: var(--vf14-secondary);
    text-decoration: underline;
}

/* Footer */
.vf14-footer {
    background: var(--vf14-bg-light);
    padding: 3rem 1.5rem 2rem;
    border-top: 1px solid var(--vf14-border);
}

.vf14-footer-brand {
    text-align: center;
    margin-bottom: 2rem;
}

.vf14-footer-desc {
    font-size: 1.3rem;
    color: var(--vf14-text-muted);
    margin: 1rem 0;
    line-height: 1.6;
}

.vf14-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.vf14-footer-link {
    color: var(--vf14-text);
    text-decoration: none;
    font-size: 1.3rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.vf14-footer-link:hover {
    background: var(--vf14-bg);
    color: var(--vf14-primary);
}

.vf14-footer-promo {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.vf14-footer-promo .vf14-btn {
    font-size: 1.2rem;
    padding: 0.6rem 1.2rem;
}

.vf14-footer-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--vf14-text-muted);
    padding-top: 1.5rem;
    border-top: 1px solid var(--vf14-border);
}

/* Bottom Navigation */
.vf14-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(180deg, rgba(26, 37, 48, 0.98) 0%, var(--vf14-bg) 100%);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 1px solid var(--vf14-border);
}

@media (min-width: 769px) {
    .vf14-bottom-nav {
        display: none;
    }
}

.vf14-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border-radius: 12px;
}

.vf14-nav-item:hover {
    background: rgba(255, 191, 0, 0.1);
}

.vf14-nav-item i {
    font-size: 24px;
    color: var(--vf14-text-muted);
    margin-bottom: 4px;
    transition: color 0.3s ease;
}

.vf14-nav-item span {
    font-size: 11px;
    color: var(--vf14-text-muted);
    transition: color 0.3s ease;
}

.vf14-nav-item:hover i,
.vf14-nav-item:hover span,
.vf14-nav-item.active i,
.vf14-nav-item.active span {
    color: var(--vf14-primary);
}

.vf14-nav-item.active {
    background: rgba(255, 191, 0, 0.15);
}

/* Utilities */
.vf14-text-center { text-align: center; }
.vf14-text-primary { color: var(--vf14-primary); }
.vf14-mb-1 { margin-bottom: 1rem; }
.vf14-mb-2 { margin-bottom: 2rem; }
.vf14-mt-2 { margin-top: 2rem; }

/* Animations */
@keyframes vf14-fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.vf14-loaded .vf14-animate {
    animation: vf14-fadeIn 0.6s ease forwards;
}

/* Responsive */
@media (max-width: 430px) {
    .vf14-game-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.8rem;
    }

    .vf14-game-name {
        font-size: 1rem;
    }
}
