/*
Theme Name: XOSO66 SEO Theme
Theme URI: https://xoso66.so/
Author: XOSO66 Team
Author URI: https://xoso66.so/
Description: Chuyên trang xổ số kiến thiết ba miền Bắc Trung Nam - XOSO66 phân tích kết quả xổ số, dự đoán soi cầu miễn phí hàng ngày. Cập nhật kết quả XSMN, XSMT, XSMB nhanh chóng và chính xác nhất.
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: xoso66-so-theme
Tags: lottery, xổ số, soi cầu, dự đoán xổ số, kqxs, xsmn, xsmt, xsmb
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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 15px;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 28px;
    font-weight: bold;
    color: #ffcc00;
}

.logo a {
    text-decoration: none;
    color: inherit;
}

/* Navigation */
nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav ul li {
    position: relative;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    background-color: #ffcc00;
    color: #1e3c72;
}

/* Header Actions (Login/Register) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 20px;
}

.btn-login,
.btn-register,
.btn-logout {
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-login {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-login:hover {
    background-color: #fff;
    color: #1e3c72;
}

.btn-register {
    background-color: #ffcc00;
    color: #1e3c72;
    border: 2px solid #ffcc00;
}

.btn-register:hover {
    background-color: #ffdb4d;
    border-color: #ffdb4d;
    transform: translateY(-2px);
}

.btn-logout {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-logout:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: #fff;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    margin-left: 15px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
    border-radius: 3px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

/* Content Images */
.content-image {
    margin: 30px 0;
    text-align: center;
}

.content-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.content-image img:hover {
    transform: scale(1.02);
}

.content-image figcaption {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
    font-style: italic;
}

.two-column {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 30px;
}

.two-column .column {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.two-column .column h3 {
    margin-top: 20px;
    color: #1e3c72;
}

.hero h1 {
    font-size: 42px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 30px;
}

.hero-btn {
    display: inline-block;
    background-color: #ffcc00;
    color: #1e3c72;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: transform 0.3s ease;
}

.hero-btn:hover {
    transform: translateY(-3px);
}

/* Content Sections */
.section {
    padding: 60px 0;
    background-color: #fff;
    margin-bottom: 30px;
}

.section-alt {
    background-color: #f9f9f9;
}

/* FAQ Section */
.faq-item {
    margin-bottom: 30px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.faq-item h3 {
    color: #1e3c72;
    margin-bottom: 15px;
    font-size: 18px;
}

.faq-item p {
    color: #555;
    line-height: 1.8;
}

/* Contact Info */
.contact-info {
    margin-top: 30px;
}

.info-item {
    margin-bottom: 25px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.info-item h3 {
    color: #1e3c72;
    margin-bottom: 10px;
    font-size: 18px;
}

.info-item p {
    color: #555;
    line-height: 1.8;
}

.section-title {
    font-size: 32px;
    color: #1e3c72;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #ffcc00;
    margin: 15px auto 0;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border-top: 4px solid #ffcc00;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-card h3 {
    font-size: 22px;
    color: #1e3c72;
    margin-bottom: 15px;
}

.feature-card p {
    color: #666;
    line-height: 1.8;
}

/* Content Blocks */
.content-block {
    margin-bottom: 40px;
}

.content-block h2 {
    font-size: 28px;
    color: #1e3c72;
    margin-bottom: 20px;
    border-left: 5px solid #ffcc00;
    padding-left: 15px;
}

.content-block h3 {
    font-size: 22px;
    color: #2a5298;
    margin: 25px 0 15px;
}

.content-block p {
    margin-bottom: 15px;
    line-height: 1.8;
    text-align: justify;
}

.content-block ul {
    margin: 15px 0 15px 30px;
}

.content-block ul li {
    margin-bottom: 10px;
    line-height: 1.8;
}

/* Stats Section */
.stats-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    padding: 50px 0;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    color: #ffcc00;
    display: block;
}

.stat-label {
    font-size: 18px;
    margin-top: 10px;
    display: block;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
}

.cta-btn {
    display: inline-block;
    background-color: #fff;
    color: #ee5a6f;
    padding: 15px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background-color: #ffcc00;
    transform: scale(1.05);
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-size: 20px;
    color: #ffcc00;
    margin-bottom: 20px;
    border-bottom: 2px solid #ffcc00;
    padding-bottom: 10px;
}

.footer-section p,
.footer-section a {
    color: #ccc;
    line-height: 1.8;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
}

.footer-section a:hover {
    color: #ffcc00;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .header-actions {
        margin-left: auto;
    }

    .btn-login,
    .btn-register,
    .btn-logout {
        padding: 6px 12px;
        font-size: 13px;
    }

    .btn-login {
        display: none;
    }

    .two-column {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .two-column .column {
        margin-bottom: 20px;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: #1e3c72;
        padding: 20px;
        gap: 10px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    }

    nav ul.active {
        display: flex;
    }

    nav ul li {
        width: 100%;
    }

    nav ul li a {
        display: block;
        padding: 12px 20px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }

    .section-title {
        font-size: 26px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-number {
        font-size: 36px;
    }

    .content-block h2 {
        font-size: 24px;
    }

    .content-block h3 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 0;
    }

    .hero h1 {
        font-size: 24px;
    }

    .section {
        padding: 40px 0;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.highlight {
    color: #ffcc00;
    font-weight: bold;
}
