/**
 * Gzone Gaming Platform - Stylesheet
 * All classes use prefix: vc4a-
 * Color palette: #0D1117 (dark bg) | #000080 (navy accent)
 * @version 1.0.0
 */

/* CSS Variables */
:root {
    --vc4a-primary: #000080;
    --vc4a-secondary: #1a237e;
    --vc4a-accent: #4fc3f7;
    --vc4a-bg: #0D1117;
    --vc4a-bg-light: #161b22;
    --vc4a-bg-card: #21262d;
    --vc4a-text: #e6edf3;
    --vc4a-text-muted: #8b949e;
    --vc4a-border: #30363d;
    --vc4a-success: #3fb950;
    --vc4a-warning: #f0883e;
    --vc4a-gold: #ffd700;
    --vc4a-gradient: linear-gradient(135deg, #000080 0%, #1a237e 100%);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    background-color: var(--vc4a-bg);
    color: var(--vc4a-text);
    min-height: 100vh;
}

a {
    color: var(--vc4a-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--vc4a-gold);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

.vc4a-wrapper {
    padding: 2rem 0;
}

/* Header */
.vc4a-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--vc4a-gradient);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.vc4a-header-scrolled {
    background: rgba(0, 0, 128, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.vc4a-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.6rem;
}

.vc4a-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.vc4a-logo img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.vc4a-logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.vc4a-header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.vc4a-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    font-size: 1.4rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    min-height: 44px;
}

.vc4a-btn-primary {
    background: var(--vc4a-gold);
    color: #000;
}

.vc4a-btn-primary:hover {
    background: #ffed4a;
    transform: translateY(-2px);
}

.vc4a-btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid var(--vc4a-accent);
}

.vc4a-btn-outline:hover {
    background: var(--vc4a-accent);
    color: #000;
}

.vc4a-menu-toggle {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
    min-width: 44px;
    min-height: 44px;
}

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

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

.vc4a-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

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

.vc4a-menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--vc4a-text);
    font-size: 2.4rem;
    cursor: pointer;
}

.vc4a-menu-nav {
    margin-top: 4rem;
    list-style: none;
}

.vc4a-menu-nav li {
    margin-bottom: 1rem;
}

.vc4a-menu-nav a {
    display: block;
    padding: 1.2rem 1.6rem;
    color: var(--vc4a-text);
    font-size: 1.6rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.vc4a-menu-nav a:hover {
    background: var(--vc4a-primary);
    color: #fff;
}

/* Carousel */
.vc4a-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin: 1rem 0;
}

.vc4a-slide {
    display: none;
    cursor: pointer;
}

.vc4a-slide img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.vc4a-slide-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
}

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

.vc4a-dot-active {
    background: var(--vc4a-gold);
    transform: scale(1.2);
}

/* Section Styling */
.vc4a-section {
    padding: 2rem 0;
}

.vc4a-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--vc4a-text);
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--vc4a-primary);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.vc4a-section-title i {
    color: var(--vc4a-gold);
}

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

.vc4a-game-card {
    background: var(--vc4a-bg-card);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.vc4a-game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 128, 0.3);
}

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

.vc4a-game-card-name {
    font-size: 1.1rem;
    color: var(--vc4a-text);
    padding: 0.6rem 0.4rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Category Tabs */
.vc4a-category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.vc4a-category-icon {
    width: 40px;
    height: 40px;
    background: var(--vc4a-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

/* Cards */
.vc4a-card {
    background: var(--vc4a-bg-card);
    border-radius: 12px;
    padding: 1.6rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--vc4a-border);
}

.vc4a-card-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--vc4a-text);
    margin-bottom: 1rem;
}

.vc4a-card-text {
    color: var(--vc4a-text-muted);
    font-size: 1.4rem;
    line-height: 1.6;
}

/* Features List */
.vc4a-features {
    display: grid;
    gap: 1.2rem;
}

.vc4a-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--vc4a-bg-light);
    border-radius: 8px;
}

.vc4a-feature-icon {
    width: 44px;
    height: 44px;
    background: var(--vc4a-gradient);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    flex-shrink: 0;
}

.vc4a-feature-content h4 {
    font-size: 1.5rem;
    color: var(--vc4a-text);
    margin-bottom: 0.4rem;
}

.vc4a-feature-content p {
    font-size: 1.3rem;
    color: var(--vc4a-text-muted);
}

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

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

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

.vc4a-testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.vc4a-testimonial-author span {
    font-weight: 600;
    color: var(--vc4a-accent);
}

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

.vc4a-payment-item {
    background: var(--vc4a-bg-card);
    border-radius: 10px;
    padding: 1.2rem;
    text-align: center;
    border: 1px solid var(--vc4a-border);
}

.vc4a-payment-item i {
    font-size: 2.4rem;
    color: var(--vc4a-accent);
    margin-bottom: 0.5rem;
}

.vc4a-payment-item span {
    display: block;
    font-size: 1.2rem;
    color: var(--vc4a-text-muted);
}

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

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

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

.vc4a-winner-game {
    font-size: 1.4rem;
    color: var(--vc4a-text);
}

.vc4a-winner-amount {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--vc4a-gold);
}

/* Footer */
.vc4a-footer {
    background: var(--vc4a-bg-light);
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 1px solid var(--vc4a-border);
}

.vc4a-footer-brand {
    text-align: center;
    margin-bottom: 2rem;
}

.vc4a-footer-brand p {
    color: var(--vc4a-text-muted);
    font-size: 1.3rem;
    margin-top: 1rem;
    line-height: 1.6;
}

.vc4a-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.vc4a-footer-links a {
    background: var(--vc4a-bg-card);
    padding: 0.8rem 1.6rem;
    border-radius: 20px;
    font-size: 1.3rem;
    color: var(--vc4a-text);
    transition: all 0.3s ease;
}

.vc4a-footer-links a:hover {
    background: var(--vc4a-primary);
    color: #fff;
}

.vc4a-footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.vc4a-footer-nav a {
    color: var(--vc4a-text-muted);
    font-size: 1.3rem;
}

.vc4a-footer-nav a:hover {
    color: var(--vc4a-accent);
}

.vc4a-copyright {
    text-align: center;
    color: var(--vc4a-text-muted);
    font-size: 1.2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--vc4a-border);
}

/* Bottom Navigation */
.vc4a-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, #1a237e 0%, #000080 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 64px;
    padding: 0 0.5rem;
    border-top: 1px solid rgba(79, 195, 247, 0.3);
}

.vc4a-bottom-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem;
}

.vc4a-bottom-nav-btn i {
    font-size: 2.4rem;
    margin-bottom: 0.2rem;
}

.vc4a-bottom-nav-btn span {
    font-size: 1rem;
}

.vc4a-bottom-nav-btn:hover,
.vc4a-nav-active {
    color: var(--vc4a-gold);
    transform: scale(1.1);
}

.vc4a-nav-active {
    background: rgba(255, 215, 0, 0.1);
    border-radius: 12px;
}

/* Utility Classes */
.vc4a-text-center { text-align: center; }
.vc4a-mt-2 { margin-top: 2rem; }
.vc4a-mb-2 { margin-bottom: 2rem; }
.vc4a-py-2 { padding-top: 2rem; padding-bottom: 2rem; }

/* Promo Link Styles */
.vc4a-promo-link {
    color: var(--vc4a-gold);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.vc4a-promo-link:hover {
    text-decoration: underline;
    color: #ffed4a;
}

/* CTA Section */
.vc4a-cta {
    background: var(--vc4a-gradient);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    margin: 2rem 0;
}

.vc4a-cta h3 {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 1rem;
}

.vc4a-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

/* Responsive */
@media (max-width: 768px) {
    main {
        padding-bottom: 80px;
    }
}

@media (min-width: 769px) {
    .vc4a-bottom-nav {
        display: none;
    }

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

    .vc4a-container {
        max-width: 800px;
    }

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

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

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