/* BDG Game Official Website - Black Gold Theme */
/* Optimized for Indian market and global English users */

/* CSS Variables */
:root {
    --primary-gold: #FFD700;
    --secondary-gold: #FFA500;
    --dark-gold: #B8860B;
    --primary-black: #000000;
    --secondary-black: #111111;
    --tertiary-black: #1a1a1a;
    --quaternary-black: #2a2a2a;
    --text-light: #ffffff;
    --text-muted: #cccccc;
    --text-dark: #333333;
    --gradient-primary: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #FFD700 100%);
    --gradient-secondary: linear-gradient(45deg, #FFD700 0%, #FFA500 50%, #B8860B 100%);
    --gradient-dark: linear-gradient(135deg, #000000 0%, #111111 100%);
    --shadow-gold: 0 4px 20px rgba(255, 215, 0, 0.3);
    --shadow-dark: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background: var(--gradient-primary);
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding-top: 80px; /* 为固定导航栏留出空间 */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 页面主要内容区域 */
.page-main {
    margin-top: 0; /* 不需要额外margin，body已经有padding-top */
}

/* Header Styles */
.page-header {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary-gold);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--shadow-dark);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0; /* 减少header padding */
    flex-wrap: wrap;
}

.header-logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--primary-gold);
}

.header-logo img {
    height: 40px;
    width: auto;
    border-radius: 8px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link-item {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link-item:hover {
    color: var(--primary-gold);
    background: rgba(255, 215, 0, 0.1);
}

.nav-link-item::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link-item:hover::after {
    width: 80%;
}

.header-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* Mobile Hamburger Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 4px;
    z-index: 1001;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--primary-gold);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hamburger Animation */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-secondary);
    color: var(--primary-black);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-gold);
    border: 2px solid var(--primary-gold);
}

.btn-secondary:hover {
    background: var(--primary-gold);
    color: var(--primary-black);
}

/* Hero Section */
.hero {
    background: var(--gradient-primary);
    padding: 80px 0 80px; /* 减少顶部padding，因为body已经有padding-top */
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 165, 0, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-gold);
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-image {
    text-align: center;
}

.hero-image img {
    max-width: 400px;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-gold);
}

/* Quick Access */
.quick-access {
    background: var(--secondary-black);
    padding: 60px 0;
}

.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.quick-card {
    background: var(--gradient-dark);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.quick-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-secondary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.quick-card:hover::before {
    opacity: 0.1;
}

.quick-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
}

.quick-card > * {
    position: relative;
    z-index: 2;
}

.quick-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.quick-card h3 {
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.quick-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.quick-link {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-gold);
    transition: all 0.3s ease;
}

.quick-link:hover {
    color: var(--text-light);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* About Section */
.about {
    background: var(--tertiary-black);
    padding: 80px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 1.1rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 8px;
    border-left: 4px solid var(--primary-gold);
}

.feature-icon {
    color: var(--primary-gold);
    font-weight: bold;
    font-size: 1.2rem;
}

.about-image img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-gold);
}

/* Services Section */
.services {
    background: var(--gradient-primary);
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--gradient-dark);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-secondary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.service-card:hover::before {
    opacity: 0.1;
}

.service-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-8px);
    box-shadow: var(--shadow-gold);
}

.service-card > * {
    position: relative;
    z-index: 2;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-link {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-gold);
    transition: all 0.3s ease;
}

.service-link:hover {
    color: var(--text-light);
}

/* Games Section */
.games {
    background: var(--secondary-black);
    padding: 80px 0;
}

.games-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn, .category-btn, .faq-category {
    background: transparent;
    color: var(--text-muted);
    border: 2px solid var(--quaternary-black);
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.tab-btn.active, .category-btn.active, .faq-category.active {
    background: var(--gradient-secondary);
    color: var(--primary-black);
    border-color: var(--primary-gold);
}

.tab-btn:hover, .category-btn:hover, .faq-category:hover {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.game-card {
    background: var(--gradient-dark);
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.game-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
}

.game-image {
    height: 200px;
    background: var(--gradient-secondary);
    position: relative;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-info {
    padding: 1.5rem;
}

.game-info h3 {
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.game-info p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.game-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.players {
    color: var(--text-muted);
}

.rating {
    color: var(--primary-gold);
}

/* Articles Section */
.articles {
    background: var(--tertiary-black);
    padding: 80px 0;
}

.articles-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.article-card {
    background: var(--gradient-dark);
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.article-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-5px);
    box-shadow: var(--shadow-gold);
}

.article-image {
    height: 200px;
    background: var(--gradient-secondary);
    position: relative;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary-gold);
    color: var(--primary-black);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.article-content {
    padding: 1.5rem;
}

.article-content h3 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    line-height: 1.4;
}

.article-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.article-link {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-gold);
    transition: all 0.3s ease;
}

.article-link:hover {
    color: var(--text-light);
}

.articles-cta {
    text-align: center;
}

/* FAQ Section */
.faq {
    background: var(--gradient-primary);
    padding: 80px 0;
}

.faq-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-group {
    margin-bottom: 2rem;
}

.faq-item {
    background: var(--gradient-dark);
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq-item:hover {
    border-color: var(--primary-gold);
}

.faq-item.active {
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-gold);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--quaternary-black);
}

.faq-question h3 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin: 0;
}

.faq-toggle {
    color: var(--primary-gold);
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 1.5rem 2rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* Contact Section */
.contact {
    background: var(--secondary-black);
    padding: 80px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--gradient-dark);
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: var(--primary-gold);
    box-shadow: var(--shadow-gold);
}

.contact-icon {
    font-size: 2rem;
    width: 60px;
    text-align: center;
}

.contact-details h3 {
    color: var(--primary-gold);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.contact-link {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 600;
}

.contact-link:hover {
    text-decoration: underline;
}

.contact-form {
    background: var(--gradient-dark);
    padding: 2rem;
    border-radius: 16px;
    border: 2px solid var(--quaternary-black);
}

.contact-form h3 {
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--quaternary-black);
    border-radius: 8px;
    background: var(--tertiary-black);
    color: var(--text-light);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
}

.form-group option {
    background: var(--tertiary-black);
    color: var(--text-light);
}

/* Newsletter Section */
.newsletter {
    background: var(--gradient-secondary);
    color: var(--primary-black);
    padding: 80px 0;
    text-align: center;
}

.newsletter h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.newsletter p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    min-width: 250px;
}

.newsletter-form button {
    white-space: nowrap;
}

.newsletter-note {
    font-size: 1rem;
    opacity: 0.7;
}

/* Coming Soon Styles */
.coming-soon {
    background: var(--quaternary-black);
    color: var(--text-muted);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    border: 2px solid var(--quaternary-black);
}

/* Enhanced Articles Styles */
.article-admin {
    background: var(--gradient-dark);
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 3rem;
    border: 2px solid var(--quaternary-black);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.admin-header h3 {
    color: var(--primary-gold);
    font-size: 1.5rem;
    margin: 0;
}

.article-form {
    background: var(--tertiary-black);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.article-form h4 {
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.articles-search {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.search-box {
    display: flex;
    gap: 0;
    background: var(--gradient-dark);
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--quaternary-black);
}

.search-box input {
    background: transparent;
    border: none;
    padding: 12px 16px;
    color: var(--text-light);
    font-size: 1rem;
    min-width: 300px;
}

.search-box input:focus {
    outline: none;
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.search-btn {
    background: var(--primary-gold);
    color: var(--primary-black);
    border: none;
    padding: 12px 16px;
    cursor: pointer;
    font-size: 1rem;
}

.articles-sort select {
    background: var(--gradient-dark);
    color: var(--text-light);
    border: 2px solid var(--quaternary-black);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 1rem;
}

.article-featured {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-gold);
    color: var(--primary-black);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.article-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.tag {
    background: rgba(255, 215, 0, 0.2);
    color: var(--primary-gold);
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.views {
    color: var(--primary-gold);
    font-weight: 600;
}

.articles-pagination {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.page-btn {
    background: var(--gradient-dark);
    color: var(--text-light);
    border: 2px solid var(--quaternary-black);
    padding: 12px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.page-btn:hover,
.page-btn.active {
    background: var(--gradient-secondary);
    color: var(--primary-black);
    border-color: var(--primary-gold);
}

.featured-articles {
    background: var(--gradient-dark);
    padding: 2rem;
    border-radius: 16px;
    margin: 3rem 0;
    border: 2px solid var(--quaternary-black);
}

.featured-articles h3 {
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.featured-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.featured-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    background: var(--tertiary-black);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.featured-item:hover {
    background: var(--quaternary-black);
    border-color: var(--primary-gold);
}

.featured-item img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.featured-content h4 {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.featured-meta {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.articles-newsletter {
    background: var(--gradient-dark);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 2px solid var(--quaternary-black);
    margin-top: 3rem;
}

.articles-newsletter h3 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.articles-newsletter p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.articles-newsletter .newsletter-form {
    display: flex;
    gap: 1rem;
    justify-content: center;
    max-width: 400px;
    margin: 0 auto;
}

.articles-newsletter .newsletter-form input {
    background: var(--tertiary-black);
    border: 2px solid var(--quaternary-black);
    color: var(--text-light);
    border-radius: 8px;
}

/* Footer */
.footer {
    background: var(--primary-black);
    color: var(--text-light);
    padding: 60px 0 20px;
    border-top: 2px solid var(--primary-gold);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-gold);
}

.footer-logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.footer-section p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.footer-section h3 {
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-gold);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--quaternary-black);
    color: var(--primary-gold);
    text-align: center;
    line-height: 40px;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-gold);
    color: var(--primary-black);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid var(--quaternary-black);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-content p {
    color: var(--text-muted);
    margin: 0;
}

.footer-bottom-content a {
    color: var(--primary-gold);
    text-decoration: none;
}

.footer-certifications {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cert-item {
    background: var(--quaternary-black);
    color: var(--primary-gold);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid var(--primary-gold);
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 70px; /* 减少移动端padding，因为导航栏更紧凑 */
    }
    
    .container {
        padding: 0 15px;
    }
    
    .header-wrapper {
        flex-direction: row; /* 保持水平布局 */
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
    }
    
    /* 显示汉堡菜单按钮 */
    .mobile-menu-toggle {
        display: flex;
    }
    
    /* 隐藏桌面导航 */
    .page-nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        transition: left 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }
    
    /* 显示移动端菜单 */
    .page-nav.mobile-open {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        padding: 2rem 1rem;
        gap: 0;
        height: auto;
    }
    
    .nav-item {
        width: 100%;
        border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    }
    
    .nav-link-item {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
        color: var(--text-light);
        border-bottom: none;
        text-align: left;
    }
    
    .nav-link-item::after {
        display: none;
    }
    
    .hero {
        padding: 60px 0 60px; /* 减少移动端hero的padding-top */
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .quick-access-grid,
    .services-grid,
    .games-grid,
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .games-tabs,
    .articles-categories,
    .faq-categories {
        flex-direction: column;
        align-items: center;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 70px; /* 与移动端保持一致 */
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
    }
    
    .btn-primary, .btn-secondary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .quick-card,
    .service-card,
    .game-info,
    .article-content,
    .contact-form {
        padding: 1rem;
    }
}

/* Performance Optimizations */
.quick-card,
.service-card,
.game-card,
.article-card,
.contact-item,
.btn-primary,
.btn-secondary {
    will-change: transform;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states for accessibility */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
}

/* Article Detail Page Styles */
.breadcrumb {
    background: var(--secondary-black);
    padding: 1rem 0;
    border-bottom: 1px solid var(--quaternary-black);
    margin-top: 80px;
}

.breadcrumb-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0;
    padding: 0;
}

.breadcrumb-list li {
    color: var(--text-muted);
    position: relative;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '>';
    margin-left: 1rem;
    color: var(--primary-gold);
}

.breadcrumb-list a {
    color: var(--primary-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-list a:hover {
    color: var(--text-light);
}

.breadcrumb-list .current {
    color: var(--text-light);
    font-weight: 600;
}

.article-main {
    background: var(--gradient-primary);
    padding: 2rem 0; /* 减少顶部padding，因为body已经有padding-top */
    min-height: calc(100vh - 200px);
}

.article-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: start;
}

.article-detail {
    background: var(--gradient-dark);
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid var(--quaternary-black);
}

.article-header {
    padding: 2rem;
    border-bottom: 1px solid var(--quaternary-black);
}

.article-category-badge {
    background: var(--gradient-secondary);
    color: var(--primary-black);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 1rem;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.article-meta-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 1rem;
}

.author-title {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.article-stats {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.article-stats span {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.view-count {
    color: var(--primary-gold) !important;
    font-weight: 600;
}

.article-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.article-featured-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: var(--gradient-secondary);
}

.article-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-content {
    padding: 2rem;
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1.1rem;
}

.article-content h2 {
    color: var(--primary-gold);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 2rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
}

.article-content h3 {
    color: var(--text-light);
    font-size: 1.4rem;
    font-weight: 600;
    margin: 1.5rem 0 1rem 0;
}

.article-content p {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.article-content ul,
.article-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
    color: var(--text-muted);
}

.article-content li {
    margin-bottom: 0.8rem;
}

.article-content strong {
    color: var(--primary-gold);
    font-weight: 600;
}

.article-content blockquote {
    background: rgba(255, 215, 0, 0.1);
    border-left: 4px solid var(--primary-gold);
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-light);
}

.article-footer {
    padding: 2rem;
    border-top: 1px solid var(--quaternary-black);
    background: var(--tertiary-black);
}

.article-share {
    margin-bottom: 2rem;
}

.article-share h3 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.share-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-btn {
    background: var(--gradient-dark);
    color: var(--text-light);
    border: 2px solid var(--quaternary-black);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.share-btn:hover {
    border-color: var(--primary-gold);
    background: var(--gradient-secondary);
    color: var(--primary-black);
}

.article-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.nav-item {
    background: var(--gradient-dark);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--quaternary-black);
    transition: all 0.3s ease;
}

.nav-item:hover {
    border-color: var(--primary-gold);
    transform: translateY(-2px);
}

.nav-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
}

.nav-title {
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 1.1rem;
}

.next-article {
    text-align: right;
}

/* Sidebar Styles */
.article-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: var(--gradient-dark);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--quaternary-black);
}

.sidebar-widget h3 {
    color: var(--primary-gold);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.table-of-contents li {
    margin-bottom: 0.5rem;
}

.table-of-contents a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    padding: 0.3rem 0;
}

.table-of-contents a:hover {
    color: var(--primary-gold);
}

.table-of-contents .level-3 {
    margin-left: 1rem;
}

.table-of-contents .level-3 a {
    font-size: 0.9rem;
}

.related-list,
.popular-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.related-item,
.popular-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    background: var(--tertiary-black);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.related-item:hover,
.popular-item:hover {
    background: var(--quaternary-black);
}

.related-item img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.related-content h4,
.popular-content h4 {
    margin: 0 0 0.3rem 0;
    font-size: 1rem;
}

.related-content a,
.popular-content a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-content a:hover,
.popular-content a:hover {
    color: var(--primary-gold);
}

.related-meta,
.popular-views {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.popular-rank {
    background: var(--gradient-secondary);
    color: var(--primary-black);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.newsletter-widget p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.newsletter-widget .newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.newsletter-widget input {
    background: var(--tertiary-black);
    border: 2px solid var(--quaternary-black);
    color: var(--text-light);
    padding: 0.8rem;
    border-radius: 6px;
    font-size: 0.9rem;
}

.newsletter-widget input:focus {
    outline: none;
    border-color: var(--primary-gold);
}

/* Comments Section */
.comments-section {
    background: var(--secondary-black);
    padding: 3rem 0;
}

.comments-section h2 {
    color: var(--primary-gold);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.comments-container {
    max-width: 800px;
}

.comment-form {
    background: var(--gradient-dark);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
    border: 2px solid var(--quaternary-black);
}

.comment-form h3 {
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.comment {
    display: flex;
    gap: 1rem;
    background: var(--gradient-dark);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid var(--quaternary-black);
}

.comment-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.comment-author {
    color: var(--primary-gold);
    font-weight: 600;
}

.comment-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.comment-text {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.comment-reply {
    background: transparent;
    color: var(--primary-gold);
    border: 1px solid var(--primary-gold);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.comment-reply:hover {
    background: var(--primary-gold);
    color: var(--primary-black);
}

/* Mobile Responsive for Article Page */
@media (max-width: 768px) {
    .breadcrumb {
        margin-top: 60px;
    }
    
    .article-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .article-title {
        font-size: 1.8rem;
    }
    
    .article-meta-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .article-stats {
        gap: 1rem;
    }
    
    .article-content {
        padding: 1.5rem;
        font-size: 1rem;
    }
    
    .article-content h2 {
        font-size: 1.5rem;
    }
    
    .article-content h3 {
        font-size: 1.2rem;
    }
    
    .article-navigation {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .next-article {
        text-align: left;
    }
    
    .share-buttons {
        flex-direction: column;
    }
    
    .comment {
        flex-direction: column;
        gap: 1rem;
    }
    
    .comment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .article-sidebar {
        position: static;
        order: 2;
    }
}

@media (max-width: 480px) {
    .breadcrumb-list {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .article-title {
        font-size: 1.5rem;
    }
    
    .article-content {
        padding: 1rem;
    }
    
    .article-footer {
        padding: 1rem;
    }
    
    .nav-item {
        padding: 1rem;
    }
}

/* Print styles */
@media print {
    .page-header,
    .breadcrumb,
    .article-sidebar,
    .article-footer,
    .comments-section,
    .footer {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .article-main {
        background: #fff;
        padding: 0;
    }
    
    .article-detail {
        background: #fff;
        border: none;
    }
    
    .article-title,
    .article-content h2,
    .article-content h3 {
        color: #000;
    }
    
    .article-content {
        color: #333;
    }
}
