/**
 * Bigbunny APK - Core Stylesheet
 * @version 1.0.0
 * @prefix wae8e-
 * Color Palette: #9966CC (primary) | #2C2C2C (background) | #4B0082 (accent)
 */

/* CSS Variables */
:root {
    --wae8e-primary: #9966CC;
    --wae8e-background: #2C2C2C;
    --wae8e-accent: #4B0082;
    --wae8e-text-light: #FFFFFF;
    --wae8e-text-muted: #B0B0B0;
    --wae8e-card-bg: #3A3A3A;
    --wae8e-border-color: #4A4A4A;
    --wae8e-gradient-start: #9966CC;
    --wae8e-gradient-end: #4B0082;
    --wae8e-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --wae8e-radius: 12px;
    --wae8e-radius-sm: 8px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--wae8e-background);
    color: var(--wae8e-text-light);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: var(--wae8e-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--wae8e-text-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Header Styles */
.wae8e-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--wae8e-gradient-start), var(--wae8e-gradient-end));
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.wae8e-header.wae8e-scrolled {
    background: rgba(44, 44, 44, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--wae8e-shadow);
}

.wae8e-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.wae8e-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wae8e-logo img {
    height: 40px;
    width: auto;
}

.wae8e-logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--wae8e-text-light);
}

.wae8e-header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.wae8e-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: var(--wae8e-radius-sm);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none;
}

.wae8e-btn-primary {
    background: var(--wae8e-text-light);
    color: var(--wae8e-accent);
}

.wae8e-btn-primary:hover {
    background: #E8E8E8;
    transform: translateY(-2px);
}

.wae8e-btn-outline {
    background: transparent;
    color: var(--wae8e-text-light);
    border: 2px solid var(--wae8e-text-light);
}

.wae8e-btn-outline:hover {
    background: var(--wae8e-text-light);
    color: var(--wae8e-accent);
}

.wae8e-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--wae8e-text-light);
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

/* Main Content */
.wae8e-main {
    padding-top: 70px;
}

@media (max-width: 768px) {
    .wae8e-main {
        padding-bottom: 80px;
    }
}

/* Carousel Styles */
.wae8e-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0;
}

.wae8e-carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
}

.wae8e-carousel-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    position: relative;
    cursor: pointer;
}

.wae8e-carousel-slide.wae8e-active {
    opacity: 1;
}

.wae8e-carousel-slide img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.wae8e-carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.wae8e-carousel-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.wae8e-carousel-desc {
    font-size: 14px;
    color: var(--wae8e-text-muted);
}

.wae8e-carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.wae8e-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.wae8e-carousel-dot.wae8e-active {
    background: var(--wae8e-primary);
    transform: scale(1.2);
}

/* Section Styles */
.wae8e-section {
    padding: 30px 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.wae8e-section-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--wae8e-text-light);
}

.wae8e-section-title i {
    color: var(--wae8e-primary);
}

/* Game Tabs */
.wae8e-game-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 10px;
    margin-bottom: 20px;
    -webkit-overflow-scrolling: touch;
}

.wae8e-game-tab {
    padding: 8px 16px;
    background: var(--wae8e-card-bg);
    border: 1px solid var(--wae8e-border-color);
    border-radius: 20px;
    color: var(--wae8e-text-muted);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.wae8e-game-tab:hover,
.wae8e-game-tab.wae8e-active {
    background: linear-gradient(135deg, var(--wae8e-gradient-start), var(--wae8e-gradient-end));
    color: var(--wae8e-text-light);
    border-color: transparent;
}

/* Game Grid */
.wae8e-game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 16px;
}

@media (min-width: 769px) {
    .wae8e-game-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

.wae8e-game-card {
    background: var(--wae8e-card-bg);
    border-radius: var(--wae8e-radius);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--wae8e-border-color);
}

.wae8e-game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(153, 102, 204, 0.3);
    border-color: var(--wae8e-primary);
}

.wae8e-game-card-img {
    aspect-ratio: 1;
    overflow: hidden;
}

.wae8e-game-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.wae8e-game-card:hover .wae8e-game-card-img img {
    transform: scale(1.1);
}

.wae8e-game-card-info {
    padding: 12px;
}

.wae8e-game-card-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--wae8e-text-light);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wae8e-game-card-badge {
    display: inline-block;
    padding: 3px 8px;
    background: var(--wae8e-primary);
    color: var(--wae8e-text-light);
    font-size: 10px;
    font-weight: 600;
    border-radius: 4px;
    margin-top: 5px;
}

/* Features Section */
.wae8e-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.wae8e-feature-card {
    background: var(--wae8e-card-bg);
    padding: 24px;
    border-radius: var(--wae8e-radius);
    text-align: center;
    border: 1px solid var(--wae8e-border-color);
    transition: all 0.3s ease;
}

.wae8e-feature-card:hover {
    border-color: var(--wae8e-primary);
    transform: translateY(-3px);
}

.wae8e-feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--wae8e-gradient-start), var(--wae8e-gradient-end));
    border-radius: 50%;
    font-size: 28px;
    color: var(--wae8e-text-light);
}

.wae8e-feature-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.wae8e-feature-desc {
    font-size: 14px;
    color: var(--wae8e-text-muted);
}

/* CTA Section */
.wae8e-cta {
    background: linear-gradient(135deg, var(--wae8e-gradient-start), var(--wae8e-gradient-end));
    padding: 40px 20px;
    text-align: center;
    border-radius: var(--wae8e-radius);
    margin: 20px 16px;
}

.wae8e-cta-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 12px;
}

.wae8e-cta-desc {
    font-size: 16px;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.wae8e-cta .wae8e-btn {
    padding: 14px 40px;
    font-size: 16px;
}

/* Partners Section */
.wae8e-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px 0;
}

.wae8e-partner-logo {
    width: 80px;
    height: 40px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.wae8e-partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Footer Styles */
.wae8e-footer {
    background: #1A1A1A;
    padding: 40px 16px 20px;
    margin-top: 40px;
}

.wae8e-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.wae8e-footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--wae8e-primary);
}

.wae8e-footer-col ul {
    list-style: none;
}

.wae8e-footer-col li {
    margin-bottom: 10px;
}

.wae8e-footer-col a {
    color: var(--wae8e-text-muted);
    font-size: 14px;
    transition: color 0.3s ease;
}

.wae8e-footer-col a:hover {
    color: var(--wae8e-text-light);
}

.wae8e-footer-bottom {
    text-align: center;
    padding-top: 20px;
    margin-top: 30px;
    border-top: 1px solid var(--wae8e-border-color);
}

.wae8e-copyright {
    font-size: 13px;
    color: var(--wae8e-text-muted);
}

/* Mobile Bottom Navigation */
.wae8e-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(10px);
    display: none;
    padding: 8px 0;
    border-top: 1px solid var(--wae8e-border-color);
}

@media (max-width: 768px) {
    .wae8e-bottom-nav {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }
}

.wae8e-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6px 12px;
    color: var(--wae8e-text-muted);
    font-size: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 60px;
    min-height: 44px;
}

.wae8e-nav-item:hover,
.wae8e-nav-item.wae8e-active {
    color: var(--wae8e-primary);
}

.wae8e-nav-item i {
    font-size: 22px;
    margin-bottom: 4px;
}

.wae8e-nav-item span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 60px;
}

/* Mobile Menu */
.wae8e-mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: var(--wae8e-background);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 20px;
    overflow-y: auto;
}

.wae8e-mobile-menu.wae8e-active {
    right: 0;
}

.wae8e-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;
}

.wae8e-menu-overlay.wae8e-active {
    opacity: 1;
    visibility: visible;
}

.wae8e-mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--wae8e-border-color);
}

.wae8e-mobile-menu-close {
    background: none;
    border: none;
    color: var(--wae8e-text-light);
    font-size: 24px;
    cursor: pointer;
}

.wae8e-mobile-menu-nav {
    list-style: none;
}

.wae8e-mobile-menu-nav li {
    margin-bottom: 15px;
}

.wae8e-mobile-menu-nav a {
    display: block;
    padding: 12px 16px;
    color: var(--wae8e-text-light);
    font-size: 15px;
    border-radius: var(--wae8e-radius-sm);
    transition: all 0.3s ease;
}

.wae8e-mobile-menu-nav a:hover {
    background: var(--wae8e-card-bg);
    color: var(--wae8e-primary);
}

/* Desktop Navigation */
@media (min-width: 769px) {
    .wae8e-desktop-nav {
        display: flex;
        gap: 24px;
        align-items: center;
    }

    .wae8e-desktop-nav a {
        color: var(--wae8e-text-light);
        font-size: 14px;
        font-weight: 500;
        transition: opacity 0.3s ease;
    }

    .wae8e-desktop-nav a:hover {
        opacity: 0.8;
    }
}

@media (max-width: 768px) {
    .wae8e-desktop-nav {
        display: none;
    }

    .wae8e-menu-toggle {
        display: block;
    }
}

/* Utility Classes */
.wae8e-text-center {
    text-align: center;
}

.wae8e-mb-20 {
    margin-bottom: 20px;
}

.wae8e-hidden {
    display: none !important;
}

/* Animation */
@keyframes wae8e-fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wae8e-animate {
    animation: wae8e-fadeIn 0.5s ease forwards;
}
