#fact-detail {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(255,255,255,0.95);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

#fact-detail h1 {
    color: #333;
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-align: center;
}

.fact-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(102, 126, 234, 0.1);
    flex-wrap: wrap;
}

.fact-meta span {
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.fact-meta a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.fact-meta a:hover {
    text-decoration: underline;
}

.fact-content {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 3rem;
    text-align: justify;
}

#social-share {
    text-align: center;
    margin: 3rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 15px;
}

#social-share h3 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.share-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-size: 1.2rem;
}

.share-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.share-icon.facebook { background: #3b5998; }
.share-icon.twitter { background: #1da1f2; }
.share-icon.linkedin { background: #0077b5; }
.share-icon.messenger { background: #0084ff; }
.share-icon.whatsapp { background: #25d366; }
.share-icon.viber { background: #665cac; }
.share-icon.sms { background: #34c759; }
.share-icon.email { background: #ea4335; }
.share-icon.copy { background: #6c757d; border: none; cursor: pointer; }

.back-link {
    text-align: center;
    margin-top: 2rem;
}

.back-link a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
}

.back-link a:hover {
    text-decoration: underline;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    #fact-detail {
        margin: 1rem;
        padding: 1.5rem;
        border-radius: 15px;
    }
    
    #fact-detail h1 {
        font-size: 1.8rem;
        text-align: left;
    }
    
    .fact-meta {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .fact-content {
        font-size: 1.1rem;
        line-height: 1.6;
        text-align: left;
    }
    
    #social-share {
        padding: 1.5rem;
        margin: 2rem 0;
    }
    
    #social-share h3 {
        font-size: 1.3rem;
    }
    
    .share-icons {
        gap: 0.8rem;
    }
    
    .share-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    #fact-detail {
        margin: 0.5rem;
        padding: 1rem;
    }
    
    #fact-detail h1 {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .fact-content {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .share-icons {
        gap: 0.5rem;
    }
    
    .share-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}