* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    background-color: #0a0a0a;
    color: #e0e0e0;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Section */
.header {
    background-color: #1a1a1a;
    padding: 30px 0;
    text-align: center;
    border-bottom: 2px solid #333;
}

.game-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.1rem;
    color: #999;
}

/* Content Sections */
.section {
    background-color: #1a1a1a;
    margin: 20px 0;
    padding: 25px;
    border-radius: 8px;
    border: 1px solid #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.section-title {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #444;
}

/* Announcements */
.announcement-item {
    background-color: #252525;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 6px;
    border-left: 4px solid #ff6b35;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.announcement-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.2);
}

.announcement-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.announcement-date {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.announcement-title {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 8px;
    transition: color 0.2s ease;
}

.announcement-item:hover .announcement-title {
    color: #ff6b35;
}

.announcement-content {
    color: #ccc;
    line-height: 1.5;
}

/* Update Logs */
.update-item {
    background-color: #252525;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 6px;
    border-left: 4px solid #4a90e2;
}

.update-version {
    color: #4a90e2;
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 8px;
}

.update-date {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.update-changes {
    color: #ccc;
    line-height: 1.5;
}

.update-changes li {
    margin-left: 20px;
    margin-bottom: 5px;
}

/* Customer Service */
.service-buttons-container {
    display: flex;
    flex-direction: row;
    gap: 15px;
    max-width: 800px;
    margin: 20px auto;
    flex-wrap: wrap;
    justify-content: center;
}

.service-button {
    display: block;
    flex: 1;
    min-width: 200px;
    padding: 15px 20px;
    background-color: #2d5a87;
    color: white;
    text-decoration: none;
    text-align: center;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: 2px solid #4a90e2;
}

.service-button:hover {
    background-color: #4a90e2;
}

.service-button.qq {
    background-color: #12b7f5;
    border-color: #12b7f5;
}

.service-button.qq:hover {
    background-color: #0fa3dc;
}

.service-button.tieba {
    background-color: #2932e1;
    border-color: #2932e1;
}

.service-button.tieba:hover {
    background-color: #1e26c7;
}

.service-button.report {
    background-color: #dc3545;
    border-color: #dc3545;
}

.service-button.report:hover {
    background-color: #c82333;
}

.service-button.ban {
    background-color: #6f42c1;
    border-color: #6f42c1;
}

.service-button.ban:hover {
    background-color: #5a32a3;
}

.service-description {
    text-align: center;
    color: #ccc;
    margin-bottom: 20px;
    font-size: 1rem;
}

/* Detail Page Styles */
.detail-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #444;
}

.detail-title {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 10px;
}

.detail-date {
    color: #888;
    font-size: 1rem;
}

.detail-content {
    background-color: #252525;
    padding: 30px;
    border-radius: 8px;
    line-height: 1.8;
    font-size: 1.1rem;
}

.detail-content h1, .detail-content h2, .detail-content h3 {
    color: #ffffff;
    margin: 20px 0 10px 0;
}

.detail-content p {
    margin-bottom: 15px;
    color: #e0e0e0;
}

.detail-content ul, .detail-content ol {
    margin: 15px 0;
    padding-left: 30px;
}

.detail-content li {
    margin-bottom: 8px;
    color: #e0e0e0;
}

.detail-content strong {
    color: #ffffff;
    font-weight: bold;
}

.detail-content em {
    color: #ccc;
    font-style: italic;
}

.back-link {
    display: inline-block;
    margin-top: 30px;
    padding: 10px 20px;
    background-color: #444;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.back-link:hover {
    background-color: #555;
}

/* Markdown Content Styles */
.markdown-content {
    color: #e0e0e0;
}

.markdown-content h1 {
    font-size: 2rem;
    margin: 25px 0 15px 0;
    color: #ffffff;
    border-bottom: 2px solid #444;
    padding-bottom: 10px;
}

.markdown-content h2 {
    font-size: 1.5rem;
    margin: 20px 0 10px 0;
    color: #ffffff;
}

.markdown-content h3 {
    font-size: 1.2rem;
    margin: 15px 0 8px 0;
    color: #ffffff;
}

.markdown-content blockquote {
    border-left: 4px solid #4a90e2;
    padding-left: 20px;
    margin: 15px 0;
    color: #ccc;
    font-style: italic;
}

.markdown-content code {
    background-color: #333;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    color: #ff6b35;
}

.markdown-content pre {
    background-color: #1a1a1a;
    padding: 15px;
    border-radius: 6px;
    overflow-x: auto;
    border: 1px solid #333;
    margin: 15px 0;
}

.markdown-content pre code {
    background-color: transparent;
    padding: 0;
    color: #e0e0e0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .game-title {
        font-size: 2rem;
    }
    
    .section {
        margin: 15px 0;
        padding: 20px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .service-button {
        max-width: 100%;
    }
    
    .detail-content {
        padding: 20px;
    }
    
    .detail-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        padding: 20px 0;
    }
    
    .game-title {
        font-size: 1.8rem;
    }
    
    .section {
        padding: 15px;
    }
    
    .detail-content {
        padding: 15px;
        font-size: 1rem;
    }
}