@charset "UTF-8";
/* =============================================
   늑대닷컴 메인 스타일
   ============================================= */

/* CSS 변수 정의 */
:root {
    --color-primary: #5974ff;
    --color-primary-hover: #3d5bff;
    --color-heading: #f0f0f0;
    --color-text: #e0e0e0;
    --color-bg: #707070;
    --color-bg-light: #606060;
    --color-border: #888888;
    --color-btn-cta: #5974ff;
    --color-btn-cta-hover: #3d5bff;
    --container-width: 1100px;
    --font-main: 'Noto Sans KR', sans-serif;
}

/* 기본 리셋 */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    color: #e0e0e0;
    background-color: #707070;
}

a {
    color: var(--color-primary);
    text-decoration: none;
}
a:hover {
    color: var(--color-primary-hover);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-main);
    font-weight: 600;
    color: var(--color-heading);
    line-height: 1.3;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

/* =============================================
   레이아웃 컨테이너
   ============================================= */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* =============================================
   헤더
   ============================================= */
#site-header {
    background-color: #707070;
    border-bottom: 1px solid #606060;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

/* 로고 */
.site-logo img {
    height: 44px;
    width: auto;
}

/* 헤더 오른쪽 영역 */
.header-right {
    display: flex;
    align-items: center;
    gap: 32px;
}

/* 데스크탑 내비게이션 */
.site-nav ul {
    display: flex;
    gap: 0;
}
.site-nav ul li a {
    font-size: 18px;
    font-weight: 900;
    color: #ffffff;
    padding: 0 12px;
    height: 64px;
    display: flex;
    align-items: center;
}
.site-nav ul li a:hover {
    color: var(--color-primary);
}


/* 모바일 메뉴 토글 */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    color: var(--color-primary);
}
.mobile-menu-toggle svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* 모바일 내비게이션 */
.mobile-nav {
    display: none;
    background-color: #707070;
    border-top: 1px solid #606060;
    padding: 12px 0;
}
.mobile-nav ul li a {
    display: block;
    padding: 10px 20px;
    font-size: 16px;
    color: #ffffff;
}
.mobile-nav.is-open {
    display: block;
}

/* =============================================
   히어로 섹션 (배너 이미지 + 제목 + CTA)
   ============================================= */
#hero {
    text-align: center;
}

/* 배너 이미지 영역 */
.hero-banner {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
}
.hero-banner img {
    width: 100%;
    height: auto;
}

/* 히어로 타이틀 */
.hero-title {
    font-size: 36px;
    font-weight: 600;
    color: var(--color-primary);
    margin: 28px 0 20px;
    line-height: 1.4;
}

/* CTA 버튼 */
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #5974ff;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    padding: 14px 28px;
    border-radius: 4px;
    transition: background-color 0.2s;
    margin-bottom: 32px;
}
.btn-cta:hover {
    background-color: #3d5bff;
    color: #ffffff;
}
.btn-cta svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex-shrink: 0;
}

/* =============================================
   일반 콘텐츠 섹션
   ============================================= */
.content-section {
    padding: 48px 0;
}
.content-section + .content-section {
    padding-top: 0;
}

/* 섹션 제목 */
.section-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--color-heading);
    margin-bottom: 20px;
}

/* 본문 텍스트 */
.content-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 12px;
}
.content-text a {
    font-weight: 700;
}

/* 포인트 리스트 항목 */
.point-item {
    margin-bottom: 20px;
}
.point-item-title {
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* =============================================
   웹툰 추천 카드 그리드
   ============================================= */
.genre-section {
    margin-bottom: 36px;
}

/* 장르 레이블 */
.genre-label {
    display: inline-block;
    background-color: var(--color-primary);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 4px;
    margin-bottom: 16px;
}

/* 웹툰 카드 그리드 */
.webtoon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* 개별 카드 */
.webtoon-card {
    border: 1px solid #888888;
    border-radius: 8px;
    overflow: hidden;
    background-color: #707070;
}
.webtoon-card-img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    background-color: var(--color-bg-light);
}
.webtoon-card-body {
    padding: 14px 16px;
}
.webtoon-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-heading);
    margin-bottom: 6px;
}
.webtoon-card-desc {
    font-size: 14px;
    color: #cccccc;
    line-height: 1.6;
}

/* 문의 박스 */
.contact-box {
    margin-top: 32px;
}
.contact-item {
    margin-bottom: 24px;
}
.contact-label {
    font-size: 15px;
    font-weight: 600;
    color: #e0e0e0;
    margin-bottom: 12px;
}

/* 텔레그램 버튼 */
.tg-btn {
    background-color: #29a8e0;
}
.tg-btn:hover {
    background-color: #1a96ce;
    color: #ffffff;
}

/* 테이블 내 사이트 아이콘 */
.table-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    max-width: 24px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 8px;
    display: inline-block;
}

/* =============================================
   비교 테이블
   ============================================= */
.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 15px;
}
.compare-table th,
.compare-table td {
    border: 1px solid var(--color-border);
    padding: 12px 16px;
    text-align: left;
    line-height: 1.5;
    vertical-align: middle;
    white-space: nowrap;
}
.compare-table thead th {
    background-color: var(--color-bg-light);
    font-weight: 700;
    color: var(--color-heading);
}
.compare-table tbody tr:nth-child(odd) {
    background-color: #686868;
}

/* =============================================
   FAQ 섹션
   ============================================= */
.faq-item {
    padding: 20px 0;
    border-bottom: 1px solid var(--color-border);
}
.faq-item:first-of-type {
    border-top: 1px solid var(--color-border);
}
.faq-question {
    font-size: 17px;
    font-weight: 600;
    color: var(--color-heading);
    margin-bottom: 8px;
}
.faq-answer {
    font-size: 15px;
    color: var(--color-text);
    line-height: 1.75;
}

/* =============================================
   하단 CTA 버튼 (중앙 정렬)
   ============================================= */
.btn-cta-center {
    text-align: center;
    margin-top: 24px;
}
.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #5974ff;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    padding: 14px 32px;
    border-radius: 4px;
    transition: background-color 0.2s;
}
.btn-cta-secondary:hover {
    background-color: #3d5bff;
    color: #ffffff;
}
.btn-cta-secondary svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}

/* =============================================
   푸터
   ============================================= */
#site-footer {
    background-color: #707070;
    border-top: 1px solid #888888;
    padding: 24px 0;
    text-align: center;
}
/* 푸터 내비게이션 */
.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px 4px;
    margin-bottom: 16px;
    font-size: 13px;
}
.footer-nav a {
    color: #cccccc;
    text-decoration: none;
}
.footer-nav a:hover {
    color: #ffffff;
}
.footer-nav span {
    color: #888888;
}
.footer-copyright {
    font-size: 13px;
    color: #cccccc;
    line-height: 1.8;
}
.footer-copyright p {
    margin-bottom: 4px;
}

/* =============================================
   스크롤 상단 버튼
   ============================================= */
#scroll-top {
    display: none;
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 40px;
    height: 40px;
    background-color: var(--color-primary);
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    z-index: 99;
    transition: background-color 0.2s;
}
#scroll-top:hover {
    background-color: #3d5bff;
}
#scroll-top.is-visible {
    display: flex;
}
#scroll-top svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transform: rotate(180deg);
}

/* =============================================
   전역 브레드크럼
   ============================================= */
.breadcrumb-wrap {
    background-color: #606060;
    border-bottom: 1px solid #888888;
    padding: 10px 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    font-size: 13px;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #cccccc;
}

.breadcrumb li + li::before {
    content: '›';
    color: #aaaaaa;
}

.breadcrumb a {
    color: #cccccc;
}
.breadcrumb a:hover {
    color: #5974ff;
}

.breadcrumb li:last-child {
    color: #f0f0f0;
    font-weight: 600;
}

/* =============================================
   블로그 글 페이지 (목록은 webtoon-card/webtoon-grid 재사용)
   ============================================= */
.article-meta {
    font-size: 14px;
    color: #cccccc;
    margin-bottom: 12px;
}

.article-thumb {
    display: block;
    width: 100%;
    max-width: 720px;
    height: auto;
    border-radius: 8px;
    margin: 0 auto 36px;
}

.article-faq {
    margin-top: 48px;
    border-top: 1px solid #888888;
    padding-top: 32px;
}

/* =============================================
   반응형 - 태블릿 (최대 921px)
   ============================================= */
@media (max-width: 921px) {
    .hero-title {
        font-size: 28px;
    }
    .section-title {
        font-size: 22px;
    }
    .webtoon-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .site-nav,
    .header-btn {
        display: none;
    }
    .mobile-menu-toggle {
        display: block;
    }
}

/* 반응형 - 모바일 (최대 544px) */
@media (max-width: 544px) {
    .hero-title {
        font-size: 22px;
    }
    .webtoon-grid {
        grid-template-columns: 1fr;
    }
    .compare-table {
        font-size: 13px;
    }
    .compare-table th,
    .compare-table td {
        padding: 8px 10px;
    }
}
