/*
Theme Name: K8VN - Nhà Cái Cá Cược Uy Tín
Theme URI: https://k8vn.com
Author: K8VN Team
Author URI: https://k8vn.com
Description: Chủ đề WordPress chuyên nghiệp cho K8VN - Nhà cái cá cược trực tuyến uy tín hàng đầu Việt Nam
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: k8vn
Tags: casino, betting, gaming, entertainment, responsive
*/

* {
    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: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
    color: white;
    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: #ffd700;
}

.nav-desktop {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-desktop li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.nav-desktop li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffd700;
}

.nav-mobile {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1a237e;
    padding: 1rem;
    list-style: none;
}

.nav-mobile.active {
    display: flex;
}

.nav-mobile li {
    margin: 0.5rem 0;
}

.nav-mobile li a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 0.75rem;
    border-radius: 5px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
}

.login-btn,
.register-btn {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-btn {
    background-color: transparent;
    border: 2px solid #ffd700;
    color: #ffd700;
}

.login-btn:hover {
    background-color: #ffd700;
    color: #1a237e;
}

.register-btn {
    background-color: #ffd700;
    color: #1a237e;
}

.register-btn:hover {
    background-color: #ffecb3;
    transform: translateY(-2px);
}

.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-section p {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.content-section {
    padding: 3rem 0;
    background: white;
}

.content-section h2 {
    color: #1a237e;
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.content-section h3 {
    color: #0d47a1;
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
}

.content-section p {
    margin-bottom: 1rem;
    text-align: justify;
}

.content-section ul {
    margin: 1rem 0 1rem 2rem;
}

.content-section li {
    margin-bottom: 0.5rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.feature-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    color: #1a237e;
    margin-bottom: 1rem;
}

.list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.list-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.list-item:hover {
    transform: scale(1.03);
}

.list-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.list-item-content {
    padding: 1.5rem;
}

.list-item-content h3 {
    color: #1a237e;
    margin-bottom: 0.5rem;
}

.list-item-content p {
    color: #666;
    font-size: 0.9rem;
}

footer {
    background: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #ffd700;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #ffd700;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700 0%, #ffecb3 100%);
    color: #1a237e;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    margin: 2rem 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .auth-buttons {
        display: none;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .content-section {
        padding: 2rem 0;
    }

    .content-section h2 {
        font-size: 1.5rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .list-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}
