/**
 * JL588 Website Stylesheet
 * All classes use v929- prefix to avoid conflicts
 * Mobile-first responsive design
 * @version 1.0.0
 */

/* CSS Variables */
:root {
    --v929-primary: #E65100;
    --v929-secondary: #FF1493;
    --v929-accent: #FFDFBA;
    --v929-dark: #333333;
    --v929-deep: #880E4F;
    --v929-light: #ffffff;
    --v929-gray: #666666;
    --v929-bg-dark: #1a1a2e;
    --v929-bg-card: #252540;
    --v929-gradient: linear-gradient(135deg, #E65100 0%, #FF1493 100%);
    --v929-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --v929-radius: 12px;
    --v929-radius-sm: 8px;
}

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

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

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

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

/* Header Styles */
.v929-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--v929-bg-dark) 0%, rgba(26, 26, 46, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
}

.v929-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
    max-width: 430px;
    margin: 0 auto;
}

.v929-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
}

.v929-logo img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.v929-logo-text {
    font-size: 2rem;
    font-weight: 700;
    background: var(--v929-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.v929-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.v929-btn {
    padding: 0.8rem 1.6rem;
    border-radius: var(--v929-radius-sm);
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

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

.v929-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 81, 0, 0.4);
}

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

.v929-btn-secondary:hover {
    background: var(--v929-primary);
}

.v929-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.v929-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--v929-light);
    transition: all 0.3s ease;
}

/* Mobile Menu */
.v929-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--v929-bg-dark);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 8rem 2rem 2rem;
    overflow-y: auto;
}

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

.v929-mobile-menu ul {
    list-style: none;
}

.v929-mobile-menu li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.v929-mobile-menu a {
    display: block;
    padding: 1.5rem 0;
    color: var(--v929-light);
    text-decoration: none;
    font-size: 1.6rem;
    transition: color 0.3s ease;
}

.v929-mobile-menu a:hover {
    color: var(--v929-primary);
}

.v929-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

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

/* Carousel Styles */
.v929-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 0 0 var(--v929-radius) var(--v929-radius);
}

.v929-slides {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.v929-slide {
    min-width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    cursor: pointer;
}

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

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

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

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

.v929-dot-active {
    background: var(--v929-primary);
    width: 20px;
    border-radius: 4px;
}

/* Section Styles */
.v929-section {
    padding: 2rem 0;
}

.v929-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--v929-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.v929-section-subtitle {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--v929-accent);
    margin-bottom: 1rem;
}

/* Game Grid */
.v929-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

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

.v929-game-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--v929-shadow);
}

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

.v929-game-name {
    padding: 0.8rem 0.5rem;
    font-size: 1.1rem;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--v929-light);
}

/* Category Label */
.v929-category-label {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: var(--v929-gradient);
    border-radius: 20px;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--v929-light);
}

/* Features Grid */
.v929-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.v929-feature-card {
    background: var(--v929-bg-card);
    padding: 1.5rem;
    border-radius: var(--v929-radius);
    text-align: center;
    transition: all 0.3s ease;
}

.v929-feature-card:hover {
    transform: scale(1.02);
    border: 1px solid var(--v929-primary);
}

.v929-feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.v929-feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--v929-accent);
}

.v929-feature-desc {
    font-size: 1.2rem;
    color: var(--v929-gray);
    line-height: 1.4;
}

/* Testimonials */
.v929-testimonials {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.v929-testimonial {
    background: var(--v929-bg-card);
    padding: 1.5rem;
    border-radius: var(--v929-radius);
    border-left: 4px solid var(--v929-primary);
}

.v929-testimonial-text {
    font-size: 1.3rem;
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--v929-light);
}

.v929-testimonial-author {
    font-size: 1.2rem;
    color: var(--v929-accent);
    font-weight: 600;
}

/* Payment Methods */
.v929-payment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.v929-payment-item {
    background: var(--v929-bg-card);
    padding: 1rem;
    border-radius: var(--v929-radius-sm);
    text-align: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.v929-payment-item:hover {
    background: var(--v929-deep);
}

.v929-payment-item i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
    color: var(--v929-accent);
}

/* Winners Showcase */
.v929-winners-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.v929-winner-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--v929-bg-card);
    padding: 1rem 1.5rem;
    border-radius: var(--v929-radius-sm);
}

.v929-winner-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.v929-winner-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--v929-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.v929-winner-name {
    font-size: 1.3rem;
    font-weight: 600;
}

.v929-winner-game {
    font-size: 1.1rem;
    color: var(--v929-gray);
}

.v929-winner-amount {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--v929-secondary);
}

/* Footer */
.v929-footer {
    background: var(--v929-bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 0;
    margin-bottom: 64px;
}

.v929-footer-content {
    padding: 0 1.5rem;
    max-width: 430px;
    margin: 0 auto;
}

.v929-footer-desc {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--v929-gray);
    margin-bottom: 1.5rem;
}

.v929-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.v929-footer-link {
    padding: 0.6rem 1.2rem;
    background: var(--v929-bg-card);
    border-radius: var(--v929-radius-sm);
    color: var(--v929-light);
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.v929-footer-link:hover {
    background: var(--v929-primary);
}

.v929-footer-promo {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.v929-copyright {
    font-size: 1.2rem;
    color: var(--v929-gray);
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.v929-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--v929-gray);
    transition: all 0.3s ease;
    text-decoration: none;
}

.v929-nav-btn:hover,
.v929-nav-btn.v929-active {
    color: var(--v929-primary);
    transform: scale(1.1);
}

.v929-nav-btn i,
.v929-nav-btn .material-icons {
    font-size: 24px;
    margin-bottom: 4px;
}

.v929-nav-btn span {
    font-size: 10px;
    font-weight: 500;
}

/* Promo Banner */
.v929-promo-banner {
    background: var(--v929-gradient);
    padding: 1.5rem;
    border-radius: var(--v929-radius);
    text-align: center;
    margin: 1.5rem 0;
}

.v929-promo-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.v929-promo-desc {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* Text Styles */
.v929-text {
    font-size: 1.4rem;
    line-height: 1.6;
    color: var(--v929-gray);
    margin-bottom: 1rem;
}

.v929-text-highlight {
    color: var(--v929-primary);
    font-weight: 600;
}

/* FAQ Styles */
.v929-faq-item {
    background: var(--v929-bg-card);
    border-radius: var(--v929-radius-sm);
    margin-bottom: 1rem;
    overflow: hidden;
}

.v929-faq-question {
    padding: 1.2rem 1.5rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--v929-accent);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.v929-faq-answer {
    padding: 0 1.5rem 1.2rem;
    font-size: 1.3rem;
    color: var(--v929-gray);
    line-height: 1.5;
}

/* App Download Section */
.v929-app-download {
    background: var(--v929-bg-card);
    padding: 2rem;
    border-radius: var(--v929-radius);
    text-align: center;
}

.v929-app-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--v929-accent);
}

.v929-app-btns {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Desktop Hidden */
@media (min-width: 769px) {
    .v929-bottom-nav {
        display: none;
    }

    .v929-main {
        padding-bottom: 2rem;
    }

    .v929-footer {
        margin-bottom: 0;
    }

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

/* Tablet and Desktop */
@media (min-width: 431px) and (max-width: 768px) {
    .v929-container {
        max-width: 100%;
        padding: 0 2rem;
    }

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

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

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

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

/* Utility Classes */
.v929-mt-1 { margin-top: 0.5rem; }
.v929-mt-2 { margin-top: 1rem; }
.v929-mt-3 { margin-top: 1.5rem; }
.v929-mb-1 { margin-bottom: 0.5rem; }
.v929-mb-2 { margin-bottom: 1rem; }
.v929-mb-3 { margin-bottom: 1.5rem; }
.v929-text-center { text-align: center; }
.v929-hidden { display: none; }
