/*
Theme Name: Dabet Theme
Theme URI: https://dabet.com
Author: Dabet Team
Author URI: https://dabet.com
Description: 专业游戏娱乐平台主题 - Dabet Cloud 生态系统
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: dabetheme
Domain Path: /languages
Tags: responsive, custom-menu, featured-images, theme-options
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.site-header {
    background: #1a1a2e;
    color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-desktop {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-desktop li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 10px 0;
}

.nav-desktop li a:hover {
    color: #e94560;
}

.nav-mobile {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1a1a2e;
    z-index: 9999;
}

.nav-mobile ul {
    list-style: none;
    margin: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-mobile.active {
    display: block;
}

.nav-mobile li a {
    color: #fff;
    text-decoration: none;
    padding: 10px 0;
    display: block;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

.auth-buttons {
    display: flex;
    gap: 15px;
}

.btn-login,
.btn-register {
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-login {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-login:hover {
    background: #fff;
    color: #1a1a2e;
}

.btn-register {
    background: #e94560;
    color: #fff;
    border: 2px solid #e94560;
}

.btn-register:hover {
    background: #d63850;
    border-color: #d63850;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #e94560;
}

.hero-section p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.8;
}

/* Content Sections */
.content-section {
    padding: 60px 0;
    background: #fff;
}

.content-section.alt {
    background: #f9f9f9;
}

.section-title {
    font-size: 2.5rem;
    color: #1a1a2e;
    margin-bottom: 40px;
    text-align: center;
}

.section-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.section-content h2 {
    color: #e94560;
    font-size: 1.8rem;
    margin: 30px 0 15px;
}

.section-content h3 {
    color: #16213e;
    font-size: 1.4rem;
    margin: 25px 0 12px;
}

.section-content p {
    margin-bottom: 20px;
    text-align: justify;
}

.section-content ul {
    margin: 20px 0;
    padding-left: 30px;
}

.section-content li {
    margin-bottom: 10px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card h3 {
    color: #e94560;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #e94560 0%, #d63850 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta {
    display: inline-block;
    background: #fff;
    color: #e94560;
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background: #1a1a2e;
    color: #fff;
}

/* Footer */
.site-footer {
    background: #1a1a2e;
    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: #e94560;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #e94560;
}

.footer-seo {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 30px;
    text-align: center;
    font-size: 0.9rem;
}

/* Sidebar */
.sidebar {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.sidebar .widget {
    margin-bottom: 30px;
}

.sidebar .widget-title {
    color: #1a1a2e;
    font-size: 1.3rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e94560;
}

.sidebar ul {
    list-style: none;
}

.sidebar ul li {
    margin-bottom: 10px;
}

.sidebar a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sidebar a:hover {
    color: #e94560;
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.post-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
}

.post-content {
    padding: 25px;
}

.post-content h2 {
    color: #1a1a2e;
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.post-meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.post-excerpt {
    line-height: 1.8;
    margin-bottom: 20px;
}

.btn-read-more {
    display: inline-block;
    color: #e94560;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.btn-read-more:hover {
    color: #d63850;
}

/* Single Post */
.single-post {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.single-post h1 {
    color: #1a1a2e;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.single-post-meta {
    color: #666;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.single-content {
    line-height: 1.8;
}

.single-content h2 {
    color: #e94560;
    font-size: 1.8rem;
    margin: 30px 0 15px;
}

.single-content h3 {
    color: #16213e;
    font-size: 1.4rem;
    margin: 25px 0 12px;
}

.single-content p {
    margin-bottom: 20px;
}

/* Page Layout */
.page-layout {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-layout h1 {
    color: #1a1a2e;
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.page-content h2 {
    color: #e94560;
    font-size: 1.8rem;
    margin: 30px 0 15px;
}

.page-content h3 {
    color: #16213e;
    font-size: 1.4rem;
    margin: 25px 0 12px;
}

.page-content p {
    margin-bottom: 20px;
    text-align: justify;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1a1a2e;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.btn-submit {
    background: #e94560;
    color: #fff;
    padding: 15px 40px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-submit:hover {
    background: #d63850;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-desktop {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .auth-buttons {
        gap: 10px;
    }

    .btn-login,
    .btn-register {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-section p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .single-post,
    .page-layout {
        padding: 25px;
    }

    .single-post h1,
    .page-layout h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .header-container {
        flex-wrap: wrap;
    }

    .auth-buttons {
        width: 100%;
        justify-content: center;
        margin-top: 15px;
    }

    .hero-section {
        padding: 50px 0;
    }

    .content-section,
    .cta-section {
        padding: 40px 0;
    }
}
