/*
Theme Name: 123B Theme
Theme URI: https://123b.com
Author: 123B Team
Author URI: https://123b.com
Description: WordPress theme for 123B - Nhà cái cá cược hàng đầu
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: 123b-theme
Tags: responsive, seo-optimized, betting, casino
*/

* {
    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 20px;
}

/* Header Styles */
header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 15px 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;
}

.nav-desktop {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-desktop li {
    position: relative;
}

.nav-desktop a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    padding: 10px 15px;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.nav-desktop 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: #1e3c72;
    padding: 20px;
    list-style: none;
    gap: 15px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

.nav-mobile.active {
    display: flex;
}

.nav-mobile a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 10px;
    display: block;
    border-radius: 5px;
}

.nav-mobile a:hover {
    background-color: rgba(255,255,255,0.2);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

.auth-buttons {
    display: flex;
    gap: 15px;
}

.login-btn,
.register-btn {
    padding: 10px 25px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.login-btn {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.login-btn:hover {
    background-color: #fff;
    color: #1e3c72;
}

.register-btn {
    background-color: #ffd700;
    color: #1e3c72;
}

.register-btn:hover {
    background-color: #ffed4e;
    transform: translateY(-2px);
}

/* Main Content */
main {
    min-height: calc(100vh - 400px);
    padding: 40px 0;
    background: #fff;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
    margin-bottom: 40px;
}

.hero-section h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-section p {
    font-size: 20px;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

/* Content Sections */
.content-section {
    padding: 60px 0;
}

.content-section h2 {
    font-size: 36px;
    color: #1e3c72;
    margin-bottom: 30px;
    text-align: center;
}

.content-section h3 {
    font-size: 24px;
    color: #2a5298;
    margin: 25px 0 15px;
}

.content-block {
    margin-bottom: 40px;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.content-block p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.content-block ul {
    margin-left: 30px;
    margin-bottom: 20px;
}

.content-block li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    padding: 60px 0;
    text-align: center;
    margin: 40px 0;
}

.cta-section h2 {
    color: #1e3c72;
    margin-bottom: 20px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 15px 40px;
    background: #1e3c72;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-btn:hover {
    background: #2a5298;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Footer */
footer {
    background: #1e3c72;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #ffd700;
    margin-bottom: 20px;
    font-size: 20px;
}

.footer-section p,
.footer-section a {
    color: #e0e0e0;
    line-height: 1.8;
    text-decoration: none;
}

.footer-section a:hover {
    color: #ffd700;
}

.footer-nav {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    color: #e0e0e0;
}

/* Sidebar */
.sidebar {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
    margin-top: 40px;
}

.sidebar h3 {
    color: #1e3c72;
    margin-bottom: 20px;
    font-size: 22px;
}

.sidebar ul {
    list-style: none;
}

.sidebar li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.sidebar li:last-child {
    border-bottom: none;
}

.sidebar a {
    color: #2a5298;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.sidebar a:hover {
    color: #1e3c72;
}

/* Single Post */
.single-post {
    max-width: 900px;
    margin: 0 auto;
}

.single-post h1 {
    font-size: 42px;
    color: #1e3c72;
    margin-bottom: 20px;
}

.post-meta {
    color: #666;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
}

.post-content {
    font-size: 18px;
    line-height: 1.8;
}

.post-content h2 {
    font-size: 32px;
    color: #1e3c72;
    margin: 40px 0 20px;
}

.post-content h3 {
    font-size: 24px;
    color: #2a5298;
    margin: 30px 0 15px;
}

/* Archive */
.archive-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #1e3c72;
}

.archive-header h1 {
    font-size: 36px;
    color: #1e3c72;
}

.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.post-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
}

.post-card-content {
    padding: 25px;
}

.post-card h2 {
    font-size: 24px;
    color: #1e3c72;
    margin-bottom: 15px;
}

.post-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.read-more {
    color: #2a5298;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
}

.read-more:hover {
    color: #1e3c72;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .auth-buttons {
        display: none;
    }

    .hero-section h1 {
        font-size: 32px;
    }

    .hero-section p {
        font-size: 16px;
    }

    .content-section h2 {
        font-size: 28px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-btn {
        width: 100%;
        max-width: 300px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .post-grid {
        grid-template-columns: 1fr;
    }

    .single-post h1 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 40px 0;
    }

    .hero-section h1 {
        font-size: 28px;
    }

    .content-section {
        padding: 30px 0;
    }

    .content-block {
        padding: 20px;
    }
}
