/**
 * VIP77 Layout Stylesheet
 * Website: vip77.sbs
 * Prefix: wbc0e-
 * Colors: #8B0000 | #FF6347 | #32CD32 | #FA8072 | #212F3D
 */

/* CSS Variables */
:root {
    --wbc0e-primary: #8B0000;
    --wbc0e-secondary: #FF6347;
    --wbc0e-accent: #32CD32;
    --wbc0e-light: #FA8072;
    --wbc0e-dark: #212F3D;
    --wbc0e-white: #FFFFFF;
    --wbc0e-black: #000000;
    --wbc0e-gray: #CCCCCC;
    --wbc0e-gray-dark: #666666;
    --wbc0e-gradient: linear-gradient(135deg, #8B0000 0%, #FF6347 100%);
    --wbc0e-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --wbc0e-radius: 8px;
    --wbc0e-radius-lg: 16px;
    --wbc0e-transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--wbc0e-dark);
    color: var(--wbc0e-white);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

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

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

/* Header */
.wbc0e-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--wbc0e-gradient);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    z-index: 1000;
    box-shadow: var(--wbc0e-shadow);
    transition: var(--wbc0e-transition);
}

.wbc0e-header-scrolled {
    background: rgba(139, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.wbc0e-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.wbc0e-logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--wbc0e-white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

.wbc0e-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: var(--wbc0e-radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--wbc0e-transition);
    border: none;
}

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

.wbc0e-btn-login:hover {
    background: var(--wbc0e-white);
    color: var(--wbc0e-primary);
}

.wbc0e-btn-register {
    background: var(--wbc0e-accent);
    color: var(--wbc0e-dark);
}

.wbc0e-btn-register:hover {
    background: #28a428;
    transform: scale(1.05);
}

/* Mobile Menu Toggle */
.wbc0e-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--wbc0e-white);
    font-size: 24px;
    cursor: pointer;
}

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

.wbc0e-menu-active {
    left: 0;
}

.wbc0e-mobile-menu ul li {
    margin-bottom: 15px;
}

.wbc0e-mobile-menu ul li a {
    display: block;
    padding: 12px 15px;
    color: var(--wbc0e-white);
    border-radius: var(--wbc0e-radius);
    transition: var(--wbc0e-transition);
}

.wbc0e-mobile-menu ul li a:hover {
    background: var(--wbc0e-primary);
}

.wbc0e-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(--wbc0e-transition);
}

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

/* Main Content */
.wbc0e-main {
    padding-top: 60px;
    padding-bottom: 80px;
}

/* Hero Carousel */
.wbc0e-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.wbc0e-slides {
    position: relative;
    height: 100%;
}

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

.wbc0e-slide-active {
    opacity: 1;
}

.wbc0e-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wbc0e-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.wbc0e-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--wbc0e-transition);
}

.wbc0e-dot-active {
    background: var(--wbc0e-accent);
    transform: scale(1.2);
}

/* Section Title */
.wbc0e-section-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--wbc0e-white);
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 4px solid var(--wbc0e-secondary);
}

/* Game Tabs */
.wbc0e-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.wbc0e-tab-btn {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 20px;
    color: var(--wbc0e-white);
    font-size: 13px;
    cursor: pointer;
    transition: var(--wbc0e-transition);
}

.wbc0e-tab-btn-active {
    background: var(--wbc0e-gradient);
    color: var(--wbc0e-white);
}

.wbc0e-tab-btn:hover {
    background: var(--wbc0e-secondary);
}

/* Tab Content */
.wbc0e-tab-content {
    display: none;
}

.wbc0e-tab-content-active {
    display: block;
}

/* Game Grid */
.wbc0e-game-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.wbc0e-game-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--wbc0e-radius);
    overflow: hidden;
    transition: var(--wbc0e-transition);
    cursor: pointer;
}

.wbc0e-game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.4);
}

.wbc0e-game-card img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.wbc0e-game-card-title {
    padding: 8px;
    font-size: 11px;
    text-align: center;
    color: var(--wbc0e-white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Info Section */
.wbc0e-info-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--wbc0e-radius-lg);
    padding: 20px;
    margin-bottom: 20px;
}

.wbc0e-info-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--wbc0e-secondary);
    margin-bottom: 12px;
}

.wbc0e-info-text {
    font-size: 14px;
    color: var(--wbc0e-gray);
    line-height: 1.8;
}

.wbc0e-info-list {
    padding-left: 20px;
}

.wbc0e-info-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--wbc0e-gray);
}

.wbc0e-info-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background: var(--wbc0e-accent);
    border-radius: 50%;
}

/* Feature Cards */
.wbc0e-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.wbc0e-feature-card {
    background: var(--wbc0e-gradient);
    border-radius: var(--wbc0e-radius-lg);
    padding: 20px;
    text-align: center;
    transition: var(--wbc0e-transition);
}

.wbc0e-feature-card:hover {
    transform: scale(1.03);
}

.wbc0e-feature-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.wbc0e-feature-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--wbc0e-white);
}

/* FAQ Section */
.wbc0e-faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--wbc0e-radius);
    margin-bottom: 10px;
    overflow: hidden;
}

.wbc0e-faq-question {
    padding: 15px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--wbc0e-white);
}

.wbc0e-faq-question i {
    transition: transform 0.3s ease;
}

.wbc0e-faq-active .wbc0e-faq-question i {
    transform: rotate(180deg);
}

.wbc0e-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.wbc0e-faq-active .wbc0e-faq-answer {
    max-height: 200px;
}

.wbc0e-faq-answer p {
    padding: 0 15px 15px;
    font-size: 14px;
    color: var(--wbc0e-gray);
}

/* CTA Section */
.wbc0e-cta {
    background: var(--wbc0e-gradient);
    border-radius: var(--wbc0e-radius-lg);
    padding: 25px;
    text-align: center;
    margin: 20px 0;
}

.wbc0e-cta-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--wbc0e-white);
    margin-bottom: 10px;
}

.wbc0e-cta-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
}

.wbc0e-cta-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--wbc0e-accent);
    color: var(--wbc0e-dark);
    font-weight: 700;
    border-radius: 25px;
    transition: var(--wbc0e-transition);
}

.wbc0e-cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(50, 205, 50, 0.4);
}

/* Footer */
.wbc0e-footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 30px 15px;
    text-align: center;
}

.wbc0e-footer-logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--wbc0e-secondary);
    margin-bottom: 15px;
}

.wbc0e-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.wbc0e-footer-links a {
    font-size: 13px;
    color: var(--wbc0e-gray);
    transition: var(--wbc0e-transition);
}

.wbc0e-footer-links a:hover {
    color: var(--wbc0e-secondary);
}

.wbc0e-partners {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

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

.wbc0e-partners img:hover {
    opacity: 1;
}

.wbc0e-copyright {
    font-size: 12px;
    color: var(--wbc0e-gray-dark);
}

/* Bottom Navigation */
.wbc0e-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(180deg, var(--wbc0e-dark) 0%, #1a242e 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 1px solid rgba(139, 0, 0, 0.5);
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3);
}

.wbc0e-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    color: var(--wbc0e-gray);
    cursor: pointer;
    transition: var(--wbc0e-transition);
    border-radius: 12px;
    padding: 8px;
}

.wbc0e-nav-item:hover,
.wbc0e-nav-item-active {
    color: var(--wbc0e-secondary);
    background: rgba(255, 99, 71, 0.1);
}

.wbc0e-nav-item i {
    font-size: 24px;
    margin-bottom: 4px;
}

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

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
    .wbc0e-bottom-nav {
        display: none;
    }

    .wbc0e-main {
        padding-bottom: 20px;
    }

    .wbc0e-container {
        max-width: 1200px;
    }

    .wbc0e-game-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .wbc0e-features {
        grid-template-columns: repeat(4, 1fr);
    }

    .wbc0e-carousel {
        height: 400px;
    }

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

/* Mobile adjustments */
@media (max-width: 768px) {
    .wbc0e-header-actions {
        gap: 6px;
    }

    .wbc0e-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .wbc0e-logo-text {
        font-size: 20px;
    }

    .wbc0e-section-title {
        font-size: 18px;
    }
}

/* Utility Classes */
.wbc0e-text-center {
    text-align: center;
}

.wbc0e-mb-10 {
    margin-bottom: 10px;
}

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

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

.wbc0e-hidden {
    display: none !important;
}

/* Animation */
@keyframes wbc0e-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.wbc0e-animate-pulse {
    animation: wbc0e-pulse 2s infinite;
}
