/*
Theme Name: Dabet Theme
Theme URI: https://dabet.se.net/
Author: Dabet Team
Author URI: https://dabet.se.net/
Description: Theme chuyen nghiep cho Dabet Io - Nha cai giai tri hang dau
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: dabet-theme
*/

/* Reset CSS */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    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 {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles - Structure C */
.top-bar {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 8px 0;
}

.top-bar .container {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
}

.auth-btn {
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.auth-btn.login {
    background: transparent;
    border: 1px solid #e94560;
    color: #e94560;
}

.auth-btn.login:hover {
    background: #e94560;
    color: #fff;
}

.auth-btn.register {
    background: #e94560;
    border: 1px solid #e94560;
    color: #fff;
}

.auth-btn.register:hover {
    background: #ff6b6b;
    border-color: #ff6b6b;
}

.main-navbar {
    background: #0f0f23;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.main-navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    width: 100%;
}

.nav-list {
    display: flex;
    gap: 30px;
    margin: 0 auto;
}

.nav-list a {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #e94560;
    transition: width 0.3s ease;
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}

.nav-list a:hover {
    color: #e94560;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: #1a1a2e;
    padding: 60px 20px 20px;
    transition: right 0.3s ease;
    z-index: 1001;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
}

.mobile-nav-overlay.active {
    display: block;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-list a {
    color: #fff;
    font-size: 16px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.close-menu {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    padding: 100px 0;
    text-align: center;
    color: #fff;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-title span {
    color: #e94560;
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(233, 69, 96, 0.6);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #1a1a2e;
}

/* Section Styles */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: #1a1a2e;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 50px;
    font-size: 16px;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 28px;
    color: #fff;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #1a1a2e;
}

.feature-card p {
    color: #666;
    line-height: 1.7;
}

/* Games Section */
.games-section {
    background: #f8f9fa;
}

.games-table {
    width: 100%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.games-table table {
    width: 100%;
    border-collapse: collapse;
}

.games-table th {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 20px;
    text-align: left;
    font-weight: 600;
}

.games-table td {
    padding: 18px 20px;
    border-bottom: 1px solid #eee;
}

.games-table tr:hover {
    background: #f8f9fa;
}

.games-table tr:last-child td {
    border-bottom: none;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #1a1a2e;
}

.service-content p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-link {
    color: #e94560;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.service-link:hover {
    gap: 12px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%);
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

.cta-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.95;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    background: #fff;
    color: #e94560;
    padding: 18px 50px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    display: inline-block;
    transition: all 0.3s ease;
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* FAQ Section */
.faq-section {
    background: #fff;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #eee;
    padding: 25px 0;
}

.faq-question {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a2e;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    margin-top: 15px;
    color: #666;
    line-height: 1.8;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-toggle {
    font-size: 24px;
    color: #e94560;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* Footer */
.site-footer {
    background: #0f0f23;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #e94560;
}

.footer-brand p {
    color: #aaa;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #aaa;
    transition: color 0.3s ease;
}

.footer-column 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: #666;
}

.footer-seo-text {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 13px;
    color: #555;
    line-height: 1.8;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 80px 0;
    text-align: center;
    color: #fff;
}

.page-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-description {
    font-size: 18px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* Content Section */
.content-section {
    padding: 60px 0;
}

.content-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.content-wrapper h2 {
    font-size: 28px;
    color: #1a1a2e;
    margin: 40px 0 20px;
}

.content-wrapper h3 {
    font-size: 22px;
    color: #1a1a2e;
    margin: 30px 0 15px;
}

.content-wrapper p {
    color: #555;
    line-height: 1.9;
    margin-bottom: 20px;
}

.content-wrapper ul,
.content-wrapper ol {
    margin: 20px 0;
    padding-left: 30px;
}

.content-wrapper ul li,
.content-wrapper ol li {
    margin-bottom: 10px;
    color: #555;
    line-height: 1.8;
}

.content-wrapper ul li {
    list-style: disc;
}

.content-wrapper ol li {
    list-style: decimal;
}

/* Form Styles */
.form-section {
    max-width: 500px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1a1a2e;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #e94560;
}

.form-submit {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(233, 69, 96, 0.4);
}

/* Promo Cards */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.promo-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.promo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #e94560, #ff6b6b);
}

.promo-card:hover {
    border-color: #e94560;
    transform: translateY(-5px);
}

.promo-badge {
    display: inline-block;
    background: #e94560;
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.promo-card h3 {
    font-size: 24px;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.promo-value {
    font-size: 36px;
    font-weight: 700;
    color: #e94560;
    margin-bottom: 15px;
}

.promo-card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Steps Section */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    counter-reset: step;
}

.step-card {
    background: #fff;
    padding: 35px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-card h3 {
    font-size: 20px;
    color: #1a1a2e;
    margin-bottom: 12px;
}

.step-card p {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
}

/* Contact Info */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.contact-card {
    background: #fff;
    padding: 35px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e94560 0%, #ff6b6b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: #fff;
}

.contact-card h3 {
    font-size: 20px;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.contact-card p {
    color: #666;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .nav-list {
        display: none;
    }
    
    .mobile-nav {
        display: block;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .page-title {
        font-size: 32px;
    }
    
    .top-bar .container {
        justify-content: center;
    }
    
    .games-table {
        overflow-x: auto;
    }
    
    .games-table table {
        min-width: 600px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 26px;
    }
    
    .btn {
        padding: 12px 30px;
        font-size: 14px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .feature-card,
    .service-card,
    .promo-card {
        padding: 25px 20px;
    }
}
