/* 전역 스타일 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #7c3aed;
    --secondary-color: #ec4899;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --border-color: #e5e7eb;
    --white: #ffffff;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Noto Sans KR', 'Malgun Gothic', '맑은 고딕', 'Apple SD Gothic Neo', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 헤더 */
.header {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    cursor: pointer;
}

.main-nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-color);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 2px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: transform 0.2s;
}

.btn-primary:hover {
    transform: translateY(-2px);
}

.btn-login,
.btn-signup,
.btn-search {
    background: none;
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-signup {
    background: var(--text-dark);
    color: var(--white);
}

.btn-login:hover,
.btn-search:hover {
    border-color: var(--primary-color);
}

/* 서브 네비게이션 */
.sub-nav {
    background: var(--white);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 0;
}

.sub-nav .container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.sub-nav-links {
    display: flex;
    gap: 25px;
}

.sub-nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 14px;
    transition: color 0.3s;
}

.sub-nav-link:hover {
    color: var(--primary-color);
}

/* 배너 슬라이더 */
.banner-slider {
    padding: 30px 0;
    background: var(--bg-light);
}

.slider-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    padding: 60px 40px;
    border-radius: 15px;
    color: var(--white);
}

.slide-content h2 {
    font-size: 32px;
    margin-bottom: 10px;
	text-align:center;
}

.slide-content p {
    font-size: 16px;
    opacity: 0.9;
	text-align:center;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.slider-btn:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

/* 카테고리 */
.categories {
    padding: 40px 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 20px;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: transform 0.3s;
}

.category-item:hover {
    transform: translateY(-5px);
}

.category-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.category-item span {
    font-size: 13px;
    color: var(--text-dark);
}

/* 섹션 타이틀 */
.section-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 25px;
}

/* 캠페인 그리드 */
.campaigns {
    padding: 50px 0;
    background: var(--bg-light);
}

.campaign-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.campaign-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.campaign-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.campaign-image {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.campaign-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: bold;
}

.campaign-info {
    padding: 15px;
}

.campaign-tag {
    display: inline-block;
    background: #fef3c7;
    color: #d97706;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    margin-bottom: 8px;
}

.campaign-title {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.campaign-desc {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.campaign-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 14px;
    font-weight: bold;
    color: var(--primary-color);
}

/* PICK 섹션 */
.picks {
    padding: 50px 0;
}

.picks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.pick-column {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
}

.pick-header {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

.pick-subtitle {
    font-size: 13px;
    color: var(--text-light);
    display: block;
    margin-bottom: 15px;
}

.pick-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pick-item {
    display: flex;
    gap: 12px;
    cursor: pointer;
    transition: transform 0.3s;
}

.pick-item:hover {
    transform: translateX(5px);
}

.pick-item img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: cover;
}

.pick-content {
    flex: 1;
}

.pick-badge {
    display: inline-block;
    font-size: 11px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.pick-item h4 {
    font-size: 14px;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pick-item p {
    font-size: 12px;
    color: var(--text-light);
}

/* 오픈 예정 */
.upcoming {
    padding: 50px 0;
    background: #333;
}

.upcoming-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    background: #000;
    color: var(--white);
    padding: 20px;
    border-radius: 10px;
}

.countdown {
    display: flex;
    align-items: center;
    gap: 20px;
}

.timer {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.timer span {
    font-size: 12px;
}

.timer strong {
    font-size: 24px;
    letter-spacing: 2px;
}

.upcoming-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.upcoming-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.upcoming-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.upcoming-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.upcoming-card h4 {
    font-size: 14px;
    padding: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.upcoming-card p {
    font-size: 12px;
    color: var(--text-light);
    padding: 0 12px 12px;
}

/* 브랜드 존 */
.brands {
    padding: 50px 0;
}

.brand-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.brand-card {
    position: relative;
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
}

.brand-card:hover {
    transform: translateY(-5px);
}

.brand-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.5);
    color: var(--white);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-overlay h3 {
    font-size: 20px;
}

.brand-btn {
    background: var(--white);
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
}

/* 베스트 콘텐츠 */
.best-contents {
    padding: 50px 0;
    background: var(--bg-light);
}

.contents-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.content-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.content-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.content-info {
    padding: 15px;
}

.content-info h4 {
    font-size: 14px;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.content-info p {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.content-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.badge-blog,
.badge-insta {
    font-size: 14px;
}

.author {
    font-size: 12px;
    color: var(--text-light);
}

/* 광고주 CTA */
.advertiser-cta {
    padding: 50px 0;
    background: #2d3748;
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--white);
}

.cta-text h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.cta-text p {
    font-size: 16px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.btn-cta {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 15px 35px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.4);
}

.cta-image img {
    max-width: 400px;
    border-radius: 10px;
}

/* 푸터 */
.footer {
    background: var(--bg-light);
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-info {
    grid-column: span 2;
}

.footer-info p {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.footer-contact h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.footer-contact p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.footer-social {
    display: flex;
    gap: 15px;
    align-items: center;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* 반응형 디자인 */
@media (max-width: 1024px) {
    .campaign-grid,
    .upcoming-grid,
    .contents-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .picks-grid,
    .brand-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .header-right {
        gap: 5px;
    }
    
    .btn-primary {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .campaign-grid,
    .upcoming-grid,
    .contents-grid,
    .picks-grid,
    .brand-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .slide-content h2 {
        font-size: 24px;
    }
    
    .slide-content p {
        font-size: 14px;
    }
    
    .upcoming-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-info {
        grid-column: span 1;
    }
}

@media (max-width: 480px) {
    .campaign-grid,
    .upcoming-grid,
    .contents-grid,
    .picks-grid,
    .brand-grid {
        grid-template-columns: 1fr;
    }
    
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .slider-btn {
        width: 30px;
        height: 30px;
        font-size: 18px;
    }
    
    .slide {
        padding: 40px 20px;
    }
}

/*********** 서브 페이지 *************/
/* 캠페인 상세 페이지 추가 스타일 */

/* 서브 네비게이션 액션 */
.sub-nav .container {
    justify-content: space-between;
}

.sub-nav-actions {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--text-light);
}

.sub-nav-actions span {
    padding: 5px 10px;
    background: var(--bg-light);
    border-radius: 5px;
}

/* 캠페인 상세 레이아웃 */
.campaign-detail {
    padding: 40px 0;
    background: var(--bg-light);
}

.detail-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    align-items: start;
}

/* 메인 컨텐츠 영역 */
.detail-main {
    background: var(--white);
    border-radius: 10px;
    padding: 30px;
}

.detail-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.badge-new {
    background: #10b981;
    color: var(--white);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
}

.detail-title {
    flex: 1;
    font-size: 24px;
    font-weight: bold;
    color: var(--text-dark);
}

.btn-favorite {
    background: none;
    border: 2px solid var(--border-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-favorite:hover {
    border-color: #ec4899;
    color: #ec4899;
}

/* 메인 이미지 */
.detail-image {
    margin-bottom: 30px;
    border-radius: 10px;
    overflow: hidden;
}

.detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-nav {
    background: #2d3748;
    padding: 15px;
    text-align: center;
}

.image-nav-btn {
    background: none;
    border: none;
    color: var(--white);
    font-size: 14px;
    cursor: pointer;
}

/* 정보 섹션 */
.detail-info-section {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.detail-info-section:last-child {
    border-bottom: none;
}

.info-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.keyword-badge {
    background: var(--primary-color);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: normal;
    cursor: pointer;
}

.info-content {
    color: var(--text-dark);
    line-height: 1.8;
}

/* 미션 아이콘 */
.mission-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.mission-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: 10px;
    text-align: center;
}

.mission-icon {
    width: 50px;
    height: 50px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.mission-item span {
    font-size: 13px;
    color: var(--text-dark);
}

/* 미션 상세 */
.mission-details {
    margin-top: 20px;
}

.mission-alert {
    background: #fef3c7;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #f59e0b;
}

.mission-alert strong {
    display: block;
    margin-bottom: 10px;
    color: #d97706;
}

.mission-alert p {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.mission-requirements {
    background: var(--white);
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.mission-requirements h3 {
    font-size: 15px;
    font-weight: bold;
    margin: 20px 0 10px 0;
    color: var(--text-dark);
}

.mission-requirements h3:first-child {
    margin-top: 0;
}

.mission-requirements ul {
    margin: 10px 0 10px 20px;
}

.mission-requirements li {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.mission-warning {
    background: #fee2e2;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    border-left: 4px solid #ef4444;
}

.mission-warning p {
    font-size: 13px;
    line-height: 1.6;
    color: #991b1b;
    margin-bottom: 8px;
}

.mission-warning p:last-child {
    margin-bottom: 0;
}

.mission-notice {
    background: #e0e7ff;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    text-align: center;
}

.mission-notice p {
    font-size: 14px;
    color: #4338ca;
    margin: 0;
}

/* 키워드 */
.keyword-text {
    font-size: 15px;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.keyword-note {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 5px;
}

/* 안내사항 */
.guidelines ul {
    margin-left: 0;
    padding-left: 0;
}

.guidelines li {
    list-style: none;
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 8px;
}

/* 초대 배너 */
.invite-banner {
    margin: 30px 0;
    border-radius: 10px;
    overflow: hidden;
}

.invite-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* 연관 섹션 */
.related-section {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid var(--border-color);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.related-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
}

.related-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.related-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.related-info {
    padding: 15px;
}

.related-title {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.author-avatar {
    font-size: 16px;
}

.author-name {
    font-size: 12px;
    color: var(--text-light);
}

/* 연관 캠페인 */
.related-campaigns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.campaign-card-small {
    position: relative;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
}

.campaign-card-small:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.campaign-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #10b981;
    color: var(--white);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    z-index: 10;
}

.campaign-badge.blue {
    background: #3b82f6;
}

.campaign-badge.green {
    background: #10b981;
}

.campaign-badge.orange {
    background: #f59e0b;
}

.campaign-level {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: var(--white);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    z-index: 10;
}

.campaign-card-small img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.campaign-info-small {
    padding: 12px;
}

.campaign-info-small h4 {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.campaign-info-small p {
    font-size: 12px;
    color: var(--text-light);
}

/* 사이드바 (고정) */
.detail-sidebar {
    position: relative;
}

.sidebar-sticky {
    position: sticky;
    top: 80px;
}

.sidebar-card {
    background: var(--white);
    border-radius: 10px;
    padding: 25px;
    box-shadow: var(--shadow-lg);
}

.campaign-status {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.status-item:last-child {
    margin-bottom: 0;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
}

.status-label {
    font-size: 13px;
    color: var(--text-light);
}

.status-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

.status-value.highlight {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-color);
}

/* 사이드바 섹션 버튼 */
.sidebar-sections {
    margin-bottom: 20px;
}

.sidebar-section-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: var(--bg-light);
    border: none;
    border-radius: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    font-size: 14px;
    color: var(--text-dark);
    transition: all 0.3s;
}

.sidebar-section-btn:hover {
    background: #e5e7eb;
}

.sidebar-section-btn .arrow {
    font-size: 18px;
    color: var(--text-light);
}

/* 신청 버튼 */
.btn-apply {
    width: 100%;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 20px;
}

.btn-apply:hover {
    background: #6d28d9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(124, 58, 237, 0.4);
}

/* 서비스 배너 */
.service-banner {
    border-radius: 8px;
    overflow: hidden;
}

.service-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* 반응형 디자인 */
@media (max-width: 1024px) {
    .detail-layout {
        grid-template-columns: 1fr;
    }
    
    .sidebar-sticky {
        position: static;
    }
    
    .related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .related-campaigns {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mission-icons {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .detail-main {
        padding: 20px;
    }
    
    .detail-title {
        font-size: 20px;
    }
    
    .related-grid,
    .related-campaigns {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mission-icons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sub-nav-actions {
        display: none;
    }
}

@media (max-width: 480px) {
    .detail-header {
        flex-wrap: wrap;
    }
    
    .detail-title {
        font-size: 18px;
        width: 100%;
    }
    
    .related-grid,
    .related-campaigns {
        grid-template-columns: 1fr;
    }
    
    .mission-icons {
        grid-template-columns: 1fr;
    }
    
    .sidebar-card {
        padding: 15px;
    }
    
    .campaign-status {
        font-size: 13px;
    }
}


/**************** 캠페인 ************/
/* ============================================
   캠페인 리스트 페이지 추가 스타일
   ============================================ */

/* 서브 네비게이션 확장 */
.sub-nav .container {
    justify-content: space-between;
}

.sub-nav-link.active {
    color: var(--primary-color);
    font-weight: 500;
}

.sub-nav-right {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: var(--text-light);
}

.sub-nav-right .status-item {
    padding: 5px 10px;
    background: var(--bg-light);
    border-radius: 5px;
}

.sub-nav-right .status-item strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* 캠페인 배너 */
.campaign-banner {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    padding: 60px 0;
    color: var(--white);
}

.banner-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
}

.banner-text h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.banner-text p {
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.9;
}

.banner-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 400px;
}

.rating-badge {
    position: absolute;
    top: -20px;
    right: 60px;
    background: var(--white);
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    z-index: 10;
}

.rating-badge .label {
    font-size: 11px;
    color: var(--text-light);
}

.rating-badge .stars {
    font-size: 14px;
    font-weight: bold;
    color: #fbbf24;
}

.blog-mockup {
    background: var(--white);
    width: 280px;
    height: 200px;
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow-lg);
}

.blog-title {
    display: inline-block;
    color: #3b82f6;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 15px;
}

.blog-content {
    background: linear-gradient(135deg, #e0e7ff 0%, #dbeafe 100%);
    height: 120px;
    border-radius: 8px;
}

.cart-icon {
    position: absolute;
    bottom: 10px;
    right: -20px;
    background: #3b82f6;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

/* 캠페인 리스트 섹션 */
.campaign-list-section {
    padding: 50px 0;
    background: var(--bg-light);
}

.campaign-list-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

/* 캠페인 리스트 카드 */
.campaign-list-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow);
}

.campaign-list-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-image {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.campaign-list-card:hover .card-image img {
    transform: scale(1.05);
}

.btn-favorite {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 5;
}

.btn-favorite:hover {
    background: var(--white);
    color: #ec4899;
    transform: scale(1.1);
}

.card-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 5px;
    z-index: 5;
}

.badge-platform {
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.badge-platform.blog {
    background: #10b981;
}

.badge-platform.insta {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.badge-platform.youtube {
    background: #ef4444;
}

.card-period {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    text-align: center;
    padding: 8px;
    font-size: 13px;
    font-weight: 500;
}

.card-info {
    padding: 15px;
}

.card-provider {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.card-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
}

.card-meta {
    margin-bottom: 10px;
}

.applicants {
    font-size: 12px;
    color: var(--text-light);
}

.card-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-badge {
    font-size: 15px;
    font-weight: bold;
    color: var(--primary-color);
}

.payment-type {
    font-size: 11px;
    background: #e0e7ff;
    color: var(--primary-color);
    padding: 3px 8px;
    border-radius: 4px;
}

/* 페이지네이션 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 40px;
}

.page-btn {
    background: var(--white);
    border: 1px solid var(--border-color);
    width: 36px;
    height: 36px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.page-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.page-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.page-btn.prev,
.page-btn.next {
    font-size: 18px;
    font-weight: bold;
}

/* 반응형 디자인 추가 */
@media (max-width: 1200px) {
    .campaign-list-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {
    .campaign-list-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .banner-content {
        flex-direction: column;
        text-align: center;
    }
    
    .banner-image {
        min-width: auto;
    }
}

@media (max-width: 768px) {
    .sub-nav-right {
        display: none;
    }
    
    .campaign-banner {
        padding: 40px 0;
    }
    
    .banner-text h1 {
        font-size: 28px;
    }
    
    .campaign-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .campaign-list-grid {
        grid-template-columns: 1fr;
    }
    
    .banner-text h1 {
        font-size: 24px;
    }
    
    .banner-text p {
        font-size: 14px;
    }
}

/* 애니메이션 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.image-container {
    position: relative;
    max-height: 400px;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.image-container.collapsed {
    max-height: 400px;
}

.image-container.expanded {
    max-height: none;
}

.detail-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-nav {
    background: #2d3748;
    padding: 15px;
    text-align: center;
}

.image-nav-btn {
    background: none;
    border: none;
    color: var(--white);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0 auto;
    transition: all 0.3s;
}

.image-nav-btn:hover {
    opacity: 0.8;
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.image-nav-btn.expanded .btn-arrow {
    transform: rotate(180deg);
}

/* 사이드바 (고정) */
.detail-sidebar {
    position: relative;
}

.sidebar-sticky {
    position: sticky;
    top: 100px;
    transition: top 0.3s ease;
}

@media (max-width: 1024px) {
    .sidebar-sticky {
        position: static;
    }
}