/*
Theme Name: Xoso66 Official
Theme URI: https://Xoso66.org
Author: Xoso66 Team
Author URI: https://Xoso66.org
Description: Xoso66 - Nền tảng xổ số trực tuyến hàng đầu châu Á, cung cấp kết quả xổ số 3 miền, xổ số tốc độ, xổ số VIP và mini game đổi thưởng uy tín nhất 2026.
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
Tags: lottery, xoso, xổ-số, casino, gaming
*/

* {
    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: #f8f9fa;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
}

.nav-desktop {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-desktop a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-desktop a:hover {
    background-color: rgba(255,255,255,0.1);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

.nav-mobile {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1e3c72;
    list-style: none;
    padding: 1rem 0;
}

.nav-mobile.active {
    display: block;
}

.nav-mobile li {
    padding: 0.8rem 2rem;
}

.nav-mobile .mobile-auth {
    padding: 1rem 2rem !important;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nav-mobile .mobile-auth .btn-login,
.nav-mobile .mobile-auth .btn-register,
.nav-mobile .mobile-auth .btn-logout {
    display: block;
    text-align: center;
    margin: 0.25rem 0;
}

.nav-mobile a {
    color: #fff;
    text-decoration: none;
    display: block;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-login,
.btn-register,
.btn-logout {
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-block;
    white-space: nowrap;
}

.btn-login {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
}

.btn-login:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

.btn-register {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #fff;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.3);
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 87, 108, 0.4);
}

.btn-logout {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-logout:hover {
    background: rgba(255,255,255,0.2);
    border-color: #fff;
}

.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: #fff;
    color: #667eea;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #1e3c72;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    color: #1e3c72;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.content-area {
    background: #fff;
    padding: 3rem;
    margin: 2rem 0;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.content-area h1 {
    color: #1e3c72;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.content-area h2 {
    color: #2a5298;
    margin: 2rem 0 1rem;
    font-size: 2rem;
}

.content-area h3 {
    color: #667eea;
    margin: 1.5rem 0 1rem;
    font-size: 1.5rem;
}

.content-area p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.content-area ul {
    margin: 1rem 0 1rem 2rem;
}

.content-area li {
    margin-bottom: 0.8rem;
}

footer {
    background: #1e3c72;
    color: #fff;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #fff;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #ccc;
}

@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .auth-buttons {
        display: none;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .content-area {
        padding: 1.5rem;
    }
    
    .content-area h1 {
        font-size: 2rem;
    }
    
    .content-area h2 {
        font-size: 1.5rem;
    }
}
