/**
 * SSBET PH - CSS Styles
 * Prefix: va35-
 * Mobile-first design with max-width 430px
 */

/* CSS Variables with va35- prefix */
:root {
    --va35-primary: #DC143C;
    --va35-bg-dark: #0A0A0A;
    --va35-accent: #4682B4;
    --va35-highlight: #0000FF;
    --va35-secondary: #5F9EA0;
    --va35-text-light: #FFFFFF;
    --va35-text-muted: #B0B0B0;
    --va35-bg-card: #1A1A2E;
    --va35-bg-hover: #252540;
    --va35-border: #2A2A4A;
    --va35-shadow: rgba(220, 20, 60, 0.3);
    --va35-gradient: linear-gradient(135deg, #DC143C 0%, #4682B4 100%);
    --va35-font-base: 62.5%;
    --va35-spacing-xs: 0.4rem;
    --va35-spacing-sm: 0.8rem;
    --va35-spacing-md: 1.2rem;
    --va35-spacing-lg: 1.6rem;
    --va35-spacing-xl: 2.0rem;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: var(--va35-font-base);
    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(--va35-text-light);
    background-color: var(--va35-bg-dark);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Mobile-first container - max width 430px */
.va35-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 var(--va35-spacing-sm);
}

/* Header Styles */
.va35-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--va35-border);
    padding: var(--va35-spacing-sm) var(--va35-spacing-md);
}

.va35-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 430px;
    margin: 0 auto;
}

.va35-logo {
    display: flex;
    align-items: center;
    gap: var(--va35-spacing-xs);
}

.va35-logo img {
    width: 32px;
    height: 32px;
}

.va35-logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--va35-text-light);
    text-decoration: none;
}

/* Header Buttons */
.va35-header-buttons {
    display: flex;
    gap: var(--va35-spacing-xs);
}

.va35-btn {
    padding: var(--va35-spacing-xs) var(--va35-spacing-sm);
    border-radius: 6px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    white-space: nowrap;
}

.va35-btn-register {
    background: var(--va35-primary);
    color: var(--va35-text-light);
}

.va35-btn-register:hover {
    background: #B01030;
    transform: translateY(-2px);
}

.va35-btn-login {
    background: transparent;
    color: var(--va35-text-light);
    border: 1px solid var(--va35-border);
}

.va35-btn-login:hover {
    background: var(--va35-bg-hover);
}

/* Mobile Menu Button */
.va35-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: var(--va35-spacing-xs);
}

.va35-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--va35-text-light);
    margin: 3px 0;
    transition: all 0.3s ease;
}

/* Mobile Menu Overlay */
.va35-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.va35-menu-overlay.gamea932-active {
    display: block;
    opacity: 1;
}

/* Mobile Navigation Menu */
.va35-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--va35-bg-card);
    z-index: 10000;
    transition: right 0.3s ease;
    padding: var(--va35-spacing-lg);
    overflow-y: auto;
}

.va35-mobile-menu.gamea932-active {
    right: 0;
}

.va35-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--va35-spacing-lg);
    padding-bottom: var(--va35-spacing-sm);
    border-bottom: 1px solid var(--va35-border);
}

.va35-menu-close {
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    color: var(--va35-text-light);
    font-size: 2rem;
    cursor: pointer;
}

.va35-menu-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--va35-primary);
}

.va35-nav-list {
    list-style: none;
}

.va35-nav-item {
    margin-bottom: var(--va35-spacing-xs);
}

.va35-nav-link {
    display: flex;
    align-items: center;
    padding: var(--va35-spacing-sm);
    color: var(--va35-text-light);
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1.4rem;
}

.va35-nav-link:hover {
    background: var(--va35-bg-hover);
    color: var(--va35-primary);
}

.va35-nav-link i {
    width: 24px;
    margin-right: var(--va35-spacing-sm);
    text-align: center;
}

/* Main Content */
.va35-main {
    padding-top: 70px;
    padding-bottom: 80px;
    min-height: 100vh;
}

/* Carousel Styles */
.va35-carousel-section {
    padding: var(--va35-spacing-md) 0;
    position: relative;
}

.va35-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    max-width: 430px;
    margin: 0 auto;
}

.va35-carousel-slide {
    display: none;
    position: relative;
}

.va35-carousel-slide.gamea932-active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.va35-carousel-slide img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 12px;
}

.va35-carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--va35-spacing-md);
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    border-radius: 0 0 12px 12px;
}

.va35-carousel-dots {
    display: flex;
    justify-content: center;
    gap: var(--va35-spacing-xs);
    margin-top: var(--va35-spacing-sm);
}

.va35-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--va35-border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.va35-carousel-dot.gamea932-active {
    background: var(--va35-primary);
    transform: scale(1.2);
}

/* Section Styles */
.va35-section {
    padding: var(--va35-spacing-lg) 0;
}

.va35-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--va35-text-light);
    margin-bottom: var(--va35-spacing-md);
    display: flex;
    align-items: center;
    gap: var(--va35-spacing-xs);
}

.va35-section-title i {
    color: var(--va35-primary);
}

/* Game Grid */
.va35-game-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--va35-spacing-sm);
}

.va35-game-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    padding: var(--va35-spacing-xs);
    border-radius: 8px;
    transition: all 0.3s ease;
    background: var(--va35-bg-card);
}

.va35-game-item:hover {
    background: var(--va35-bg-hover);
    transform: translateY(-3px);
}

.va35-game-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: var(--va35-spacing-xs);
}

.va35-game-name {
    font-size: 1rem;
    color: var(--va35-text-light);
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

/* Card Styles */
.va35-card {
    background: var(--va35-bg-card);
    border-radius: 12px;
    padding: var(--va35-spacing-md);
    margin-bottom: var(--va35-spacing-md);
    border: 1px solid var(--va35-border);
}

.va35-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--va35-primary);
    margin-bottom: var(--va35-spacing-sm);
    display: flex;
    align-items: center;
    gap: var(--va35-spacing-xs);
}

.va35-card-content {
    color: var(--va35-text-muted);
    font-size: 1.3rem;
    line-height: 1.6;
}

.va35-card-content p {
    margin-bottom: var(--va35-spacing-sm);
}

.va35-card-content a {
    color: var(--va35-accent);
    text-decoration: none;
}

.va35-card-content a:hover {
    color: var(--va35-primary);
    text-decoration: underline;
}

/* Feature List */
.va35-feature-list {
    list-style: none;
}

.va35-feature-item {
    display: flex;
    align-items: flex-start;
    padding: var(--va35-spacing-sm) 0;
    border-bottom: 1px solid var(--va35-border);
}

.va35-feature-item:last-child {
    border-bottom: none;
}

.va35-feature-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--va35-gradient);
    border-radius: 8px;
    margin-right: var(--va35-spacing-sm);
    flex-shrink: 0;
}

.va35-feature-icon i {
    color: var(--va35-text-light);
    font-size: 1.4rem;
}

.va35-feature-text {
    flex: 1;
}

.va35-feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--va35-text-light);
    margin-bottom: 4px;
}

.va35-feature-desc {
    font-size: 1.2rem;
    color: var(--va35-text-muted);
}

/* CTA Button */
.va35-cta-btn {
    display: block;
    width: 100%;
    padding: var(--va35-spacing-md);
    background: var(--va35-gradient);
    color: var(--va35-text-light);
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    margin: var(--va35-spacing-md) 0;
}

.va35-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--va35-shadow);
}

.va35-cta-btn i {
    margin-right: var(--va35-spacing-xs);
}

/* Stats Grid */
.va35-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--va35-spacing-sm);
    margin: var(--va35-spacing-md) 0;
}

.va35-stat-item {
    text-align: center;
    padding: var(--va35-spacing-sm);
    background: var(--va35-bg-card);
    border-radius: 8px;
}

.va35-stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--va35-primary);
}

.va35-stat-label {
    font-size: 1rem;
    color: var(--va35-text-muted);
    margin-top: 4px;
}

/* Promo Banner */
.va35-promo-banner {
    background: var(--va35-gradient);
    border-radius: 12px;
    padding: var(--va35-spacing-lg);
    text-align: center;
    margin: var(--va35-spacing-md) 0;
}

.va35-promo-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--va35-text-light);
    margin-bottom: var(--va35-spacing-sm);
}

.va35-promo-text {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--va35-spacing-md);
}

/* FAQ Section */
.va35-faq-item {
    border-bottom: 1px solid var(--va35-border);
    padding: var(--va35-spacing-sm) 0;
}

.va35-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--va35-text-light);
}

.va35-faq-answer {
    display: none;
    padding-top: var(--va35-spacing-sm);
    color: var(--va35-text-muted);
    font-size: 1.2rem;
    line-height: 1.6;
}

.va35-faq-item.va35-open .va35-faq-answer {
    display: block;
}

.va35-faq-toggle {
    color: var(--va35-primary);
    font-size: 1.4rem;
    transition: transform 0.3s ease;
}

.va35-faq-item.va35-open .va35-faq-toggle {
    transform: rotate(180deg);
}

/* Bottom Navigation */
.va35-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 62px;
    background: var(--va35-bg-card);
    border-top: 1px solid var(--va35-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    padding-bottom: env(safe-area-inset-bottom);
}

.va35-bottom-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 48px;
    padding: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.va35-bottom-btn i {
    font-size: 22px;
    color: var(--va35-text-muted);
    margin-bottom: 2px;
}

.va35-bottom-btn span {
    font-size: 10px;
    color: var(--va35-text-muted);
    white-space: nowrap;
}

.va35-bottom-btn.va35-active i,
.va35-bottom-btn.va35-active span {
    color: var(--va35-primary);
}

.va35-bottom-btn:hover i,
.va35-bottom-btn:hover span {
    color: var(--va35-primary);
}

/* Footer */
.va35-footer {
    background: var(--va35-bg-card);
    border-top: 1px solid var(--va35-border);
    padding: var(--va35-spacing-lg) var(--va35-spacing-md);
    margin-top: var(--va35-spacing-xl);
}

.va35-footer-content {
    max-width: 430px;
    margin: 0 auto;
}

.va35-footer-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--va35-text-light);
    margin-bottom: var(--va35-spacing-md);
    text-align: center;
}

.va35-partner-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--va35-spacing-sm);
    margin-bottom: var(--va35-spacing-lg);
}

.va35-partner-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: contain;
    background: var(--va35-bg-dark);
    border-radius: 6px;
    padding: 4px;
}

.va35-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--va35-spacing-xs);
    justify-content: center;
    margin-bottom: var(--va35-spacing-md);
}

.va35-footer-link {
    color: var(--va35-text-muted);
    text-decoration: none;
    font-size: 1.2rem;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.va35-footer-link:hover {
    color: var(--va35-primary);
    background: var(--va35-bg-hover);
}

.va35-footer-copyright {
    text-align: center;
    font-size: 1.1rem;
    color: var(--va35-text-muted);
    padding-top: var(--va35-spacing-md);
    border-top: 1px solid var(--va35-border);
}

/* Responsive - Desktop */
@media (min-width: 769px) {
    .va35-bottom-nav {
        display: none;
    }

    .va35-main {
        padding-bottom: 0;
    }

    .va35-container {
        max-width: 1200px;
    }

    .va35-game-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

/* Utility Classes */
.va35-text-center {
    text-align: center;
}

.va35-text-primary {
    color: var(--va35-primary);
}

.va35-mb-md {
    margin-bottom: var(--va35-spacing-md);
}

.va35-mb-lg {
    margin-bottom: var(--va35-spacing-lg);
}

/* Promo Badge */
.va35-promo-badge {
    display: inline-block;
    background: var(--va35-primary);
    color: var(--va35-text-light);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--va35-spacing-sm);
}

/* Internal Link Styling */
.va35-internal-link {
    color: var(--va35-accent);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.va35-internal-link:hover {
    color: var(--va35-primary);
    text-decoration: underline;
}

/* Loading Animation */
.va35-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--va35-spacing-xl);
}

.va35-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--va35-border);
    border-top-color: var(--va35-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
