.article-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.article-header {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.article-title {
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.4;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.article-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    text-shadow: 0 1px 2px rgb(255, 255, 255);
}

.category-tag {
    background: rgba(173, 216, 230, 0.2);
    color: rgba(173, 216, 230, 0.95);
    padding: 6px 12px;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid rgba(173, 216, 230, 0.3);
    transition: all 0.3s ease;
}

.category-tag:hover {
    background: rgba(173, 216, 230, 0.7);
    color: rgba(0, 0, 0, 0.8);
    border-color: rgba(173, 216, 230, 0.7);
    text-shadow: none;
}

.article-content {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-size: 16px;
    max-width: none;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    color: #fff;
    margin: 25px 0 15px 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.article-content h2 {
    font-size: 22px;
    border-left: 4px solid rgba(173, 216, 230, 0.8);
    padding-left: 15px;
}

.article-content h3 {
    font-size: 20px;
}

.article-content p {
    margin-bottom: 16px;
    text-shadow: 0 1px 2px rgb(255, 255, 255);
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
    box-shadow: 0 4px 15px rgb(255, 255, 255);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.article-content blockquote {
    background: rgba(173, 216, 230, 0.1);
    border-left: 4px solid rgba(173, 216, 230, 0.6);
    padding: 15px 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: rgba(255, 255, 255, 0.85);
}

.article-content code {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: rgba(173, 216, 230, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.article-content pre {
    background: rgb(255, 255, 255);
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.article-content pre code {
    background: none;
    padding: 0;
    border: none;
    color: rgba(255, 255, 255, 0.9);
}

.article-content ul,
.article-content ol {
    padding-left: 25px;
    margin-bottom: 16px;
}

.article-content li {
    margin-bottom: 8px;
}

.article-content a {
    color: rgba(173, 216, 230, 0.9);
    text-decoration: none;
    border-bottom: 1px solid rgba(173, 216, 230, 0.3);
    transition: all 0.3s ease;
}

.article-content a:hover {
    color: rgba(173, 216, 230, 1);
    border-bottom-color: rgba(173, 216, 230, 0.8);
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
}

.article-content table th,
.article-content table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.article-content table th {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-weight: 600;
}

.article-actions {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 14px;
    text-shadow: 0 1px 2px rgb(255, 255, 255);
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.like-btn {
    background: rgba(255, 182, 193, 0.2);
    border-color: rgba(255, 182, 193, 0.4);
    color: rgba(255, 182, 193, 0.9);
}

.like-btn:hover,
.like-btn.liked {
    background: rgba(255, 182, 193, 0.6);
    border-color: rgba(255, 182, 193, 0.8);
    color: rgba(0, 0, 0, 0.8);
    text-shadow: none;
}

.share-btn {
    background: rgba(173, 216, 230, 0.2);
    border-color: rgba(173, 216, 230, 0.4);
    color: rgba(173, 216, 230, 0.9);
}

.share-btn:hover {
    background: rgba(173, 216, 230, 0.6);
    border-color: rgba(173, 216, 230, 0.8);
    color: rgba(0, 0, 0, 0.8);
    text-shadow: none;
}

.article-navigation {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.nav-item {
    flex: 1;
    text-align: center;
}

.nav-item a {
    display: block;
    padding: 15px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.nav-item a:hover {
    background: rgba(173, 216, 230, 0.15);
    border-color: rgba(173, 216, 230, 0.25);
    color: rgba(173, 216, 230, 0.9);
}

.nav-label {
    font-size: 12px;
    opacity: 0.7;
    margin-bottom: 5px;
}

.nav-title {
    font-size: 14px;
    font-weight: 500;
}

.related-articles {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.related-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
}

.related-list {
    list-style: none;
}

.related-item {
    margin-bottom: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.3s ease;
}

.related-item:hover {
    background: rgba(173, 216, 230, 0.12);
    border-color: rgba(173, 216, 230, 0.2);
}

.related-item:last-child {
    margin-bottom: 0;
}

.related-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 15px;
    line-height: 1.4;
    display: block;
    transition: color 0.3s ease;
}

.related-item a:hover {
    color: rgba(173, 216, 230, 0.9);
}

.related-meta {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 8px;
    display: flex;
    gap: 15px;
}

.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: all 0.3s ease;
}

.share-modal.show {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
}

.share-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

.share-modal-content {
    position: relative;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.share-modal.show .share-modal-content {
    transform: scale(1);
}

.share-modal-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
}

.share-modal-header h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.close-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.share-modal-body {
    padding: 25px;
}

.share-options {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.share-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.share-option:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.share-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #fff;
    transition: all 0.3s ease;
}

.share-icon.weibo {
    background: linear-gradient(135deg, #ff6b6b, #ee5a52);
}

.share-icon.qq {
    background: linear-gradient(135deg, #12b7f5, #0e9fe5);
}

.share-icon.qzone {
    background: linear-gradient(135deg, #ffd93d, #ff9500);
}

.share-icon.copy {
    background: linear-gradient(135deg, #a8e6cf, #7fcdcd);
}

.share-option span {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 500;
    text-shadow: 0 1px 2px rgb(255, 255, 255);
}

.share-link-box {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 20px;
}

.share-link-box label {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 10px;
    text-shadow: 0 1px 2px rgb(255, 255, 255);
}

.link-input-group {
    display: flex;
    gap: 10px;
}

.link-input-group input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    outline: none;
    transition: all 0.3s ease;
}

.link-input-group input:focus {
    border-color: rgba(173, 216, 230, 0.5);
    background: rgba(255, 255, 255, 0.15);
}

.link-input-group button {
    padding: 10px 16px;
    border: 1px solid rgba(173, 216, 230, 0.4);
    border-radius: 6px;
    background: rgba(173, 216, 230, 0.2);
    color: rgba(173, 216, 230, 0.95);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.link-input-group button:hover {
    background: rgba(173, 216, 230, 0.7);
    color: rgba(0, 0, 0, 0.8);
    border-color: rgba(173, 216, 230, 0.7);
}

.share-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 12px 20px;
    border-radius: 6px;
    z-index: 9999;
    display: none;
}

@media (max-width: 768px) {
    .article-container {
        padding: 0 15px;
    }
    
    .article-header {
        padding: 20px;
    }
    
    .article-title {
        font-size: 24px;
    }
    
    .article-meta {
        gap: 10px;
    }
    
    .article-content {
        padding: 25px;
        font-size: 15px;
    }
    
    .article-actions {
        padding: 20px;
        gap: 15px;
    }
    
    .action-btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .article-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .related-articles {
        padding: 20px;
    }
    
    .share-modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .share-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .share-modal-header,
    .share-modal-body {
        padding: 15px;
    }
    
    .link-input-group {
        flex-direction: column;
    }
    
    .link-input-group button {
        align-self: flex-start;
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes likeAnimation {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.like-btn.animate {
    animation: likeAnimation 0.3s ease;
}
