@charset 'utf-8';

/* 메인 랜딩 — 상단 스크롤 연출 + 하단 쇼핑 영역.
   헤더/푸터/카드 등 공통 스타일은 common.css 에 있다. */

.scroll-section {
    background-color: black;
}

.sticky-element {
    z-index: 1;
    display: none;
    position: fixed;
    left: 0;
    top: var(--header-h);
}

.section0-message {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 34px;

    width: 100%;
    height: 60vh;

    font-size: 6rem;
    font-weight: bold;
    color: white;
}

.hero-cta {
    padding: 13px 28px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 999px;

    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    backdrop-filter: blur(4px);
}

.hero-cta:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.section1-message {
    justify-content: center;
    align-items: center;

    width: 100%;
    height: 40vh;

    font-size: 4rem;
    font-weight: bold;
    color: white;
}

.section1-canvas canvas {
    width: 100vw;
    height: auto;
}

/* 스크롤 위치에 해당하는 섹션의 고정 요소만 보인다.
   연출이 끝나면 body id 가 show-shop 이 되어 모두 숨는다. */
#show-section-0 #scroll-section-0 .sticky-element,
#show-section-1 #scroll-section-1 .sticky-element {
    display: flex;
}

/* ===================== 하단 쇼핑 영역 ===================== */
.shop-landing {
    position: relative;
    z-index: 2;
    background: var(--bg);
}

.landing-block {
    padding: 72px 0;
}

.landing-block-alt {
    background: #101010;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.landing-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
}

.landing-title {
    font-size: 1.85rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.landing-sub {
    color: var(--text-dim);
}

.landing-more-link {
    color: var(--text-dim);
    font-size: 0.92rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.landing-more-link:hover {
    color: var(--accent);
}

/* 카테고리 바로가기 */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
}

.cat-chip {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 22px 12px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--surface);

    font-size: 1rem;
    font-weight: 600;
    text-align: center;
}

.cat-chip:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* 랜딩의 공연 영역 — 4개를 한 줄에 모아 보여준다.
   목록 페이지(auto-fill)와 달리 개수가 4개로 고정이라 빈 칸이 생기지 않게 열 수를 못박는다. */
.perf-grid-landing {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

/* 세로로 길어지지 않도록 포스터 비율을 조금 낮춘다 */
.perf-grid-landing .perf-poster {
    aspect-ratio: 4 / 5;
}

.perf-grid-landing .perf-body {
    gap: 4px;
    padding: 13px 14px 16px;
}

.perf-grid-landing .perf-title {
    font-size: 0.95rem;
}

.perf-grid-landing .perf-price {
    margin-top: 4px;
    font-size: 1rem;
}

/* 이용 안내 */
.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.benefit-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 26px 24px;
}

.benefit-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.benefit-card p {
    color: var(--text-dim);
    line-height: 1.8;
    font-size: 0.92rem;
}

.benefit-link {
    display: inline-block;
    margin-top: 14px;
    font-size: 0.9rem;
    color: var(--accent);
}

@media (max-width: 1024px) {
    .perf-grid-landing {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .perf-grid-landing {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .section0-message {
        font-size: 3.4rem;
    }

    .section1-message {
        font-size: 2.2rem;
    }

    .landing-block {
        padding: 50px 0;
    }

    .landing-title {
        font-size: 1.45rem;
    }

    .landing-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}
