/**
 * Super Ace - Layout Stylesheet
 * Website: super-ace.click
 * Prefix: vbbc-
 * Language: English-PH
 * Mobile-first responsive design
 */

/* CSS Variables */
:root {
    --vbbc-primary: #1a1a2e;
    --vbbc-secondary: #16213e;
    --vbbc-accent: #e94560;
    --vbbc-accent-hover: #ff6b6b;
    --vbbc-gold: #ffd700;
    --vbbc-gold-dark: #b8860b;
    --vbbc-text-light: #ffffff;
    --vbbc-text-muted: #a0a0a0;
    --vbbc-bg-dark: #0f0f1a;
    --vbbc-bg-card: #1e1e3f;
    --vbbc-border: #2a2a4a;
    --vbbc-gradient: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%);
    --vbbc-gold-gradient: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    --vbbc-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --vbbc-shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.4);
    --vbbc-radius: 12px;
    --vbbc-radius-sm: 8px;
    --vbbc-transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--vbbc-bg-dark);
    color: var(--vbbc-text-light);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

body.vbbc-menu-open {
    overflow: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--vbbc-transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* Header Styles */
.vbbc-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--vbbc-primary);
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--vbbc-border);
    transition: var(--vbbc-transition);
}

.vbbc-header.vbbc-scrolled {
    background: rgba(26, 26, 46, 0.98);
    box-shadow: var(--vbbc-shadow);
}

.vbbc-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.vbbc-logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.vbbc-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    background: var(--vbbc-gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vbbc-header-actions {
    display: flex;
    gap: 10px;
}

.vbbc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: var(--vbbc-radius-sm);
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    border: none;
    transition: var(--vbbc-transition);
}

.vbbc-btn-login {
    background: transparent;
    border: 2px solid var(--vbbc-gold);
    color: var(--vbbc-gold);
}

.vbbc-btn-login:hover {
    background: var(--vbbc-gold);
    color: var(--vbbc-primary);
}

.vbbc-btn-register {
    background: var(--vbbc-gradient);
    color: var(--vbbc-text-light);
}

.vbbc-btn-register:hover {
    transform: translateY(-2px);
    box-shadow: var(--vbbc-shadow);
}

.vbbc-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--vbbc-text-light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
}

/* Mobile Menu */
.vbbc-mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 280px;
    height: 100vh;
    background: var(--vbbc-secondary);
    z-index: 9999;
    padding: 80px 20px 20px;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.vbbc-mobile-menu.vbbc-active {
    left: 0;
}

.vbbc-mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.vbbc-mobile-menu li a {
    display: block;
    padding: 15px;
    border-radius: var(--vbbc-radius-sm);
    color: var(--vbbc-text-light);
    font-size: 1rem;
}

.vbbc-mobile-menu li a:hover {
    background: var(--vbbc-bg-card);
}

.vbbc-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: var(--vbbc-transition);
}

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

/* Main Content */
.vbbc-main {
    padding-top: 70px;
    min-height: 100vh;
}

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

/* Hero Section */
.vbbc-hero {
    background: linear-gradient(135deg, var(--vbbc-primary) 0%, var(--vbbc-secondary) 100%);
    padding: 60px 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.vbbc-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="2" fill="%23ffd700" opacity="0.1"/></svg>');
    background-size: 50px 50px;
}

.vbbc-hero-content {
    position: relative;
    z-index: 1;
}

.vbbc-hero h1 {
    font-size: 2rem;
    margin-bottom: 16px;
    background: var(--vbbc-gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vbbc-hero p {
    font-size: 1rem;
    color: var(--vbbc-text-muted);
    margin-bottom: 24px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.vbbc-hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.vbbc-btn-large {
    padding: 14px 32px;
    font-size: 1rem;
}

/* Section Styles */
.vbbc-section {
    padding: 40px 16px;
}

.vbbc-section-title {
    font-size: 1.5rem;
    margin-bottom: 24px;
    text-align: center;
    color: var(--vbbc-gold);
    position: relative;
}

.vbbc-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--vbbc-gradient);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Category Tabs */
.vbbc-category-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    margin-bottom: 24px;
    scrollbar-width: none;
}

.vbbc-category-tabs::-webkit-scrollbar {
    display: none;
}

.vbbc-category-tab {
    flex-shrink: 0;
    padding: 10px 20px;
    background: var(--vbbc-bg-card);
    border: 1px solid var(--vbbc-border);
    border-radius: 50px;
    color: var(--vbbc-text-light);
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--vbbc-transition);
}

.vbbc-category-tab:hover,
.vbbc-category-tab.vbbc-active {
    background: var(--vbbc-gradient);
    border-color: transparent;
}

/* Game Grid */
.vbbc-game-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (min-width: 480px) {
    .vbbc-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 769px) {
    .vbbc-game-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .vbbc-game-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 20px;
    }
}

.vbbc-game-card {
    background: var(--vbbc-bg-card);
    border-radius: var(--vbbc-radius);
    overflow: hidden;
    border: 1px solid var(--vbbc-border);
    cursor: pointer;
    transition: var(--vbbc-transition);
}

.vbbc-game-card:hover {
    transform: translateY(-5px);
    border-color: var(--vbbc-accent);
    box-shadow: var(--vbbc-shadow-lg);
}

.vbbc-game-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.vbbc-game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.vbbc-game-card:hover .vbbc-game-image img {
    transform: scale(1.1);
}

.vbbc-game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--vbbc-transition);
}

.vbbc-game-card:hover .vbbc-game-overlay {
    opacity: 1;
}

.vbbc-play-btn {
    width: 50px;
    height: 50px;
    background: var(--vbbc-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vbbc-text-light);
    font-size: 1.25rem;
}

.vbbc-game-info {
    padding: 12px;
}

.vbbc-game-name {
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Features Section */
.vbbc-features {
    background: var(--vbbc-secondary);
    padding: 40px 16px;
}

.vbbc-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (min-width: 769px) {
    .vbbc-features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.vbbc-feature-card {
    text-align: center;
    padding: 24px 16px;
    background: var(--vbbc-bg-card);
    border-radius: var(--vbbc-radius);
    border: 1px solid var(--vbbc-border);
}

.vbbc-feature-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
    color: var(--vbbc-gold);
}

.vbbc-feature-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.vbbc-feature-desc {
    font-size: 0.8rem;
    color: var(--vbbc-text-muted);
}

/* Footer */
.vbbc-footer {
    background: var(--vbbc-primary);
    padding: 40px 16px 20px;
    border-top: 1px solid var(--vbbc-border);
}

.vbbc-footer-partners {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--vbbc-border);
}

.vbbc-footer-partners img {
    height: 30px;
    opacity: 0.7;
    transition: var(--vbbc-transition);
}

.vbbc-footer-partners img:hover {
    opacity: 1;
}

.vbbc-footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

@media (min-width: 769px) {
    .vbbc-footer-links {
        grid-template-columns: repeat(4, 1fr);
    }
}

.vbbc-footer-column h4 {
    color: var(--vbbc-gold);
    margin-bottom: 15px;
    font-size: 1rem;
}

.vbbc-footer-column ul li {
    margin-bottom: 10px;
}

.vbbc-footer-column ul li a {
    color: var(--vbbc-text-muted);
    font-size: 0.875rem;
}

.vbbc-footer-column ul li a:hover {
    color: var(--vbbc-text-light);
}

.vbbc-footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--vbbc-border);
}

.vbbc-footer-bottom p {
    font-size: 0.8rem;
    color: var(--vbbc-text-muted);
    margin-bottom: 10px;
}

/* Mobile Bottom Navigation */
.vbbc-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(180deg, var(--vbbc-primary) 0%, var(--vbbc-bg-dark) 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 1px solid var(--vbbc-border);
    padding-bottom: env(safe-area-inset-bottom);
}

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

.vbbc-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    cursor: pointer;
    transition: var(--vbbc-transition);
    color: var(--vbbc-text-muted);
}

.vbbc-nav-item:hover,
.vbbc-nav-item.vbbc-active {
    color: var(--vbbc-gold);
}

.vbbc-nav-item i,
.vbbc-nav-item .material-icons {
    font-size: 24px;
    margin-bottom: 4px;
}

.vbbc-nav-item span {
    font-size: 10px;
    font-weight: 500;
}

/* Desktop Navigation */
.vbbc-desktop-nav {
    display: none;
}

@media (min-width: 769px) {
    .vbbc-desktop-nav {
        display: flex;
        gap: 30px;
        align-items: center;
    }

    .vbbc-desktop-nav a {
        color: var(--vbbc-text-light);
        font-weight: 500;
        position: relative;
    }

    .vbbc-desktop-nav a::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--vbbc-gold);
        transition: var(--vbbc-transition);
    }

    .vbbc-desktop-nav a:hover::after {
        width: 100%;
    }

    .vbbc-menu-toggle {
        display: none;
    }
}

/* Utility Classes */
.vbbc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.vbbc-text-center {
    text-align: center;
}

.vbbc-text-gold {
    color: var(--vbbc-gold);
}

.vbbc-mb-20 {
    margin-bottom: 20px;
}

.vbbc-mt-20 {
    margin-top: 20px;
}

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

.vbbc-fade-in {
    animation: vbbc-fadeIn 0.5s ease forwards;
}

/* Content Page Styles */
.vbbc-content-page {
    padding: 90px 16px 40px;
}

.vbbc-content-page h1 {
    font-size: 1.75rem;
    margin-bottom: 24px;
    color: var(--vbbc-gold);
}

.vbbc-content-page h2 {
    font-size: 1.25rem;
    margin: 24px 0 16px;
    color: var(--vbbc-text-light);
}

.vbbc-content-page p {
    margin-bottom: 16px;
    color: var(--vbbc-text-muted);
    line-height: 1.8;
}

.vbbc-content-page ul,
.vbbc-content-page ol {
    margin: 16px 0;
    padding-left: 24px;
}

.vbbc-content-page li {
    margin-bottom: 10px;
    color: var(--vbbc-text-muted);
    list-style: disc;
}

.vbbc-content-page ol li {
    list-style: decimal;
}

/* FAQ Styles */
.vbbc-faq-item {
    background: var(--vbbc-bg-card);
    border: 1px solid var(--vbbc-border);
    border-radius: var(--vbbc-radius);
    margin-bottom: 16px;
    overflow: hidden;
}

.vbbc-faq-question {
    padding: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vbbc-faq-answer {
    padding: 0 16px 16px;
    color: var(--vbbc-text-muted);
    font-size: 0.9rem;
}
