/* 我的大饭碗 - 置顶新闻样式 */
/* 韩国风格主题 */

.sticky-news-container {
    background: linear-gradient(135deg, #fff5f5, #ffe8e8);
    border: 2px solid #ff6b9d;
    border-radius: 25px;
    padding: 25px;
    margin: 25px 0;
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.2);
    position: relative;
    overflow: hidden;
}

.sticky-news-container::before {
    content: '🌸';
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    opacity: 0.3;
    animation: float 3s ease-in-out infinite;
}

.sticky-news-container::after {
    content: '💖';
    position: absolute;
    bottom: 10px;
    left: 15px;
    font-size: 16px;
    opacity: 0.3;
    animation: float 3s ease-in-out infinite reverse;
}

.sticky-news-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px dashed #ff6b9d;
}

.sticky-news-icon {
    font-size: 28px;
    animation: sparkle 2s ease-in-out infinite;
}

.sticky-news-label {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #ff1744;
    text-shadow: 1px 1px 3px rgba(255, 23, 68, 0.3);
    letter-spacing: 1px;
}

.sticky-news-content {
    display: flex;
    gap: 25px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 25px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.sticky-news-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 157, 0.1), transparent);
    transition: left 0.5s;
}

.sticky-news-content:hover::before {
    left: 100%;
}

.sticky-news-content:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 35px rgba(255, 107, 157, 0.3);
    border-color: #ff6b9d;
    background: rgba(255, 255, 255, 1);
}

.sticky-news-image {
    flex-shrink: 0;
    width: 140px;
    height: 105px;
    border-radius: 15px;
    overflow: hidden;
    border: 3px solid #ff6b9d;
    position: relative;
}

.sticky-news-image::after {
    content: '✨';
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 12px;
    opacity: 0.7;
}

.sticky-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    filter: brightness(1.1) saturate(1.2);
}

.sticky-news-content:hover .sticky-news-image img {
    transform: scale(1.1) rotate(1deg);
}

.sticky-news-image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff6b9d, #ff8a80);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    position: relative;
}

.sticky-news-image-placeholder::before {
    content: '🎀';
    position: absolute;
    top: 5px;
    left: 5px;
    font-size: 14px;
}

.sticky-news-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
}

.sticky-news-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff1744, #ff6b9d);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    align-self: flex-start;
    box-shadow: 0 4px 12px rgba(255, 23, 68, 0.4);
    animation: glow 2s ease-in-out infinite alternate;
    letter-spacing: 0.5px;
}

.sticky-news-badge::before {
    content: '👑 ';
    font-size: 11px;
}

.sticky-news-title {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #d81b60;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    letter-spacing: 0.5px;
}

.sticky-news-summary {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sticky-news-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #999;
    margin-top: auto;
    align-items: center;
}

.sticky-news-category {
    background: linear-gradient(135deg, #ff6b9d, #ff8a80);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-weight: 600;
    font-family: 'Noto Sans KR', sans-serif;
    letter-spacing: 0.5px;
}

.sticky-news-category::before {
    content: '🏷️ ';
    font-size: 10px;
}

.sticky-news-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: 'Noto Sans KR', sans-serif;
}

.sticky-news-date::before {
    content: '📅';
    font-size: 12px;
}

.sticky-news-loading {
    text-align: center;
    padding: 50px;
    color: #ff1744;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 16px;
    font-weight: 600;
}

.sticky-news-loading::before {
    content: '💕 ';
    font-size: 20px;
}

.sticky-news-error {
    text-align: center;
    padding: 50px;
    color: #ff1744;
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 16px;
    font-weight: 600;
}

.sticky-news-error::before {
    content: '💔 ';
    font-size: 20px;
}

/* 动画效果 */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes sparkle {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.1) rotate(5deg);
        opacity: 0.8;
    }
}

@keyframes glow {
    from {
        box-shadow: 0 4px 12px rgba(255, 23, 68, 0.4);
    }
    to {
        box-shadow: 0 6px 20px rgba(255, 23, 68, 0.6);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .sticky-news-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .sticky-news-image {
        width: 100%;
        height: 140px;
    }
    
    .sticky-news-meta {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .sticky-news-container {
        padding: 20px;
        margin: 20px 0;
    }
    
    .sticky-news-content {
        padding: 20px;
    }
    
    .sticky-news-image {
        height: 120px;
    }
    
    .sticky-news-title {
        font-size: 16px;
    }
    
    .sticky-news-summary {
        font-size: 14px;
    }
    
    .sticky-news-label {
        font-size: 18px;
    }
}