/**
 * Lakiwin - Custom CSS Styles
 * All classes use vdbe prefix for namespace isolation
 */

/* CSS Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --vdbe-primary: #00FA9A;
    --vdbe-secondary: #00FF7F;
    --vdbe-accent: #F5DEB3;
    --vdbe-dark: #0A0A0A;
    --vdbe-darker: #000000;
    --vdbe-light: #F5DEB3;
    --vdbe-gray: #333333;
    --vdbe-border: rgba(0, 250, 154, 0.2);
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    color: var(--vdbe-light);
    background-color: var(--vdbe-dark);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Container & Layout */
.vdbe-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.6rem;
}

.vdbe-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.vdbe-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.98) 0%, rgba(10, 10, 10, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--vdbe-primary);
    box-shadow: 0 4px 20px rgba(0, 250, 154, 0.15);
}

.vdbe-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.6rem;
    max-width: 430px;
    margin: 0 auto;
}

.vdbe-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    color: var(--vdbe-primary);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.vdbe-logo-icon {
    width: 28px;
    height: 28px;
    color: var(--vdbe-secondary);
}

.vdbe-header-buttons {
    display: flex;
    gap: 1rem;
}

.vdbe-btn {
    padding: 0.6rem 1.4rem;
    border: none;
    border-radius: 8px;
    font-size: 1.3rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-height: 44px;
    min-width: 80px;
}

.vdbe-btn-register {
    background: linear-gradient(135deg, var(--vdbe-primary) 0%, var(--vdbe-secondary) 100%);
    color: var(--vdbe-darker);
    box-shadow: 0 4px 15px rgba(0, 255, 127, 0.3);
}

.vdbe-btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 127, 0.4);
}

.vdbe-btn-login {
    background: transparent;
    color: var(--vdbe-primary);
    border: 2px solid var(--vdbe-primary);
}

.vdbe-btn-login:hover {
    background: rgba(0, 250, 154, 0.1);
    transform: translateY(-2px);
}

.vdbe-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--vdbe-primary);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
}

/* Mobile Menu */
.vdbe-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.vdbe-menu-overlay.vdbe-overlay-active {
    opacity: 1;
    visibility: visible;
}

.vdbe-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: linear-gradient(180deg, var(--vdbe-darker) 0%, var(--vdbe-dark) 100%);
    z-index: 9999;
    padding: 8rem 2rem 2rem;
    transition: right 0.3s ease;
    overflow-y: auto;
    border-left: 2px solid var(--vdbe-primary);
}

.vdbe-mobile-menu.vdbe-menu-active {
    right: 0;
}

.vdbe-mobile-link {
    display: block;
    padding: 1.2rem 0;
    color: var(--vdbe-light);
    text-decoration: none;
    font-size: 1.6rem;
    border-bottom: 1px solid rgba(245, 222, 179, 0.1);
    transition: color 0.3s ease;
}

.vdbe-mobile-link:hover {
    color: var(--vdbe-primary);
}

/* Carousel */
.vdbe-carousel {
    position: relative;
    margin-top: 7rem;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 250, 154, 0.2);
}

.vdbe-carousel-slides {
    display: flex;
    transition: transform 0.5s ease;
}

.vdbe-carousel-slide {
    min-width: 100%;
    position: relative;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.vdbe-carousel-slide.vdbe-slide-active {
    opacity: 1;
}

.vdbe-carousel-slide img {
    width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
}

.vdbe-carousel-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
    z-index: 10;
}

.vdbe-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(245, 222, 179, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.vdbe-carousel-dot.vdbe-dot-active {
    background: var(--vdbe-primary);
    transform: scale(1.2);
}

/* Main Content */
.vdbe-main {
    flex: 1;
    padding: 2rem 0 8rem;
}

/* Section */
.vdbe-section {
    margin-bottom: 3rem;
}

.vdbe-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--vdbe-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.vdbe-section-title i {
    font-size: 1.8rem;
    color: var(--vdbe-secondary);
}

/* Game Grid */
.vdbe-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}

.vdbe-game-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.vdbe-game-item:hover {
    transform: scale(1.05);
}

.vdbe-game-icon {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(0, 250, 154, 0.1) 0%, rgba(0, 255, 127, 0.05) 100%);
    border: 2px solid var(--vdbe-border);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vdbe-game-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vdbe-game-name {
    font-size: 1.1rem;
    color: var(--vdbe-light);
    text-align: center;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Card */
.vdbe-card {
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.9) 0%, rgba(0, 0, 0, 0.7) 100%);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 2px solid var(--vdbe-border);
    box-shadow: 0 8px 30px rgba(0, 250, 154, 0.1);
}

.vdbe-card-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--vdbe-primary);
    margin-bottom: 1rem;
}

.vdbe-card-content {
    font-size: 1.5rem;
    color: rgba(245, 222, 179, 0.9);
    line-height: 1.6;
}

/* Text */
.vdbe-text-highlight {
    color: var(--vdbe-primary);
    font-weight: 600;
}

/* Footer */
.vdbe-footer {
    background: linear-gradient(180deg, var(--vdbe-dark) 0%, var(--vdbe-darker) 100%);
    border-top: 2px solid var(--vdbe-primary);
    padding: 3rem 0 8rem;
    margin-top: 3rem;
}

.vdbe-footer-content {
    text-align: center;
}

.vdbe-footer-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--vdbe-primary);
    margin-bottom: 1.5rem;
}

.vdbe-footer-text {
    font-size: 1.4rem;
    color: rgba(245, 222, 179, 0.8);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.vdbe-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.vdbe-footer-link {
    color: var(--vdbe-secondary);
    text-decoration: none;
    font-size: 1.3rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--vdbe-border);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.vdbe-footer-link:hover {
    background: rgba(0, 250, 154, 0.1);
    transform: translateY(-2px);
}

.vdbe-partners {
    margin-top: 3rem;
}

.vdbe-partners-title {
    font-size: 1.4rem;
    color: var(--vdbe-accent);
    margin-bottom: 1.5rem;
    text-align: center;
}

.vdbe-partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.vdbe-partner-logo {
    width: 80px;
    height: 40px;
    object-fit: contain;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.vdbe-partner-logo:hover {
    opacity: 1;
}

/* Mobile Bottom Navigation */
.vdbe-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.98) 0%, rgba(0, 0, 0, 0.95) 100%);
    border-top: 2px solid var(--vdbe-primary);
    box-shadow: 0 -4px 20px rgba(0, 250, 154, 0.15);
    padding: 0.6rem 0;
}

.vdbe-bottom-nav-content {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 430px;
    margin: 0 auto;
}

.vdbe-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: rgba(245, 222, 179, 0.7);
    min-width: 60px;
    min-height: 60px;
    padding: 0.4rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.vdbe-nav-item:hover,
.vdbe-nav-item.vdbe-nav-active {
    color: var(--vdbe-primary);
    background: rgba(0, 250, 154, 0.1);
}

.vdbe-nav-icon {
    font-size: 2.2rem;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 28px;
}

.vdbe-nav-label {
    font-size: 1rem;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .vdbe-main {
        padding-bottom: 80px;
    }
}

@media (min-width: 769px) {
    .vdbe-bottom-nav {
        display: none;
    }

    .vdbe-main {
        padding-bottom: 2rem;
    }

    .vdbe-menu-toggle {
        display: block;
    }
}

/* Utility Classes */
.vdbe-text-center {
    text-align: center;
}

.vdbe-mb-1 {
    margin-bottom: 1rem;
}

.vdbe-mb-2 {
    margin-bottom: 2rem;
}

.vdbe-mt-2 {
    margin-top: 2rem;
}
