/**
 * xbjili - Main Stylesheet
 * Prefix: vcbc-
 * Gaming Platform for Philippines
 */

:root {
    --vcbc-primary: #FF6B35;
    --vcbc-secondary: #1A1A2E;
    --vcbc-accent: #FFD700;
    --vcbc-dark: #0F0F1A;
    --vcbc-light: #FFFFFF;
    --vcbc-gray: #8B8B9A;
    --vcbc-success: #4CAF50;
    --vcbc-gradient: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    --vcbc-gradient-dark: linear-gradient(180deg, #1A1A2E 0%, #0F0F1A 100%);
    --vcbc-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --vcbc-radius: 12px;
    --vcbc-radius-sm: 8px;
    --vcbc-transition: all 0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', 'Roboto', sans-serif; background: var(--vcbc-dark); color: var(--vcbc-light); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: var(--vcbc-transition); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* Header */
.vcbc-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(26, 26, 46, 0.95); backdrop-filter: blur(10px); padding: 12px 16px; transition: var(--vcbc-transition); }
.vcbc-header.vcbc-scrolled { background: rgba(15, 15, 26, 0.98); box-shadow: var(--vcbc-shadow); }
.vcbc-header-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.vcbc-logo { display: flex; align-items: center; gap: 8px; font-size: 24px; font-weight: 700; color: var(--vcbc-accent); }
.vcbc-logo span { color: var(--vcbc-primary); }
.vcbc-header-buttons { display: flex; gap: 10px; }

/* Buttons */
.vcbc-btn { padding: 10px 24px; border-radius: var(--vcbc-radius-sm); font-weight: 600; font-size: 14px; cursor: pointer; border: none; transition: var(--vcbc-transition); display: inline-flex; align-items: center; gap: 6px; }
.vcbc-btn-primary { background: var(--vcbc-gradient); color: var(--vcbc-light); }
.vcbc-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4); }
.vcbc-btn-outline { background: transparent; border: 2px solid var(--vcbc-primary); color: var(--vcbc-primary); }
.vcbc-btn-outline:hover { background: var(--vcbc-primary); color: var(--vcbc-light); }

/* Mobile Menu */
.vcbc-menu-toggle { display: none; background: none; border: none; color: var(--vcbc-light); font-size: 24px; cursor: pointer; padding: 8px; }
.vcbc-mobile-menu { position: fixed; top: 0; right: -300px; width: 280px; height: 100vh; background: var(--vcbc-secondary); z-index: 9999; padding: 80px 20px 20px; transition: var(--vcbc-transition); overflow-y: auto; }
.vcbc-mobile-menu.vcbc-active { right: 0; }
.vcbc-menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.7); z-index: 9998; opacity: 0; visibility: hidden; transition: var(--vcbc-transition); }
.vcbc-menu-overlay.vcbc-active { opacity: 1; visibility: visible; }
.vcbc-mobile-menu .vcbc-nav-link { display: block; padding: 14px 16px; color: var(--vcbc-light); font-size: 16px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.vcbc-mobile-menu .vcbc-nav-link:hover { background: rgba(255, 107, 53, 0.2); color: var(--vcbc-primary); }

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

/* Hero */
.vcbc-hero { background: var(--vcbc-gradient-dark); padding: 60px 16px; text-align: center; position: relative; overflow: hidden; }
.vcbc-hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url('images/273cbc9e_1.jpg') center/cover no-repeat; opacity: 0.15; }
.vcbc-hero-content { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.vcbc-hero h1 { font-size: 36px; font-weight: 800; margin-bottom: 16px; background: var(--vcbc-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.vcbc-hero p { font-size: 16px; color: var(--vcbc-gray); margin-bottom: 24px; }
.vcbc-hero-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Sections */
.vcbc-section { padding: 50px 16px; max-width: 1200px; margin: 0 auto; }
.vcbc-section-title { font-size: 28px; font-weight: 700; text-align: center; margin-bottom: 32px; color: var(--vcbc-light); }
.vcbc-section-title span { color: var(--vcbc-primary); }

/* Category Tabs */
.vcbc-category-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 16px; margin-bottom: 24px; -webkit-overflow-scrolling: touch; }
.vcbc-category-tab { padding: 10px 20px; background: rgba(255, 255, 255, 0.1); border-radius: 50px; color: var(--vcbc-light); font-size: 14px; white-space: nowrap; cursor: pointer; transition: var(--vcbc-transition); border: none; }
.vcbc-category-tab.vcbc-active, .vcbc-category-tab:hover { background: var(--vcbc-gradient); color: var(--vcbc-light); }

/* Game Grid */
.vcbc-game-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.vcbc-game-card { background: var(--vcbc-secondary); border-radius: var(--vcbc-radius); overflow: hidden; cursor: pointer; transition: var(--vcbc-transition); position: relative; }
.vcbc-game-card:hover { transform: translateY(-5px); box-shadow: var(--vcbc-shadow); }
.vcbc-game-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.vcbc-game-card-title { padding: 12px; font-size: 13px; font-weight: 600; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vcbc-game-card::after { content: 'PLAY'; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0); background: var(--vcbc-primary); color: var(--vcbc-light); padding: 10px 24px; border-radius: 50px; font-weight: 600; font-size: 12px; transition: var(--vcbc-transition); }
.vcbc-game-card:hover::after { transform: translate(-50%, -50%) scale(1); }

/* Features */
.vcbc-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.vcbc-feature-card { background: var(--vcbc-secondary); border-radius: var(--vcbc-radius); padding: 24px 16px; text-align: center; transition: var(--vcbc-transition); }
.vcbc-feature-card:hover { transform: translateY(-3px); box-shadow: var(--vcbc-shadow); }
.vcbc-feature-icon { font-size: 36px; margin-bottom: 12px; color: var(--vcbc-primary); }
.vcbc-feature-card h3 { font-size: 16px; margin-bottom: 8px; }
.vcbc-feature-card p { font-size: 13px; color: var(--vcbc-gray); }

/* Footer */
.vcbc-footer { background: var(--vcbc-secondary); padding: 40px 16px 100px; }
.vcbc-footer-content { max-width: 1200px; margin: 0 auto; }
.vcbc-footer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 24px; }
.vcbc-footer-col h4 { font-size: 16px; margin-bottom: 12px; color: var(--vcbc-accent); }
.vcbc-footer-col a { display: block; font-size: 14px; color: var(--vcbc-gray); padding: 6px 0; }
.vcbc-footer-col a:hover { color: var(--vcbc-primary); }
.vcbc-partners { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, 0.1); border-bottom: 1px solid rgba(255, 255, 255, 0.1); margin-bottom: 20px; }
.vcbc-partners img { height: 30px; opacity: 0.7; transition: var(--vcbc-transition); }
.vcbc-partners img:hover { opacity: 1; }
.vcbc-copyright { text-align: center; font-size: 12px; color: var(--vcbc-gray); }

/* Bottom Navigation */
.vcbc-bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000; background: linear-gradient(180deg, rgba(26, 26, 46, 0.98) 0%, rgba(15, 15, 26, 1) 100%); border-top: 1px solid rgba(255, 107, 53, 0.3); padding: 8px 0; display: flex; justify-content: space-around; align-items: center; }
.vcbc-nav-item { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 12px; cursor: pointer; transition: var(--vcbc-transition); min-width: 60px; min-height: 48px; }
.vcbc-nav-item:hover, .vcbc-nav-item.vcbc-active { color: var(--vcbc-primary); }
.vcbc-nav-item i, .vcbc-nav-item .material-icons { font-size: 24px; }
.vcbc-nav-item span { font-size: 10px; font-weight: 500; }

/* Accordion */
.vcbc-accordion-item { background: var(--vcbc-secondary); border-radius: var(--vcbc-radius-sm); margin-bottom: 12px; overflow: hidden; }
.vcbc-accordion-header { padding: 16px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; transition: var(--vcbc-transition); }
.vcbc-accordion-header:hover { background: rgba(255, 107, 53, 0.1); }
.vcbc-accordion-header.vcbc-active { background: rgba(255, 107, 53, 0.2); }
.vcbc-accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.vcbc-accordion-content.vcbc-active { max-height: 500px; }
.vcbc-accordion-content-inner { padding: 0 16px 16px; color: var(--vcbc-gray); font-size: 14px; line-height: 1.8; }

/* Content Box */
.vcbc-content-box { background: var(--vcbc-secondary); border-radius: var(--vcbc-radius); padding: 24px 16px; margin-bottom: 20px; }
.vcbc-content-box h2, .vcbc-content-box h3 { color: var(--vcbc-primary); margin-bottom: 16px; }
.vcbc-content-box p { color: var(--vcbc-gray); margin-bottom: 12px; font-size: 14px; line-height: 1.8; }
.vcbc-content-box ul, .vcbc-content-box ol { margin-left: 20px; margin-bottom: 16px; }
.vcbc-content-box li { color: var(--vcbc-gray); margin-bottom: 8px; font-size: 14px; list-style: disc; }

/* Animations */
.vcbc-fade-in { animation: vcbcFadeIn 0.5s ease forwards; }
@keyframes vcbcFadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* Desktop */
@media (min-width: 769px) {
    .vcbc-header { padding: 16px 24px; }
    .vcbc-menu-toggle { display: none; }
    .vcbc-bottom-nav { display: none; }
    .vcbc-hero h1 { font-size: 48px; }
    .vcbc-game-grid { grid-template-columns: repeat(5, 1fr); }
    .vcbc-features { grid-template-columns: repeat(4, 1fr); }
    .vcbc-footer { padding-bottom: 40px; }
    .vcbc-footer-grid { grid-template-columns: repeat(4, 1fr); }
    main { padding-bottom: 0; }
}

/* Mobile */
@media (max-width: 768px) {
    .vcbc-header-buttons .vcbc-btn span { display: none; }
    .vcbc-header-buttons .vcbc-btn { padding: 10px 16px; }
    .vcbc-menu-toggle { display: block; }
    main { padding-bottom: 80px; }
    .vcbc-section { padding: 40px 16px; }
    .vcbc-section-title { font-size: 24px; }
}

@media (max-width: 430px) {
    .vcbc-hero h1 { font-size: 28px; }
    .vcbc-hero p { font-size: 14px; }
    .vcbc-game-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .vcbc-game-card-title { font-size: 12px; padding: 10px; }
}
