/* 内页独立样式 - 糖心少女VLOG桐桐的生日 */

/* 通用内页样式 */
.inner-article,
.video-article,
.post-article {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin: 30px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    animation: fadeInUp 0.6s ease-out;
}

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

/* 文章头部 */
.article-header,
.post-header {
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 25px;
    margin-bottom: 30px;
}

.article-header h2,
.post-header h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}

.article-meta,
.post-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    color: #999;
    font-size: 14px;
}

/* 特色图片 */
.featured-image,
.video-player {
    width: 100%;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    margin: 30px 0;
    position: relative;
    animation: zoomIn 0.8s ease-out;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.featured-image img,
.video-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-image:hover img,
.video-player:hover .video-cover {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(102, 126, 234, 0.9);
    color: white;
    padding: 20px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button:hover {
    background: rgba(102, 126, 234, 1);
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* 文章内容 */
.article-content,
.post-content {
    color: #555;
    line-height: 1.9;
    font-size: 16px;
}

.article-content h3,
.post-content h3 {
    font-size: 22px;
    color: #333;
    margin-top: 35px;
    margin-bottom: 15px;
    padding-left: 15px;
    border-left: 4px solid #667eea;
    animation: slideInLeft 0.5s ease-out;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.article-content h4,
.post-content h4 {
    font-size: 18px;
    color: #555;
    margin-top: 25px;
    margin-bottom: 12px;
}

.article-content p,
.post-content p {
    margin-bottom: 18px;
}

.article-content ul,
.post-content ul {
    margin: 20px 0;
    padding-left: 30px;
}

.article-content li,
.post-content li {
    margin-bottom: 12px;
    line-height: 1.8;
}

/* 高亮框 */
.highlight-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 25px;
    border-radius: 12px;
    margin: 30px 0;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(102, 126, 234, 0.4);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(102, 126, 234, 0);
    }
}

.highlight-text {
    color: white;
    font-size: 18px;
    font-weight: 500;
    margin: 0;
    text-align: center;
}

/* 引用块 */
.speech-quote,
blockquote {
    background: #f8f9fa;
    border-left: 4px solid #667eea;
    padding: 20px 25px;
    margin: 25px 0;
    font-style: italic;
    color: #666;
    border-radius: 8px;
    animation: fadeIn 1s ease-out;
}

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

/* 列表样式 */
.gift-highlights,
.style-list,
.plan-list {
    list-style: none;
    padding: 0;
}

.gift-highlights li,
.style-list li,
.plan-list li {
    padding: 15px 20px;
    background: #f8f9fa;
    border-left: 3px solid #667eea;
    margin-bottom: 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.gift-highlights li:hover,
.style-list li:hover,
.plan-list li:hover {
    background: #e8eaf6;
    transform: translateX(10px);
}

/* 图片画廊 */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 30px 0;
}

.gallery-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.gallery-img:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* 游戏/系列/设备卡片 */
.game-section,
.series-grid,
.equipment-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.game-item,
.series-card,
.equipment-item {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
    animation: fadeInScale 0.6s ease-out backwards;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.game-item:nth-child(1) { animation-delay: 0.1s; }
.game-item:nth-child(2) { animation-delay: 0.2s; }
.game-item:nth-child(3) { animation-delay: 0.3s; }
.series-card:nth-child(1) { animation-delay: 0.1s; }
.series-card:nth-child(2) { animation-delay: 0.2s; }
.series-card:nth-child(3) { animation-delay: 0.3s; }
.series-card:nth-child(4) { animation-delay: 0.4s; }

.game-item:hover,
.series-card:hover,
.equipment-item:hover {
    background: white;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.series-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* 精彩瞬间网格 */
.moments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.moment-card {
    text-align: center;
    transition: transform 0.3s ease;
}

.moment-card:hover {
    transform: scale(1.05);
}

.moment-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 10px;
}

.moment-card p {
    font-size: 14px;
    color: #666;
}

/* 评论高亮 */
.comments-highlight {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 25px 0;
}

.comment-card {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border-left: 3px solid #667eea;
    transition: all 0.3s ease;
}

.comment-card:hover {
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transform: translateX(10px);
}

.comment-user {
    color: #667eea;
    font-weight: bold;
    margin-bottom: 8px;
}

.comment-text {
    color: #555;
    margin-bottom: 10px;
    line-height: 1.7;
}

.comment-meta {
    color: #999;
    font-size: 14px;
}

/* 时间线 */
.timeline {
    position: relative;
    padding-left: 40px;
    margin: 30px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
}

.timeline-item {
    position: relative;
    padding: 20px;
    margin-bottom: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -31px;
    top: 25px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #667eea;
    border: 3px solid white;
    box-shadow: 0 0 0 3px #667eea;
}

.timeline-item:hover {
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transform: translateX(10px);
}

/* 相关视频 */
.related-videos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.related-video-card {
    display: block;
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
}

.related-video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.related-video-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.related-video-card h4 {
    padding: 15px;
    color: #333;
    font-size: 16px;
    margin: 0;
}

.related-video-card p {
    padding: 0 15px 15px;
    color: #999;
    font-size: 14px;
    margin: 0;
}

/* 文章底部 */
.article-footer,
.post-footer {
    margin-top: 40px;
    padding-top: 25px;
    border-top: 2px solid #f0f0f0;
}

.tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.tag {
    display: inline-block;
    padding: 8px 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    font-size: 14px;
    transition: transform 0.3s ease;
}

.tag:hover {
    transform: scale(1.1);
}

.share-buttons,
.post-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-share,
.btn-action {
    padding: 12px 25px;
    background: white;
    border: 2px solid #667eea;
    color: #667eea;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-share:hover,
.btn-action:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* 帖子作者信息 */
.post-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.post-date {
    color: #999;
    font-size: 14px;
}

/* 视频信息 */
.video-info {
    padding: 25px 0;
}

.video-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.video-meta span {
    color: #666;
    font-size: 15px;
    font-weight: 500;
}

.video-desc {
    margin: 30px 0;
}

.content-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 12px;
    margin: 25px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .inner-article,
    .video-article,
    .post-article {
        padding: 25px 20px;
    }

    .article-header h2,
    .post-header h2 {
        font-size: 22px;
    }

    .featured-image,
    .video-player {
        height: 250px;
    }

    .article-content,
    .post-content {
        font-size: 15px;
    }

    .play-button {
        padding: 15px 30px;
        font-size: 16px;
    }

    .game-section,
    .series-grid,
    .equipment-section {
        grid-template-columns: 1fr;
    }

    .image-gallery,
    .moments-grid,
    .related-videos {
        grid-template-columns: 1fr;
    }
}
