/* 公告详情页容器
-------------------------------------------------- */
.announcement-container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 2rem;
    background: rgba(10, 17, 40, 0.8);
    border: 1px solid var(--neon-blue);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

/* 全息投影效果装饰 */
.announcement-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent,
        var(--neon-blue),
        transparent
    );
    animation: scan-line 2s linear infinite;
}

/* 公告头部样式
-------------------------------------------------- */
.announcement-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.announcement-title {
    font-size: 2.5rem;
    color: var(--neon-blue);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px var(--neon-blue);
    position: relative;
}

.announcement-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1rem;
    background: rgba(0, 243, 255, 0.05);
    border-radius: 4px;
}

.meta-item {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

/* 公告内容样式
-------------------------------------------------- */
.announcement-content {
    position: relative;
    padding: 2rem;
    background: rgba(10, 17, 40, 0.5);
    border-radius: 4px;
    margin-bottom: 3rem;
}

.content-text {
    color: var(--text-primary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.content-image {
    text-align: center;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid var(--neon-blue);
}

.announcement-image {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

.content-image:hover .announcement-image {
    transform: scale(1.05);
}

/* 操作按钮样式
-------------------------------------------------- */
.action-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 2rem 0;
}

.like-form {
    position: relative;
}

.btn-neon {
    background: transparent;
    border: 1px solid var(--neon-blue);
    color: var(--neon-blue);
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-neon:hover {
    background: var(--neon-blue);
    color: var(--primary-dark);
    box-shadow: 0 0 20px var(--neon-blue);
}

.btn-neon-secondary {
    border-color: var(--text-secondary);
    color: var(--text-secondary);
}

.btn-neon-secondary:hover {
    background: var(--text-secondary);
    box-shadow: 0 0 20px var(--text-secondary);
}

/* 评论区样式
-------------------------------------------------- */
.comments-section {
    margin-top: 4rem;
    position: relative;
}

.section-title {
    color: var(--neon-blue);
    font-size: 2rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* 评论卡片样式 */
.comment-card {
    background: rgba(10, 17, 40, 0.6);
    border: 1px solid rgba(0, 243, 255, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.comment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg,
        transparent,
        rgba(0, 243, 255, 0.1),
        transparent
    );
    transform: translateX(-100%);
    animation: card-glitch 3s infinite;
}

.comment-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 243, 255, 0.1);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0, 243, 255, 0.1);
}

.comment-author {
    color: var(--neon-blue);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.comment-time {
    color: var(--text-secondary);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comment-content {
    color: var(--text-primary);
    line-height: 1.6;
}

.comment-image {
    margin-top: 1rem;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(0, 243, 255, 0.2);
}

.comment-image img {
    max-width: 200px;
    border-radius: 4px;
    transition: transform 0.3s ease;
}

.comment-image:hover img {
    transform: scale(1.05);
}

/* 评论表单样式
-------------------------------------------------- */
.comment-form {
    margin-top: 3rem;
    background: rgba(10, 17, 40, 0.6);
    border: 1px solid var(--neon-blue);
    border-radius: 8px;
    padding: 2rem;
}

.form-title {
    color: var(--neon-blue);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.neon-input {
    background: rgba(10, 17, 40, 0.5);
    border: 1px solid rgba(0, 243, 255, 0.2);
    color: var(--text-primary);
    margin-bottom: 1rem;
    padding: 0.75rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.neon-input:focus {
    border-color: var(--neon-blue);
    box-shadow: 0 0 10px var(--neon-blue);
    background: rgba(10, 17, 40, 0.7);
    outline: none;
}

.neon-label {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 登录提示样式 */
.login-prompt {
    text-align: center;
    color: var(--text-secondary);
    margin: 2rem 0;
    padding: 2rem;
    background: rgba(10, 17, 40, 0.6);
    border: 1px solid var(--neon-blue);
    border-radius: 8px;
}

.neon-link {
    color: var(--neon-blue);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding: 0 5px;
}

.neon-link:hover {
    text-shadow: 0 0 10px var(--neon-blue);
}

/* 动画效果
-------------------------------------------------- */
@keyframes scan-line {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes card-glitch {
    0% {
        transform: translateX(-100%);
    }
    50%, 100% {
        transform: translateX(100%);
    }
}

/* 响应式调整
-------------------------------------------------- */
@media (max-width: 768px) {
    .announcement-container {
        margin: 1rem;
        padding: 1rem;
    }

    .announcement-title {
        font-size: 2rem;
    }

    .announcement-meta {
        flex-direction: column;
        gap: 1rem;
    }

    .action-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .comment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
} 