﻿/* Jogos Page Specific Styles */

.promo-banner {
    background: rgba(212, 165, 116, 0.12);
    border: 2px solid #8B6F47;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    margin: 20px 0;
}

.promo-banner p {
    color: #D4A574;
    font-size: 1.1em;
    font-weight: bold;
    margin: 0;
}

.content-section {
    margin: 60px 0;
}

.content-block {
    background: rgba(28, 18, 10, 0.4);
    border: 1px solid rgba(139, 111, 71, 0.3);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
}

.content-block h2 {
    color: #D4A574;
    font-size: 1.8em;
    margin-bottom: 20px;
    font-weight: bold;
}

.content-block p {
    color: #C4A580;
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 25px;
}

.action-group {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 30px;
}

.content-image {
    width: 200px;
    height: auto;
    border-radius: 10px;
    flex-shrink: 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.advantage-card {
    background: rgba(28, 18, 10, 0.4);
    border: 1px solid rgba(139, 111, 71, 0.3);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
}

.advantage-card:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 165, 116, 0.7);
    box-shadow: 0 10px 30px rgba(212, 165, 116, 0.2);
}

.advantage-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.advantage-card h3 {
    color: #D4A574;
    font-size: 1.3em;
    margin-bottom: 15px;
}

.advantage-card p {
    color: #C4A580;
    font-size: 1em;
    line-height: 1.6;
}

.final-cta {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.15), rgba(139, 111, 71, 0.1));
    border: 2px solid #D4A574;
    border-radius: 12px;
}

.final-cta h2 {
    color: #D4A574;
    font-size: 2.2em;
    margin-bottom: 30px;
}

.cta-buttons-centered {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 30px 0;
    flex-wrap: wrap;
}

.btn-xl {
    font-size: 1.3em;
    padding: 18px 40px;
}

.faq-container {
    max-width: 900px;
    margin: 30px auto 0;
}

.faq-item {
    background: rgba(28, 18, 10, 0.4);
    border: 1px solid rgba(139, 111, 71, 0.3);
    border-radius: 12px;
    padding: 0;
    margin-bottom: 20px;
    transition: all 0.3s;
    overflow: hidden;
}

.faq-item:hover {
    border-color: rgba(212, 165, 116, 0.5);
}

.faq-item.active {
    border-color: rgba(212, 165, 116, 0.7);
    background: rgba(28, 18, 10, 0.6);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    color: #D4A574;
    font-size: 1.2em;
    font-weight: bold;
    padding: 25px;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    transition: all 0.3s;
    line-height: 1.4;
}

.faq-question:hover {
    color: #F0C159;
}

.faq-question span:first-child {
    flex: 1;
}

.faq-icon {
    font-size: 1.5em;
    font-weight: bold;
    color: #D4A574;
    transition: all 0.3s;
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(212, 165, 116, 0.1);
}

.faq-item.active .faq-icon {
    color: #F0C159;
    background: rgba(240, 193, 89, 0.2);
}

.faq-item.active .faq-question {
    border-bottom: 1px solid rgba(212, 165, 116, 0.3);
    padding-bottom: 20px;
}

.faq-answer {
    color: #C4A580;
    font-size: 1em;
    line-height: 1.6;
    margin: 0;
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.faq-item.active .faq-answer {
    padding: 20px 25px 25px 25px;
}

.faq-answer p {
    margin: 0;
}

@media (max-width: 768px) {
    .content-block {
        padding: 25px;
    }
    
    .action-group {
        flex-direction: column;
        text-align: center;
    }
    
    .content-image {
        width: 100%;
        max-width: 300px;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons-centered {
        flex-direction: column;
    }
    
    .faq-question {
        padding: 20px;
        font-size: 1.1em;
    }
    
    .faq-item.active .faq-answer {
        padding: 15px 20px 20px 20px;
    }
    
    .faq-answer {
        font-size: 0.95em;
        padding: 0 20px;
    }
    
    .faq-icon {
        font-size: 1.3em;
        width: 28px;
        height: 28px;
    }
}

/* ============================================
   Article Page Styles - 通用文章页面样式
   适用于所有模板
   ============================================ */

/* Article Page Main Container */
.article-page {
    padding: 120px 0 60px;
    min-height: 100vh;
}

/* Article Content Container */
.article-content {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.95), rgba(10, 10, 10, 0.98));
    border-radius: 20px;
    padding: 40px 50px;
    border: 1px solid rgba(var(--primary-rgb, 35, 181, 109), 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
                0 0 40px rgba(var(--primary-rgb, 35, 181, 109), 0.1);
    position: relative;
    overflow: hidden;
}

.article-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient, linear-gradient(135deg, #23b56d, #0e9e55));
}

/* Article Title */
.article-content h1 {
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--primary-color, #23b56d);
    margin-bottom: 20px;
    line-height: 1.3;
}

/* Article Meta Info */
.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.article-meta .article-date::before {
    content: '📅 ';
}

/* Article Body - Main Content Styling */
.article-body {
    line-height: 1.9;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Headings in Article */
.article-body h2 {
    font-size: 1.8rem;
    color: var(--primary-color, #23b56d);
    margin: 40px 0 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(var(--primary-rgb, 35, 181, 109), 0.3);
}

.article-body h2::before {
    content: '📌 ';
}

.article-body h3 {
    font-size: 1.4rem;
    color: #ffffff;
    margin: 30px 0 15px;
    padding-left: 15px;
    border-left: 4px solid var(--primary-color, #23b56d);
}

.article-body h4 {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 25px 0 12px;
}

/* Paragraphs */
.article-body p {
    margin-bottom: 20px;
    text-align: justify;
    color: rgba(255, 255, 255, 0.85);
}

.article-body p:first-of-type {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.95);
}

/* Strong/Bold Text */
.article-body strong {
    color: var(--primary-color, #23b56d);
    font-weight: 600;
}

/* Links in Article */
.article-body a {
    color: var(--primary-color, #23b56d);
    text-decoration: underline;
    text-decoration-color: rgba(var(--primary-rgb, 35, 181, 109), 0.3);
    text-underline-offset: 3px;
    transition: all 0.3s ease;
}

.article-body a:hover {
    color: #fff;
}

/* Lists */
.article-body ul,
.article-body ol {
    margin: 20px 0;
    padding-left: 0;
}

.article-body ul {
    list-style: none;
}

.article-body ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.85);
}

.article-body ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-color, #23b56d);
    font-weight: bold;
}

.article-body ol {
    counter-reset: item;
    list-style: none;
}

.article-body ol li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    counter-increment: item;
}

.article-body ol li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    width: 24px;
    height: 24px;
    background: var(--gradient, linear-gradient(135deg, #23b56d, #0e9e55));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    color: #000;
}

/* Images in Article */
.article-body img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 30px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(var(--primary-rgb, 35, 181, 109), 0.2);
    display: block;
}

/* Blockquotes */
.article-body blockquote {
    margin: 30px 0;
    padding: 25px 30px;
    background: rgba(var(--primary-rgb, 35, 181, 109), 0.1);
    border-left: 4px solid var(--primary-color, #23b56d);
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: rgba(255, 255, 255, 0.9);
}

/* Tables */
.article-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
    background: rgba(26, 26, 26, 0.5);
    border-radius: 10px;
    overflow: hidden;
}

.article-body th {
    background: var(--gradient, linear-gradient(135deg, #23b56d, #0e9e55));
    color: #000;
    font-weight: 600;
    padding: 15px;
    text-align: left;
}

.article-body td {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.85);
}

.article-body tr:hover td {
    background: rgba(var(--primary-rgb, 35, 181, 109), 0.1);
}

/* DIV containers from GPT content */
.article-body > div {
    margin-bottom: 25px;
}

/* Article Navigation */
.article-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.article-navigation .nav-previous,
.article-navigation .nav-next {
    max-width: 45%;
}

.article-navigation a {
    color: var(--primary-color, #23b56d);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.article-navigation a:hover {
    color: #fff;
}

/* Related Articles */
.related-articles {
    margin-top: 50px;
    padding: 40px;
    background: linear-gradient(145deg, rgba(26, 26, 26, 0.8), rgba(10, 10, 10, 0.9));
    border-radius: 20px;
    border: 1px solid rgba(var(--primary-rgb, 35, 181, 109), 0.2);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.related-articles h2 {
    font-size: 1.6rem;
    color: var(--primary-color, #23b56d);
    margin-bottom: 25px;
    text-align: center;
}

.related-articles h2::before {
    content: '📚 ';
}

.related-articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.related-articles-grid a {
    display: block;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
}

.related-articles-grid a:hover {
    border-color: var(--primary-color, #23b56d);
    transform: translateY(-5px);
}

.related-articles-grid a h3 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 8px;
}

.related-articles-grid a .date {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .article-page {
        padding: 100px 15px 80px;
    }
    
    .article-content {
        padding: 25px 20px;
        border-radius: 15px;
    }
    
    .article-content h1 {
        font-size: 1.8rem;
    }
    
    .article-body h2 {
        font-size: 1.4rem;
    }
    
    .article-body h3 {
        font-size: 1.2rem;
    }
    
    .article-body {
        font-size: 1rem;
    }
    
    .article-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .article-navigation .nav-previous,
    .article-navigation .nav-next {
        max-width: 100%;
    }
    
    .related-articles {
        padding: 25px 20px;
    }
    
    .related-articles-grid {
        grid-template-columns: 1fr;
    }
}
