:root {
    --bg: #0e0f14;            
    --surface: #16181f;      
    --line: rgba(255, 255, 255, 0.08);
    --text: #e8e9ee;
    --text-dim: #b9bac2;
    --gold: #d4af37;          /* 사이트별 포인트 색 (index.php 에서 덮어씀) */
    --red: #e0394b;           /* 사이트별 보조 색 */
}
/* 아래 색들은 위 변수에서 자동 계산 → 사이트마다 색 4개만 바꾸면 전체가 따라옴 */
:root {
    --surface-2: color-mix(in srgb, var(--surface) 88%, #ffffff);
    --header-top: color-mix(in srgb, var(--surface) 80%, #ffffff);
    --footer-bg: color-mix(in srgb, var(--surface) 75%, #000000);
    --gold-soft: color-mix(in srgb, var(--gold) 18%, transparent);
}

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

a {
    text-decoration: none;
    color: var(--text);
}

body {
    font-family: 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
    color: var(--text);
    line-height: 1.5;
    background:
        radial-gradient(circle at 15% 0%, color-mix(in srgb, var(--gold) 12%, transparent), transparent 40%),
        radial-gradient(circle at 85% 100%, color-mix(in srgb, var(--red) 10%, transparent), transparent 45%),
        var(--bg);
    background-attachment: fixed;
}

.landing-wrapper {
    max-width: 480px;
    margin: 0 auto;
    min-height: 100vh;
    background-color: var(--surface);
    border-left: 1px solid var(--line);
    border-right: 1px solid var(--line);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
}

.landing-header {
    position: relative;
    padding: 16px 12px 22px;
    text-align: center;
    color: #fff;
    background:
        radial-gradient(ellipse at top, color-mix(in srgb, var(--gold) 25%, transparent), transparent 70%),
        linear-gradient(180deg, var(--header-top) 0%, var(--surface) 100%);
    border-bottom: 1px solid var(--gold-soft);
}

.landing-header::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -1px;
    width: 120px;
    height: 2px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.landing-header .banner-list {
    margin-bottom: 14px;
}

.landing-header h1 {
    font-size: 1.4rem;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.landing-header p {
    font-size: 0.9rem;
    color: var(--text-dim);
}

.landing-content {
    padding: 20px 16px;
}

.landing-content h2 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    margin: 6px 0 12px;
    color: var(--text);
}

.landing-content h2::before {
    content: '';
    width: 4px;
    height: 16px;
    border-radius: 2px;
    background: var(--gold);
}

.landing-content h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    margin: 6px 0 22px;
    color: var(--text);
}

.landing-content h3::before {
    content: '';
    width: 4px;
    height: 16px;
    border-radius: 2px;
    background: var(--gold);
}

.banner-container {
    display: flex;
    gap: 10px;
    margin-bottom: 22px;
    padding: 10px;
    /* background-color: var(--surface-2);
    border: 1px solid var(--line); */
    border-radius: 12px;
}

.banner-container > * {
    flex: 1;         
    min-width: 0;
}

.banner-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.banner-item {
    display: block;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.banner-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--gold-soft);
}

.banner-item:active {
    transform: scale(0.98);
}

.banner-item img {
    width: 100%;
    height: auto;
    display: block;
}

.banner-item.is-disabled {
    opacity: 0.45;
    filter: grayscale(0.6);
    cursor: not-allowed;
    pointer-events: none;
}
.social-content {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: var(--text);
}

.social-icon {
    display: block;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--line);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.social-item:hover .social-icon {
    transform: translateY(-2px);
    border-color: var(--gold);
}

.social-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.social-label {
    font-size: 0.8rem;
}

.landing-footer {
    text-align: center;
    padding: 20px;
    font-size: 0.75rem;
    color: var(--text-dim);
    background-color: var(--footer-bg);
    border-top: 1px solid var(--line);
}



/* =========================================================
 * SEO 개편으로 추가된 부분
 * ========================================================= */

/* 섹션 간 간격 */
.landing-content section + section {
    margin-top: 6px;
}

/* "전체 방송 일정 보기 →" 링크 */
.section-more {
    margin: -12px 0 22px;
    text-align: right;
    font-size: 0.85rem;
}

.section-more a {
    color: var(--gold);
    padding: 4px 2px;
    transition: opacity 0.2s ease;
}

.section-more a:hover {
    opacity: 0.75;
}

/* 소개글 박스 */
.intro {
    margin-bottom: 22px;
    padding: 16px;
    background-color: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 12px;
}

.intro h2 {
    margin-top: 0;
}

.intro p {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.7;
    word-break: keep-all;     /* 한글 단어 중간에서 줄바꿈 안 되게 */
}

.intro p + p {
    margin-top: 8px;
}

/* FAQ (details/summary 접기·펼치기) */
.faq {
    margin-bottom: 22px;
}

.faq details {
    background-color: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.faq details + details {
    margin-top: 8px;
}

.faq details[open] {
    border-color: var(--gold-soft);
}

.faq summary {
    position: relative;
    padding: 14px 40px 14px 14px;
    font-size: 0.92rem;
    cursor: pointer;
    list-style: none;          /* 기본 ▶ 화살표 숨김 */
    word-break: keep-all;
}

.faq summary::-webkit-details-marker {
    display: none;             /* 사파리용 화살표 숨김 */
}

/* 오른쪽 + 아이콘 → 열리면 × 로 회전 */
.faq summary::after {
    content: '+';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: var(--gold);
    transition: transform 0.2s ease;
}

.faq details[open] summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq details p {
    padding: 0 14px 14px;
    font-size: 0.88rem;
    color: var(--text-dim);
    line-height: 1.7;
    word-break: keep-all;
}

/* 키보드(Tab)로 이동할 때 포커스 표시 — 접근성 */
a:focus-visible,
summary:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
    border-radius: 6px;
}

/* 푸터 p 기본 여백 정리 */
.landing-footer p {
    margin: 0;
}
/* 생방송 화면 (기존 iframe 인라인 스타일을 여기로 이동) */
.video-container {
    position: relative;
    width: 100%;
    max-width: 960px;
    margin: 0 auto 20px;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}
