/**
 * BigBunny Casino - Theme Stylesheet
 * Version: 1.0.0
 * Prefix: wd002-
 * Color Scheme: Deep Purple & Gold Luxury Theme
 */

/* CSS Variables */
:root {
    --wd002-primary: #6B21A8;
    --wd002-primary-dark: #4C1D95;
    --wd002-primary-light: #9333EA;
    --wd002-secondary: #F59E0B;
    --wd002-secondary-light: #FBBF24;
    --wd002-accent: #10B981;
    --wd002-bg-dark: #1A0A2E;
    --wd002-bg-darker: #0F0518;
    --wd002-bg-card: #2D1B4E;
    --wd002-text-light: #F9FAFB;
    --wd002-text-muted: #A78BFA;
    --wd002-border: #4C1D95;
    --wd002-gradient-primary: linear-gradient(135deg, #6B21A8 0%, #9333EA 100%);
    --wd002-gradient-gold: linear-gradient(135deg, #F59E0B 0%, #FBBF24 100%);
    --wd002-shadow: 0 4px 20px rgba(107, 33, 168, 0.4);
    --wd002-radius: 12px;
    --wd002-radius-sm: 8px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background: var(--wd002-bg-dark);
    color: var(--wd002-text-light);
    line-height: 1.6;
    max-width: 430px;
    margin: 0 auto;
    min-height: 100vh;
}

/* Header Styles */
.wd002-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    max-width: 430px;
    margin: 0 auto;
    background: var(--wd002-bg-darker);
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-bottom: 1px solid var(--wd002-border);
    transition: all 0.3s ease;
}

.wd002-header-scrolled {
    background: rgba(15, 5, 24, 0.95);
    box-shadow: var(--wd002-shadow);
}

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

.wd002-logo-icon {
    width: 36px;
    height: 36px;
    background: var(--wd002-gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.wd002-logo-text {
    font-size: 18px;
    font-weight: 700;
    background: var(--wd002-gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wd002-header-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.wd002-btn {
    padding: 8px 16px;
    border-radius: var(--wd002-radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.wd002-btn-primary {
    background: var(--wd002-gradient-primary);
    color: var(--wd002-text-light);
}

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

.wd002-btn-gold {
    background: var(--wd002-gradient-gold);
    color: var(--wd002-bg-darker);
}

.wd002-btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
}

.wd002-menu-btn {
    background: transparent;
    border: none;
    color: var(--wd002-text-light);
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
}

/* Main Content */
main {
    padding-top: 70px;
    padding-bottom: 80px;
}

/* Slider/Carousel */
.wd002-slider {
    position: relative;
    overflow: hidden;
    border-radius: 0 0 var(--wd002-radius) var(--wd002-radius);
}

.wd002-slides-container {
    display: flex;
    transition: transform 0.5s ease;
}

.wd002-slide {
    min-width: 100%;
    position: relative;
    display: none;
}

.wd002-slide-active {
    display: block;
}

.wd002-slide img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

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

.wd002-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.wd002-dot-active {
    background: var(--wd002-secondary);
    width: 24px;
    border-radius: 4px;
}

/* Section Styles */
.wd002-section {
    padding: 24px 16px;
}

.wd002-section-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--wd002-text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.wd002-section-title i {
    color: var(--wd002-secondary);
}

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

.wd002-game-card {
    background: var(--wd002-bg-card);
    border-radius: var(--wd002-radius-sm);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--wd002-border);
}

.wd002-game-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--wd002-shadow);
    border-color: var(--wd002-primary-light);
}

.wd002-game-card img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

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

/* Category Tabs */
.wd002-category-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 16px;
    scrollbar-width: none;
}

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

.wd002-category-tab {
    padding: 8px 16px;
    background: var(--wd002-bg-card);
    border: 1px solid var(--wd002-border);
    border-radius: 20px;
    color: var(--wd002-text-muted);
    font-size: 13px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wd002-category-tab-active,
.wd002-category-tab:hover {
    background: var(--wd002-gradient-primary);
    color: var(--wd002-text-light);
    border-color: transparent;
}

/* Info Cards */
.wd002-info-card {
    background: var(--wd002-bg-card);
    border-radius: var(--wd002-radius);
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid var(--wd002-border);
}

.wd002-info-card h3 {
    color: var(--wd002-secondary);
    font-size: 18px;
    margin-bottom: 12px;
}

.wd002-info-card p {
    color: var(--wd002-text-muted);
    font-size: 14px;
    line-height: 1.7;
}

.wd002-info-card ul {
    list-style: none;
    padding: 0;
}

.wd002-info-card li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--wd002-text-muted);
    font-size: 14px;
}

.wd002-info-card li::before {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--wd002-accent);
}

/* Feature List */
.wd002-feature-list {
    display: grid;
    gap: 12px;
}

.wd002-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--wd002-bg-card);
    padding: 16px;
    border-radius: var(--wd002-radius-sm);
    border: 1px solid var(--wd002-border);
}

.wd002-feature-icon {
    width: 44px;
    height: 44px;
    background: var(--wd002-gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.wd002-feature-content h4 {
    color: var(--wd002-text-light);
    font-size: 15px;
    margin-bottom: 4px;
}

.wd002-feature-content p {
    color: var(--wd002-text-muted);
    font-size: 13px;
}

/* FAQ Section */
.wd002-faq-item {
    background: var(--wd002-bg-card);
    border-radius: var(--wd002-radius-sm);
    margin-bottom: 10px;
    overflow: hidden;
    border: 1px solid var(--wd002-border);
}

.wd002-faq-question {
    padding: 14px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    color: var(--wd002-text-light);
}

.wd002-faq-answer {
    padding: 0 16px 14px;
    color: var(--wd002-text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* Bottom Navigation */
.wd002-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 430px;
    margin: 0 auto;
    background: linear-gradient(180deg, rgba(45, 27, 78, 0.98) 0%, rgba(15, 5, 24, 0.98) 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0;
    height: 64px;
    border-top: 1px solid var(--wd002-border);
    z-index: 1000;
}

.wd002-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 60px;
    min-height: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 6px 12px;
    border-radius: var(--wd002-radius-sm);
}

.wd002-nav-item:hover {
    background: rgba(147, 51, 234, 0.2);
}

.wd002-nav-item i,
.wd002-nav-item .material-icons {
    font-size: 24px;
    color: var(--wd002-text-muted);
    transition: all 0.3s ease;
}

.wd002-nav-item span {
    font-size: 11px;
    color: var(--wd002-text-muted);
    transition: all 0.3s ease;
}

.wd002-nav-item:hover i,
.wd002-nav-item:hover .material-icons,
.wd002-nav-item:hover span {
    color: var(--wd002-secondary);
}

.wd002-nav-item-active i,
.wd002-nav-item-active .material-icons,
.wd002-nav-item-active span {
    color: var(--wd002-secondary);
}

/* Mobile Menu */
.wd002-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--wd002-bg-darker);
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
    border-left: 1px solid var(--wd002-border);
}

.wd002-menu-active {
    right: 0;
}

.wd002-menu-header {
    padding: 20px;
    border-bottom: 1px solid var(--wd002-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wd002-menu-close {
    background: transparent;
    border: none;
    color: var(--wd002-text-light);
    font-size: 24px;
    cursor: pointer;
}

.wd002-menu-links {
    padding: 16px 0;
}

.wd002-menu-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    color: var(--wd002-text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.wd002-menu-link:hover {
    background: rgba(147, 51, 234, 0.2);
    border-left-color: var(--wd002-secondary);
}

.wd002-menu-link i {
    width: 24px;
    text-align: center;
    color: var(--wd002-secondary);
}

/* Menu Overlay */
.wd002-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: all 0.3s ease;
}

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

/* Footer */
.wd002-footer {
    background: var(--wd002-bg-darker);
    padding: 24px 16px;
    border-top: 1px solid var(--wd002-border);
    text-align: center;
}

.wd002-footer-logo {
    font-size: 20px;
    font-weight: 700;
    background: var(--wd002-gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.wd002-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.wd002-footer-links a {
    color: var(--wd002-text-muted);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

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

.wd002-footer-partners {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.wd002-footer-partners img {
    height: 28px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

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

.wd002-copyright {
    color: var(--wd002-text-muted);
    font-size: 12px;
}

/* CTA Banner */
.wd002-cta-banner {
    background: var(--wd002-gradient-primary);
    padding: 20px;
    border-radius: var(--wd002-radius);
    text-align: center;
    margin: 16px;
}

.wd002-cta-banner h3 {
    color: var(--wd002-text-light);
    font-size: 18px;
    margin-bottom: 8px;
}

.wd002-cta-banner p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 16px;
}

/* Responsive - Desktop */
@media (min-width: 769px) {
    body {
        max-width: 100%;
    }

    .wd002-header {
        max-width: 100%;
    }

    .wd002-bottom-nav {
        display: none;
    }

    main {
        padding-bottom: 24px;
    }

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

    .wd002-section {
        max-width: 1200px;
        margin: 0 auto;
    }
}

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

.wd002-mb-16 {
    margin-bottom: 16px;
}

.wd002-mt-16 {
    margin-top: 16px;
}

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

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