/*
 * 파일명: blog-style.css
 * 위치: /assets/css/
 * 기능: 겜스고 가이드 공동 스타일시트
 * 작성일: 2025-01-10
 */

/* ===================================
 * 전역 스타일 (컬러 변수 수정)
 * ===================================
 */

:root {
    --primary-color: #006060;
    --primary-dark: #065f5c;
    --primary-light: #14b8a6;
    --secondary-color: #0891b2;
    --accent-color: #047857;
    --success-color: #059669;
    --warning-color: #d97706;
    --danger-color: #dc2626;
    --info-color: #0284c7;
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --text-light: #9ca3af;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --bg-gray-50: #f9fafb;
    --bg-gray-100: #f3f4f6;
    --border-color: #e5e7eb;
    --border-light: #f3f4f6;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-primary: 0 4px 15px rgba(0, 96, 96, 0.2);
    --shadow-primary-lg: 0 8px 25px rgba(0, 96, 96, 0.3);
    --gradient-primary: linear-gradient(135deg, #006060 0%, #14b8a6 100%);
    --gradient-secondary: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
    --gradient-accent: linear-gradient(135deg, #047857 0%, #059669 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

/* ===================================
 * 네비게이션
 * ===================================
 */

.navbar {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95) !important;
}

.navbar-brand .brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

/* ===================================
 * 블로그 헤더 (완전 중앙 정렬)
 * ===================================
 */

.blog-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 2rem 0 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
}

.header-content {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
}

.category-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
}

.header-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.header-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.header-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.85rem;
    opacity: 0.8;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}


/* ===================================
 * 목차 (TOC) - 컴팩트 버전
 * ===================================
 */

.toc-section {
    margin-bottom: 1rem;
}

.toc-card {
    background: var(--bg-white);
    border-radius: 8px;
    padding: 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-color);
	margin-bottom: 0;
}

.toc-title {
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    margin-bottom: 0.3rem;
}

.toc-list li:last-child {
    margin-bottom: 0;
}

.toc-list a {
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    display: block;
    padding: 0.2rem 0;
    border-left: 2px solid transparent;
    padding-left: 0.8rem;
}

.toc-list a:hover {
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    padding-left: 1rem;
}


/* ===================================
 * 메인 콘텐츠
 * ===================================
 */

.main-content {
    margin-bottom: 4rem;
}

.blog-article {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.content-section {
    margin-bottom: 4rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.content-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    color: var(--text-dark);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
}

.highlight-box {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
}

.highlight-box h4 {
    margin-bottom: 1rem;
    font-weight: 600;
}

/* ===================================
 * 통계 그리드
 * ===================================
 */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.stat-item {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-gray);
    font-size: 0.9rem;
}


/* ===================================
 * 단계별 가이드
 * ===================================
 */

.step-guide {
    margin: 2rem 0;
}

.step-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.step-content p {
    color: var(--text-gray);
    margin: 0;
}

/* ===================================
 * CTA 박스
 * ===================================
 */

.cta-box {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 2rem 0;
    box-shadow: var(--shadow-lg);
}

.cta-box h4 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.cta-button {
    background: white;
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.cta-button:hover {
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ===================================
 * 서비스 그리드
 * ===================================
 */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.service-category {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
}

.service-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-category h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-category ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.service-category li {
    padding: 0.5rem 0;
    color: var(--text-gray);
    border-bottom: 1px solid var(--border-color);
}

.service-category li:last-child {
    border-bottom: none;
}

.discount-badge {
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    position: absolute;
    top: 1rem;
    right: 1rem;
}

/* ===================================
 * 프로모션 코드
 * ===================================
 */

.promo-code-section {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin: 2rem 0;
    border: 2px dashed var(--primary-color);
}

.promo-code-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
    flex-wrap: wrap;
}

.promo-code {
    background: var(--primary-color);
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 8px;
    user-select: all;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
}

.promo-code:hover {
    background: var(--primary-dark);
    transform: scale(1.02);
}

.copy-btn {
    background: var(--secondary-color);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.copy-btn:hover {
    background: #0891b2;
    transform: scale(1.05);
}

.promo-note {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.copy-success {
    background: var(--accent-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    display: none;
    margin-top: 1rem;
    animation: fadeInOut 3s ease-in-out;
}

.copy-success.show {
    display: inline-block;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateY(10px); }
    20%, 80% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-10px); }
}

/* ===================================
 * 팩트체크 미리보기
 * ===================================
 */

.fact-check-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.fact-item {
    background: var(--bg-white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.fact-badge {
    background: var(--primary-color);
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    display: inline-block;
    margin-bottom: 1rem;
}

.fact-item h4 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1rem;
}

.fact-item p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.fact-result {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.result-label {
    font-weight: 600;
    margin-right: 0.5rem;
}

.result-partial {
    background: #fef3c7;
    color: #92400e;
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    font-weight: 600;
}

.result-false {
    background: #fecaca;
    color: #991b1b;
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    font-weight: 600;
}

.fact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.fact-link:hover {
    color: var(--primary-dark);
}

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}


/* ===================================
 * FAQ 섹션 - 패딩 수정
 * ===================================
 */

.faq-section {
    background: var(--bg-white);
    padding: 4rem 0;
    margin-top: 4rem;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem; /* 좌우 패딩 추가 */
}

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 1.5rem 2rem; /* 좌우 패딩 증가 */
    background: var(--bg-light);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f1f5f9;
}

.faq-question h4 {
    color: var(--text-dark);
    font-weight: 600;
    margin: 0;
    flex: 1;
    padding-right: 1rem; /* 아이콘과의 간격 */
}

.faq-question i {
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 2rem; /* 상하좌우 패딩 */
    margin: 0;
    color: var(--text-gray);
    line-height: 1.6;
}

/* FAQ 내부 콘텐츠 스타일 개선 */
.feature-list, .savings-examples, .pricing-table {
    margin-top: 1.5rem;
    padding-left: 0; /* 추가 패딩 제거 */
}

.feature-list h5, .savings-examples h5, .pricing-table h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.feature-list ul, .savings-examples ul {
    list-style: none;
    padding-left: 0;
    margin-left: 1rem; /* 좌측 여백 추가 */
}

.feature-list li, .savings-examples li {
    padding: 0.8rem 0;
    padding-left: 2rem; /* 체크마크와 텍스트 간격 */
    position: relative;
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.5;
}

.feature-list li::before, .savings-examples li::before {
    content: "✓";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    left: 0.5rem; /* 좌측 여백에서 약간 떨어뜨림 */
    top: 0.8rem;
}

.pricing-table {
    margin-top: 1.5rem;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.price-item {
    background: var(--bg-light);
    padding: 1.2rem;
    border-radius: 8px;
    text-align: center;
    border: 2px solid var(--border-color);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.price-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* 반응형 개선 */
@media (max-width: 768px) {
    .faq-container {
        padding: 0 0.5rem; /* 모바일에서 패딩 줄임 */
    }
    
    .faq-question {
        padding: 1.2rem 1.5rem; /* 모바일에서 패딩 조정 */
    }
    
    .faq-question h4 {
        font-size: 1rem;
        padding-right: 0.8rem;
    }
    
    .faq-answer p {
        padding: 1.5rem; /* 모바일에서 패딩 줄임 */
        font-size: 0.9rem;
    }
    
    .feature-list ul, .savings-examples ul {
        margin-left: 0.5rem;
    }
    
    .feature-list li, .savings-examples li {
        padding-left: 1.5rem;
        font-size: 0.9rem;
    }
    
    .feature-list li::before, .savings-examples li::before {
        left: 0.2rem;
    }
    
    .price-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .faq-question {
        padding: 1rem 1.2rem;
    }
    
    .faq-answer p {
        padding: 1.2rem;
    }
}




/* ===================================
 * 사이드바
 * ===================================
 */

.sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.sidebar-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.sidebar-title {
    color: var(--text-dark);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.quick-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quick-link {
    padding: 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.quick-link.primary {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.quick-link.primary:hover {
    background: var(--primary-dark);
    color: white;
}

.quick-link:not(.primary) {
    color: var(--text-gray);
}

.quick-link:not(.primary):hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.popular-services {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.service-item {
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.service-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.service-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.original-price {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 400;
    margin-left: 0.5rem;
}

.service-discount {
    font-size: 0.8rem;
    color: var(--accent-color);
    font-weight: 600;
}

/* 비디오 스트리밍 서비스 아이템 (구분된 클래스) */
   .video-streaming-service-item {
       padding: 0.8rem;
       background: var(--bg-light);
       border-radius: 8px;
       border-left: 4px solid var(--primary-color);
       margin-bottom: 0.8rem;
   }
   
   .video-streaming-service-item:last-child {
       margin-bottom: 0;
   }
   
   .video-streaming-service-item .service-name {
       font-weight: 600;
       color: var(--text-dark);
       margin-bottom: 0.5rem;
       font-size: 0.9rem;
   }
   
   /* 서비스 가격 행 - 슬림 디자인 */
   .service-price-row {
       display: flex;
       justify-content: space-between;
       align-items: center;
       margin: 0;
   }
   
   .video-streaming-service-item .service-price {
       font-size: 1rem;
       font-weight: 700;
       color: var(--primary-color);
       margin: 0;
   }
   
   /* 서비스 액션 그룹 */
   .service-action {
       display: flex;
       align-items: center;
       gap: 0.5rem;
   }
   
   .benefit-text {
       font-size: 0.8rem;
       color: var(--text-gray);
       font-weight: 500;
   }
   
   .service-go-btn {
       background: var(--primary-color);
       color: white;
       width: 28px;
       height: 28px;
       border-radius: 50%;
       display: flex;
       align-items: center;
       justify-content: center;
       text-decoration: none;
       transition: all 0.3s ease;
       font-size: 0.8rem;
       flex-shrink: 0;
   }
   
   .service-go-btn:hover {
       background: var(--primary-dark);
       color: white;
       transform: scale(1.1);
   }
   
   .service-go-btn:focus {
       outline: none;
       box-shadow: 0 0 0 3px rgba(0, 96, 96, 0.3);
   }


.trust-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.trust-card .sidebar-title {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.3);
}

.trust-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.9rem;
}

.trust-item i {
    color: rgba(255, 255, 255, 0.8);
}



/* ===================================
* 푸터 - 가독성 개선
* ===================================
*/

.footer-section {
   background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
   color: white;
   padding: 3rem 0 1.5rem;
   margin-top: 4rem;
   position: relative;
   overflow: hidden;
}

.footer-section::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background: 
       radial-gradient(circle at 20% 80%, rgba(0, 96, 96, 0.08) 0%, transparent 50%),
       radial-gradient(circle at 80% 20%, rgba(0, 96, 96, 0.05) 0%, transparent 50%);
   pointer-events: none;
}

.footer-content {
   position: relative;
   z-index: 1;
}

/* 푸터 그리드 레이아웃 */
.footer-grid {
   display: grid;
   grid-template-columns: 2fr 1fr 1fr;
   gap: 3rem;
   margin-bottom: 2rem;
}

/* 푸터 로고 및 설명 */
.footer-brand {
   display: flex;
   flex-direction: column;
}

.footer-logo {
   font-size: 1.5rem;
   font-weight: 700;
   color: #14b8a6;
   margin-bottom: 1rem;
   display: flex;
   align-items: center;
   gap: 0.5rem;
}

.footer-description {
   color: #e5e7eb;
   line-height: 1.6;
   margin-bottom: 1.5rem;
   font-size: 0.95rem;
}

.footer-social {
   display: flex;
   gap: 1rem;
}

.social-link {
   width: 40px;
   height: 40px;
   background: rgba(0, 96, 96, 0.25);
   border: 1px solid rgba(0, 96, 96, 0.4);
   border-radius: 50%;
   display: flex;
   align-items: center;
   justify-content: center;
   color: #14b8a6;
   text-decoration: none;
   transition: all 0.3s ease;
}

.social-link:hover {
   background: var(--primary-color);
   color: white;
   transform: translateY(-2px);
}

/* 푸터 섹션 */
.footer-section-content {
   display: flex;
   flex-direction: column;
}

.footer-section-title {
   font-size: 1.1rem;
   font-weight: 600;
   color: #f9fafb;
   margin-bottom: 1rem;
   display: flex;
   align-items: center;
   gap: 0.5rem;
}

.footer-section-title i {
   color: #14b8a6;
}

.footer-links {
   list-style: none;
   padding: 0;
   margin: 0;
}

.footer-links li {
   margin-bottom: 0.8rem;
}

.footer-links a {
   color: #e5e7eb;
   text-decoration: none;
   font-size: 0.9rem;
   transition: all 0.3s ease;
   display: flex;
   align-items: center;
   gap: 0.5rem;
}

.footer-links a:hover {
   color: #14b8a6;
   padding-left: 0.5rem;
}

.footer-links a i {
   font-size: 0.8rem;
   opacity: 0.8;
}

/* 파트너스 활동 안내 - 가독성 개선 */
.partner-notice {
   background: rgba(0, 96, 96, 0.15);
   border: 1px solid rgba(0, 96, 96, 0.4);
   border-radius: 12px;
   padding: 1.5rem;
   margin-bottom: 1.5rem;
   backdrop-filter: blur(10px);
}

.partner-notice h4 {
   color: #14b8a6;
   font-size: 1rem;
   font-weight: 600;
   margin-bottom: 0.8rem;
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 0.5rem;
}

.partner-notice p {
   color: #f3f4f6;
   font-size: 0.85rem;
   line-height: 1.5;
   margin: 0;
   text-align: center;
}

/* 푸터 하단 */
.footer-bottom {
   border-top: 1px solid rgba(255, 255, 255, 0.1);
   padding-top: 1.5rem;
   text-align: center;
}

.footer-bottom-content {
   display: flex;
   justify-content: space-between;
   align-items: center;
   flex-wrap: wrap;
   gap: 1rem;
}

.footer-copyright {
   color: #d1d5db;
   font-size: 0.85rem;
}

.footer-copyright a {
   color: #14b8a6;
   font-weight: 500;
   text-decoration: none;
}

.footer-copyright a:hover {
   color: #2dd4bf;
}

.footer-links-bottom {
   display: flex;
   gap: 2rem;
   flex-wrap: wrap;
}

.footer-links-bottom a {
   color: #e5e7eb;
   text-decoration: none;
   font-size: 0.85rem;
   transition: color 0.3s ease;
}

.footer-links-bottom a:hover {
   color: #14b8a6;
}

/* 푸터 장식 요소 */
.footer-decoration {
   position: absolute;
   bottom: 0;
   left: 0;
   right: 0;
   height: 4px;
   background: linear-gradient(90deg, 
       var(--primary-color) 0%, 
       var(--primary-light) 25%, 
       var(--secondary-color) 50%, 
       var(--primary-light) 75%, 
       var(--primary-color) 100%);
}

/* ===================================
* 반응형 디자인 (푸터)
* ===================================
*/

@media (max-width: 968px) {
   .footer-grid {
       grid-template-columns: 1fr 1fr;
       gap: 2rem;
   }
   
   .footer-brand {
       grid-column: 1 / -1;
       text-align: center;
       margin-bottom: 1rem;
   }
}

@media (max-width: 768px) {
   .footer-grid {
       grid-template-columns: 1fr;
       gap: 2rem;
       text-align: center;
   }
   
   .footer-social {
       justify-content: center;
   }
   
   .footer-bottom-content {
       flex-direction: column;
       text-align: center;
   }
   
   .footer-links-bottom {
       justify-content: center;
   }
}

@media (max-width: 480px) {
   .partner-notice {
       padding: 1.2rem;
   }
   
   .partner-notice h4 {
       font-size: 0.9rem;
   }
   
   .partner-notice p {
       font-size: 0.8rem;
   }
}


/* ===================================
 * 반응형 디자인
 * ===================================
 */

@media (max-width: 768px) {
    .header-title {
        font-size: 2.2rem;
    }

    .header-subtitle {
        font-size: 1.1rem;
    }

    .header-content {
        padding-right: 0;
        margin-bottom: 2rem;
    }

    .blog-article {
        padding: 2rem 1.5rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 300px;
        margin: 2rem auto;
    }
    
    .stat-item {
        padding: 1.2rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }

    .step-item {
        flex-direction: column;
        text-align: center;
    }

    .step-number {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .fact-check-preview {
        grid-template-columns: 1fr;
    }

    .promo-code-container {
        flex-direction: column;
    }

    .promo-code {
        min-width: auto;
        width: 100%;
    }

    .sidebar {
        position: static;
        margin-top: 3rem;
    }
}

@media (max-width: 480px) {
    .toc-card {
        padding: 1.5rem;
    }

    .blog-header {
        padding: 3rem 0;
    }

    .header-meta {
        flex-direction: column;
        gap: 0.8rem;
    }
}


/* ===================================
 * 할인 예시 및 비교 테이블
 * ===================================
 */

.discount-example {
    margin: 2rem 0;
}

.discount-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.discount-steps .step {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border-left: 4px solid var(--primary-color);
}

.discount-steps .step h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
}

.comparison-table th {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    font-weight: 600;
    text-align: left;
}

.comparison-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.comparison-table .highlight-row {
    background: rgba(0, 96, 96, 0.05);
}

.best-price {
    color: var(--accent-color);
    font-weight: 600;
}

.medium-price {
    color: var(--warning-color);
    font-weight: 600;
}

.high-price {
    color: var(--danger-color);
    font-weight: 600;
}

/* 서비스 상세 그리드 */
.services-detailed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.service-category-detailed {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    border-top: 4px solid var(--primary-color);
}

.service-category-detailed h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-category-detailed ul {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.service-category-detailed li {
    padding: 0.5rem 0;
    color: var(--text-gray);
    border-bottom: 1px solid var(--border-light);
}

.service-category-detailed li:last-child {
    border-bottom: none;
}

.related-link {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.related-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.related-link a:hover {
    color: var(--primary-dark);
}




/* ===================================
 * 스트리밍 서비스 카드 스타일 (컴팩트 리스트 형태)
 * ===================================
 */

.streaming-services-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
    max-width: 100%;
}

.streaming-service-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
    position: relative;
}

.streaming-service-card:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--primary-dark);
}

.streaming-service-card.featured {
    border-left: 4px solid var(--accent-color);
    background: linear-gradient(135deg, rgba(0, 96, 96, 0.02), rgba(20, 184, 166, 0.02));
}

.streaming-service-card.featured:hover {
    border-left-color: var(--accent-color);
}

/* 서비스 헤더 (배지 + 제목 + 가격이 한 줄로) */
.service-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.service-title-group {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex: 1;
}

.service-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    flex-shrink: 0;
}

.service-badge.youtube { background: #ff0000; }
.service-badge.netflix { background: #e50914; }
.service-badge.movie { background: #8b5cf6; }
.service-badge.mlb { background: #041e42; }
.service-badge.nba { background: #c8102e; }
.service-badge.tennis { background: #0f7c7c; }
.service-badge.iptv { background: var(--primary-color); }
.service-badge.iptv-premium { background: var(--primary-dark); }

.service-info h4 {
    color: var(--text-dark);
    font-weight: 600;
    margin: 0;
    font-size: 1.1rem;
}

.service-price-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.service-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.service-price span {
    font-size: 0.9rem;
    color: var(--text-gray);
    font-weight: 400;
}

/* 기능 배지 */
.feature-badge {
    background: var(--accent-color);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 8px;
    font-size: 0.65rem;
    font-weight: 600;
    flex-shrink: 0;
}

.feature-badge.vip {
    background: linear-gradient(45deg, #ffd700, #ffed4a);
    color: #1a1a1a;
}

.feature-badge.playoff {
    background: linear-gradient(45deg, #ff6b6b, #ee5a52);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* 서비스 설명 및 기능 */
.service-content {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    align-items: flex-start;
}

.service-description-group {
    flex: 1;
}

.service-description {
    color: var(--text-gray);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    position: relative;
    padding: 0.3rem 0 0.3rem 1.2rem;
    color: var(--text-gray);
    font-size: 0.85rem;
    line-height: 1.4;
}

.service-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0.3rem;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 0.8rem;
}

/* 액션 그룹 */
.service-action-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    flex-shrink: 0;
}

.service-btn {
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 120px;
}

.service-btn:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
}

/* 사이드바 카테고리 링크 */
.category-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.category-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: var(--bg-light);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.category-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

.category-link i {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.category-link:hover i {
    color: white;
}

/* ===================================
 * 반응형 디자인 (스트리밍 서비스)
 * ===================================
 */

@media (max-width: 768px) {
    .streaming-service-card {
        padding: 1.2rem;
    }
    
    .service-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .service-price-group {
        align-self: flex-end;
    }
    
    .service-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .service-action-group {
        flex-direction: row;
        justify-content: center;
        width: 100%;
    }
    
    .service-btn {
        flex: 1;
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .service-title-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .service-features li {
        font-size: 0.8rem;
        padding: 0.2rem 0 0.2rem 1rem;
    }
}