/* 뉴스레터 구독 섹션 */
.newsletter-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 60px 20px;
    margin: 60px 0;
    border-radius: 20px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.newsletter-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.newsletter-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.newsletter-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.95;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    max-width: 500px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.newsletter-input {
    flex: 1;
    min-width: 250px;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.newsletter-button {
    padding: 15px 40px;
    background: white;
    color: var(--primary-color);
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.newsletter-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.newsletter-note {
    margin-top: 15px;
    font-size: 0.85rem;
    opacity: 0.8;
}

/* NEW 배지 */
.new-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-left: 10px;
    animation: pulse-badge 2s ease-in-out infinite;
    box-shadow: 0 2px 10px rgba(255, 107, 107, 0.3);
}

@keyframes pulse-badge {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* 업데이트 안내 배너 */
.update-banner {
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 20px;
    text-align: center;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.update-banner::before {
    content: '🔔';
    margin-right: 10px;
    animation: ring 2s ease-in-out infinite;
}

@keyframes ring {
    0%, 100% { transform: rotate(0deg); }
    10%, 30% { transform: rotate(-10deg); }
    20%, 40% { transform: rotate(10deg); }
}

.update-banner strong {
    color: #ffd93d;
}

/* 소셜 공유 버튼 */
.share-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 30px 0;
    flex-wrap: wrap;
}

.share-btn {
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.share-facebook {
    background: #1877f2;
    color: white;
}

.share-twitter {
    background: #1da1f2;
    color: white;
}

.share-kakao {
    background: #fee500;
    color: #000000;
}

.share-link {
    background: #6c757d;
    color: white;
}

/* 관련 글 섹션 */
.related-posts {
    background: #f8f9fa;
    padding: 40px 20px;
    border-radius: 15px;
    margin: 40px 0;
}

.related-posts h3 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-color);
    font-size: 1.8rem;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.related-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.related-card-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.related-card h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.related-card p {
    font-size: 0.9rem;
    color: #666;
}

/* 반응형 */
@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-input {
        min-width: 100%;
    }
    
    .newsletter-title {
        font-size: 1.5rem;
    }
    
    .share-buttons {
        flex-direction: column;
        align-items: stretch;
    }
}
