/* VN88 Theme Styles */

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

:root {
    --primary-color: #1a237e;
    --secondary-color: #ffd700;
    --accent-color: #ff6f00;
    --text-color: #ffffff;
    --text-dark: #333333;
    --bg-dark: #0d1421;
    --bg-card: #1a2332;
    --border-color: #2d3a4a;
    --success-color: #4caf50;
    --hover-color: #283593;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
}

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

/* Header */
.site-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0d1642 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;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.main-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.main-menu a:hover {
    color: var(--secondary-color);
}

.header-actions {
    display: flex;
    gap: 15px;
}

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

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

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

.btn-register {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    color: var(--primary-color);
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    color: var(--primary-color);
    padding: 15px 40px;
    font-size: 16px;
}

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

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

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: all 0.3s;
}

.nav-mobile {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--primary-color);
    padding: 20px;
}

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

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

.mobile-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 16px;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.mobile-actions {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-actions .btn {
    text-align: center;
}

/* Hero Section */
.hero-section {
    padding: 150px 0 100px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--bg-dark) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255,215,0,0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content .subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.section-title p {
    font-size: 18px;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--border-color);
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 30px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.feature-card p {
    opacity: 0.8;
    line-height: 1.7;
}

/* Games Section */
.games-section {
    background: var(--bg-card);
}

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

.game-card {
    background: var(--bg-dark);
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s;
    border: 1px solid var(--border-color);
}

.game-card:hover {
    transform: translateY(-5px);
}

.game-content {
    padding: 30px;
}

.game-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.game-content p {
    opacity: 0.8;
    margin-bottom: 20px;
    line-height: 1.7;
}

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

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ Section */
.faq-section {
    background: var(--bg-dark);
}

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

.faq-item {
    background: var(--bg-card);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 16px;
}

.faq-answer {
    padding: 0 25px 20px;
    opacity: 0.8;
    line-height: 1.7;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Content Page Styles */
.page-content {
    padding: 120px 0 80px;
    max-width: 900px;
    margin: 0 auto;
}

.page-content h1 {
    font-size: 42px;
    margin-bottom: 30px;
    color: var(--secondary-color);
    text-align: center;
}

.page-content h2 {
    font-size: 28px;
    margin: 40px 0 20px;
    color: var(--secondary-color);
}

.page-content h3 {
    font-size: 22px;
    margin: 30px 0 15px;
    color: var(--text-color);
}

.page-content p {
    margin-bottom: 20px;
    line-height: 1.8;
    opacity: 0.9;
}

.page-content ul,
.page-content ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

.page-content li {
    margin-bottom: 10px;
    line-height: 1.7;
}

/* Steps */
.steps-list {
    counter-reset: step;
    list-style: none;
    padding: 0;
}

.steps-list li {
    position: relative;
    padding-left: 60px;
    margin-bottom: 30px;
}

.steps-list li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary-color);
}

/* Promo Cards */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.promo-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--primary-color) 100%);
    padding: 35px;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.promo-card h3 {
    color: var(--secondary-color);
    font-size: 22px;
    margin-bottom: 15px;
}

.promo-card .promo-value {
    font-size: 36px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

/* Contact Info */
.contact-info {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 15px;
    margin: 40px 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.contact-details h4 {
    color: var(--secondary-color);
    margin-bottom: 5px;
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #0a0f1a 0%, var(--primary-color) 100%);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 28px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.footer-brand p {
    opacity: 0.8;
    line-height: 1.7;
}

.footer-nav h4,
.footer-contact h4 {
    font-size: 18px;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

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

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

.footer-menu a {
    color: var(--text-color);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-menu a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.footer-contact p {
    opacity: 0.8;
    line-height: 1.7;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    opacity: 0.7;
    margin-bottom: 10px;
}

.seo-text {
    font-size: 13px;
    opacity: 0.5;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }

    .header-actions {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero-section {
        padding: 120px 0 60px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content .subtitle {
        font-size: 16px;
    }

    .section {
        padding: 50px 0;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .features-grid,
    .games-grid,
    .promo-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .page-content {
        padding: 100px 20px 60px;
    }

    .page-content h1 {
        font-size: 28px;
    }

    .page-content h2 {
        font-size: 24px;
    }

    .cta-section h2 {
        font-size: 28px;
    }
}

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

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.highlight {
    color: var(--secondary-color);
    font-weight: 600;
}

/* Image Styles */
.hero-image {
    margin: 30px 0;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.section-image {
    margin: 40px 0;
    text-align: center;
}

.section-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.game-image {
    margin-bottom: 20px;
}

.game-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.game-card .game-content {
    padding: 25px;
}

.cta-image {
    margin-bottom: 30px;
    text-align: center;
}

.cta-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.page-image {
    margin: 30px 0;
    text-align: center;
}

.page-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Responsive Images */
@media (max-width: 768px) {
    .hero-image img,
    .section-image img,
    .cta-image img,
    .page-image img {
        border-radius: 10px;
    }
    
    .game-image img {
        height: 150px;
    }
}
