/**
 * JL8 Layout Stylesheet
 * Website: jl8.club
 * Class Prefix: vbc2-
 * Color Palette: #1C2833 | #D8BFD8 | #800080 | #20B2AA | #26A69A
 */

/* CSS Variables */
:root {
    --vbc2-bg-dark: #1C2833;
    --vbc2-text-light: #D8BFD8;
    --vbc2-accent-purple: #800080;
    --vbc2-accent-teal: #20B2AA;
    --vbc2-accent-green: #26A69A;
    --vbc2-white: #ffffff;
    --vbc2-black: #000000;
    --vbc2-gray: #666666;
    --vbc2-header-height: 60px;
    --vbc2-bottom-nav-height: 60px;
}

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background-color: var(--vbc2-bg-dark);
    color: var(--vbc2-text-light);
    line-height: 1.5rem;
    font-size: 1.4rem;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.vbc2-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.2rem;
}

.vbc2-wrapper {
    width: 100%;
    overflow-x: hidden;
}

/* Header */
.vbc2-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--vbc2-header-height);
    background: linear-gradient(135deg, var(--vbc2-bg-dark) 0%, #2d3e50 100%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.2rem;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.vbc2-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.vbc2-logo img {
    width: 32px;
    height: 32px;
}

.vbc2-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--vbc2-accent-teal);
}

.vbc2-header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.vbc2-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;
}

.vbc2-btn-primary {
    background: linear-gradient(135deg, var(--vbc2-accent-purple) 0%, #9932CC 100%);
    color: var(--vbc2-white);
}

.vbc2-btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(128,0,128,0.4);
}

.vbc2-btn-secondary {
    background: linear-gradient(135deg, var(--vbc2-accent-teal) 0%, var(--vbc2-accent-green) 100%);
    color: var(--vbc2-white);
}

.vbc2-btn-secondary:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(32,178,170,0.4);
}

.vbc2-menu-toggle {
    background: transparent;
    border: none;
    color: var(--vbc2-text-light);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* Mobile Menu */
.vbc2-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, var(--vbc2-bg-dark) 0%, #2d3e50 100%);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 2rem 1.5rem;
    overflow-y: auto;
}

.vbc2-menu-active {
    right: 0;
}

.vbc2-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;
}

.vbc2-overlay-active {
    opacity: 1;
    visibility: visible;
}

.vbc2-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(216,191,216,0.2);
}

.vbc2-menu-close {
    background: transparent;
    border: none;
    color: var(--vbc2-text-light);
    font-size: 2rem;
    cursor: pointer;
}

.vbc2-menu-nav {
    list-style: none;
}

.vbc2-menu-nav li {
    margin-bottom: 1rem;
}

.vbc2-menu-nav a {
    display: block;
    padding: 1rem;
    color: var(--vbc2-text-light);
    font-size: 1.4rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.vbc2-menu-nav a:hover {
    background: rgba(128,0,128,0.3);
    color: var(--vbc2-accent-teal);
}

/* Main Content */
main {
    padding-top: calc(var(--vbc2-header-height) + 1rem);
    padding-bottom: 1rem;
}

@media (max-width: 768px) {
    main {
        padding-bottom: calc(var(--vbc2-bottom-nav-height) + 2rem);
    }
}

/* Carousel */
.vbc2-carousel {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.vbc2-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.vbc2-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

.vbc2-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vbc2-slide-active {
    opacity: 1;
}

.vbc2-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.vbc2-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.vbc2-dot-active {
    background: var(--vbc2-accent-teal);
    transform: scale(1.2);
}

/* Section Title */
.vbc2-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--vbc2-accent-teal);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--vbc2-accent-purple);
}

/* Game Grid */
.vbc2-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.vbc2-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.vbc2-game-item:hover {
    transform: scale(1.05);
}

.vbc2-game-item img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 10px;
    margin-bottom: 0.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.vbc2-game-name {
    font-size: 1.1rem;
    color: var(--vbc2-text-light);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Category Label */
.vbc2-category-label {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, var(--vbc2-accent-purple) 0%, #9932CC 100%);
    color: var(--vbc2-white);
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

/* Content Section */
.vbc2-content-section {
    background: rgba(45,62,80,0.5);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(128,0,128,0.3);
}

.vbc2-content-section h2 {
    font-size: 1.6rem;
    color: var(--vbc2-accent-teal);
    margin-bottom: 1rem;
}

.vbc2-content-section p {
    font-size: 1.3rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--vbc2-text-light);
}

.vbc2-content-section ul {
    list-style: none;
    padding-left: 0;
}

.vbc2-content-section li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 1.3rem;
}

.vbc2-content-section li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1rem;
    width: 6px;
    height: 6px;
    background: var(--vbc2-accent-teal);
    border-radius: 50%;
}

/* Promo Link */
.vbc2-promo-link {
    color: var(--vbc2-accent-teal);
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.vbc2-promo-link:hover {
    color: var(--vbc2-accent-green);
}

/* Footer */
.vbc2-footer {
    background: linear-gradient(180deg, #2d3e50 0%, var(--vbc2-bg-dark) 100%);
    padding: 2rem 0;
    margin-top: 2rem;
}

.vbc2-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.vbc2-footer-links a {
    color: var(--vbc2-text-light);
    font-size: 1.2rem;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.vbc2-footer-links a:hover {
    color: var(--vbc2-accent-teal);
}

.vbc2-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.vbc2-partners img {
    height: 24px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.vbc2-partners img:hover {
    opacity: 1;
}

.vbc2-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--vbc2-gray);
}

/* Bottom Navigation */
.vbc2-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--vbc2-bottom-nav-height);
    background: linear-gradient(180deg, #2d3e50 0%, var(--vbc2-bg-dark) 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
}

@media (min-width: 769px) {
    .vbc2-bottom-nav {
        display: none;
    }
}

.vbc2-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;
    color: var(--vbc2-text-light);
}

.vbc2-nav-item:hover {
    color: var(--vbc2-accent-teal);
    transform: scale(1.1);
}

.vbc2-nav-item i,
.vbc2-nav-item .material-icons {
    font-size: 24px;
    margin-bottom: 2px;
}

.vbc2-nav-item span {
    font-size: 10px;
    font-weight: 500;
}

.vbc2-nav-item-active {
    color: var(--vbc2-accent-teal);
}

/* H1 Title */
.vbc2-h1-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--vbc2-accent-teal);
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

/* Responsive */
@media (max-width: 380px) {
    .vbc2-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .vbc2-btn {
        padding: 0.5rem 0.8rem;
        font-size: 1.1rem;
    }
}

/* Utility Classes */
.vbc2-text-center { text-align: center; }
.vbc2-mb-1 { margin-bottom: 1rem; }
.vbc2-mb-2 { margin-bottom: 2rem; }
.vbc2-mt-1 { margin-top: 1rem; }
.vbc2-mt-2 { margin-top: 2rem; }

/* Promo Banner */
.vbc2-promo-banner {
    background: linear-gradient(135deg, var(--vbc2-accent-purple) 0%, var(--vbc2-accent-teal) 100%);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 2rem;
}

.vbc2-promo-banner h3 {
    font-size: 1.6rem;
    color: var(--vbc2-white);
    margin-bottom: 0.5rem;
}

.vbc2-promo-banner p {
    font-size: 1.3rem;
    color: var(--vbc2-white);
    opacity: 0.9;
}
