:root {
    --ott-purple: #8b5cf6;
    --ott-purple-dark: #6d28d9;
    --ott-pink: #ec4899;
    --ott-bg: #0c0817;
    --ott-card: #151024;
    --ott-card-hover: #1f1836;
    --ott-text: #f8fafc;
    --ott-muted: #94a3b8;
    --ott-border: #2e234d;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Segoe UI", sans-serif; background: var(--ott-bg); color: var(--ott-text); line-height: 1.6; }
a { text-decoration: none; color: inherit; }

/* Header */
.ott-header { background: rgba(12, 8, 23, 0.95); backdrop-filter: blur(10px); border-bottom: 1px solid var(--ott-border); position: sticky; top: 0; z-index: 100; }
.ott-nav-wrap { max-width: 1240px; margin: 0 auto; padding: 14px 20px; display: flex; justify-content: space-between; align-items: center; }
.ott-brand { display: flex; align-items: center; gap: 8px; font-weight: 900; font-size: 1.2rem; color: #fff; }
.ott-play-btn { background: var(--ott-purple); color: #fff; width: 26px; height: 26px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; box-shadow: 0 0 10px rgba(139, 92, 246, 0.5); }
.ott-live-tag { background: #ef4444; color: #fff; font-size: 0.68rem; font-weight: 900; padding: 2px 6px; border-radius: 4px; animation: pulse 2s infinite; }
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.6; } 100% { opacity: 1; } }
.ott-nav-menu { display: flex; gap: 20px; }
.ott-nav-menu a { font-size: 0.92rem; font-weight: 700; color: var(--ott-muted); transition: color 0.2s; }
.ott-nav-menu a:hover { color: var(--ott-purple); }

/* Hero Banner */
.ott-hero-section { background: radial-gradient(circle at 50% 0%, #2e1065 0%, #0c0817 75%); padding: 50px 20px; text-align: center; border-bottom: 1px solid var(--ott-border); }
.ott-hero-box { max-width: 860px; margin: 0 auto; }
.ott-pill-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(139, 92, 246, 0.2); border: 1px solid rgba(139, 92, 246, 0.4); color: #c4b5fd; font-size: 0.75rem; font-weight: 800; padding: 4px 14px; border-radius: 20px; margin-bottom: 16px; }
.ott-hero-title { font-size: 2.1rem; font-weight: 900; line-height: 1.3; margin-bottom: 14px; color: #fff; letter-spacing: -0.5px; }
.ott-hero-desc { font-size: 0.98rem; color: #cbd5e1; margin-bottom: 25px; line-height: 1.6; }
.ott-stat-ribbon { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; font-size: 0.85rem; color: #c4b5fd; }

/* Page Layout */
.ott-main-zone { max-width: 1240px; margin: 38px auto; padding: 0 20px; }
.ott-sec-title { font-size: 1.35rem; font-weight: 900; color: #fff; margin-bottom: 4px; }
.ott-sec-desc { font-size: 0.88rem; color: var(--ott-muted); margin-bottom: 24px; }

/* 3열 OTT 스트리밍 타일 그리드 */
.ott-stream-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 50px; }
.ott-tile-card { background: var(--ott-card); border: 1px solid var(--ott-border); border-radius: 12px; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; position: relative; transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s; }
.ott-tile-card:hover { transform: translateY(-3px); border-color: var(--ott-purple); background: var(--ott-card-hover); box-shadow: 0 8px 24px rgba(139, 92, 246, 0.15); }
.tile-head-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.tile-rank-badge { font-size: 1.25rem; font-weight: 900; color: var(--ott-purple); }
.tile-rating-pill { font-size: 0.75rem; font-weight: 800; color: #f59e0b; background: rgba(245, 158, 11, 0.15); padding: 3px 8px; border-radius: 12px; }
.tile-logo-box { width: 100%; height: 56px; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 8px; margin-bottom: 14px; padding: 6px; }
.tile-logo-box img { max-width: 100%; max-height: 100%; object-fit: contain; }
.tile-info-box { flex: 1; }
.tile-platform-name { font-size: 1.15rem; font-weight: 900; color: #fff; margin-bottom: 6px; }
.tile-desc { font-size: 0.82rem; color: var(--ott-muted); margin-bottom: 14px; line-height: 1.5; min-height: 40px; }
.tile-benefit-banner { background: rgba(236, 72, 153, 0.1); border: 1px solid rgba(236, 72, 153, 0.25); border-radius: 6px; padding: 8px 12px; text-align: center; margin-bottom: 14px; }
.benefit-txt { font-size: 0.95rem; font-weight: 900; color: var(--ott-pink); }
.tile-tags-wrap { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 18px; }
.tile-tag { background: rgba(255, 255, 255, 0.06); color: #cbd5e1; font-size: 0.72rem; padding: 2px 7px; border-radius: 4px; font-weight: 600; }
.btn-stream-action { display: block; text-align: center; background: linear-gradient(135deg, var(--ott-purple) 0%, var(--ott-purple-dark) 100%); color: #fff; font-size: 0.88rem; font-weight: 800; padding: 11px; border-radius: 8px; transition: opacity 0.2s; }
.btn-stream-action:hover { opacity: 0.9; }

/* SEO Whitepaper */
.ott-paper-section { background: var(--ott-card); border: 1px solid var(--ott-border); border-radius: 14px; padding: 34px; margin-bottom: 50px; }
.ott-paper-section h2 { font-size: 1.25rem; font-weight: 900; color: #fff; margin-bottom: 12px; }
.ott-paper-section h3 { font-size: 1.05rem; font-weight: 800; color: #c4b5fd; margin: 22px 0 8px 0; }
.ott-paper-section p { font-size: 0.9rem; color: #cbd5e1; line-height: 1.75; margin-bottom: 10px; }
.ott-paper-section ul { padding-left: 20px; margin-bottom: 12px; }
.ott-paper-section li { font-size: 0.88rem; color: #cbd5e1; line-height: 1.7; margin-bottom: 6px; }

/* Editorial Articles */
.ott-feed-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 40px; }
.ott-feed-item { background: var(--ott-card); border: 1px solid var(--ott-border); border-radius: 10px; padding: 20px; display: flex; flex-direction: column; justify-content: space-between; transition: border-color 0.2s, transform 0.2s; }
.ott-feed-item:hover { border-color: var(--ott-purple); transform: translateY(-2px); }
.feed-title { font-size: 0.98rem; font-weight: 800; color: #fff; margin-bottom: 8px; line-height: 1.45; }
.feed-summary { font-size: 0.84rem; color: var(--ott-muted); line-height: 1.55; margin-bottom: 14px; }
.feed-meta-row { display: flex; justify-content: space-between; font-size: 0.76rem; color: #64748b; border-top: 1px solid rgba(255, 255, 255, 0.05); padding-top: 10px; }

/* Legal Footer */
.ott-legal-footer { background: #07040d; color: #94a3b8; padding: 48px 20px 35px 20px; font-size: 0.84rem; border-top: 1px solid var(--ott-border); }
.footer-inner-box { max-width: 1240px; margin: 0 auto; }
.footer-brand-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; flex-wrap: wrap; gap: 14px; }
.footer-title-group { display: flex; align-items: center; gap: 8px; }
.footer-symbol { background: var(--ott-purple); color: #fff; width: 26px; height: 26px; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 0.85rem; }
.footer-name { font-size: 1.2rem; font-weight: 900; color: #fff; }
.footer-nav-links a { color: #94a3b8; margin-left: 16px; font-size: 0.86rem; font-weight: 600; }
.footer-nav-links a:hover { color: #fff; }
.footer-corp-meta { color: #94a3b8; line-height: 1.7; margin-bottom: 18px; font-size: 0.82rem; }
.footer-corp-meta strong { color: #e2e8f0; }
.footer-legal-notice-box { background: rgba(255, 255, 255, 0.03); border-top: 1px solid rgba(255, 255, 255, 0.08); border-bottom: 1px solid rgba(255, 255, 255, 0.08); padding: 14px 0; margin-bottom: 18px; }
.notice-txt { color: #cbd5e1; line-height: 1.6; font-size: 0.8rem; }
.warn-mark { color: #f59e0b; margin-right: 4px; }
.footer-cr { font-size: 0.78rem; color: #64748b; }

/* 반응형 모바일 환경 (태블릿 해상도 포함) */
@media (max-width: 990px) {
    .ott-stream-grid { grid-template-columns: repeat(2, 1fr); }
    .ott-feed-grid { grid-template-columns: 1fr; }
}

/* 스마트폰 뷰 - 이 영역을 수정하여 모바일 스크롤 압축 적용 */
@media (max-width: 640px) {
    .ott-stream-grid { grid-template-columns: 1fr; }
    .ott-nav-menu { display: none; }
    
    /* 상단 배너 여백 및 폰트 대폭 축소 (순위표가 화면 안에 들어오도록) */
    .ott-hero-section { padding: 25px 15px; }
    .ott-pill-badge { margin-bottom: 12px; font-size: 0.65rem; padding: 3px 10px; }
    .ott-hero-title { font-size: 1.4rem; margin-bottom: 10px; line-height: 1.35; }
    
    /* 긴 설명글은 모바일에서 2줄만 보여주고 ... 으로 생략 처리 */
    .ott-hero-desc { 
        font-size: 0.85rem; 
        margin-bottom: 15px; 
        line-height: 1.4; 
        display: -webkit-box; 
        -webkit-line-clamp: 2; 
        -webkit-box-orient: vertical; 
        overflow: hidden; 
    }
    
    /* 체크리스트 세로 정렬 및 간격 축소 */
    .ott-stat-ribbon { gap: 10px; font-size: 0.75rem; }
    
    /* 랭킹 컨테이너와 상단 여백 축소 */
    .ott-main-zone { margin: 20px auto; }
    .ott-sec-title { font-size: 1.15rem; margin-bottom: 6px; }
    .ott-sec-desc { font-size: 0.8rem; margin-bottom: 16px; }
}