/* HTML5 Game Development Trends Report 2025 - Specific Styles */

/* Report specific container to isolate styles */
.trends-report-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.7;
    color: #333;
}

.trends-report-page .article-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.trends-report-page .article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.trends-report-page .hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.trends-report-page .hero-content .subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.trends-report-page .hero-content .date {
    font-size: 1rem;
    opacity: 0.8;
}

.trends-report-page .report-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.trends-report-page .executive-summary {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-left: 5px solid #4ecdc4;
}

.trends-report-page .executive-summary h2 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.trends-report-page .executive-summary p {
    color: #34495e;
    font-size: 1.1rem;
}

.trends-report-page .trend-section {
    background: #fff;
    margin: 2rem 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.trends-report-page .trend-section:hover {
    transform: translateY(-5px);
}

.trends-report-page .section-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem 2rem;
    font-size: 1.3rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.trends-report-page .section-header i {
    margin-right: 10px;
    font-size: 1.2rem;
}

.trends-report-page .section-content {
    padding: 2rem;
}

.trends-report-page .trend-item {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: rgba(52, 152, 219, 0.05);
    border-radius: 10px;
    border-left: 4px solid #3498db;
    transition: all 0.3s ease;
}

.trends-report-page .trend-item:hover {
    background: rgba(52, 152, 219, 0.1);
    transform: translateX(5px);
}

.trends-report-page .trend-title {
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.trends-report-page .trend-desc {
    color: #34495e;
    margin-bottom: 0.5rem;
}

.trends-report-page .trend-stats {
    font-size: 0.9rem;
    color: #7f8c8d;
    font-style: italic;
}

.trends-report-page .highlight {
    background: linear-gradient(120deg, #a8edea 0%, #fed6e3 100%);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
    color: #2c3e50;
}

.trends-report-page .stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.trends-report-page .stat-item {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.trends-report-page .stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    display: block;
    margin-bottom: 0.5rem;
}

.trends-report-page .tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.trends-report-page .tech-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    border-left: 4px solid #3498db;
}

.trends-report-page .tech-card:hover {
    transform: scale(1.02);
}

.trends-report-page .tech-card h4 {
    color: #3498db;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.trends-report-page .tech-card p {
    color: #34495e;
    font-size: 0.9rem;
}

.trends-report-page .navigation-toc {
    position: fixed;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    max-width: 200px;
    z-index: 100;
}

.trends-report-page .toc-item {
    display: block;
    padding: 0.5rem 1rem;
    margin: 0.3rem 0;
    color: #667eea;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 0.85rem;
}

.trends-report-page .toc-item:hover {
    background: #667eea;
    color: white;
    transform: translateX(-3px);
}

.trends-report-page .report-footer {
    background: #fff;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.trends-report-page .report-footer p {
    color: #7f8c8d;
    margin-bottom: 0.5rem;
}

.trends-report-page .collapsible-content {
    max-height: 1000px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.trends-report-page .collapsed .collapsible-content {
    max-height: 0;
}

.trends-report-page .fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.trends-report-page .trend-section:nth-child(even) .fade-in {
    animation-delay: 0.1s;
}

.trends-report-page .trend-section:nth-child(odd) .fade-in {
    animation-delay: 0.2s;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .trends-report-page .navigation-toc {
        display: none;
    }
    
    .trends-report-page .stats-container {
        grid-template-columns: 1fr;
    }
    
    .trends-report-page .tech-grid {
        grid-template-columns: 1fr;
    }

    .trends-report-page .report-container {
        padding: 0 1rem;
    }

    .trends-report-page .executive-summary,
    .trends-report-page .section-content {
        padding: 1.5rem;
    }

    .trends-report-page .hero-content h1 {
        font-size: 2rem;
    }

    .trends-report-page .hero-content .subtitle {
        font-size: 1.1rem;
    }
}