/*
Theme Name: Jun88 Theme
Theme URI: https://ksf.ru.com/
Author: Jun88 Team
Author URI: https://ksf.ru.com/
Description: Jun88 - Sân chơi cá cược uy tín với các tựa game cá cược xanh chín hấp dẫn
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: jun88-theme
*/

/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #f39c12;
    --secondary-color: #e74c3c;
    --dark-bg: #1a1a2e;
    --darker-bg: #16213e;
    --card-bg: #0f3460;
    --text-light: #ffffff;
    --text-muted: #b8b8b8;
    --border-color: #2d3748;
    --success-color: #27ae60;
    --gradient-primary: linear-gradient(135deg, #f39c12 0%, #e74c3c 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.site-header {
    background: var(--gradient-dark);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.site-nav a {
    color: var(--text-light);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 5px;
}

.site-nav a:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

.header-actions {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-light);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(243, 156, 18, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-light);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    padding: 150px 0 100px;
    background: var(--gradient-dark);
    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(243, 156, 18, 0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text-light);
}

.section-title span {
    color: var(--primary-color);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-desc {
    color: var(--text-muted);
    line-height: 1.8;
}

/* Games Section */
.games-section {
    background: var(--darker-bg);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.game-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.game-card:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.game-content {
    padding: 30px;
}

.game-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.game-desc {
    color: var(--text-muted);
    margin-bottom: 20px;
}

/* Promotions Section */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.promo-card {
    background: var(--gradient-primary);
    padding: 40px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.promo-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.promo-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.promo-desc {
    margin-bottom: 20px;
    opacity: 0.9;
}

/* CTA Section */
.cta-section {
    background: var(--gradient-primary);
    text-align: center;
    padding: 80px 0;
}

.cta-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-btn {
    background: var(--text-light);
    color: var(--secondary-color);
    padding: 15px 40px;
    font-size: 1.1rem;
}

.cta-btn:hover {
    background: var(--dark-bg);
    color: var(--text-light);
}

/* FAQ Section */
.faq-section {
    background: var(--darker-bg);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--card-bg);
    margin-bottom: 15px;
    border-radius: 10px;
    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;
}

.faq-answer {
    padding: 0 25px 20px;
    color: var(--text-muted);
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Footer */
.site-footer {
    background: #0d1b2a;
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.footer-brand p {
    color: var(--text-muted);
    line-height: 1.8;
}

.footer-links h4 {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    text-align: center;
    color: var(--text-muted);
}

.footer-seo-text {
    margin-top: 30px;
    padding: 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--text-muted);
}

/* Page Header */
.page-header {
    padding: 140px 0 60px;
    background: var(--gradient-dark);
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.page-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Content Section */
.content-section {
    padding: 60px 0;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.content-wrapper h2 {
    color: var(--primary-color);
    margin: 40px 0 20px;
    font-size: 1.8rem;
}

.content-wrapper h3 {
    color: var(--text-light);
    margin: 30px 0 15px;
    font-size: 1.4rem;
}

.content-wrapper p {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.8;
}

.content-wrapper ul,
.content-wrapper ol {
    margin-bottom: 20px;
    padding-left: 30px;
    color: var(--text-muted);
}

.content-wrapper li {
    margin-bottom: 10px;
    line-height: 1.8;
}

/* Steps */
.steps-list {
    counter-reset: step;
    list-style: none;
    padding: 0;
}

.steps-list li {
    position: relative;
    padding-left: 60px;
    margin-bottom: 30px;
    counter-increment: step;
}

.steps-list li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--text-light);
}

/* Contact Info */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.contact-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border-color);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-title {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-info {
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--darker-bg);
        padding: 20px;
    }
    
    .site-nav.active {
        display: block;
    }
    
    .site-nav ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .header-actions {
        display: none;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .features-grid,
    .games-grid,
    .promo-grid {
        grid-template-columns: 1fr;
    }
}
