/* 6win CSS Stylesheet */
/* All classes use vc66 prefix for namespace isolation */
/* Mobile-first responsive design */
/* Version: 1.0 */

/* CSS Variables */
:root {
    --vc66-primary: #CD853F;
    --vc66-secondary: #00FF7F;
    --vc66-accent: #8B4513;
    --vc66-highlight: #00FF00;
    --vc66-dark: #0A0A0A;
    --vc66-light: #FFFFFF;
    --vc66-gray-light: #F5F5F5;
    --vc66-gray-medium: #CCCCCC;
    --vc66-gray-dark: #666666;
    --vc66-shadow: rgba(0, 0, 0, 0.3);
    --vc66-gradient: linear-gradient(135deg, var(--vc66-primary), var(--vc66-accent));
    --vc66-font-size-xs: 1.0rem;
    --vc66-font-size-sm: 1.2rem;
    --vc66-font-size-base: 1.4rem;
    --vc66-font-size-lg: 1.6rem;
    --vc66-font-size-xl: 1.8rem;
    --vc66-font-size-2xl: 2.0rem;
    --vc66-border-radius: 0.8rem;
    --vc66-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 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: var(--vc66-font-size-base);
    line-height: 1.5;
    color: var(--vc66-light);
    background-color: var(--vc66-dark);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--vc66-secondary);
    text-decoration: none;
    transition: var(--vc66-transition);
}

a:hover {
    color: var(--vc66-highlight);
    transform: translateY(-1px);
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    transition: var(--vc66-transition);
    font-family: inherit;
}

/* Container Layout */
.vc66-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.6rem;
    position: relative;
}

.vc66-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.vc66-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.95), rgba(10, 10, 10, 0.85));
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--vc66-transition);
}

.vc66-header.vc66-header-hidden {
    transform: translateY(-100%);
}

.vc66-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.vc66-logo-container {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.vc66-logo {
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 50%;
    object-fit: cover;
}

.vc66-site-name {
    font-size: var(--vc66-font-size-xl);
    font-weight: 700;
    color: var(--vc66-primary);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.vc66-header-actions {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.vc66-btn {
    padding: 0.8rem 1.6rem;
    border-radius: var(--vc66-border-radius);
    font-size: var(--vc66-font-size-sm);
    font-weight: 600;
    text-align: center;
    min-width: 6.4rem;
    min-height: 4.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--vc66-transition);
}

.vc66-btn-primary {
    background: var(--vc66-gradient);
    color: var(--vc66-dark);
    box-shadow: 0 4px 12px rgba(205, 133, 63, 0.3);
}

.vc66-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(205, 133, 63, 0.4);
}

.vc66-btn-secondary {
    background: transparent;
    color: var(--vc66-secondary);
    border: 2px solid var(--vc66-secondary);
}

.vc66-btn-secondary:hover {
    background: var(--vc66-secondary);
    color: var(--vc66-dark);
}

.vc66-menu-toggle {
    width: 4.4rem;
    height: 4.4rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.0rem;
    color: var(--vc66-light);
}

.vc66-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Mobile Menu */
.vc66-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--vc66-dark);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.vc66-mobile-menu.vc66-menu-open {
    transform: translateX(0);
}

.vc66-mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.vc66-mobile-menu-body {
    flex: 1;
    overflow-y: auto;
    padding: 2.0rem 1.6rem;
}

.vc66-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--vc66-transition);
}

.vc66-menu-overlay.vc66-overlay-active {
    opacity: 1;
    visibility: visible;
}

.vc66-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.vc66-menu-nav-link {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.6rem;
    border-radius: var(--vc66-border-radius);
    background: rgba(255, 255, 255, 0.05);
    color: var(--vc66-light);
    font-size: var(--vc66-font-size-lg);
    transition: var(--vc66-transition);
}

.vc66-menu-nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(0.4rem);
}

.vc66-menu-nav-icon {
    font-size: 2.0rem;
    color: var(--vc66-secondary);
    width: 2.8rem;
    text-align: center;
}

/* Main Content */
.vc66-main {
    flex: 1;
    padding-top: 8.0rem;
    padding-bottom: 8.0rem;
}

.vc66-section {
    margin-bottom: 4.0rem;
}

.vc66-section-title {
    font-size: var(--vc66-font-size-2xl);
    font-weight: 700;
    color: var(--vc66-primary);
    margin-bottom: 2.4rem;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Carousel */
.vc66-carousel {
    position: relative;
    width: 100%;
    height: 24.0rem;
    border-radius: var(--vc66-border-radius);
    overflow: hidden;
    margin-bottom: 3.2rem;
    background: var(--vc66-gray-dark);
}

.vc66-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    cursor: pointer;
}

.vc66-carousel-slide.vc66-slide-active {
    opacity: 1;
}

.vc66-carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vc66-carousel-dots {
    position: absolute;
    bottom: 1.6rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
}

.vc66-carousel-dot {
    width: 0.8rem;
    height: 0.8rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: var(--vc66-transition);
}

.vc66-carousel-dot.vc66-dot-active {
    background: var(--vc66-primary);
    transform: scale(1.2);
}

/* Game Grid */
.vc66-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    margin-bottom: 3.2rem;
}

.vc66-game-item {
    aspect-ratio: 1;
    border-radius: var(--vc66-border-radius);
    overflow: hidden;
    background: var(--vc66-gray-dark);
    transition: var(--vc66-transition);
    cursor: pointer;
    position: relative;
}

.vc66-game-item:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 24px var(--vc66-shadow);
    z-index: 10;
}

.vc66-game-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--vc66-transition);
}

.vc66-game-item:hover .vc66-game-image {
    transform: scale(1.1);
}

.vc66-game-name {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: var(--vc66-light);
    padding: 1.6rem 0.8rem 0.8rem;
    font-size: var(--vc66-font-size-xs);
    font-weight: 600;
    text-align: center;
    opacity: 0;
    transition: var(--vc66-transition);
}

.vc66-game-item:hover .vc66-game-name {
    opacity: 1;
}

.vc66-image-loaded {
    animation: vc66-fadeIn 0.6s ease-out;
}

@keyframes vc66-fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Category Tabs */
.vc66-category-tabs {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 2.4rem;
    overflow-x: auto;
    padding-bottom: 0.8rem;
}

.vc66-category-tab {
    padding: 0.8rem 1.6rem;
    border-radius: 2.0rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--vc66-gray-light);
    font-size: var(--vc66-font-size-sm);
    font-weight: 600;
    white-space: nowrap;
    transition: var(--vc66-transition);
}

.vc66-category-tab.vc66-active {
    background: var(--vc66-gradient);
    color: var(--vc66-dark);
}

.vc66-category-tab:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Feature Cards */
.vc66-feature-card {
    background: linear-gradient(135deg, rgba(205, 133, 63, 0.1), rgba(0, 255, 127, 0.1));
    border-radius: var(--vc66-border-radius);
    padding: 2.4rem;
    margin-bottom: 2.4rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.vc66-feature-title {
    font-size: var(--vc66-font-size-xl);
    font-weight: 700;
    color: var(--vc66-primary);
    margin-bottom: 1.6rem;
}

.vc66-feature-description {
    color: var(--vc66-gray-light);
    line-height: 1.6;
    margin-bottom: 2.4rem;
}

.vc66-feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.vc66-feature-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    color: var(--vc66-light);
}

.vc66-feature-icon {
    font-size: 1.6rem;
    color: var(--vc66-secondary);
    width: 2.4rem;
    text-align: center;
}

/* Footer */
.vc66-footer {
    background: linear-gradient(to bottom, rgba(10, 10, 10, 0.95), var(--vc66-dark));
    padding: 4.0rem 0 2.0rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.vc66-footer-content {
    margin-bottom: 3.2rem;
}

.vc66-footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.6rem;
    margin-bottom: 3.2rem;
}

.vc66-footer-link {
    color: var(--vc66-gray-light);
    font-size: var(--vc66-font-size-sm);
    padding: 0.8rem 0;
    border-bottom: 1px solid transparent;
    transition: var(--vc66-transition);
}

.vc66-footer-link:hover {
    color: var(--vc66-secondary);
    border-bottom-color: var(--vc66-secondary);
}

.vc66-partners {
    margin-bottom: 3.2rem;
}

.vc66-partners-title {
    font-size: var(--vc66-font-size-lg);
    color: var(--vc66-primary);
    margin-bottom: 1.6rem;
    text-align: center;
}

.vc66-partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.6rem;
}

.vc66-partner-logo {
    width: 100%;
    height: 4.0rem;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: var(--vc66-transition);
}

.vc66-partner-logo:hover {
    filter: grayscale(0%) opacity(1);
}

.vc66-copyright {
    text-align: center;
    color: var(--vc66-gray-dark);
    font-size: var(--vc66-font-size-xs);
    padding-top: 2.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Bottom Navigation (Mobile) */
.vc66-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, var(--vc66-dark), rgba(10, 10, 10, 0.95));
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 6.4rem;
    backdrop-filter: blur(10px);
}

.vc66-bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 6.0rem;
    min-width: 6.0rem;
    color: var(--vc66-gray-medium);
    transition: var(--vc66-transition);
    cursor: pointer;
    text-decoration: none;
}

.vc66-bottom-nav-item:hover,
.vc66-bottom-nav-item.vc66-active {
    color: var(--vc66-primary);
    transform: scale(1.1);
}

.vc66-bottom-nav-icon {
    font-size: 2.4rem;
    line-height: 1;
}

.vc66-bottom-nav-text {
    font-size: var(--vc66-font-size-xs);
    font-weight: 500;
    line-height: 1;
}

/* Touch feedback */
.vc66-touch-target {
    -webkit-tap-highlight-color: rgba(205, 133, 63, 0.3);
    touch-action: manipulation;
}

.vc66-touch-active {
    transform: scale(0.95);
    opacity: 0.8;
}

/* Responsive Design */
@media (min-width: 769px) {
    .vc66-bottom-nav {
        display: none;
    }

    .vc66-main {
        padding-bottom: 0;
    }
}

@media (max-width: 480px) {
    .vc66-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .vc66-partners-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 360px) {
    .vc66-game-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }

    .vc66-partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Utility Classes */
.vc66-text-center {
    text-align: center;
}

.vc66-text-primary {
    color: var(--vc66-primary);
}

.vc66-text-secondary {
    color: var(--vc66-secondary);
}

.vc66-bg-gradient {
    background: var(--vc66-gradient);
}

.vc66-shadow-lg {
    box-shadow: 0 10px 30px var(--vc66-shadow);
}

.vc66-rounded-lg {
    border-radius: var(--vc66-border-radius);
}

.vc66-flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.vc66-mt-2 {
    margin-top: 1.6rem;
}

.vc66-mb-2 {
    margin-bottom: 1.6rem;
}

.vc66-p-4 {
    padding: 3.2rem;
}

/* Animations */
@keyframes vc66-slideInUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes vc66-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.vc66-animate-slide-in {
    animation: vc66-slideInUp 0.6s ease-out;
}

.vc66-animate-pulse {
    animation: vc66-pulse 2s infinite;
}

/* Accessibility */
.vc66-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Print Styles */
@media print {
    .vc66-header,
    .vc66-bottom-nav,
    .vc66-mobile-menu,
    .vc66-menu-overlay {
        display: none !important;
    }

    .vc66-main {
        padding-top: 0;
        padding-bottom: 0;
    }

    body {
        background: white;
        color: black;
    }
}