/**
 * GamPH Layout Styles
 * Website: gamph.sbs
 * Prefix: vef9-
 * Mobile-first responsive design (max-width: 430px)
 */

/* CSS Variables */
:root {
    --vef9-primary: #CD853F;
    --vef9-secondary: #9400D3;
    --vef9-accent: #7B68EE;
    --vef9-highlight: #8B008B;
    --vef9-bg-dark: #141414;
    --vef9-bg-medium: #1a1a1a;
    --vef9-bg-light: #2a2a2a;
    --vef9-text-light: #ADB5BD;
    --vef9-text-white: #ffffff;
    --vef9-border: #333333;
    --vef9-success: #28a745;
    --vef9-gold: #FFD700;
    --vef9-gradient: linear-gradient(135deg, #CD853F 0%, #9400D3 100%);
}

/* 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(--vef9-bg-dark);
    color: var(--vef9-text-light);
    line-height: 1.5rem;
    font-size: 1.4rem;
    overflow-x: hidden;
}

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

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

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

.vef9-wrapper {
    width: 100%;
    min-height: 100vh;
}

/* Header Styles */
.vef9-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(20, 20, 20, 0.98) 0%, rgba(20, 20, 20, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--vef9-border);
    padding: 0.8rem 1rem;
    transition: all 0.3s ease;
}

.vef9-header-scrolled {
    background: rgba(20, 20, 20, 0.99);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

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

.vef9-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.vef9-logo img {
    width: 28px;
    height: 28px;
    border-radius: 4px;
}

.vef9-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    background: var(--vef9-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vef9-header-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.vef9-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.vef9-btn-primary {
    background: var(--vef9-gradient);
    color: var(--vef9-text-white);
}

.vef9-btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(205, 133, 63, 0.4);
}

.vef9-btn-outline {
    background: transparent;
    border: 1px solid var(--vef9-primary);
    color: var(--vef9-primary);
}

.vef9-btn-outline:hover {
    background: var(--vef9-primary);
    color: var(--vef9-bg-dark);
}

.vef9-menu-toggle {
    background: none;
    border: none;
    color: var(--vef9-text-light);
    font-size: 2rem;
    cursor: pointer;
    padding: 0.4rem;
}

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

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

.vef9-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;
}

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

.vef9-menu-list {
    list-style: none;
}

.vef9-menu-item {
    border-bottom: 1px solid var(--vef9-border);
}

.vef9-menu-link {
    display: block;
    padding: 1.2rem 0;
    color: var(--vef9-text-light);
    font-size: 1.4rem;
    transition: color 0.3s ease;
}

.vef9-menu-link:hover {
    color: var(--vef9-primary);
}

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

/* Hero Slider */
.vef9-hero {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.vef9-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

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

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

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

.vef9-slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.vef9-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.vef9-dot-active {
    background: var(--vef9-primary);
    transform: scale(1.2);
}

/* Section Styles */
.vef9-section {
    padding: 2rem 0;
}

.vef9-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--vef9-text-white);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.vef9-section-title i {
    color: var(--vef9-primary);
}

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

.vef9-game-card {
    background: var(--vef9-bg-light);
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--vef9-border);
}

.vef9-game-card:hover {
    transform: translateY(-3px);
    border-color: var(--vef9-primary);
    box-shadow: 0 4px 15px rgba(205, 133, 63, 0.3);
}

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

.vef9-game-name {
    padding: 0.5rem;
    font-size: 1rem;
    color: var(--vef9-text-light);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Category Section */
.vef9-category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.vef9-category-icon {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--vef9-gradient);
    color: var(--vef9-text-white);
    font-size: 1.6rem;
}

/* Content Cards */
.vef9-card {
    background: var(--vef9-bg-light);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid var(--vef9-border);
}

.vef9-card-title {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--vef9-primary);
    margin-bottom: 1rem;
}

.vef9-card-text {
    color: var(--vef9-text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Feature List */
.vef9-feature-list {
    list-style: none;
}

.vef9-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--vef9-border);
}

.vef9-feature-item:last-child {
    border-bottom: none;
}

.vef9-feature-icon {
    color: var(--vef9-primary);
    font-size: 1.4rem;
    margin-top: 0.2rem;
}

/* CTA Button */
.vef9-cta {
    display: inline-block;
    background: var(--vef9-gradient);
    color: var(--vef9-text-white);
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.4rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.vef9-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(205, 133, 63, 0.5);
}

/* Testimonials */
.vef9-testimonial {
    background: var(--vef9-bg-medium);
    border-radius: 10px;
    padding: 1.2rem;
    margin-bottom: 1rem;
    border-left: 3px solid var(--vef9-primary);
}

.vef9-testimonial-text {
    font-style: italic;
    color: var(--vef9-text-light);
    margin-bottom: 0.8rem;
}

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

/* Payment Methods */
.vef9-payment-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    justify-content: center;
}

.vef9-payment-item {
    background: var(--vef9-bg-medium);
    padding: 0.8rem 1.2rem;
    border-radius: 6px;
    font-size: 1.2rem;
    color: var(--vef9-text-light);
    border: 1px solid var(--vef9-border);
}

/* Footer */
.vef9-footer {
    background: var(--vef9-bg-medium);
    padding: 2rem 1rem 1rem;
    border-top: 1px solid var(--vef9-border);
}

.vef9-footer-brand {
    text-align: center;
    margin-bottom: 1.5rem;
}

.vef9-footer-desc {
    color: var(--vef9-text-light);
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.vef9-footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.vef9-footer-link {
    background: var(--vef9-bg-light);
    padding: 0.6rem 1rem;
    border-radius: 6px;
    font-size: 1.2rem;
    color: var(--vef9-text-light);
    border: 1px solid var(--vef9-border);
    transition: all 0.3s ease;
}

.vef9-footer-link:hover {
    border-color: var(--vef9-primary);
    color: var(--vef9-primary);
}

.vef9-footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.vef9-footer-nav a {
    color: var(--vef9-text-light);
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.vef9-footer-nav a:hover {
    color: var(--vef9-primary);
}

.vef9-copyright {
    text-align: center;
    color: var(--vef9-text-light);
    font-size: 1.1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--vef9-border);
}

/* Bottom Navigation */
.vef9-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.98) 0%, rgba(20, 20, 20, 0.99) 100%);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--vef9-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
    padding: 0 0.5rem;
}

.vef9-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.vef9-nav-item:hover {
    background: rgba(205, 133, 63, 0.1);
}

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

.vef9-nav-item i {
    font-size: 22px;
    margin-bottom: 2px;
}

.vef9-nav-item span {
    font-size: 10px;
    color: var(--vef9-text-light);
}

.vef9-nav-item:hover span,
.vef9-nav-item.active span {
    color: var(--vef9-primary);
}

/* Partners Section */
.vef9-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    padding: 1rem 0;
}

.vef9-partner-logo {
    width: 60px;
    height: 30px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.vef9-partner-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Winner Showcase */
.vef9-winner-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: var(--vef9-bg-medium);
    border-radius: 8px;
    margin-bottom: 0.6rem;
}

.vef9-winner-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--vef9-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--vef9-text-white);
    font-size: 1.2rem;
}

.vef9-winner-info {
    flex: 1;
}

.vef9-winner-name {
    font-size: 1.2rem;
    color: var(--vef9-text-white);
}

.vef9-winner-game {
    font-size: 1rem;
    color: var(--vef9-text-light);
}

.vef9-winner-amount {
    color: var(--vef9-gold);
    font-weight: 700;
    font-size: 1.3rem;
}

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

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

.vef9-faq-answer {
    padding: 0 1rem 1rem;
    color: var(--vef9-text-light);
    font-size: 1.3rem;
    line-height: 1.5;
}

/* Promo Link Styles */
.vef9-promo-text {
    color: var(--vef9-primary);
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

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

/* Utility Classes */
.vef9-text-center {
    text-align: center;
}

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

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

.vef9-mt-1 {
    margin-top: 1rem;
}

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

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

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

    .vef9-main {
        padding-bottom: 2rem;
    }

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

    .vef9-hero {
        height: 300px;
    }
}

/* Animation */
@keyframes vef9-pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.vef9-animate-pulse {
    animation: vef9-pulse 2s infinite;
}
