@charset "UTF-8";
/* ===================== CSS 변수 및 전역 스타일 ===================== */
:root {
    --ast-global-color-0: #046bd2;
    --ast-global-color-1: #045cb4;
    --ast-global-color-2: #1e293b;
    --ast-global-color-3: #111111;
    --ast-global-color-4: #FFFFFF;
    --ast-global-color-5: #F0F5FA;
    --ast-global-color-6: #111111;
    --ast-global-color-7: #D1D5DB;
    --ast-global-color-8: #111111;
    --ast-normal-container-width: 1100px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.65;
    color: var(--ast-global-color-3);
    background-color: var(--ast-global-color-4);
}

a {
    color: var(--ast-global-color-0);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: var(--ast-global-color-1);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 600;
    color: var(--ast-global-color-2);
    line-height: 1.4;
}

h1 { font-size: 36px; }
h2 { font-size: 30px; line-height: 1.3em; }
h3 { font-size: 24px; line-height: 1.3em; }
h4 { font-size: 20px; line-height: 1.2em; }

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
}

ul, ol {
    list-style: none;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1em 0;
}

th, td {
    border: 1px solid var(--ast-global-color-7);
    padding: 12px 15px;
    text-align: left;
}

th {
    background-color: var(--ast-global-color-5);
    font-weight: 600;
}

/* ===================== 헤더 스타일 ===================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background-color: var(--ast-global-color-4);
    border-bottom: 1px solid var(--ast-global-color-5);
}

.header-wrap {
    max-width: var(--ast-normal-container-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
    padding: 0 20px;
}

.site-branding {
    display: flex;
    align-items: center;
}

.site-branding .custom-logo {
    max-width: 180px;
    width: 180px;
    height: auto;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.main-navigation ul {
    display: flex;
    align-items: center;
    gap: 5px;
}

.main-navigation .menu-link {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 900;
    font-size: 18px;
    color: var(--ast-global-color-3);
    padding: 10px 15px;
    display: block;
}

.main-navigation .menu-link:hover {
    color: var(--ast-global-color-3);
}

.header-button .ast-custom-button {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 14px;
    color: #111111;
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
}

/* 모바일 메뉴 토글 */
.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle svg {
    width: 24px;
    height: 24px;
    fill: var(--ast-global-color-0);
}

.mobile-menu-close {
    display: none;
}

/* ===================== 메인 콘텐츠 ===================== */
.site-content {
    min-height: calc(100vh - 200px);
}

.ast-container {
    max-width: var(--ast-normal-container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================== Hero 섹션 ===================== */
.hero-section {
    width: 100%;
    max-width: var(--ast-normal-container-width);
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.hero-section .hero-image {
    width: 100%;
    max-width: 1100px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.hero-section h1 {
    color: #e53935;
    font-size: 36px;
    font-weight: 600;
    margin: 30px 0 20px;
    text-align: center;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--ast-global-color-0);
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin: 10px 0 30px;
}

.hero-cta:hover {
    background-color: var(--ast-global-color-1);
    color: #ffffff;
    transform: scale(1.05);
}

.hero-cta svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Buzz 애니메이션 */
@keyframes e-animation-buzz {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-2px); }
    20%, 40%, 60%, 80% { transform: translateX(2px); }
}

.elementor-animation-buzz:hover {
    animation: e-animation-buzz 0.4s ease-in-out;
}

/* ===================== 콘텐츠 섹션 ===================== */
.content-section {
    max-width: var(--ast-normal-container-width);
    margin: 0 auto;
    padding: 30px 20px;
}

.content-section h2 {
    color: var(--ast-global-color-2);
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--ast-global-color-2);
    padding-bottom: 10px;
    display: inline-block;
}

.content-section h2.section-title {
    border-bottom: none;
    display: block;
}

.content-section p {
    margin-bottom: 15px;
    line-height: 1.8;
}

.content-section p:last-child {
    margin-bottom: 0;
}

/* ===================== 아이콘 리스트 ===================== */
.icon-list-item {
    margin-bottom: 20px;
}

.icon-list-item .item-title {
    font-weight: 700;
    margin-bottom: 5px;
}

.icon-list-item .item-title img.emoji {
    width: 1em;
    height: 1em;
    margin-right: 5px;
    vertical-align: -0.1em;
}

.icon-list-item .item-desc {
    color: var(--ast-global-color-3);
}

/* ===================== 웹툰 추천 그리드 ===================== */
.webtoon-section {
    max-width: var(--ast-normal-container-width);
    margin: 0 auto;
    padding: 30px 20px;
}

.webtoon-section h2 {
    color: var(--ast-global-color-2);
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 30px;
}

.genre-group {
    margin-bottom: 40px;
}

.genre-label {
    background-color: var(--ast-global-color-5);
    padding: 10px 20px;
    font-weight: 700;
    margin-bottom: 20px;
    border-radius: 5px;
}

.webtoon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.webtoon-card {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.webtoon-card .card-image {
    flex-shrink: 0;
    width: 120px;
    height: auto;
    border-radius: 8px;
    overflow: hidden;
}

.webtoon-card .card-image img {
    width: 100%;
    height: auto;
    display: block;
}

.webtoon-card .card-content {
    flex: 1;
}

.webtoon-card .card-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--ast-global-color-2);
}

.webtoon-card .card-content p {
    font-size: 14px;
    color: var(--ast-global-color-3);
    line-height: 1.6;
}

/* ===================== 비교 테이블 ===================== */
.comparison-section {
    max-width: var(--ast-normal-container-width);
    margin: 0 auto;
    padding: 30px 20px;
}

.comparison-section h2 {
    color: var(--ast-global-color-2);
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 20px;
}

.comparison-section table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-section th,
.comparison-section td {
    padding: 15px;
    border: 1px solid var(--ast-global-color-7);
    text-align: left;
}

.comparison-section th {
    background-color: var(--ast-global-color-5);
    font-weight: 600;
}

.comparison-section td strong {
    color: var(--ast-global-color-2);
}

/* ===================== FAQ 섹션 ===================== */
.faq-section {
    max-width: var(--ast-normal-container-width);
    margin: 0 auto;
    padding: 30px 20px;
}

.faq-section h2 {
    color: var(--ast-global-color-2);
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 30px;
}

.faq-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--ast-global-color-7);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--ast-global-color-2);
    margin-bottom: 10px;
}

.faq-item p {
    color: var(--ast-global-color-3);
    line-height: 1.7;
}

/* ===================== 안전 가이드 섹션 ===================== */
.guide-section {
    max-width: var(--ast-normal-container-width);
    margin: 0 auto;
    padding: 30px 20px;
    text-align: center;
}

.guide-section h2 {
    color: var(--ast-global-color-2);
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 20px;
}

.guide-section p {
    margin-bottom: 25px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.guide-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--ast-global-color-0);
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    padding: 15px 40px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.guide-cta:hover {
    background-color: var(--ast-global-color-1);
    color: #ffffff;
}

.guide-cta svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* ===================== 푸터 ===================== */
.site-footer {
    background-color: var(--ast-global-color-4);
    border-top: 1px solid var(--ast-global-color-7);
    padding: 30px 20px;
    text-align: center;
}

.footer-content {
    max-width: var(--ast-normal-container-width);
    margin: 0 auto;
}

.footer-nav {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--ast-global-color-7);
}

.footer-nav a {
    color: var(--ast-global-color-3);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: var(--ast-global-color-0);
}

.footer-nav span {
    color: var(--ast-global-color-7);
    margin: 0 8px;
}

.footer-content p {
    font-size: 14px;
    color: var(--ast-global-color-3);
    margin-bottom: 10px;
    line-height: 1.6;
}

.footer-content p:first-child {
    font-size: 10pt;
}

/* ===================== 스크롤 투 탑 ===================== */
#ast-scroll-top {
    display: none;
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 40px;
    height: 40px;
    background-color: var(--ast-global-color-0);
    color: #ffffff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    z-index: 999;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

#ast-scroll-top.show {
    display: flex;
}

#ast-scroll-top svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transform: rotate(180deg);
}

#ast-scroll-top:hover {
    background-color: var(--ast-global-color-1);
}

/* ===================== 스페이서 ===================== */
.elementor-spacer {
    height: 30px;
}

/* ===================== 반응형 스타일 ===================== */
@media (max-width: 1024px) {
    .webtoon-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 921px) {
    html {
        font-size: 91.2%;
    }

    h1 { font-size: 30px; }
    h2 { font-size: 25px; }
    h3 { font-size: 20px; }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .header-wrap {
        padding: 0 15px;
    }

    .site-branding .custom-logo {
        max-width: 140px;
        width: 140px;
    }

    .webtoon-card {
        flex-direction: column;
    }

    .webtoon-card .card-image {
        width: 100%;
        max-width: 200px;
    }
}

@media (max-width: 768px) {
    .webtoon-grid {
        grid-template-columns: 1fr;
    }

    .comparison-section table {
        font-size: 14px;
    }

    .comparison-section th,
    .comparison-section td {
        padding: 10px;
    }
}

@media (max-width: 544px) {
    .hero-section h1 {
        font-size: 26px;
    }

    .hero-cta,
    .guide-cta {
        padding: 12px 24px;
        font-size: 14px;
    }

    .content-section,
    .webtoon-section,
    .comparison-section,
    .faq-section,
    .guide-section {
        padding: 20px 15px;
    }

    #ast-scroll-top {
        right: 15px;
        bottom: 15px;
    }
}

/* ===================== 모바일 메뉴 드로어 ===================== */
.mobile-menu-drawer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.mobile-menu-drawer.active {
    display: block;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background-color: #ffffff;
    padding: 20px;
    overflow-y: auto;
}

.mobile-menu-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-close-btn svg {
    width: 24px;
    height: 24px;
    fill: var(--ast-global-color-3);
}

.mobile-nav {
    margin-top: 50px;
}

.mobile-nav ul {
    list-style: none;
}

.mobile-nav .menu-link {
    display: block;
    padding: 15px 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--ast-global-color-3);
    border-bottom: 1px solid var(--ast-global-color-5);
}

/* ===================== 404 에러 페이지 ===================== */
.error-section {
    max-width: var(--ast-normal-container-width);
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
}

.error-content {
    margin-bottom: 50px;
}

.error-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.error-section h1 {
    font-size: 32px;
    color: var(--ast-global-color-2);
    margin-bottom: 15px;
}

.error-message {
    font-size: 16px;
    color: var(--ast-global-color-3);
    line-height: 1.8;
    margin-bottom: 30px;
}

.error-home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--ast-global-color-0);
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.error-home-btn:hover {
    background-color: var(--ast-global-color-1);
    color: #ffffff;
}

.error-home-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.error-links {
    background-color: var(--ast-global-color-5);
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    margin: 0 auto;
}

.error-links h2 {
    font-size: 18px;
    color: var(--ast-global-color-2);
    margin-bottom: 20px;
}

.error-links ul {
    list-style: none;
    text-align: left;
}

.error-links li {
    margin-bottom: 12px;
}

.error-links li:last-child {
    margin-bottom: 0;
}

.error-links a {
    display: block;
    padding: 12px 15px;
    background-color: #ffffff;
    border-radius: 5px;
    color: var(--ast-global-color-3);
    font-size: 15px;
    transition: all 0.2s ease;
}

.error-links a:hover {
    background-color: var(--ast-global-color-0);
    color: #ffffff;
}

@media (max-width: 544px) {
    .error-icon {
        font-size: 60px;
    }
    
    .error-section h1 {
        font-size: 24px;
    }
    
    .error-links {
        padding: 20px;
    }
}

/* ===================== 스킵 링크 ===================== */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--ast-global-color-0);
    color: white;
    padding: 8px;
    z-index: 10000;
}

.skip-link:focus {
    top: 0;
}

