/*
Theme Name: 123b Theme
Theme URI: https://123people.de.com/
Author: 123b Team
Description: Theme WordPress cho 123b - Nhà cái cá cược trực tuyến
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: theme-123b
*/

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary-color: #e63946;
    --secondary-color: #ffd700;
    --bg-dark: #1a1a2e;
    --bg-darker: #16213e;
    --text-light: #ffffff;
    --text-muted: #b8b8b8;
    --border-color: #2d3748;
    --success-color: #48bb78;
    --header-height: 70px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background-color: var(--bg-darker);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1100;
}

.menu-bar {
    width: 100%;
    height: 3px;
    background-color: var(--text-light);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Desktop Navigation */
.nav-desktop {
    display: flex;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 10px 0;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-login {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.btn-login:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-register {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.btn-register:hover {
    background-color: #c92a37;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 15px 35px;
    font-size: 1.1rem;
}

.btn-primary:hover {
    background-color: #c92a37;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
    padding: 15px 35px;
    font-size: 1.1rem;
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--bg-dark);
}

.btn-game {
    background-color: var(--secondary-color);
    color: var(--bg-dark);
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-game:hover {
    background-color: #e6c200;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.2rem;
}

/* Mobile Navigation */
.nav-mobile {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: var(--bg-darker);
    z-index: 1200;
    transition: left 0.3s ease;
    padding: 20px;
    overflow-y: auto;
}

.nav-mobile.active {
    left: 0;
}

.nav-mobile-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 30px;
}

.menu-close {
    background: transparent;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
    position: relative;
}

.menu-close span {
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: var(--text-light);
    top: 50%;
    left: 0;
}

.menu-close span:first-child {
    transform: rotate(45deg);
}

.menu-close span:last-child {
    transform: rotate(-45deg);
}

.nav-mobile-menu {
    list-style: none;
    margin-bottom: 30px;
}

.nav-mobile-menu li {
    margin-bottom: 15px;
}

.nav-mobile-menu a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 1.1rem;
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.nav-mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1150;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Main Content */
.site-main {
    margin-top: var(--header-height);
    min-height: calc(100vh - var(--header-height) - 300px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    padding: 100px 0;
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.3;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Page Hero */
.page-hero {
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    padding: 80px 0;
    text-align: center;
}

.page-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.3;
}

.page-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Sections */
section {
    padding: 60px 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-light);
}

/* About Section */
.about-content p {
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: var(--bg-darker);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Games Grid */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.game-card {
    background-color: var(--bg-darker);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.game-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.game-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.game-card p {
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.7;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.content-card {
    background-color: var(--bg-darker);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.content-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.content-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Guide Section */
.guide-content p {
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Tips Grid */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.tip-card {
    background-color: var(--bg-darker);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.tip-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.tip-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.benefit-card {
    background-color: var(--bg-darker);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.benefit-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.benefit-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Odds Grid */
.odds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.odds-card {
    background-color: var(--bg-darker);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.odds-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.odds-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* FAQ Section */
.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--bg-darker);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.faq-question {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

.faq-item p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* Payment Section */
.payment-content p {
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #c92a37 100%);
    text-align: center;
    padding: 80px 0;
}

.cta-section .section-title {
    color: var(--text-light);
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-secondary {
    border-color: var(--text-light);
    color: var(--text-light);
}

.cta-section .btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
}

/* Page Content */
.page-content {
    padding: 60px 0;
}

.content-area {
    background-color: var(--bg-darker);
    padding: 40px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.content-area p {
    margin-bottom: 20px;
    color: var(--text-muted);
    line-height: 1.8;
}

/* Footer */
.site-footer {
    background-color: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
}

.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--text-light);
}

.footer-section p {
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-desktop {
        display: none;
    }
    
    .header-actions {
        display: none;
    }
    
    .hero-title,
    .page-title {
        font-size: 1.8rem;
    }
    
    .hero-description,
    .page-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .hero-actions,
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .features-grid,
    .games-grid,
    .content-grid,
    .tips-grid,
    .benefits-grid,
    .odds-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    section {
        padding: 40px 0;
    }
    
    .hero-section,
    .page-hero {
        padding: 60px 0;
    }
    
    .content-area {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title,
    .page-title {
        font-size: 1.5rem;
    }
    
    .feature-card,
    .game-card,
    .content-card,
    .tip-card,
    .benefit-card,
    .odds-card {
        padding: 20px;
    }
}

/* Image Styles */
.hero-image {
    margin-top: 40px;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-image img:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(230, 57, 70, 0.2);
}

.feature-image {
    margin-bottom: 20px;
    text-align: center;
}

.feature-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.feature-image img:hover {
    transform: scale(1.02);
}

.content-image {
    margin-bottom: 20px;
    text-align: center;
    overflow: hidden;
    border-radius: 8px;
}

.content-image img {
    max-width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.content-image img:hover {
    transform: scale(1.05);
}

.content-card .content-image {
    margin: -30px -30px 20px -30px;
    border-radius: 10px 10px 0 0;
}

.content-card .content-image img {
    width: 100%;
    border-radius: 10px 10px 0 0;
}

/* Responsive Images */
@media (max-width: 768px) {
    .hero-image {
        margin-top: 30px;
    }
    
    .hero-image img {
        border-radius: 8px;
    }
    
    .content-card .content-image {
        margin: -20px -20px 15px -20px;
    }
}
