body {
    background-color: #f8fafc;
    color: #1e293b;
}

.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255,0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    animation: fadeOut 1s ease-out 1s forwards;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #e2e8f0;
    border-top-color: #1e40af;
    border-radius:50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes fadeOut {
    to { opacity: 0; visibility: hidden; }
}

.tencent-blue {
    background-color: #1e40af;
}

.tencent-blue-text {
    color: #1e40af;
}

.tencent-blue-border {
    border-color: #1e40af;
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(30, 64, 175, 0.2);
}

.page {
    display: none;
}

.page.active {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.avatar {
    width: 120px;
    height: 120px;
    border: 3px solid #1e40af;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background-color: #1e40af;
}

.comment-avatar {
    width: 50px;
    height: 50px;
}

.article-cover {
    height: 150px;
    object-fit: cover;
}

.carousel {
    height: 300px;
}

.carousel-item {
    height: 100%;
    background-size: cover;
    background-position: center;
}

@media (max-width: 768px) {
    .carousel {
        height: 200px;
    }
    
    .avatar {
        width: 80px;
        height: 80px;
    }
}