/**
 * Bouncing Ball - Theme Stylesheet
 * File: css/theme-e4bc.css
 * Prefix: vcde-
 * Color Palette: #D4AF37 | #2C3E50 | #E5E5E5 | #FFE135 | #6F4E37 | #FF8C00
 */

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

:root {
    /* Color Variables */
    --vcde-primary: #D4AF37;
    --vcde-secondary: #2C3E50;
    --vcde-light: #E5E5E5;
    --vcde-accent: #FFE135;
    --vcde-dark: #6F4E37;
    --vcde-highlight: #FF8C00;

    /* Text Colors */
    --vcde-text-light: #FFFFFF;
    --vcde-text-dark: #2C3E50;
    --vcde-text-muted: #A0A0A0;

    /* Background Colors */
    --vcde-bg-primary: #1a1a2e;
    --vcde-bg-secondary: #16213e;
    --vcde-bg-card: #0f3460;
    --vcde-bg-dark: #0a0a14;

    /* Spacing */
    --vcde-spacing-xs: 0.4rem;
    --vcde-spacing-sm: 0.8rem;
    --vcde-spacing-md: 1.6rem;
    --vcde-spacing-lg: 2.4rem;
    --vcde-spacing-xl: 3.2rem;

    /* Border Radius */
    --vcde-radius-sm: 0.4rem;
    --vcde-radius-md: 0.8rem;
    --vcde-radius-lg: 1.2rem;
    --vcde-radius-full: 50%;

    /* Shadows */
    --vcde-shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --vcde-shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
    --vcde-shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);

    /* Transitions */
    --vcde-transition-fast: 0.2s ease;
    --vcde-transition-normal: 0.3s ease;
    --vcde-transition-slow: 0.5s ease;

    /* Z-index layers */
    --vcde-z-header: 1000;
    --vcde-z-bottom-nav: 1000;
    --vcde-z-overlay: 9998;
    --vcde-z-menu: 9999;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    color: var(--vcde-text-light);
    background-color: var(--vcde-bg-primary);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--vcde-primary);
    text-decoration: none;
    transition: color var(--vcde-transition-fast);
}

a:hover {
    color: var(--vcde-accent);
}

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

/* Container */
.vcde-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 var(--vcde-spacing-md);
}

.vcde-wrapper {
    padding: var(--vcde-spacing-md);
}

/* Header */
.vcde-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(135deg, var(--vcde-bg-secondary), var(--vcde-bg-primary));
    border-bottom: 2px solid var(--vcde-primary);
    z-index: var(--vcde-z-header);
    transition: all var(--vcde-transition-normal);
}

.vcde-header--scrolled {
    background: rgba(22, 33, 62, 0.98);
    box-shadow: var(--vcde-shadow-lg);
}

.vcde-header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 var(--vcde-spacing-md);
}

.vcde-header__logo {
    display: flex;
    align-items: center;
    gap: var(--vcde-spacing-sm);
}

.vcde-header__logo img {
    width: 32px;
    height: 32px;
}

.vcde-header__logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--vcde-primary);
    white-space: nowrap;
}

.vcde-header__actions {
    display: flex;
    align-items: center;
    gap: var(--vcde-spacing-sm);
}

.vcde-header__btn {
    padding: 0.6rem 1.2rem;
    font-size: 1.2rem;
    font-weight: 600;
    border: none;
    border-radius: var(--vcde-radius-md);
    cursor: pointer;
    transition: all var(--vcde-transition-fast);
    white-space: nowrap;
}

.vcde-header__btn--login {
    background: transparent;
    color: var(--vcde-text-light);
    border: 1px solid var(--vcde-primary);
}

.vcde-header__btn--login:hover {
    background: var(--vcde-primary);
    color: var(--vcde-text-dark);
}

.vcde-header__btn--register {
    background: linear-gradient(135deg, var(--vcde-primary), var(--vcde-highlight));
    color: var(--vcde-text-dark);
}

.vcde-header__btn--register:hover {
    transform: scale(1.05);
    box-shadow: var(--vcde-shadow-md);
}

/* Hamburger Menu */
.vcde-hamburger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
}

.vcde-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--vcde-primary);
    transition: all var(--vcde-transition-fast);
}

.vcde-hamburger--active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.vcde-hamburger--active span:nth-child(2) {
    opacity: 0;
}

.vcde-hamburger--active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.vcde-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--vcde-bg-secondary);
    z-index: var(--vcde-z-menu);
    transition: right var(--vcde-transition-normal);
    padding: 80px var(--vcde-spacing-md) var(--vcde-spacing-md);
    overflow-y: auto;
}

.vcde-mobile-menu--active {
    right: 0;
}

.vcde-mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: var(--vcde-spacing-sm);
}

.vcde-mobile-menu__link {
    display: block;
    padding: var(--vcde-spacing-md);
    color: var(--vcde-text-light);
    font-size: 1.4rem;
    border-radius: var(--vcde-radius-md);
    transition: all var(--vcde-transition-fast);
}

.vcde-mobile-menu__link:hover {
    background: var(--vcde-bg-card);
    color: var(--vcde-primary);
}

.vcde-mobile-menu__link--active {
    background: var(--vcde-primary);
    color: var(--vcde-text-dark);
}

/* Menu Overlay */
.vcde-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: var(--vcde-z-overlay);
    opacity: 0;
    visibility: hidden;
    transition: all var(--vcde-transition-normal);
}

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

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

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

/* Carousel */
.vcde-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: var(--vcde-radius-lg);
    margin-bottom: var(--vcde-spacing-lg);
}

.vcde-carousel__slide {
    display: none;
    width: 100%;
    cursor: pointer;
}

.vcde-carousel__slide--active {
    display: block;
}

.vcde-carousel__slide img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.vcde-carousel__dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--vcde-spacing-xs);
}

.vcde-carousel__dot {
    width: 8px;
    height: 8px;
    border-radius: var(--vcde-radius-full);
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all var(--vcde-transition-fast);
}

.vcde-carousel__dot--active {
    background: var(--vcde-primary);
    width: 20px;
}

/* Section Styles */
.vcde-section {
    padding: var(--vcde-spacing-lg) 0;
}

.vcde-section__title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--vcde-primary);
    margin-bottom: var(--vcde-spacing-md);
    text-align: center;
}

.vcde-section__subtitle {
    font-size: 1.4rem;
    color: var(--vcde-text-muted);
    text-align: center;
    margin-bottom: var(--vcde-spacing-lg);
}

/* Game Grid */
.vcde-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--vcde-spacing-sm);
}

.vcde-game-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--vcde-spacing-sm);
    background: var(--vcde-bg-card);
    border-radius: var(--vcde-radius-md);
    cursor: pointer;
    transition: all var(--vcde-transition-fast);
}

.vcde-game-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--vcde-shadow-md);
    border: 1px solid var(--vcde-primary);
}

.vcde-game-card__image {
    width: 50px;
    height: 50px;
    border-radius: var(--vcde-radius-sm);
    object-fit: cover;
    margin-bottom: var(--vcde-spacing-xs);
}

.vcde-game-card__name {
    font-size: 1rem;
    color: var(--vcde-text-light);
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

/* Buttons */
.vcde-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--vcde-spacing-md) var(--vcde-spacing-lg);
    font-size: 1.4rem;
    font-weight: 600;
    border: none;
    border-radius: var(--vcde-radius-md);
    cursor: pointer;
    transition: all var(--vcde-transition-fast);
    text-decoration: none;
    min-height: 44px;
}

.vcde-btn--primary {
    background: linear-gradient(135deg, var(--vcde-primary), var(--vcde-highlight));
    color: var(--vcde-text-dark);
}

.vcde-btn--primary:hover {
    transform: scale(1.05);
    box-shadow: var(--vcde-shadow-lg);
}

.vcde-btn--secondary {
    background: transparent;
    color: var(--vcde-primary);
    border: 2px solid var(--vcde-primary);
}

.vcde-btn--secondary:hover {
    background: var(--vcde-primary);
    color: var(--vcde-text-dark);
}

.vcde-btn--large {
    padding: var(--vcde-spacing-md) var(--vcde-spacing-xl);
    font-size: 1.6rem;
}

/* Cards */
.vcde-card {
    background: var(--vcde-bg-card);
    border-radius: var(--vcde-radius-lg);
    padding: var(--vcde-spacing-md);
    margin-bottom: var(--vcde-spacing-md);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.vcde-card__title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--vcde-primary);
    margin-bottom: var(--vcde-spacing-sm);
}

.vcde-card__text {
    font-size: 1.3rem;
    color: var(--vcde-text-light);
    line-height: 1.6;
}

/* Footer */
.vcde-footer {
    background: var(--vcde-bg-dark);
    padding: var(--vcde-spacing-xl) var(--vcde-spacing-md);
    padding-bottom: 100px;
}

@media (min-width: 769px) {
    .vcde-footer {
        padding-bottom: var(--vcde-spacing-xl);
    }
}

.vcde-footer__brand {
    text-align: center;
    margin-bottom: var(--vcde-spacing-lg);
}

.vcde-footer__brand-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--vcde-primary);
    margin-bottom: var(--vcde-spacing-sm);
}

.vcde-footer__brand-desc {
    font-size: 1.2rem;
    color: var(--vcde-text-muted);
    line-height: 1.6;
}

.vcde-footer__links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--vcde-spacing-sm);
    margin-bottom: var(--vcde-spacing-lg);
}

.vcde-footer__link {
    padding: var(--vcde-spacing-sm) var(--vcde-spacing-md);
    font-size: 1.2rem;
    color: var(--vcde-text-light);
    background: var(--vcde-bg-card);
    border-radius: var(--vcde-radius-md);
    transition: all var(--vcde-transition-fast);
}

.vcde-footer__link:hover {
    background: var(--vcde-primary);
    color: var(--vcde-text-dark);
}

.vcde-footer__nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--vcde-spacing-md);
    margin-bottom: var(--vcde-spacing-lg);
    padding-bottom: var(--vcde-spacing-lg);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.vcde-footer__nav a {
    font-size: 1.2rem;
    color: var(--vcde-text-muted);
}

.vcde-footer__nav a:hover {
    color: var(--vcde-primary);
}

.vcde-footer__copyright {
    text-align: center;
    font-size: 1.1rem;
    color: var(--vcde-text-muted);
}

/* Bottom Navigation */
.vcde-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(135deg, var(--vcde-bg-secondary), var(--vcde-bg-primary));
    border-top: 2px solid var(--vcde-primary);
    z-index: var(--vcde-z-bottom-nav);
    display: flex;
    justify-content: space-around;
    align-items: center;
}

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

.vcde-bottom-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    color: var(--vcde-text-muted);
    text-decoration: none;
    transition: all var(--vcde-transition-fast);
    cursor: pointer;
    background: none;
    border: none;
}

.vcde-bottom-nav__item:hover,
.vcde-bottom-nav__item--active {
    color: var(--vcde-primary);
    transform: scale(1.1);
}

.vcde-bottom-nav__item--active {
    background: rgba(212, 175, 55, 0.1);
    border-radius: var(--vcde-radius-md);
}

.vcde-bottom-nav__icon {
    font-size: 24px;
    margin-bottom: 2px;
}

.vcde-bottom-nav__text {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Accordion */
.vcde-accordion__item {
    background: var(--vcde-bg-card);
    border-radius: var(--vcde-radius-md);
    margin-bottom: var(--vcde-spacing-sm);
    overflow: hidden;
}

.vcde-accordion__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--vcde-spacing-md);
    cursor: pointer;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--vcde-text-light);
}

.vcde-accordion__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--vcde-transition-normal);
}

.vcde-accordion__item--active .vcde-accordion__content {
    max-height: 500px;
}

.vcde-accordion__body {
    padding: 0 var(--vcde-spacing-md) var(--vcde-spacing-md);
    font-size: 1.3rem;
    color: var(--vcde-text-muted);
    line-height: 1.6;
}

/* Features Grid */
.vcde-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--vcde-spacing-md);
}

.vcde-feature {
    background: var(--vcde-bg-card);
    padding: var(--vcde-spacing-md);
    border-radius: var(--vcde-radius-md);
    text-align: center;
}

.vcde-feature__icon {
    font-size: 2.4rem;
    color: var(--vcde-primary);
    margin-bottom: var(--vcde-spacing-sm);
}

.vcde-feature__title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--vcde-text-light);
    margin-bottom: var(--vcde-spacing-xs);
}

.vcde-feature__text {
    font-size: 1.1rem;
    color: var(--vcde-text-muted);
}

/* Testimonials */
.vcde-testimonial {
    background: var(--vcde-bg-card);
    padding: var(--vcde-spacing-md);
    border-radius: var(--vcde-radius-md);
    margin-bottom: var(--vcde-spacing-md);
}

.vcde-testimonial__text {
    font-size: 1.3rem;
    color: var(--vcde-text-light);
    font-style: italic;
    margin-bottom: var(--vcde-spacing-sm);
}

.vcde-testimonial__author {
    font-size: 1.2rem;
    color: var(--vcde-primary);
    font-weight: 600;
}

/* Winners Showcase */
.vcde-winners {
    display: flex;
    flex-direction: column;
    gap: var(--vcde-spacing-sm);
}

.vcde-winner {
    display: flex;
    align-items: center;
    gap: var(--vcde-spacing-md);
    padding: var(--vcde-spacing-sm);
    background: var(--vcde-bg-card);
    border-radius: var(--vcde-radius-md);
}

.vcde-winner__avatar {
    width: 40px;
    height: 40px;
    border-radius: var(--vcde-radius-full);
    background: var(--vcde-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--vcde-text-dark);
}

.vcde-winner__info {
    flex: 1;
}

.vcde-winner__name {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--vcde-text-light);
}

.vcde-winner__game {
    font-size: 1.1rem;
    color: var(--vcde-text-muted);
}

.vcde-winner__amount {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--vcde-highlight);
}

/* Payment Methods */
.vcde-payments {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--vcde-spacing-md);
}

.vcde-payment {
    padding: var(--vcde-spacing-sm) var(--vcde-spacing-md);
    background: var(--vcde-bg-card);
    border-radius: var(--vcde-radius-md);
    font-size: 1.2rem;
    color: var(--vcde-text-light);
}

/* Utilities */
.vcde-text-center {
    text-align: center;
}

.vcde-text-primary {
    color: var(--vcde-primary);
}

.vcde-mb-sm {
    margin-bottom: var(--vcde-spacing-sm);
}

.vcde-mb-md {
    margin-bottom: var(--vcde-spacing-md);
}

.vcde-mb-lg {
    margin-bottom: var(--vcde-spacing-lg);
}

.vcde-mt-md {
    margin-top: var(--vcde-spacing-md);
}

.vcde-mt-lg {
    margin-top: var(--vcde-spacing-lg);
}

/* Promotional Links */
.vcde-promo-link {
    color: var(--vcde-primary);
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

.vcde-promo-link:hover {
    color: var(--vcde-accent);
}

/* Category Title */
.vcde-category-title {
    display: flex;
    align-items: center;
    gap: var(--vcde-spacing-sm);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--vcde-primary);
    margin-bottom: var(--vcde-spacing-md);
    padding-bottom: var(--vcde-spacing-sm);
    border-bottom: 2px solid var(--vcde-primary);
}

.vcde-category-title i {
    font-size: 1.8rem;
}

/* Promo Banner */
.vcde-promo-banner {
    background: linear-gradient(135deg, var(--vcde-bg-card), var(--vcde-bg-secondary));
    border: 2px solid var(--vcde-primary);
    border-radius: var(--vcde-radius-lg);
    padding: var(--vcde-spacing-lg);
    text-align: center;
    margin-bottom: var(--vcde-spacing-lg);
}

.vcde-promo-banner__title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--vcde-primary);
    margin-bottom: var(--vcde-spacing-sm);
}

.vcde-promo-banner__text {
    font-size: 1.3rem;
    color: var(--vcde-text-light);
    margin-bottom: var(--vcde-spacing-md);
}

/* RTP Stats */
.vcde-rtp-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--vcde-spacing-sm);
}

.vcde-rtp-stat {
    background: var(--vcde-bg-card);
    padding: var(--vcde-spacing-md);
    border-radius: var(--vcde-radius-md);
    text-align: center;
}

.vcde-rtp-stat__value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--vcde-primary);
}

.vcde-rtp-stat__label {
    font-size: 1.1rem;
    color: var(--vcde-text-muted);
}
