/*
Theme Name: 123B Theme
Theme URI: https://example.com/theme-123b
Author: Theme Developer
Author URI: https://example.com
Description: Theme WordPress cho 123B - Nhà cái uy tín hàng đầu Châ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: theme-123b
*/

/* Reset CSS */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 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 */
.site-header {
    background-color: #1a1a2e;
    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;
    height: 70px;
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Desktop Navigation */
.nav-desktop .menu {
    display: flex;
    gap: 30px;
}

.nav-desktop .menu a {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    text-transform: lowercase;
    transition: color 0.3s ease;
    padding: 5px 0;
}

.nav-desktop .menu a:hover {
    color: #e94560;
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: 12px;
}

.btn {
    display: inline-block;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 600;
    text-transform: lowercase;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-login {
    background-color: transparent;
    color: #fff;
    border: 2px solid #e94560;
}

.btn-login:hover {
    background-color: #e94560;
    color: #fff;
}

.btn-register {
    background-color: #e94560;
    color: #fff;
}

.btn-register:hover {
    background-color: #c73e54;
}

.btn-primary {
    background-color: #e94560;
    color: #fff;
    padding: 14px 32px;
    font-size: 16px;
}

.btn-primary:hover {
    background-color: #c73e54;
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 14px 32px;
    font-size: 16px;
}

.btn-secondary:hover {
    background-color: #fff;
    color: #1a1a2e;
}

.btn-cta {
    background-color: #ffd700;
    color: #1a1a2e;
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 700;
}

.btn-cta:hover {
    background-color: #e6c200;
}

/* Mobile Navigation */
.nav-mobile {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: #1a1a2e;
    z-index: 1001;
    transition: left 0.3s ease;
    overflow-y: auto;
    padding: 20px;
}

.nav-mobile.active {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 30px;
}

.menu-close {
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
}

.menu-close span {
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #fff;
    top: 50%;
    left: 0;
}

.menu-close span:first-child {
    transform: rotate(45deg);
}

.menu-close span:last-child {
    transform: rotate(-45deg);
}

.nav-mobile .menu {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.nav-mobile .menu a {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    text-transform: lowercase;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-actions .btn {
    text-align: center;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Main Content */
.site-main {
    margin-top: 70px;
    min-height: calc(100vh - 70px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 100px 0;
    text-align: center;
    color: #fff;
}

.hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.3;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero-desc {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 40px;
    opacity: 0.9;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background-color: #fff;
}

.features-section h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    color: #1a1a2e;
    text-transform: lowercase;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.feature-card {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background-color: #e94560;
    border-radius: 12px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a1a2e;
    text-transform: lowercase;
}

.feature-card p {
    color: #666;
    line-height: 1.7;
    font-size: 15px;
}

/* Promo Section */
.promo-section {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.promo-section h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    color: #1a1a2e;
    text-transform: lowercase;
}

.promo-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.promo-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    border-left: 4px solid #e94560;
}

.promo-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1a1a2e;
    text-transform: lowercase;
}

.promo-item p {
    color: #666;
    line-height: 1.7;
}

/* Why Section */
.why-section {
    padding: 80px 0;
    background-color: #fff;
}

.why-section h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    color: #1a1a2e;
    text-transform: lowercase;
}

.why-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.why-item {
    padding: 25px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    transition: border-color 0.3s ease;
}

.why-item:hover {
    border-color: #e94560;
}

.why-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #e94560;
    text-transform: lowercase;
}

.why-item p {
    color: #666;
    line-height: 1.7;
    font-size: 15px;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.faq-section h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    color: #1a1a2e;
    text-transform: lowercase;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: #fff;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background-color: #fff;
    border: none;
    text-align: left;
    font-size: 17px;
    font-weight: 600;
    color: #1a1a2e;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-transform: lowercase;
}

.faq-question::after {
    content: '+';
    font-size: 24px;
    color: #e94560;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 25px 20px;
    color: #666;
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #e94560 0%, #c73e54 100%);
    text-align: center;
    color: #fff;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: lowercase;
}

.cta-content p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: 0.95;
    line-height: 1.7;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 80px 0 60px;
    text-align: center;
    color: #fff;
}

.page-header h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.4;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-desc {
    font-size: 17px;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    line-height: 1.7;
}

/* Content Section */
.content-section {
    padding: 60px 0;
    background-color: #fff;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.content-wrapper h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 40px 0 20px;
    color: #1a1a2e;
    text-transform: lowercase;
}

.content-wrapper h2:first-child {
    margin-top: 0;
}

.content-wrapper h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 30px 0 15px;
    color: #e94560;
    text-transform: lowercase;
}

.content-wrapper p {
    margin-bottom: 18px;
    color: #555;
    line-height: 1.8;
    font-size: 16px;
}

.content-wrapper ul {
    margin-bottom: 20px;
    padding-left: 25px;
}

.content-wrapper ul li {
    margin-bottom: 12px;
    color: #555;
    line-height: 1.7;
    position: relative;
    padding-left: 20px;
}

.content-wrapper ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background-color: #e94560;
    border-radius: 50%;
}

/* Step List */
.step-list {
    margin: 30px 0;
}

.step-item {
    background-color: #f8f9fa;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 10px;
    border-left: 4px solid #e94560;
}

.step-item h3 {
    margin-top: 0;
    color: #1a1a2e;
}

/* Promo Grid */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.promo-box {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
}

.promo-box h3 {
    color: #e94560;
    margin-top: 0;
}

/* Notice List */
.notice-list,
.requirement-list,
.tips-list,
.contact-tips {
    background-color: #fff8f8;
    padding: 25px 25px 25px 50px;
    border-radius: 10px;
    margin: 25px 0;
    border: 1px solid #ffe0e0;
}

.notice-list li,
.requirement-list li,
.tips-list li,
.contact-tips li {
    color: #666;
}

/* Error Solutions */
.error-solutions,
.verify-steps {
    margin: 30px 0;
}

.error-item,
.verify-item {
    background-color: #f8f9fa;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
}

.error-item h3,
.verify-item h3 {
    margin-top: 0;
    font-size: 18px;
}

/* Promo Detail */
.promo-list {
    margin: 30px 0;
}

.promo-detail {
    background-color: #f8f9fa;
    padding: 30px;
    margin-bottom: 25px;
    border-radius: 12px;
}

.promo-detail h3 {
    color: #1a1a2e;
    font-size: 22px;
    margin-bottom: 15px;
}

.promo-detail ul {
    margin-top: 15px;
}

/* Cashback Section */
.cashback-section,
.event-promo {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.cashback-item,
.event-item {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
}

.cashback-item h3,
.event-item h3 {
    color: #e94560;
    margin-top: 0;
}

/* Terms List */
.terms-list {
    background-color: #f0f7ff;
    padding: 25px 25px 25px 50px;
    border-radius: 10px;
    margin: 25px 0;
    border: 1px solid #cce5ff;
}

/* Guide Section */
.guide-section {
    margin: 30px 0;
}

.guide-section h3 {
    color: #1a1a2e;
    margin-top: 25px;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.contact-item {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
}

.contact-item h3 {
    color: #e94560;
    margin-top: 0;
}

.contact-note {
    display: inline-block;
    margin-top: 15px;
    padding: 6px 15px;
    background-color: #e94560;
    color: #fff;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

/* Issue List */
.issue-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.issue-item {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
}

.issue-item h3 {
    color: #1a1a2e;
    margin-top: 0;
    font-size: 18px;
}

/* Support Hours */
.support-hours {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.hours-item {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
}

.hours-item h3 {
    color: #1a1a2e;
    margin-top: 0;
}

.hours-item span {
    display: inline-block;
    margin-top: 10px;
    color: #e94560;
    font-weight: 600;
}

/* Commitment List */
.commitment-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.commitment-item {
    background-color: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
}

.commitment-item h3 {
    color: #e94560;
    margin-top: 0;
}

/* Page CTA */
.page-cta {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 50px;
    border-radius: 15px;
    text-align: center;
    margin-top: 50px;
    color: #fff;
}

.page-cta h3 {
    color: #fff;
    font-size: 26px;
    margin-bottom: 15px;
}

.page-cta p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
}

/* Footer */
.site-footer {
    background-color: #1a1a2e;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #e94560;
    text-transform: lowercase;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    font-size: 14px;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #e94560;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .hero-content h1 {
        font-size: 36px;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-desktop {
        display: none;
    }
    
    .header-actions {
        display: none;
    }
    
    .hero-content h1 {
        font-size: 28px;
    }
    
    .hero-desc {
        font-size: 16px;
    }
    
    .features-section h2,
    .promo-section h2,
    .why-section h2,
    .faq-section h2,
    .cta-content h2,
    .page-header h1 {
        font-size: 26px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .page-cta {
        padding: 30px 20px;
    }
    
    .content-wrapper h2 {
        font-size: 24px;
    }
    
    .content-wrapper h3 {
        font-size: 20px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 12px 28px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-content h1 {
        font-size: 24px;
    }
    
    .features-section,
    .promo-section,
    .why-section,
    .faq-section {
        padding: 50px 0;
    }
    
    .feature-card,
    .promo-item,
    .step-item,
    .promo-detail {
        padding: 20px;
    }
    
    .page-header {
        padding: 60px 0 40px;
    }
    
    .page-header h1 {
        font-size: 22px;
    }
}
