/**
 * Supreme Gaming - Main Stylesheet
 * File: design-d11f.css
 * Prefix: vfaf-
 * Colors: #9370DB (primary) | #000080 (secondary) | #1A1A1A (background)
 */

/* CSS Reset and Variables */
:root {
    --vfaf-primary: #9370DB;
    --vfaf-secondary: #000080;
    --vfaf-bg: #1A1A1A;
    --vfaf-bg-light: #2A2A2A;
    --vfaf-text: #FFFFFF;
    --vfaf-text-muted: #B0B0B0;
    --vfaf-accent: #9370DB;
    --vfaf-success: #4CAF50;
    --vfaf-warning: #FF9800;
    --vfaf-gradient: linear-gradient(135deg, #9370DB 0%, #000080 100%);
    --vfaf-shadow: 0 4px 20px rgba(147, 112, 219, 0.3);
    --vfaf-radius: 8px;
    --vfaf-radius-lg: 16px;
    --vfaf-transition: all 0.3s ease;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--vfaf-bg);
    color: var(--vfaf-text);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

a {
    color: var(--vfaf-primary);
    text-decoration: none;
    transition: var(--vfaf-transition);
}

a:hover {
    color: var(--vfaf-text);
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.vfaf-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.6rem;
}

/* Header */
.vfaf-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.98) 0%, rgba(26, 26, 26, 0.95) 100%);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    transition: var(--vfaf-transition);
}

.vfaf-header-scrolled {
    box-shadow: var(--vfaf-shadow);
}

.vfaf-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.6rem;
    max-width: 430px;
    margin: 0 auto;
}

.vfaf-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.vfaf-logo img {
    width: 32px;
    height: 32px;
}

.vfaf-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--vfaf-primary);
}

.vfaf-header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.vfaf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    font-size: 1.3rem;
    font-weight: 600;
    border-radius: var(--vfaf-radius);
    cursor: pointer;
    transition: var(--vfaf-transition);
    border: none;
    text-decoration: none;
}

.vfaf-btn-primary {
    background: var(--vfaf-gradient);
    color: var(--vfaf-text);
}

.vfaf-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--vfaf-shadow);
}

.vfaf-btn-outline {
    background: transparent;
    color: var(--vfaf-primary);
    border: 2px solid var(--vfaf-primary);
}

.vfaf-btn-outline:hover {
    background: var(--vfaf-primary);
    color: var(--vfaf-bg);
}

.vfaf-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
}

.vfaf-hamburger span {
    width: 24px;
    height: 3px;
    background: var(--vfaf-text);
    transition: var(--vfaf-transition);
    border-radius: 2px;
}

.vfaf-hamburger-active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.vfaf-hamburger-active span:nth-child(2) {
    opacity: 0;
}

.vfaf-hamburger-active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.vfaf-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--vfaf-bg);
    z-index: 9999;
    padding: 6rem 2rem 2rem;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.vfaf-menu-active {
    right: 0;
}

.vfaf-mobile-menu ul {
    list-style: none;
}

.vfaf-mobile-menu li {
    border-bottom: 1px solid rgba(147, 112, 219, 0.2);
}

.vfaf-mobile-menu a {
    display: block;
    padding: 1.4rem 0;
    font-size: 1.5rem;
    color: var(--vfaf-text);
}

.vfaf-mobile-menu a:hover {
    color: var(--vfaf-primary);
    padding-left: 1rem;
}

.vfaf-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: var(--vfaf-transition);
}

.vfaf-overlay-active {
    opacity: 1;
    visibility: visible;
}

/* Main Content */
main {
    padding-top: 70px;
    padding-bottom: 2rem;
}

@media (max-width: 768px) {
    main {
        padding-bottom: 80px;
    }
}

/* Hero Carousel */
.vfaf-hero {
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem;
}

.vfaf-carousel {
    position: relative;
}

.vfaf-slides {
    position: relative;
    height: 200px;
}

.vfaf-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.vfaf-slide-active {
    opacity: 1;
}

.vfaf-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--vfaf-radius);
}

.vfaf-slide-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
}

.vfaf-slide-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--vfaf-transition);
}

.vfaf-dot-active {
    background: var(--vfaf-primary);
    transform: scale(1.2);
}

/* Section Styles */
.vfaf-section {
    padding: 2rem 1.6rem;
    margin-bottom: 1.5rem;
}

.vfaf-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--vfaf-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.vfaf-section-subtitle {
    font-size: 1.4rem;
    color: var(--vfaf-text-muted);
    text-align: center;
    margin-bottom: 2rem;
}

/* Game Grid */
.vfaf-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.vfaf-game-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.8rem;
    background: var(--vfaf-bg-light);
    border-radius: var(--vfaf-radius);
    cursor: pointer;
    transition: var(--vfaf-transition);
}

.vfaf-game-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--vfaf-shadow);
    background: rgba(147, 112, 219, 0.1);
}

.vfaf-game-item img {
    width: 60px;
    height: 60px;
    border-radius: var(--vfaf-radius);
    margin-bottom: 0.5rem;
}

.vfaf-game-name {
    font-size: 1.1rem;
    color: var(--vfaf-text);
    text-align: center;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Category Tabs */
.vfaf-category-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--vfaf-primary);
    margin: 2rem 0 1rem;
    padding-left: 1.6rem;
    border-left: 4px solid var(--vfaf-primary);
}

/* Features Cards */
.vfaf-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
}

.vfaf-feature-card {
    background: var(--vfaf-bg-light);
    padding: 1.5rem;
    border-radius: var(--vfaf-radius-lg);
    text-align: center;
    transition: var(--vfaf-transition);
}

.vfaf-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--vfaf-shadow);
}

.vfaf-feature-icon {
    font-size: 2.4rem;
    color: var(--vfaf-primary);
    margin-bottom: 1rem;
}

.vfaf-feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--vfaf-text);
    margin-bottom: 0.5rem;
}

.vfaf-feature-desc {
    font-size: 1.2rem;
    color: var(--vfaf-text-muted);
}

/* Partners Section */
.vfaf-partners {
    padding: 2rem 1.6rem;
    background: var(--vfaf-bg-light);
}

.vfaf-partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.vfaf-partner-logo {
    width: 50px;
    height: 50px;
    opacity: 0.7;
    transition: var(--vfaf-transition);
    filter: grayscale(50%);
}

.vfaf-partner-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Footer */
.vfaf-footer {
    background: var(--vfaf-bg-light);
    padding: 2rem 1.6rem;
    margin-top: 2rem;
}

.vfaf-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.vfaf-footer-link {
    font-size: 1.2rem;
    color: var(--vfaf-text-muted);
}

.vfaf-footer-link:hover {
    color: var(--vfaf-primary);
}

.vfaf-footer-promos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.vfaf-footer-promo {
    font-size: 1.2rem;
    color: var(--vfaf-primary);
    font-weight: 600;
}

.vfaf-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--vfaf-text-muted);
    margin-top: 1rem;
}

/* Bottom Navigation (Mobile) */
.vfaf-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.98) 0%, rgba(26, 26, 26, 1) 100%);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    border-top: 1px solid rgba(147, 112, 219, 0.3);
}

@media (min-width: 769px) {
    .vfaf-bottom-nav {
        display: none;
    }
}

.vfaf-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    cursor: pointer;
    transition: var(--vfaf-transition);
    color: var(--vfaf-text-muted);
}

.vfaf-nav-item:hover,
.vfaf-nav-item.vfaf-nav-active {
    color: var(--vfaf-primary);
    transform: scale(1.1);
}

.vfaf-nav-item .material-icons,
.vfaf-nav-item .fas,
.vfaf-nav-item .far,
.vfaf-nav-item ion-icon {
    font-size: 24px;
    margin-bottom: 4px;
}

.vfaf-nav-text {
    font-size: 10px;
    font-weight: 500;
}

/* Promo Link Styles */
.vfaf-promo-text {
    color: var(--vfaf-primary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--vfaf-transition);
}

.vfaf-promo-text:hover {
    color: var(--vfaf-text);
    text-decoration: underline;
}

.vfaf-promo-btn {
    display: inline-block;
    background: var(--vfaf-gradient);
    color: var(--vfaf-text);
    padding: 1rem 2rem;
    border-radius: var(--vfaf-radius-lg);
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--vfaf-transition);
    text-align: center;
}

.vfaf-promo-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--vfaf-shadow);
}

/* RTP Section */
.vfaf-rtp-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.vfaf-rtp-item {
    background: var(--vfaf-bg-light);
    padding: 1rem;
    border-radius: var(--vfaf-radius);
    text-align: center;
}

.vfaf-rtp-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--vfaf-success);
}

.vfaf-rtp-label {
    font-size: 1.1rem;
    color: var(--vfaf-text-muted);
}

/* FAQ Section */
.vfaf-faq-item {
    background: var(--vfaf-bg-light);
    padding: 1.5rem;
    border-radius: var(--vfaf-radius);
    margin-bottom: 1rem;
}

.vfaf-faq-question {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--vfaf-primary);
    margin-bottom: 0.8rem;
}

.vfaf-faq-answer {
    font-size: 1.3rem;
    color: var(--vfaf-text-muted);
    line-height: 1.6;
}

/* Responsive Utilities */
@media (max-width: 430px) {
    .vfaf-game-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.6rem;
    }

    .vfaf-game-item img {
        width: 50px;
        height: 50px;
    }

    .vfaf-game-name {
        font-size: 1rem;
    }
}

/* Animation Classes */
@keyframes vfaf-fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.vfaf-animate-fadeIn {
    animation: vfaf-fadeIn 0.5s ease forwards;
}

/* Utility Classes */
.vfaf-text-center {
    text-align: center;
}

.vfaf-mt-1 {
    margin-top: 1rem;
}

.vfaf-mb-1 {
    margin-bottom: 1rem;
}

.vfaf-mt-2 {
    margin-top: 2rem;
}

.vfaf-mb-2 {
    margin-bottom: 2rem;
}

.vfaf-hidden {
    display: none;
}

/* Help Page Styles */
.vfaf-help-content {
    padding: 1.6rem;
}

.vfaf-help-section {
    margin-bottom: 2rem;
}

.vfaf-help-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--vfaf-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--vfaf-primary);
}

.vfaf-help-text {
    font-size: 1.4rem;
    color: var(--vfaf-text);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.vfaf-help-list {
    list-style: none;
    padding-left: 1rem;
}

.vfaf-help-list li {
    font-size: 1.3rem;
    color: var(--vfaf-text);
    margin-bottom: 0.8rem;
    padding-left: 1.5rem;
    position: relative;
}

.vfaf-help-list li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: var(--vfaf-primary);
    font-weight: bold;
}
