/**
 * bet86 - CSS Design System
 * Mobile-first responsive design
 * Prefix: vf0a-
 */

/* CSS Variables */
:root {
    --vf0a-primary: #FF6347;
    --vf0a-secondary: #FF0000;
    --vf0a-accent: #FF4500;
    --vf0a-bg-dark: #2C3E50;
    --vf0a-bg-light: #1a252f;
    --vf0a-text-light: #F08080;
    --vf0a-text-white: #ffffff;
    --vf0a-text-gray: #b8c5d0;
    --vf0a-border: rgba(255, 99, 71, 0.3);
    --vf0a-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    --vf0a-radius: 8px;
    --vf0a-transition: all 0.3s ease;
}

/* Reset & Base */
* {
    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, Oxygen, Ubuntu, sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    background-color: var(--vf0a-bg-dark);
    color: var(--vf0a-text-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--vf0a-transition);
}

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

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

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

/* Header */
.vf0a-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, var(--vf0a-bg-dark) 0%, var(--vf0a-bg-light) 100%);
    padding: 1rem 0;
    box-shadow: var(--vf0a-shadow);
    transition: var(--vf0a-transition);
}

.vf0a-header-scrolled {
    background: rgba(44, 62, 80, 0.98);
    padding: 0.8rem 0;
}

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

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

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

.vf0a-logo-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--vf0a-primary);
    text-shadow: 0 0 10px rgba(255, 99, 71, 0.5);
}

.vf0a-header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.vf0a-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(--vf0a-radius);
    cursor: pointer;
    transition: var(--vf0a-transition);
    border: none;
    min-width: 80px;
}

.vf0a-btn-primary {
    background: linear-gradient(135deg, var(--vf0a-primary) 0%, var(--vf0a-accent) 100%);
    color: var(--vf0a-text-white);
    box-shadow: 0 4px 15px rgba(255, 99, 71, 0.4);
}

.vf0a-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 99, 71, 0.6);
}

.vf0a-btn-secondary {
    background: transparent;
    color: var(--vf0a-text-white);
    border: 2px solid var(--vf0a-primary);
}

.vf0a-btn-secondary:hover {
    background: var(--vf0a-primary);
}

.vf0a-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
}

.vf0a-menu-toggle span {
    width: 24px;
    height: 3px;
    background: var(--vf0a-text-white);
    border-radius: 2px;
    transition: var(--vf0a-transition);
}

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

.vf0a-mobile-menu.web45f-menu-active {
    right: 0;
}

.vf0a-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(--vf0a-transition);
}

.vf0a-menu-overlay.web45f-overlay-active {
    opacity: 1;
    visibility: visible;
}

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

.vf0a-menu-close {
    font-size: 2.4rem;
    color: var(--vf0a-text-white);
    cursor: pointer;
}

.vf0a-menu-nav {
    list-style: none;
}

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

.vf0a-menu-nav a {
    display: block;
    padding: 1rem;
    color: var(--vf0a-text-gray);
    font-size: 1.5rem;
    border-radius: var(--vf0a-radius);
    transition: var(--vf0a-transition);
}

.vf0a-menu-nav a:hover {
    background: rgba(255, 99, 71, 0.2);
    color: var(--vf0a-primary);
}

/* Main Content */
main {
    padding-top: 70px;
}

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

/* Carousel */
.vf0a-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
}

.vf0a-carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
}

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

.vf0a-slide.web45f-slide-active {
    opacity: 1;
    position: relative;
}

.vf0a-slide img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    cursor: pointer;
}

/* Section Titles */
.vf0a-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--vf0a-text-white);
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.vf0a-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--vf0a-primary), var(--vf0a-accent));
    border-radius: 2px;
}

/* Game Grid */
.vf0a-game-section {
    padding: 2rem 0;
}

.vf0a-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

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

.vf0a-game-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 99, 71, 0.3);
    border-color: var(--vf0a-primary);
}

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

.vf0a-game-name {
    padding: 0.8rem;
    font-size: 1.1rem;
    color: var(--vf0a-text-white);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: rgba(0, 0, 0, 0.3);
}

/* Category Title */
.vf0a-category-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--vf0a-primary);
    margin: 2rem 0 1rem;
    padding-left: 1rem;
    border-left: 4px solid var(--vf0a-primary);
}

/* Info Section */
.vf0a-info-section {
    padding: 2rem 1.5rem;
    background: var(--vf0a-bg-light);
    border-radius: var(--vf0a-radius);
    margin: 1.5rem 0;
}

.vf0a-info-section h2 {
    font-size: 2rem;
    color: var(--vf0a-primary);
    margin-bottom: 1rem;
}

.vf0a-info-section p {
    color: var(--vf0a-text-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Promo Link */
.vf0a-promo-link {
    color: var(--vf0a-primary);
    font-weight: 600;
    cursor: pointer;
    transition: var(--vf0a-transition);
}

.vf0a-promo-link:hover {
    color: var(--vf0a-accent);
    text-decoration: underline;
}

/* Features Grid */
.vf0a-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.vf0a-feature-card {
    background: linear-gradient(135deg, var(--vf0a-bg-light) 0%, rgba(255, 99, 71, 0.1) 100%);
    padding: 1.5rem;
    border-radius: var(--vf0a-radius);
    text-align: center;
    border: 1px solid var(--vf0a-border);
    transition: var(--vf0a-transition);
}

.vf0a-feature-card:hover {
    border-color: var(--vf0a-primary);
    transform: scale(1.02);
}

.vf0a-feature-icon {
    font-size: 3rem;
    color: var(--vf0a-primary);
    margin-bottom: 1rem;
}

.vf0a-feature-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--vf0a-text-white);
    margin-bottom: 0.5rem;
}

.vf0a-feature-desc {
    font-size: 1.2rem;
    color: var(--vf0a-text-gray);
}

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

.vf0a-faq-question {
    padding: 1.5rem;
    font-weight: 600;
    color: var(--vf0a-text-white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vf0a-faq-answer {
    padding: 0 1.5rem 1.5rem;
    color: var(--vf0a-text-gray);
    line-height: 1.6;
}

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

.vf0a-testimonial {
    background: var(--vf0a-bg-light);
    padding: 1.5rem;
    border-radius: var(--vf0a-radius);
    border-left: 4px solid var(--vf0a-primary);
}

.vf0a-testimonial-text {
    color: var(--vf0a-text-gray);
    font-style: italic;
    margin-bottom: 1rem;
}

.vf0a-testimonial-author {
    color: var(--vf0a-primary);
    font-weight: 600;
}

/* CTA Section */
.vf0a-cta {
    background: linear-gradient(135deg, var(--vf0a-primary) 0%, var(--vf0a-accent) 100%);
    padding: 3rem 1.5rem;
    text-align: center;
    border-radius: var(--vf0a-radius);
    margin: 2rem 0;
}

.vf0a-cta h3 {
    font-size: 2.2rem;
    color: var(--vf0a-text-white);
    margin-bottom: 1rem;
}

.vf0a-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
}

.vf0a-cta .vf0a-btn {
    background: var(--vf0a-text-white);
    color: var(--vf0a-primary);
    padding: 1.2rem 3rem;
    font-size: 1.6rem;
}

/* Footer */
.vf0a-footer {
    background: var(--vf0a-bg-light);
    padding: 3rem 1.5rem 2rem;
    margin-top: 3rem;
}

.vf0a-footer-brand {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--vf0a-border);
}

.vf0a-footer-brand p {
    color: var(--vf0a-text-gray);
    font-size: 1.3rem;
    line-height: 1.6;
}

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

.vf0a-footer-links a {
    color: var(--vf0a-text-gray);
    font-size: 1.3rem;
    padding: 0.5rem 1rem;
    border-radius: var(--vf0a-radius);
    transition: var(--vf0a-transition);
}

.vf0a-footer-links a:hover {
    background: rgba(255, 99, 71, 0.2);
    color: var(--vf0a-primary);
}

.vf0a-promo-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.vf0a-promo-buttons .vf0a-btn {
    flex: 1;
    min-width: 140px;
}

.vf0a-footer-copyright {
    text-align: center;
    color: var(--vf0a-text-gray);
    font-size: 1.2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--vf0a-border);
}

/* Bottom Navigation - Mobile */
.vf0a-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(180deg, var(--vf0a-bg-dark) 0%, var(--vf0a-bg-light) 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
    border-top: 1px solid var(--vf0a-border);
}

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

.vf0a-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    cursor: pointer;
    transition: var(--vf0a-transition);
    border-radius: 12px;
    padding: 0.5rem;
}

.vf0a-nav-item:hover {
    background: rgba(255, 99, 71, 0.15);
    transform: scale(1.1);
}

.vf0a-nav-item.active {
    color: var(--vf0a-primary);
}

.vf0a-nav-item .material-icons,
.vf0a-nav-item .fas,
.vf0a-nav-item .far,
.vf0a-nav-item ion-icon {
    font-size: 24px;
    margin-bottom: 4px;
}

.vf0a-nav-item span {
    font-size: 11px;
    color: var(--vf0a-text-gray);
    text-align: center;
}

.vf0a-nav-item.active span {
    color: var(--vf0a-primary);
}

/* Utilities */
.vf0a-text-center {
    text-align: center;
}

.vf0a-mb-1 {
    margin-bottom: 1rem;
}

.vf0a-mb-2 {
    margin-bottom: 2rem;
}

.vf0a-mt-2 {
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 380px) {
    .vf0a-game-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .vf0a-features-grid {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 769px) {
    .vf0a-container {
        max-width: 768px;
    }

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