/**
 * Han Online - Design Stylesheet
 * Prefix: vf41-
 * Color Palette: #D2691E | #2E4057 | #DEB887 | #C0C0C0 | #F8F8FF
 */

/* CSS Variables */
:root {
    --vf41-primary: #D2691E;
    --vf41-secondary: #2E4057;
    --vf41-accent: #DEB887;
    --vf41-light: #F8F8FF;
    --vf41-gray: #C0C0C0;
    --vf41-dark: #1a2535;
    --vf41-gradient: linear-gradient(135deg, #D2691E 0%, #2E4057 100%);
    --vf41-radius: 8px;
    --vf41-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* 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', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1.6rem;
    line-height: 1.5;
    background: var(--vf41-secondary);
    color: var(--vf41-light);
    min-height: 100vh;
}

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

a:hover {
    color: var(--vf41-primary);
}

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

/* Header */
.vf41-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(46, 64, 87, 0.98) 0%, rgba(46, 64, 87, 0.95) 100%);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
}

.vf41-header-scrolled {
    background: rgba(46, 64, 87, 0.98);
    box-shadow: var(--vf41-shadow);
}

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

.vf41-logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.vf41-logo img {
    width: 32px;
    height: 32px;
}

.vf41-logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--vf41-accent);
}

.vf41-header-actions {
    display: flex;
    gap: 0.8rem;
}

.vf41-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    border-radius: var(--vf41-radius);
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.vf41-btn-primary {
    background: var(--vf41-primary);
    color: var(--vf41-light);
}

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

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

.vf41-btn-outline:hover {
    background: var(--vf41-accent);
    color: var(--vf41-secondary);
}

.vf41-menu-btn {
    background: none;
    border: none;
    color: var(--vf41-accent);
    font-size: 2.4rem;
    cursor: pointer;
    padding: 0.5rem;
}

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

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

.vf41-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: all 0.3s ease;
}

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

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

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

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

.vf41-menu-nav a {
    display: block;
    padding: 1rem;
    color: var(--vf41-light);
    font-size: 1.6rem;
    border-radius: var(--vf41-radius);
    transition: all 0.3s ease;
}

.vf41-menu-nav a:hover {
    background: var(--vf41-primary);
    color: var(--vf41-light);
}

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

@media (min-width: 769px) {
    .vf41-main {
        padding-bottom: 2rem;
    }
}

.vf41-container {
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Carousel */
.vf41-carousel {
    position: relative;
    overflow: hidden;
    border-radius: var(--vf41-radius);
    margin-bottom: 2rem;
}

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

.vf41-slide-active {
    display: block;
}

.vf41-slide img {
    width: 100%;
    border-radius: var(--vf41-radius);
}

/* Section Styles */
.vf41-section {
    margin-bottom: 3rem;
}

.vf41-section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--vf41-accent);
    margin-bottom: 1.5rem;
    text-align: center;
}

.vf41-section-subtitle {
    font-size: 1.6rem;
    color: var(--vf41-gray);
    text-align: center;
    margin-bottom: 2rem;
}

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

.vf41-game-item {
    text-align: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.vf41-game-item:hover {
    transform: scale(1.05);
}

.vf41-game-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--vf41-radius);
    margin-bottom: 0.5rem;
}

.vf41-game-name {
    font-size: 1.2rem;
    color: var(--vf41-light);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Category Title */
.vf41-category-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--vf41-primary);
    margin: 2rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--vf41-primary);
}

/* Cards */
.vf41-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--vf41-radius);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

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

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

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

.vf41-feature {
    background: rgba(210, 105, 30, 0.1);
    border-radius: var(--vf41-radius);
    padding: 1.5rem;
    text-align: center;
}

.vf41-feature-icon {
    font-size: 2.4rem;
    color: var(--vf41-primary);
    margin-bottom: 0.8rem;
}

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

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

/* FAQ */
.vf41-faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--vf41-radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.vf41-faq-question {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--vf41-accent);
    margin-bottom: 0.8rem;
}

.vf41-faq-answer {
    font-size: 1.4rem;
    color: var(--vf41-gray);
    line-height: 1.6;
}

/* Promo Links */
.vf41-promo-link {
    color: var(--vf41-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.vf41-promo-btn {
    display: block;
    width: 100%;
    padding: 1.5rem;
    background: var(--vf41-gradient);
    color: var(--vf41-light);
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    border-radius: var(--vf41-radius);
    cursor: pointer;
    transition: all 0.3s ease;
}

.vf41-promo-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--vf41-shadow);
}

/* Footer */
.vf41-footer {
    background: var(--vf41-dark);
    padding: 3rem 1.5rem 2rem;
}

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

.vf41-footer-desc {
    font-size: 1.4rem;
    color: var(--vf41-gray);
    line-height: 1.6;
    max-width: 350px;
    margin: 0 auto 2rem;
}

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

.vf41-footer-links a {
    font-size: 1.3rem;
    color: var(--vf41-accent);
}

.vf41-footer-links a:hover {
    color: var(--vf41-primary);
}

.vf41-partners {
    text-align: center;
    margin-bottom: 2rem;
}

.vf41-partner-logos {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.vf41-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--vf41-gray);
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Bottom Navigation */
.vf41-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: linear-gradient(180deg, var(--vf41-dark) 0%, rgba(26, 37, 53, 0.98) 100%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.3);
}

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

.vf41-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    color: var(--vf41-gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.vf41-nav-item:hover,
.vf41-nav-item.vf41-active {
    color: var(--vf41-primary);
    transform: scale(1.1);
}

.vf41-nav-item i,
.vf41-nav-item .material-icons {
    font-size: 24px;
    margin-bottom: 2px;
}

.vf41-nav-item span {
    font-size: 11px;
    font-weight: 500;
}

/* Utility Classes */
.vf41-text-center { text-align: center; }
.vf41-mb-1 { margin-bottom: 1rem; }
.vf41-mb-2 { margin-bottom: 2rem; }
.vf41-mb-3 { margin-bottom: 3rem; }

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

.vf41-testimonial {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--vf41-radius);
    padding: 1.5rem;
}

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

.vf41-testimonial-author {
    font-size: 1.3rem;
    color: var(--vf41-primary);
    font-weight: 600;
}

/* Payment Methods */
.vf41-payments {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.vf41-payment-icon {
    font-size: 3rem;
    color: var(--vf41-accent);
}

/* Winners Showcase */
.vf41-winners {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.vf41-winner {
    background: rgba(210, 105, 30, 0.15);
    border-radius: var(--vf41-radius);
    padding: 1rem;
    text-align: center;
}

.vf41-winner-name {
    font-size: 1.3rem;
    color: var(--vf41-light);
    margin-bottom: 0.3rem;
}

.vf41-winner-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--vf41-primary);
}

/* App Download CTA */
.vf41-app-cta {
    background: var(--vf41-gradient);
    border-radius: var(--vf41-radius);
    padding: 2rem;
    text-align: center;
}

.vf41-app-cta-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--vf41-light);
    margin-bottom: 1rem;
}

.vf41-app-cta-text {
    font-size: 1.4rem;
    color: var(--vf41-light);
    margin-bottom: 1.5rem;
}

.vf41-app-btns {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* RTP Stats */
.vf41-rtp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.vf41-rtp-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--vf41-radius);
    padding: 1rem;
    text-align: center;
}

.vf41-rtp-game {
    font-size: 1.3rem;
    color: var(--vf41-light);
    margin-bottom: 0.5rem;
}

.vf41-rtp-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--vf41-primary);
}

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