/**
 * JL77 PH - Main Stylesheet
 * Mobile-first design with color palette: #0D1117 | #808080 | #FFB3FF
 */

/* CSS Variables */
:root {
    --color-bg-dark: #0D1117;
    --color-bg-medium: #161b22;
    --color-text-primary: #ffffff;
    --color-text-secondary: #808080;
    --color-accent: #FFB3FF;
    --color-accent-hover: #e099e0;
    --color-border: #30363d;
    --color-success: #2ea043;
    --color-warning: #f0883e;
    --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --header-height: 60px;
    --bottom-nav-height: 64px;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-bg-dark);
    color: var(--color-text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.vb92container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 16px;
}

.vb92container-fluid {
    width: 100%;
    max-width: 100%;
    padding: 0 16px;
}

/* Header */
.vb92header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background-color: var(--color-bg-medium);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
}

.vb92logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-accent);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vb92header-buttons {
    display: flex;
    gap: 12px;
}

.vb92btn {
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.vb92btn-primary {
    background: linear-gradient(135deg, var(--color-accent) 0%, #d980d9 100%);
    color: var(--color-bg-dark);
}

.vb92btn-secondary {
    background-color: transparent;
    color: var(--color-accent);
    border: 2px solid var(--color-accent);
}

.vb92btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 179, 255, 0.3);
}

.vb92btn-primary:hover {
    background: linear-gradient(135deg, var(--color-accent-hover) 0%, #c070c0 100%);
}

/* Mobile Menu Toggle */
.vb92menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: 8px;
}

.vb92menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--color-accent);
    transition: all 0.3s ease;
}

/* Mobile Menu */
.vb92mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--color-bg-medium);
    z-index: 9999;
    transition: left 0.3s ease;
    overflow-y: auto;
    padding: 20px;
    border-right: 1px solid var(--color-border);
}

.vb92mobile-menu.vb92active {
    left: 0;
}

.vb92menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.vb92menu-close {
    font-size: 1.5rem;
    color: var(--color-text-secondary);
    cursor: pointer;
    padding: 8px;
}

.vb92menu-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vb92menu-link {
    padding: 12px 16px;
    color: var(--color-text-primary);
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.vb92menu-link:hover {
    background-color: var(--color-bg-dark);
}

.vb92menu-link i {
    color: var(--color-accent);
    width: 20px;
}

/* Overlay */
.vb92overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.vb92overlay.vb92active {
    opacity: 1;
    visibility: visible;
}

/* Main Content */
.vb92main {
    margin-top: var(--header-height);
    padding-bottom: calc(var(--bottom-nav-height) + 16px);
    min-height: calc(100vh - var(--header-height) - var(--bottom-nav-height));
}

/* Hero Section */
.vb92hero {
    padding: 24px 0;
    text-align: center;
}

.vb92hero-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--color-accent) 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vb92hero-subtitle {
    font-size: 1rem;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
}

/* Carousel */
.vb92carousel {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
}

.vb92carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.vb92carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.vb92carousel-slide.vb92active {
    opacity: 1;
}

.vb92carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vb92carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.vb92carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.vb92carousel-dot.vb92active {
    background-color: var(--color-accent);
    transform: scale(1.2);
}

/* Section */
.vb92section {
    padding: 24px 0;
}

.vb92section-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 16px;
    color: var(--color-text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.vb92section-title i {
    color: var(--color-accent);
}

/* Category Tabs */
.vb92category-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 16px;
    scrollbar-width: none;
}

.vb92category-tabs::-webkit-scrollbar {
    display: none;
}

.vb92category-tab {
    padding: 8px 16px;
    background-color: var(--color-bg-medium);
    color: var(--color-text-secondary);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    font-size: 0.85rem;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
}

.vb92category-tab.vb92active,
.vb92category-tab:hover {
    background-color: var(--color-accent);
    color: var(--color-bg-dark);
    border-color: var(--color-accent);
}

/* Game Grid */
.vb92game-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.vb92game-card {
    background-color: var(--color-bg-medium);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--color-border);
}

.vb92game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(255, 179, 255, 0.2);
    border-color: var(--color-accent);
}

.vb92game-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.vb92game-name {
    padding: 8px;
    font-size: 0.75rem;
    text-align: center;
    color: var(--color-text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Feature Cards */
.vb92feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.vb92feature-card {
    background-color: var(--color-bg-medium);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.vb92feature-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-2px);
}

.vb92feature-icon {
    font-size: 2rem;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.vb92feature-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.vb92feature-desc {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
}

/* CTA Section */
.vb92cta-section {
    background: linear-gradient(135deg, var(--color-bg-medium) 0%, var(--color-bg-dark) 100%);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.vb92cta-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 12px;
    color: var(--color-accent);
}

.vb92cta-text {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
}

/* Bottom Navigation */
.vb92bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--bottom-nav-height);
    background-color: var(--color-bg-medium);
    border-top: 1px solid var(--color-border);
    z-index: 1000;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.vb92nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    padding: 8px;
    text-decoration: none;
    color: var(--color-text-secondary);
    transition: all 0.3s ease;
    cursor: pointer;
}

.vb92nav-item i {
    font-size: 24px;
    margin-bottom: 4px;
}

.vb92nav-item span {
    font-size: 10px;
    text-transform: capitalize;
}

.vb92nav-item:hover,
.vb92nav-item.vb92active {
    color: var(--color-accent);
}

.vb92nav-item:hover i {
    transform: scale(1.1);
}

/* Footer */
.vb92footer {
    background-color: var(--color-bg-medium);
    border-top: 1px solid var(--color-border);
    padding: 24px 0;
    margin-top: 24px;
}

.vb92footer-content {
    text-align: center;
}

.vb92footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 16px;
}

.vb92footer-link {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.vb92footer-link:hover {
    color: var(--color-accent);
}

.vb92footer-text {
    color: var(--color-text-secondary);
    font-size: 0.85rem;
}

/* Utility Classes */
.vb92text-center {
    text-align: center;
}

.vb92mb-1 {
    margin-bottom: 8px;
}

.vb92mb-2 {
    margin-bottom: 16px;
}

.vb92mb-3 {
    margin-bottom: 24px;
}

/* Responsive */
@media (min-width: 769px) {
    .vb92bottom-nav {
        display: none;
    }

    .vb92main {
        padding-bottom: 24px;
    }

    .vb92menu-toggle {
        display: none;
    }

    .vb92game-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .vb92container {
        max-width: 1200px;
    }
}

@media (max-width: 768px) {
    .vb92main {
        padding-bottom: calc(var(--bottom-nav-height) + 16px);
    }
}
