/**
 * PGPH Gaming Website Stylesheet
 * Class prefix: vfd9-
 * Version: 1.0
 */

/* CSS Variables */
:root {
    --vfd9-primary: #FF5722;
    --vfd9-secondary: #FFB3FF;
    --vfd9-bg: #0F0F23;
    --vfd9-bg-light: #1a1a35;
    --vfd9-text: #F0F0F0;
    --vfd9-text-muted: #a0a0b0;
    --vfd9-accent: #FF5722;
    --vfd9-gold: #FFD700;
    --vfd9-gradient: linear-gradient(135deg, #FF5722 0%, #FFB3FF 100%);
    --vfd9-shadow: 0 4px 20px rgba(255, 83, 34, 0.3);
    --vfd9-radius: 12px;
    --vfd9-radius-sm: 8px;
    --vfd9-transition: all 0.3s ease;
}

/* Reset and Base */
* {
    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(--vfd9-bg);
    color: var(--vfd9-text);
    line-height: 1.5;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Container */
.vfd9-container {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
    padding: 0 1.6rem;
}

/* Header */
.vfd9-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, var(--vfd9-bg) 0%, rgba(15, 15, 35, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 83, 34, 0.2);
    transition: var(--vfd9-transition);
}

.vfd9-header-scrolled {
    background: rgba(15, 15, 35, 0.98);
    box-shadow: var(--vfd9-shadow);
}

.vfd9-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.6rem;
    max-width: 430px;
    margin: 0 auto;
}

.vfd9-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.vfd9-logo img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.vfd9-logo-text {
    font-size: 2rem;
    font-weight: 700;
    background: var(--vfd9-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vfd9-header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.vfd9-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.6rem;
    font-size: 1.4rem;
    font-weight: 600;
    border: none;
    border-radius: var(--vfd9-radius-sm);
    cursor: pointer;
    transition: var(--vfd9-transition);
    text-decoration: none;
}

.vfd9-btn-primary {
    background: var(--vfd9-gradient);
    color: #fff;
    box-shadow: var(--vfd9-shadow);
}

.vfd9-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 83, 34, 0.4);
}

.vfd9-btn-outline {
    background: transparent;
    color: var(--vfd9-primary);
    border: 2px solid var(--vfd9-primary);
}

.vfd9-btn-outline:hover {
    background: var(--vfd9-primary);
    color: #fff;
}

.vfd9-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.vfd9-menu-toggle span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--vfd9-primary);
    border-radius: 2px;
    transition: var(--vfd9-transition);
}

/* Mobile Menu */
.vfd9-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--vfd9-bg);
    z-index: 9999;
    transition: right 0.3s ease;
    padding: 8rem 2rem 2rem;
    overflow-y: auto;
}

.vfd9-menu-active {
    right: 0;
}

.vfd9-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(--vfd9-transition);
}

.vfd9-overlay-active {
    opacity: 1;
    visibility: visible;
}

.vfd9-nav-list {
    list-style: none;
}

.vfd9-nav-item {
    margin-bottom: 0.5rem;
}

.vfd9-nav-link {
    display: block;
    padding: 1.2rem 1.6rem;
    color: var(--vfd9-text);
    text-decoration: none;
    font-size: 1.5rem;
    border-radius: var(--vfd9-radius-sm);
    transition: var(--vfd9-transition);
}

.vfd9-nav-link:hover {
    background: rgba(255, 83, 34, 0.1);
    color: var(--vfd9-primary);
}

/* Main Content */
.vfd9-main {
    padding-top: 7rem;
    padding-bottom: 8rem;
}

/* Carousel */
.vfd9-carousel {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: var(--vfd9-radius);
    margin-bottom: 2rem;
}

.vfd9-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.vfd9-slide-active {
    opacity: 1;
}

.vfd9-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.vfd9-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(15, 15, 35, 0.9));
}

.vfd9-slide-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.vfd9-slide-desc {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* Section Titles */
.vfd9-section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: var(--vfd9-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vfd9-section-subtitle {
    font-size: 1.4rem;
    color: var(--vfd9-text-muted);
    margin-bottom: 2rem;
}

/* Game Grid */
.vfd9-game-section {
    margin-bottom: 3rem;
}

.vfd9-game-category {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--vfd9-secondary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255, 179, 255, 0.3);
}

.vfd9-game-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.vfd9-game-item {
    text-align: center;
    cursor: pointer;
    transition: var(--vfd9-transition);
}

.vfd9-game-item:hover {
    transform: translateY(-3px);
}

.vfd9-game-item:hover .vfd9-game-icon {
    box-shadow: 0 0 20px rgba(255, 83, 34, 0.5);
}

.vfd9-game-icon {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--vfd9-radius-sm);
    object-fit: cover;
    margin-bottom: 0.5rem;
    border: 2px solid transparent;
    transition: var(--vfd9-transition);
}

.vfd9-game-name {
    font-size: 1.1rem;
    color: var(--vfd9-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Content Sections */
.vfd9-content-section {
    background: var(--vfd9-bg-light);
    border-radius: var(--vfd9-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 83, 34, 0.1);
}

.vfd9-content-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--vfd9-primary);
}

.vfd9-content-text {
    font-size: 1.4rem;
    line-height: 1.8;
    color: var(--vfd9-text);
    margin-bottom: 1rem;
}

.vfd9-content-text:last-child {
    margin-bottom: 0;
}

.vfd9-highlight {
    color: var(--vfd9-secondary);
    font-weight: 600;
}

/* FAQ Section */
.vfd9-faq-item {
    margin-bottom: 1.5rem;
}

.vfd9-faq-question {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--vfd9-secondary);
    margin-bottom: 0.5rem;
}

.vfd9-faq-answer {
    font-size: 1.4rem;
    color: var(--vfd9-text);
    line-height: 1.6;
}

/* Features List */
.vfd9-features-list {
    display: grid;
    gap: 1.5rem;
}

.vfd9-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.vfd9-feature-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--vfd9-gradient);
    border-radius: 50%;
    font-size: 1.8rem;
}

.vfd9-feature-content h4 {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

.vfd9-feature-content p {
    font-size: 1.3rem;
    color: var(--vfd9-text-muted);
}

/* Promotional Links */
.vfd9-promo-link {
    color: var(--vfd9-primary);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--vfd9-transition);
}

.vfd9-promo-link:hover {
    color: var(--vfd9-secondary);
    text-decoration: underline;
}

/* CTA Section */
.vfd9-cta-section {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--vfd9-gradient);
    border-radius: var(--vfd9-radius);
    margin: 2rem 0;
}

.vfd9-cta-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #fff;
}

.vfd9-cta-text {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.vfd9-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 3rem;
    background: #fff;
    color: var(--vfd9-primary);
    font-size: 1.6rem;
    font-weight: 700;
    border: none;
    border-radius: var(--vfd9-radius);
    cursor: pointer;
    transition: var(--vfd9-transition);
}

.vfd9-cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* Footer */
.vfd9-footer {
    background: var(--vfd9-bg-light);
    padding: 2rem 1.6rem;
    border-top: 1px solid rgba(255, 83, 34, 0.2);
}

.vfd9-footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.vfd9-footer-link {
    font-size: 1.3rem;
    color: var(--vfd9-text-muted);
    text-decoration: none;
    transition: var(--vfd9-transition);
}

.vfd9-footer-link:hover {
    color: var(--vfd9-primary);
}

.vfd9-partners {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.vfd9-partner-logo {
    height: 24px;
    width: auto;
    opacity: 0.7;
    transition: var(--vfd9-transition);
}

.vfd9-partner-logo:hover {
    opacity: 1;
}

.vfd9-copyright {
    text-align: center;
    font-size: 1.2rem;
    color: var(--vfd9-text-muted);
}

/* Bottom Navigation */
.vfd9-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(15, 15, 35, 0.95) 0%, var(--vfd9-bg) 100%);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 83, 34, 0.3);
    display: none;
}

.vfd9-bottom-nav-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 60px;
    max-width: 430px;
    margin: 0 auto;
}

.vfd9-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 60px;
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--vfd9-transition);
    text-decoration: none;
}

.vfd9-nav-btn i,
.vfd9-nav-btn .material-icons {
    font-size: 24px;
    color: var(--vfd9-text-muted);
    margin-bottom: 4px;
    transition: var(--vfd9-transition);
}

.vfd9-nav-btn span {
    font-size: 1rem;
    color: var(--vfd9-text-muted);
    transition: var(--vfd9-transition);
}

.vfd9-nav-btn:hover i,
.vfd9-nav-btn:hover .material-icons,
.vfd9-nav-btn:hover span,
.vfd9-nav-btn.active i,
.vfd9-nav-btn.active .material-icons,
.vfd9-nav-btn.active span {
    color: var(--vfd9-primary);
}

.vfd9-nav-btn:hover {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .vfd9-bottom-nav {
        display: block;
    }

    .vfd9-main {
        padding-bottom: 8rem;
    }

    .vfd9-game-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.8rem;
    }

    .vfd9-game-name {
        font-size: 1rem;
    }
}

@media (min-width: 769px) {
    .vfd9-container {
        max-width: 600px;
    }

    .vfd9-bottom-nav {
        display: none;
    }
}

/* Utility Classes */
.vfd9-text-center {
    text-align: center;
}

.vfd9-mb-1 {
    margin-bottom: 1rem;
}

.vfd9-mb-2 {
    margin-bottom: 2rem;
}

.vfd9-mb-3 {
    margin-bottom: 3rem;
}

/* RTP Analysis */
.vfd9-rtp-grid {
    display: grid;
    gap: 1rem;
}

.vfd9-rtp-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(255, 83, 34, 0.1);
    border-radius: var(--vfd9-radius-sm);
    border-left: 3px solid var(--vfd9-primary);
}

.vfd9-rtp-game {
    font-size: 1.3rem;
    font-weight: 500;
}

.vfd9-rtp-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--vfd9-secondary);
}

/* Achievements */
.vfd9-achievements {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.vfd9-achievement {
    background: var(--vfd9-bg-light);
    padding: 1.5rem;
    border-radius: var(--vfd9-radius-sm);
    text-align: center;
    border: 1px solid rgba(255, 179, 255, 0.2);
}

.vfd9-achievement-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--vfd9-secondary);
}

.vfd9-achievement-label {
    font-size: 1.2rem;
    color: var(--vfd9-text-muted);
    margin-top: 0.5rem;
}

/* Tricks Section */
.vfd9-trick-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.2rem;
    background: rgba(255, 83, 34, 0.05);
    border-radius: var(--vfd9-radius-sm);
    margin-bottom: 1rem;
}

.vfd9-trick-number {
    width: 28px;
    height: 28px;
    min-width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--vfd9-gradient);
    border-radius: 50%;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
}

.vfd9-trick-text {
    font-size: 1.4rem;
    line-height: 1.5;
}

/* Security Section */
.vfd9-security-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(76, 175, 80, 0.2);
    border-radius: 20px;
    font-size: 1.2rem;
    color: #81c784;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}
