/**
 * VN88 Theme Styles
 * Main stylesheet for VN88 WordPress theme
 */

/* Reset and Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.site-header {
    background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

/* Navigation Styles */
.nav-desktop {
    display: flex;
    align-items: center;
    gap: 30px;
    flex: 1;
}

.primary-menu {
    display: flex;
    list-style: none;
    gap: 25px;
}

.primary-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.primary-menu a:hover {
    background-color: rgba(255,255,255,0.1);
    color: #ffd700;
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: 12px;
}

.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-login {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-login:hover {
    background-color: #fff;
    color: #1a237e;
}

.btn-register {
    background: linear-gradient(135deg, #ffd700 0%, #ffab00 100%);
    color: #1a237e;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255,215,0,0.4);
}

.btn-primary {
    background: linear-gradient(135deg, #ffd700 0%, #ffab00 100%);
    color: #1a237e;
    padding: 14px 32px;
    font-size: 16px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,215,0,0.4);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 14px 32px;
    font-size: 16px;
}

.btn-secondary:hover {
    background-color: #fff;
    color: #1a237e;
}

.btn-outline {
    background-color: transparent;
    color: #1a237e;
    border: 2px solid #1a237e;
    padding: 14px 32px;
    font-size: 16px;
}

.btn-outline:hover {
    background-color: #1a237e;
    color: #fff;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Navigation */
.nav-mobile {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.nav-mobile.active {
    display: block;
}

.mobile-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    padding: 12px;
    display: block;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.mobile-menu a:hover {
    background-color: rgba(255,255,255,0.1);
}

.mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

/* Main Content */
.site-main {
    margin-top: 70px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1a237e 0%, #283593 50%, #3949ab 100%);
    padding: 100px 0 120px;
    text-align: center;
    color: #fff;
}

.hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.3;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-description {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    padding: 80px 0 100px;
    text-align: center;
    color: #fff;
}

.page-hero h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.4;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-description {
    font-size: 17px;
    max-width: 650px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.7;
}

/* Content Sections */
.content-section {
    padding: 80px 0;
    background-color: #fff;
}

.content-section h2 {
    font-size: 32px;
    color: #1a237e;
    margin-bottom: 24px;
    font-weight: 700;
}

.content-section h3 {
    font-size: 24px;
    color: #283593;
    margin: 32px 0 16px;
    font-weight: 600;
}

.content-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 16px;
}

/* Brand Section */
.brand-section {
    padding: 80px 0;
    background-color: #fff;
}

.section-content h2 {
    font-size: 32px;
    color: #1a237e;
    margin-bottom: 24px;
    font-weight: 700;
}

.section-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 16px;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.features-section h2 {
    text-align: center;
    font-size: 32px;
    color: #1a237e;
    margin-bottom: 50px;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #fff;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.feature-card h3 {
    font-size: 20px;
    color: #1a237e;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}

.feature-card img,
.game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.cta-content img {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 12px;
    margin-bottom: 30px;
}

.page-image {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 12px;
    margin: 30px auto;
    display: block;
}

/* Games Section */
.games-section {
    padding: 80px 0;
    background-color: #fff;
}

.games-section h2 {
    text-align: center;
    font-size: 32px;
    color: #1a237e;
    margin-bottom: 50px;
    font-weight: 700;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.game-card {
    background: linear-gradient(135deg, #f5f5f5 0%, #fff 100%);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.game-card:hover {
    border-color: #1a237e;
    box-shadow: 0 5px 25px rgba(26,35,126,0.1);
}

.game-card h3 {
    font-size: 20px;
    color: #1a237e;
    margin-bottom: 12px;
    font-weight: 600;
}

.game-card p {
    font-size: 15px;
    line-height: 1.6;
    color: #555;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    text-align: center;
    color: #fff;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 700;
}

.cta-content p {
    font-size: 17px;
    max-width: 700px;
    margin: 0 auto 35px;
    opacity: 0.9;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.faq-section h2 {
    text-align: center;
    font-size: 32px;
    color: #1a237e;
    margin-bottom: 50px;
    font-weight: 700;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
}

.faq-item h3 {
    font-size: 20px;
    color: #1a237e;
    margin-bottom: 15px;
    font-weight: 600;
}

.faq-item p {
    font-size: 15px;
    line-height: 1.7;
    color: #555;
}

/* Footer Styles */
.site-footer {
    background: linear-gradient(135deg, #0d1b4c 0%, #1a237e 100%);
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #ffd700;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.85;
}

.footer-nav h4,
.footer-contact h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #ffd700;
}

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

.footer-menu li {
    margin-bottom: 10px;
}

.footer-menu a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.footer-menu a:hover {
    opacity: 1;
    color: #ffd700;
}

.footer-contact p {
    font-size: 14px;
    margin-bottom: 8px;
    opacity: 0.85;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
}

.copyright {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 15px;
}

.seo-text {
    font-size: 13px;
    line-height: 1.6;
    opacity: 0.6;
    max-width: 900px;
    margin: 0 auto;
}

/* Page Content */
.page-content {
    padding: 60px 0;
    background-color: #fff;
    min-height: 500px;
}

.entry-header {
    margin-bottom: 30px;
}

.entry-title {
    font-size: 32px;
    color: #1a237e;
    font-weight: 700;
}

.entry-content {
    font-size: 16px;
    line-height: 1.8;
    color: #444;
}

.entry-content p {
    margin-bottom: 20px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .page-hero h1 {
        font-size: 26px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
    
    .content-section h2 {
        font-size: 26px;
    }
    
    .content-section h3 {
        font-size: 20px;
    }
    
    .feature-card,
    .game-card,
    .faq-item {
        padding: 25px 20px;
    }
    
    .hero-actions,
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 70px 0 90px;
    }
    
    .hero-content h1 {
        font-size: 24px;
    }
    
    .page-hero {
        padding: 60px 0 80px;
    }
    
    .page-hero h1 {
        font-size: 22px;
    }
    
    .content-section,
    .features-section,
    .games-section,
    .faq-section {
        padding: 50px 0;
    }
    
    .cta-section {
        padding: 70px 0;
    }
}
