/* 밤포탈 랜딩 페이지 - SEO 최적화 스타일시트 */

/* CSS 변수 정의 */
:root {
    --primary-red: #ff0040;
    --primary-red-glow: #ff0040;
    --secondary-red: #cc0033;
    --accent-red: #ff1a4d;
    --neon-red: #ff0066;
    
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-tertiary: #111111;
    --bg-glass: rgba(15, 15, 15, 0.8);
    --bg-glass-light: rgba(25, 25, 25, 0.6);
    
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-tertiary: #a0a0a0;
    --text-dim: #666666;
    
    --border-glow: rgba(255, 0, 64, 0.3);
    --shadow-red: 0 0 40px rgba(255, 0, 64, 0.4);
    --shadow-dark: 0 20px 40px rgba(0, 0, 0, 0.8);
    --shadow-glass: 0 8px 32px rgba(0, 0, 0, 0.3);
    
    --gradient-primary: linear-gradient(135deg, #ff0040 0%, #cc0033 50%, #ff1a4d 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    --gradient-hero: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0.9) 100%);
    
    --blur-glass: 20px;
    --radius-modern: 16px;
    --radius-xl: 24px;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* 리셋 및 기본 스타일 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* 동적 배경 효과 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 0, 64, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 26, 77, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(204, 0, 51, 0.05) 0%, transparent 50%);
    z-index: -2;
    animation: backgroundPulse 8s ease-in-out infinite alternate;
}

@keyframes backgroundPulse {
    0% { opacity: 1; transform: scale(1); }
    100% { opacity: 0.8; transform: scale(1.05); }
}

/* 스킵 링크 (접근성) */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-red);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

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

/* 컨테이너 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 헤더 스타일 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(var(--blur-glass));
    border-bottom: 1px solid rgba(255, 0, 64, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* 로고 스타일 */
.logo h1 {
    font-size: 2.5rem;
    font-weight: 900;
}

.logo a {
    text-decoration: none;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px var(--primary-red-glow);
    transition: var(--transition-smooth);
}

.logo a:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px var(--primary-red-glow));
}

/* 네비게이션 */
.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition-smooth);
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition-smooth);
}

.main-nav a:hover {
    color: var(--text-primary);
}

.main-nav a:hover::after {
    width: 100%;
}

/* 히어로 섹션 */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 120px 0 60px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-hero);
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px var(--primary-red-glow));
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-tertiary);
    margin-bottom: 3rem;
    line-height: 1.8;
}

/* 버튼 스타일 */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 16px 32px;
    border-radius: var(--radius-modern);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(255, 0, 64, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-red);
}

.btn-secondary {
    background: var(--bg-glass);
    backdrop-filter: blur(var(--blur-glass));
    color: var(--text-secondary);
    border: 1px solid rgba(255, 0, 64, 0.3);
}

.btn-secondary:hover {
    border-color: var(--primary-red);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.btn-channel {
    background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
    color: white;
    border: 1px solid rgba(0, 136, 204, 0.5);
    box-shadow: 0 4px 20px rgba(0, 136, 204, 0.3);
}

.btn-channel:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 136, 204, 0.5);
    border-color: #00aaff;
}

.btn-large {
    padding: 20px 40px;
    font-size: 1.1rem;
}

/* ===== 미래적인 버튼 컨테이너 ===== */
.hero-buttons-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.hero-buttons-main {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* 버튼 광택 효과 */
.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-glow:hover .btn-shine {
    left: 100%;
}

.btn-icon {
    display: inline-flex;
    align-items: center;
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

.btn-text {
    font-weight: 600;
}

/* ===== 미래적인 채널 배지 섹션 ===== */
.hero-channel-section {
    width: 100%;
    max-width: 600px;
    display: flex;
    justify-content: center;
}

.channel-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, rgba(0, 136, 204, 0.15) 0%, rgba(0, 102, 153, 0.1) 100%);
    backdrop-filter: blur(20px);
    border: 2px solid transparent;
    border-radius: 16px;
    padding: 1rem 1.5rem;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow:
        0 4px 20px rgba(0, 136, 204, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    background-clip: padding-box;
}

.channel-badge::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(0, 136, 204, 0.6), rgba(0, 170, 255, 0.4));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.8;
    transition: opacity 0.4s;
    pointer-events: none;
}

.channel-badge:hover {
    transform: translateY(-2px);
    box-shadow:
        0 8px 30px rgba(0, 136, 204, 0.4),
        0 0 40px rgba(0, 170, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.channel-badge:hover::before {
    opacity: 1;
}

/* 채널 링크 */
.channel-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--text-primary);
    transition: transform 0.3s ease;
    flex: 1;
    cursor: pointer;
}

.channel-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0088cc 0%, #00aaff 100%);
    border-radius: 12px;
    font-size: 1.5rem;
    color: white;
    box-shadow:
        0 4px 15px rgba(0, 136, 204, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.channel-badge:hover .channel-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow:
        0 6px 20px rgba(0, 136, 204, 0.6),
        0 0 30px rgba(0, 170, 255, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.channel-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.channel-label {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.channel-desc {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

/* ===== 미래적인 툴팁 트리거 ===== */
.channel-tooltip-trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(0, 170, 255, 0.3);
    border-radius: 50%;
    color: #00aaff;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    flex-shrink: 0;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(0, 170, 255, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 170, 255, 0.6);
    }
}

.channel-tooltip-trigger:hover {
    background: rgba(0, 170, 255, 0.15);
    border-color: rgba(0, 170, 255, 0.6);
    transform: scale(1.15);
    box-shadow: 0 0 25px rgba(0, 170, 255, 0.8);
    animation: none;
}

.channel-tooltip-trigger:active {
    transform: scale(1.05);
}

/* ===== 미래적인 툴팁 팝업 ===== */
.channel-tooltip-popup {
    position: absolute;
    bottom: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%) translateY(10px) scale(0.9);
    width: 320px;
    background: linear-gradient(135deg, rgba(10, 10, 15, 0.98) 0%, rgba(5, 5, 10, 0.98) 100%);
    backdrop-filter: blur(30px);
    border: 2px solid rgba(0, 170, 255, 0.4);
    border-radius: 20px;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 1000;
    pointer-events: none;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(0, 170, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.channel-tooltip-trigger:hover .channel-tooltip-popup,
.channel-tooltip-trigger.active .channel-tooltip-popup {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
    pointer-events: auto;
}

.tooltip-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.tooltip-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 136, 204, 0.3), rgba(0, 170, 255, 0.2));
    border: 2px solid rgba(0, 170, 255, 0.5);
    border-radius: 50%;
    color: #00ccff;
    font-size: 1.5rem;
    box-shadow:
        0 4px 15px rgba(0, 170, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.tooltip-content p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    text-align: center;
    font-weight: 500;
}

.tooltip-arrow {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 12px solid rgba(0, 170, 255, 0.4);
}

.tooltip-arrow::before {
    content: '';
    position: absolute;
    top: -14px;
    left: -10px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid rgba(10, 10, 15, 0.98);
}

/* 통계 섹션 */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

/* 섹션 공통 스타일 */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    color: var(--text-tertiary);
    font-size: 1.2rem;
    margin-bottom: 3rem;
}

/* 특징 섹션 */
.features-section {
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--bg-glass);
    backdrop-filter: blur(var(--blur-glass));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-modern);
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition-smooth);
    opacity: 0;
    transform: translateY(20px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-red);
    box-shadow: var(--shadow-red);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-size: 2rem;
    color: white;
    box-shadow: 0 0 30px rgba(255, 0, 64, 0.5);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-tertiary);
    line-height: 1.8;
}

/* 카테고리 섹션 */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.category-item {
    background: var(--bg-glass);
    backdrop-filter: blur(var(--blur-glass));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-modern);
    padding: 2rem;
    text-align: center;
    transition: var(--transition-smooth);
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
}

.category-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.category-item:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: var(--primary-red);
    background: rgba(255, 0, 64, 0.1);
}

.category-icon {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.category-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.category-item p {
    color: var(--text-tertiary);
    font-size: 0.9rem;
}

/* 접속 섹션 */
.access-section {
    background: var(--bg-secondary);
}

.access-card {
    background: var(--bg-glass);
    backdrop-filter: blur(var(--blur-glass));
    border: 1px solid rgba(255, 0, 64, 0.2);
    border-radius: var(--radius-xl);
    padding: 3rem;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: var(--shadow-glass);
}

.access-card h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    text-align: center;
}

.url-list {
    margin-bottom: 2rem;
}

.url-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-tertiary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-modern);
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
}

.url-item.active {
    border-color: var(--primary-red);
    box-shadow: 0 0 20px rgba(255, 0, 64, 0.2);
}

.url-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #00ff80;
    font-weight: 600;
}

.url-link {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
}

.copy-btn {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
}

.copy-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 0, 64, 0.3);
}

.access-info {
    background: var(--bg-tertiary);
    border-radius: var(--radius-modern);
    padding: 2rem;
    margin-bottom: 2rem;
}

.access-info h4 {
    margin-bottom: 1rem;
    color: var(--primary-red);
}

.access-info ul {
    list-style: none;
}

.access-info li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.access-info li i {
    color: #00ff80;
}

.access-buttons {
    text-align: center;
}

/* FAQ 섹션 */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-glass);
    backdrop-filter: blur(var(--blur-glass));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-modern);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition-smooth);
    opacity: 0;
    transform: translateY(20px);
}

.faq-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.faq-item summary {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    list-style: none;
    position: relative;
    padding-right: 3rem;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--primary-red);
    transition: var(--transition-smooth);
}

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

.faq-item p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-tertiary);
    line-height: 1.8;
}

.faq-item:hover {
    border-color: var(--primary-red);
}

/* 푸터 */
.footer {
    background: var(--bg-tertiary);
    border-top: 1px solid rgba(255, 0, 64, 0.2);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 2rem;
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: var(--text-tertiary);
}

.footer h4 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer ul {
    list-style: none;
}

.footer li {
    margin-bottom: 0.5rem;
}

.footer a {
    color: var(--text-tertiary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.footer a:hover {
    color: var(--primary-red);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.social-links a:hover {
    background: var(--gradient-primary);
    border-color: var(--primary-red);
    color: white;
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-dim);
}

/* 반응형 디자인 */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .header-content {
        height: 60px;
    }
    
    .logo h1 {
        font-size: 2rem;
    }
    
    .main-nav {
        display: none;
    }
    
    .hero-section {
        padding: 100px 0 40px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons-container {
        gap: 1.5rem;
    }

    .hero-buttons-main {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        width: 100%;
        max-width: 320px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-channel-section {
        max-width: 100%;
        padding: 0 1rem;
    }

    .channel-badge {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1.25rem;
        text-align: center;
    }

    .channel-link {
        flex-direction: column;
        gap: 0.75rem;
    }

    .channel-icon {
        width: 56px;
        height: 56px;
        font-size: 1.75rem;
    }

    .channel-text {
        align-items: center;
    }

    .channel-label {
        font-size: 0.95rem;
    }

    .channel-desc {
        font-size: 0.8rem;
    }

    .channel-tooltip-popup {
        width: 280px;
        left: 50%;
        right: auto;
        transform: translateX(-50%) translateY(10px) scale(0.9);
    }

    .channel-tooltip-trigger:hover .channel-tooltip-popup,
    .channel-tooltip-trigger.active .channel-tooltip-popup {
        transform: translateX(-50%) translateY(0) scale(1);
    }

    .tooltip-content {
        padding: 1.25rem;
    }

    .tooltip-content p {
        font-size: 0.9rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .category-item {
        padding: 1.5rem;
    }
    
    .access-card {
        padding: 2rem 1.5rem;
    }
    
    .url-item {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .feature-card {
        padding: 2rem 1.5rem;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

/* 애니메이션 최적화 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 프린트 스타일 */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .header,
    .hero-bg,
    body::before,
    body::after {
        display: none;
    }
}
