/**
 * ah77 Gaming Platform - Design Stylesheet
 * Version: 1.0.0
 * Prefix: v71c-
 * Color Scheme: Deep Navy & Electric Gold
 */

/* CSS Variables */
:root {
    --v71c-primary: #1a1f3c;
    --v71c-secondary: #2d3561;
    --v71c-accent: #f4c542;
    --v71c-accent-hover: #ffd666;
    --v71c-text-light: #ffffff;
    --v71c-text-muted: #a0aec0;
    --v71c-bg-dark: #0f1225;
    --v71c-bg-card: #252b48;
    --v71c-border: #3d4567;
    --v71c-success: #48bb78;
    --v71c-gradient: linear-gradient(135deg, #f4c542 0%, #ff9500 100%);
    --v71c-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    --v71c-radius: 12px;
    --v71c-transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--v71c-bg-dark);
    color: var(--v71c-text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

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

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

/* Header */
.v71c-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--v71c-primary) 0%, rgba(26, 31, 60, 0.95) 100%);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    transition: var(--v71c-transition);
}

.v71c-header-scrolled {
    background: rgba(26, 31, 60, 0.98);
    box-shadow: var(--v71c-shadow);
}

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

.v71c-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 700;
    color: var(--v71c-accent);
}

.v71c-logo-icon {
    width: 36px;
    height: 36px;
    background: var(--v71c-gradient);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--v71c-primary);
}

.v71c-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.v71c-btn {
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--v71c-transition);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.v71c-btn-login {
    background: transparent;
    color: var(--v71c-text-light);
    border: 1px solid var(--v71c-border);
}

.v71c-btn-login:hover {
    background: var(--v71c-secondary);
    border-color: var(--v71c-accent);
}

.v71c-btn-register {
    background: var(--v71c-gradient);
    color: var(--v71c-primary);
}

.v71c-btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(244, 197, 66, 0.4);
}

.v71c-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--v71c-text-light);
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
}

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

/* Slider Section */
.v71c-slider {
    position: relative;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
    margin-bottom: 20px;
}

.v71c-slides {
    position: relative;
    height: 200px;
}

.v71c-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

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

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

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

.v71c-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--v71c-transition);
}

.v71c-dot-active {
    background: var(--v71c-accent);
    width: 24px;
    border-radius: 4px;
}

/* Section Styles */
.v71c-section {
    padding: 24px 0;
}

.v71c-section-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--v71c-text-light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.v71c-section-title i {
    color: var(--v71c-accent);
}

/* Game Grid */
.v71c-game-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.v71c-game-card {
    background: var(--v71c-bg-card);
    border-radius: var(--v71c-radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--v71c-transition);
    border: 1px solid var(--v71c-border);
}

.v71c-game-card:hover {
    transform: translateY(-4px);
    border-color: var(--v71c-accent);
    box-shadow: 0 8px 25px rgba(244, 197, 66, 0.2);
}

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

.v71c-game-name {
    padding: 8px;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Feature Cards */
.v71c-feature-card {
    background: linear-gradient(135deg, var(--v71c-bg-card) 0%, var(--v71c-secondary) 100%);
    border-radius: var(--v71c-radius);
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid var(--v71c-border);
}

.v71c-feature-icon {
    width: 50px;
    height: 50px;
    background: var(--v71c-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 24px;
    color: var(--v71c-primary);
}

.v71c-feature-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--v71c-accent);
}

.v71c-feature-text {
    font-size: 14px;
    color: var(--v71c-text-muted);
    line-height: 1.6;
}

/* FAQ Section */
.v71c-faq-item {
    background: var(--v71c-bg-card);
    border-radius: var(--v71c-radius);
    margin-bottom: 12px;
    overflow: hidden;
    border: 1px solid var(--v71c-border);
}

.v71c-faq-question {
    padding: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.v71c-faq-question i {
    color: var(--v71c-accent);
}

.v71c-faq-answer {
    padding: 0 16px 16px;
    font-size: 14px;
    color: var(--v71c-text-muted);
}

/* Promo Banner */
.v71c-promo-banner {
    background: var(--v71c-gradient);
    border-radius: var(--v71c-radius);
    padding: 24px;
    text-align: center;
    margin: 20px 0;
}

.v71c-promo-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--v71c-primary);
    margin-bottom: 8px;
}

.v71c-promo-text {
    color: var(--v71c-primary);
    font-size: 14px;
    margin-bottom: 16px;
}

.v71c-promo-btn {
    background: var(--v71c-primary);
    color: var(--v71c-accent);
    padding: 12px 32px;
    border-radius: 25px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--v71c-transition);
}

.v71c-promo-btn:hover {
    transform: scale(1.05);
}

/* Footer */
.v71c-footer {
    background: var(--v71c-primary);
    padding: 32px 0 20px;
    border-top: 1px solid var(--v71c-border);
}

.v71c-footer-section {
    margin-bottom: 24px;
}

.v71c-footer-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--v71c-accent);
    margin-bottom: 12px;
}

.v71c-footer-links {
    list-style: none;
}

.v71c-footer-links li {
    margin-bottom: 8px;
}

.v71c-footer-links a {
    color: var(--v71c-text-muted);
    font-size: 14px;
    transition: var(--v71c-transition);
}

.v71c-footer-links a:hover {
    color: var(--v71c-accent);
}

.v71c-partner-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 20px 0;
}

.v71c-partner-logo {
    width: 60px;
    height: 30px;
    background: var(--v71c-bg-card);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: var(--v71c-text-muted);
}

.v71c-copyright {
    text-align: center;
    font-size: 12px;
    color: var(--v71c-text-muted);
    padding-top: 16px;
    border-top: 1px solid var(--v71c-border);
}

/* Mobile Bottom Navigation */
.v71c-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--v71c-secondary) 0%, var(--v71c-primary) 100%);
    border-top: 1px solid var(--v71c-border);
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    height: 64px;
}

.v71c-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 48px;
    cursor: pointer;
    transition: var(--v71c-transition);
    border-radius: 8px;
    padding: 4px 8px;
}

.v71c-nav-item:hover {
    background: rgba(244, 197, 66, 0.1);
}

.v71c-nav-item.active {
    color: var(--v71c-accent);
}

.v71c-nav-item i {
    font-size: 22px;
    margin-bottom: 4px;
}

.v71c-nav-item span {
    font-size: 10px;
    font-weight: 500;
}

/* Mobile Menu */
.v71c-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100%;
    background: var(--v71c-primary);
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding: 20px;
}

.app6f3-menu-active {
    right: 0 !important;
}

.v71c-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--v71c-border);
}

.v71c-menu-close {
    background: transparent;
    border: none;
    color: var(--v71c-text-light);
    font-size: 24px;
    cursor: pointer;
}

.v71c-menu-links {
    list-style: none;
}

.v71c-menu-links li {
    margin-bottom: 8px;
}

.v71c-menu-links a {
    display: block;
    padding: 12px 16px;
    color: var(--v71c-text-light);
    border-radius: 8px;
    transition: var(--v71c-transition);
    font-weight: 500;
}

.v71c-menu-links a:hover {
    background: var(--v71c-secondary);
    color: var(--v71c-accent);
}

/* Menu Overlay */
#app6f3-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--v71c-transition);
}

.app6f3-overlay-active {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Category Tabs */
.v71c-category-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.v71c-tab-btn {
    padding: 8px 16px;
    background: var(--v71c-bg-card);
    border: 1px solid var(--v71c-border);
    border-radius: 20px;
    color: var(--v71c-text-muted);
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    transition: var(--v71c-transition);
}

.v71c-tab-btn:hover,
.v71c-tab-btn.active {
    background: var(--v71c-accent);
    color: var(--v71c-primary);
    border-color: var(--v71c-accent);
}

/* Help Page Styles */
.v71c-help-section {
    background: var(--v71c-bg-card);
    border-radius: var(--v71c-radius);
    padding: 20px;
    margin-bottom: 16px;
    border: 1px solid var(--v71c-border);
}

.v71c-help-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--v71c-accent);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.v71c-help-list {
    list-style: none;
}

.v71c-help-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--v71c-border);
    font-size: 14px;
    color: var(--v71c-text-muted);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.v71c-help-list li:last-child {
    border-bottom: none;
}

.v71c-help-list i {
    color: var(--v71c-accent);
    margin-top: 3px;
}

/* Desktop Styles */
@media (min-width: 769px) {
    .v71c-container {
        max-width: 1200px;
    }

    .v71c-header-inner {
        max-width: 1200px;
    }

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

    .v71c-bottom-nav {
        display: none;
    }

    .v71c-main {
        padding-bottom: 40px;
    }

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

    .v71c-slider .v71c-slides {
        height: 400px;
    }
}

/* Mobile Specific */
@media (max-width: 768px) {
    .v71c-header-inner {
        max-width: 100%;
    }

    .v71c-menu-toggle {
        display: block;
    }

    .v71c-header-actions .v71c-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
}
