/**
 * sz7778 - Main Stylesheet
 * All classes use va69- prefix for namespace isolation
 * Color palette: #34495E, #FFA500, #FF4500, #8B7355, #FFC0CB
 */

/* CSS Variables */
:root {
    --va69-primary: #FFA500;
    --va69-secondary: #FF4500;
    --va69-accent: #FFC0CB;
    --va69-dark: #34495E;
    --va69-brown: #8B7355;
    --va69-light: #f8f9fa;
    --va69-white: #ffffff;
    --va69-text: #333333;
    --va69-text-light: #666666;
    --va69-border: #e0e0e0;
    --va69-shadow: rgba(0, 0, 0, 0.1);
    --va69-gradient: linear-gradient(135deg, #FFA500 0%, #FF4500 100%);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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(--va69-text);
    background-color: var(--va69-light);
    min-width: 320px;
    max-width: 430px;
    margin: 0 auto;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
}

/* Container */
.va69-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.va69-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--va69-dark) 0%, #2c3e50 100%);
    color: var(--va69-white);
    padding: 0.8rem 1rem;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--va69-shadow);
    max-width: 430px;
    margin: 0 auto;
}

.va69-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.va69-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--va69-primary);
}

.va69-logo img {
    width: 2.4rem;
    height: 2.4rem;
}

.va69-header-buttons {
    display: flex;
    gap: 0.5rem;
}

.va69-btn {
    padding: 0.5rem 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 20px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.va69-btn-register {
    background: var(--va69-gradient);
    color: var(--va69-white);
}

.va69-btn-register:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.4);
}

.va69-btn-login {
    background: transparent;
    color: var(--va69-white);
    border: 2px solid var(--va69-primary);
}

.va69-btn-login:hover {
    background: var(--va69-primary);
    color: var(--va69-dark);
}

.va69-menu-toggle {
    display: none;
    background: none;
    color: var(--va69-white);
    font-size: 2rem;
    padding: 0.5rem;
}

/* Mobile Menu */
.va69-mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(52, 73, 94, 0.98);
    z-index: 9999;
    padding: 5rem 2rem 2rem;
    overflow-y: auto;
}

.va69-mobile-menu.va69-menu-open {
    display: block;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

.va69-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    color: var(--va69-white);
    font-size: 2.5rem;
    padding: 0.5rem;
}

.va69-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.va69-menu-nav a {
    color: var(--va69-white);
    font-size: 1.8rem;
    padding: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.va69-menu-nav a:hover,
.va69-menu-nav a.va69-active {
    background: var(--va69-primary);
    color: var(--va69-dark);
}

/* Main Content */
.va69-main {
    margin-top: 70px;
    padding: 2rem 0;
    padding-bottom: 80px;
}

/* Carousel */
.va69-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.va69-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.va69-carousel-slide.va69-active {
    opacity: 1;
}

.va69-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.va69-carousel-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.va69-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.va69-carousel-dot.va69-active {
    background: var(--va69-primary);
    transform: scale(1.2);
}

/* Section Titles */
.va69-section-title {
    font-size: 2rem;
    font-weight: bold;
    color: var(--va69-dark);
    margin: 2rem 0 1.5rem;
    text-align: center;
}

.va69-section-title span {
    color: var(--va69-primary);
}

/* Game Grid */
.va69-game-section {
    margin-bottom: 3rem;
}

.va69-game-category {
    font-size: 1.6rem;
    font-weight: bold;
    color: var(--va69-secondary);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.va69-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.8rem;
}

.va69-game-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.va69-game-item:hover {
    transform: scale(1.05);
}

.va69-game-icon {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px var(--va69-shadow);
}

.va69-game-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.va69-game-name {
    font-size: 1rem;
    text-align: center;
    color: var(--va69-text);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Content Cards */
.va69-card {
    background: var(--va69-white);
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 12px var(--va69-shadow);
}

.va69-card-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--va69-dark);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.va69-card-title i {
    color: var(--va69-primary);
}

.va69-card-content {
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--va69-text-light);
}

.va69-card-content p {
    margin-bottom: 1rem;
}

/* Promotional Links */
.va69-promo-link {
    color: var(--va69-secondary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.va69-promo-link:hover {
    color: var(--va69-primary);
    text-decoration: underline;
}

/* Feature Lists */
.va69-feature-list {
    list-style: none;
    padding: 0;
}

.va69-feature-list li {
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--va69-border);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.va69-feature-list li:last-child {
    border-bottom: none;
}

.va69-feature-list li i {
    color: var(--va69-primary);
    font-size: 1.2rem;
}

/* Footer */
.va69-footer {
    background: var(--va69-dark);
    color: var(--va69-white);
    padding: 2rem 1rem 7rem;
}

.va69-footer-content {
    text-align: center;
    margin-bottom: 2rem;
}

.va69-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.va69-footer-links a {
    color: var(--va69-primary);
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.va69-footer-links a:hover {
    color: var(--va69-accent);
}

.va69-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.va69-partners img {
    height: 3rem;
    width: auto;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.va69-partners img:hover {
    opacity: 1;
    transform: scale(1.1);
}

.va69-copyright {
    font-size: 1.2rem;
    color: var(--va69-text-light);
}

/* Bottom Navigation */
.va69-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--va69-dark) 0%, #2c3e50 100%);
    padding: 0.5rem 0;
    z-index: 1000;
    box-shadow: 0 -2px 10px var(--va69-shadow);
    max-width: 430px;
    margin: 0 auto;
}

.va69-bottom-nav-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.va69-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    min-width: 60px;
    min-height: 60px;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--va69-white);
    padding: 0.5rem;
}

.va69-nav-item:hover,
.va69-nav-item.va69-active {
    transform: scale(1.1);
}

.va69-nav-item.va69-active {
    color: var(--va69-primary);
}

.va69-nav-icon {
    font-size: 2.2rem;
}

.va69-nav-text {
    font-size: 1rem;
    font-weight: 500;
}

/* Desktop Styles */
@media (min-width: 769px) {
    .va69-bottom-nav {
        display: none;
    }

    .va69-main {
        padding-bottom: 2rem;
    }

    .va69-menu-toggle {
        display: block;
    }
}

/* Utility Classes */
.va69-text-center {
    text-align: center;
}

.va69-mt-1 { margin-top: 1rem; }
.va69-mt-2 { margin-top: 2rem; }
.va69-mb-1 { margin-bottom: 1rem; }
.va69-mb-2 { margin-bottom: 2rem; }

.va69-hidden {
    display: none;
}

/* Responsive Adjustments */
@media (max-width: 380px) {
    .va69-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .va69-btn {
        padding: 0.4rem 0.8rem;
        font-size: 1.1rem;
    }

    .va69-logo {
        font-size: 1.5rem;
    }

    .va69-nav-icon {
        font-size: 2rem;
    }
}
