/*
Theme Name: 123B Theme
Theme URI: https://123b.community/
Author: 123B Team
Author URI: https://123b.community/
Description: Theme chuyên nghiệp dành cho nhà cái 123b đăng nhập và nhà cái 123b
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: 123b-theme
*/

/* Reset CSS */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.site-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

/* Logo */
.site-logo a {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.site-logo span {
    color: #e94560;
}

/* Desktop Navigation */
.nav-desktop {
    display: flex;
    align-items: center;
}

.nav-desktop .menu {
    display: flex;
    gap: 30px;
}

.nav-desktop .menu li a {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-desktop .menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #e94560;
    transition: width 0.3s ease;
}

.nav-desktop .menu li a:hover::after,
.nav-desktop .menu li.current-menu-item a::after {
    width: 100%;
}

.nav-desktop .menu li a:hover {
    color: #e94560;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-login,
.btn-register {
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-login {
    background: transparent;
    color: #fff;
    border: 2px solid #e94560;
}

.btn-login:hover {
    background: #e94560;
    color: #fff;
}

.btn-register {
    background: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%);
    color: #fff;
}

.btn-register:hover {
    background: linear-gradient(135deg, #ff6b6b 0%, #e94560 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(233, 69, 96, 0.4);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    transition: all 0.3s ease;
}

/* Mobile Navigation */
.nav-mobile {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #1a1a2e;
    padding: 20px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.nav-mobile.active {
    transform: translateX(0);
}

.nav-mobile .menu {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.nav-mobile .menu li a {
    color: #fff;
    font-size: 16px;
    padding: 10px 0;
    display: block;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-mobile .menu li a:hover {
    color: #e94560;
}

/* Main Content */
.site-main {
    min-height: calc(100vh - 70px - 300px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 100px 0;
    color: #fff;
    text-align: center;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content h1 span {
    color: #e94560;
}

.hero-content p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
    color: rgba(255,255,255,0.8);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%);
    color: #fff;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(233, 69, 96, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid #fff;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-secondary:hover {
    background: #fff;
    color: #1a1a2e;
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.section-title p {
    font-size: 16px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: #fff;
}

.card-image {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-image img {
    transform: scale(1.05);
}

.card h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.card p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
}

/* Content Section */
.content-section {
    background: #fff;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.content-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.content-image img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 992px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
}

.content-with-image {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.content-with-image.reverse {
    direction: rtl;
}

.content-with-image.reverse > * {
    direction: ltr;
}

@media (max-width: 992px) {
    .content-with-image {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.content-text h2 {
    font-size: 32px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 20px;
}

.content-text p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 15px;
}

.content-text ul {
    margin-top: 20px;
}

.content-text ul li {
    padding: 10px 0;
    padding-left: 30px;
    position: relative;
    color: #555;
}

.content-text ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #e94560;
    font-weight: bold;
}

/* Features List */
.features-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.feature-item i {
    color: #e94560;
    font-size: 20px;
}

.feature-item span {
    font-weight: 500;
    color: #333;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%);
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-white {
    background: #fff;
    color: #e94560;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Footer */
.site-footer {
    background: #1a1a2e;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-brand h3 span {
    color: #e94560;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-links h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: rgba(255,255,255,0.7);
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: #e94560;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 120px 0 60px;
    text-align: center;
    color: #fff;
}

.page-header h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
}

/* Page Content */
.page-content {
    padding: 60px 0;
    background: #fff;
}

.page-content .container {
    max-width: 900px;
}

.page-content h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 40px 0 20px;
}

.page-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 30px 0 15px;
}

.page-content p {
    font-size: 16px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.page-content ul,
.page-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.page-content ul li,
.page-content ol li {
    margin-bottom: 10px;
    color: #555;
    line-height: 1.7;
}

.page-content ul li {
    list-style: disc;
}

.page-content ol li {
    list-style: decimal;
}

/* Responsive Design */
@media (max-width: 992px) {
    .nav-desktop {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-mobile {
        display: block;
    }
    
    .header-actions .btn-login,
    .header-actions .btn-register {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 28px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .features-list {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .page-header h1 {
        font-size: 32px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 24px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
    }
}
