/**
 * Tommie King - Main Stylesheet
 * All classes use prefix: vfc9-
 * Color Palette: #778899, #708090, #212F3D, #F0F0F0, #696969
 */

/* CSS Variables */
:root {
    --vfc9-primary: #778899;
    --vfc9-secondary: #708090;
    --vfc9-dark: #212F3D;
    --vfc9-light: #F0F0F0;
    --vfc9-muted: #696969;
    --vfc9-accent: #5a9fd4;
    --vfc9-success: #4caf50;
    --vfc9-gold: #d4af37;
    --vfc9-bg: #1a252f;
    --vfc9-card-bg: #243447;
    --vfc9-text: #e8e8e8;
    --vfc9-text-muted: #a0a0a0;
    --vfc9-border: #3d5a73;
    --vfc9-header-height: 56px;
    --vfc9-bottom-nav-height: 60px;
}

/* Reset and Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}

body {
    font-family: 'Segoe UI', Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.4rem;
    line-height: 1.5;
    color: var(--vfc9-text);
    background: var(--vfc9-bg);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--vfc9-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--vfc9-gold);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.vfc9-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 12px;
}

.vfc9-wrapper {
    padding: 12px;
}

/* Header */
.vfc9-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--vfc9-header-height);
    background: linear-gradient(135deg, var(--vfc9-dark) 0%, #1e3a52 100%);
    border-bottom: 1px solid var(--vfc9-border);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
}

.vfc9-logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vfc9-logo img {
    width: 28px;
    height: 28px;
    border-radius: 4px;
}

.vfc9-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--vfc9-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vfc9-header-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vfc9-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    font-size: 1.2rem;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vfc9-btn-register {
    background: linear-gradient(135deg, var(--vfc9-gold) 0%, #b8962e 100%);
    color: var(--vfc9-dark);
}

.vfc9-btn-register:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.vfc9-btn-login {
    background: transparent;
    color: var(--vfc9-light);
    border: 1px solid var(--vfc9-border);
}

.vfc9-btn-login:hover {
    background: var(--vfc9-border);
}

.vfc9-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    color: var(--vfc9-light);
    cursor: pointer;
    font-size: 2rem;
}

/* Mobile Menu */
.vfc9-mobile-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--vfc9-card-bg);
    z-index: 9999;
    transition: right 0.3s ease;
    overflow-y: auto;
    padding: 70px 16px 20px;
}

.vfc9-menu-open {
    right: 0;
}

.vfc9-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.vfc9-overlay-active {
    opacity: 1;
    visibility: visible;
}

.vfc9-menu-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    background: var(--vfc9-dark);
    border: none;
    border-radius: 50%;
    color: var(--vfc9-light);
    font-size: 1.8rem;
    cursor: pointer;
}

.vfc9-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vfc9-menu-link {
    display: block;
    padding: 12px 16px;
    color: var(--vfc9-text);
    font-size: 1.4rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.vfc9-menu-link:hover {
    background: var(--vfc9-dark);
    color: var(--vfc9-accent);
}

.vfc9-menu-link i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

/* Main Content */
main {
    padding-top: var(--vfc9-header-height);
    padding-bottom: 20px;
}

@media (max-width: 768px) {
    main {
        padding-bottom: 80px;
    }
}

/* Slider/Banner */
.vfc9-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 16px;
}

.vfc9-slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.vfc9-slide {
    min-width: 100%;
    cursor: pointer;
}

.vfc9-slide img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.vfc9-slider-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.vfc9-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.vfc9-dot-active {
    background: var(--vfc9-gold);
    transform: scale(1.2);
}

/* Section Titles */
.vfc9-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--vfc9-light);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--vfc9-accent);
    display: flex;
    align-items: center;
    gap: 8px;
}

.vfc9-section-title i {
    color: var(--vfc9-gold);
}

/* Game Grid */
.vfc9-game-section {
    margin-bottom: 24px;
}

.vfc9-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.vfc9-game-card {
    background: var(--vfc9-card-bg);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.vfc9-game-card:hover {
    transform: translateY(-2px);
    border-color: var(--vfc9-accent);
    box-shadow: 0 4px 12px rgba(90, 159, 212, 0.3);
}

.vfc9-game-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.vfc9-game-name {
    font-size: 1.1rem;
    color: var(--vfc9-text);
    text-align: center;
    padding: 6px 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Content Sections */
.vfc9-content-section {
    background: var(--vfc9-card-bg);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 16px;
    border: 1px solid var(--vfc9-border);
}

.vfc9-content-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--vfc9-gold);
    margin-bottom: 12px;
}

.vfc9-content-text {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--vfc9-text-muted);
    margin-bottom: 12px;
}

.vfc9-content-text:last-child {
    margin-bottom: 0;
}

/* Promo Links */
.vfc9-promo-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: linear-gradient(135deg, var(--vfc9-accent) 0%, #3d7ab3 100%);
    color: #fff;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.3rem;
}

.vfc9-promo-link:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(90, 159, 212, 0.4);
    color: #fff;
}

.vfc9-text-link {
    color: var(--vfc9-accent);
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.vfc9-text-link:hover {
    color: var(--vfc9-gold);
    text-decoration: underline;
}

/* FAQ Section */
.vfc9-faq-item {
    background: var(--vfc9-dark);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 8px;
    border-left: 3px solid var(--vfc9-accent);
}

.vfc9-faq-question {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--vfc9-light);
    margin-bottom: 8px;
}

.vfc9-faq-answer {
    font-size: 1.2rem;
    color: var(--vfc9-text-muted);
    line-height: 1.5;
}

/* Features List */
.vfc9-features-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vfc9-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    background: var(--vfc9-dark);
    border-radius: 6px;
}

.vfc9-feature-icon {
    width: 36px;
    height: 36px;
    background: var(--vfc9-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6rem;
    flex-shrink: 0;
}

.vfc9-feature-text {
    font-size: 1.3rem;
    color: var(--vfc9-text);
    line-height: 1.5;
}

/* Stats Grid */
.vfc9-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.vfc9-stat-card {
    background: var(--vfc9-dark);
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    border: 1px solid var(--vfc9-border);
}

.vfc9-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--vfc9-gold);
    margin-bottom: 4px;
}

.vfc9-stat-label {
    font-size: 1.1rem;
    color: var(--vfc9-text-muted);
}

/* Footer */
.vfc9-footer {
    background: var(--vfc9-dark);
    padding: 20px 12px;
    border-top: 1px solid var(--vfc9-border);
}

.vfc9-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    justify-content: center;
}

.vfc9-footer-link {
    font-size: 1.2rem;
    color: var(--vfc9-text-muted);
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.vfc9-footer-link:hover {
    background: var(--vfc9-card-bg);
    color: var(--vfc9-accent);
}

.vfc9-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.vfc9-partner-logo {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.vfc9-partner-logo:hover {
    opacity: 1;
}

.vfc9-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--vfc9-muted);
}

/* Bottom Navigation */
.vfc9-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--vfc9-bottom-nav-height);
    background: linear-gradient(180deg, var(--vfc9-dark) 0%, #0f1a24 100%);
    border-top: 1px solid var(--vfc9-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    padding: 4px 0;
}

@media (min-width: 769px) {
    .vfc9-bottom-nav {
        display: none;
    }
}

.vfc9-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 50px;
    background: transparent;
    border: none;
    color: var(--vfc9-text-muted);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 8px;
}

.vfc9-nav-btn:hover,
.vfc9-nav-btn.vfc9-active {
    color: var(--vfc9-gold);
    background: rgba(212, 175, 55, 0.1);
}

.vfc9-nav-btn i {
    font-size: 22px;
    margin-bottom: 2px;
}

.vfc9-nav-btn span {
    font-size: 10px;
    font-weight: 500;
}

/* Utility Classes */
.vfc9-text-center {
    text-align: center;
}

.vfc9-mb-8 {
    margin-bottom: 8px;
}

.vfc9-mb-16 {
    margin-bottom: 16px;
}

.vfc9-mt-16 {
    margin-top: 16px;
}

.vfc9-hidden {
    display: none;
}

/* Responsive */
@media (max-width: 430px) {
    .vfc9-game-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }

    .vfc9-game-name {
        font-size: 1rem;
        padding: 4px 2px;
    }
}

@media (min-width: 769px) {
    .vfc9-container {
        max-width: 768px;
    }

    .vfc9-game-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}
