/* 기본 설정 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* SEO를 위한 숨김 텍스트 */
.seo-content {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

body {
    font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif;
    background: #000;
    overflow-x: hidden;
}

/* 디자인 토큰: 글래스모피즘 시스템 */
:root {
    /* 색상 */
    --color-bg: #000000;
    --color-text: rgba(255, 255, 255, 0.95);
    --color-text-dim: rgba(255, 255, 255, 0.7);
    --color-text-muted: rgba(255, 255, 255, 0.5);

    /* 포인트 컬러 (아이스 블루) */
    --brand-ice-1: rgba(98, 187, 255, 0.35);
    --brand-ice-2: rgba(69, 161, 253, 0.25);
    --brand-ice-soft-2: rgba(98, 187, 255, 0.08);

    /* 글래스 레이어 */
    --glass-bg-strong: linear-gradient(135deg, rgba(98, 187, 255, 0.25) 0%, rgba(69, 161, 253, 0.15) 100%);
    --glass-bg-hover: linear-gradient(135deg, var(--brand-ice-1) 0%, var(--brand-ice-2) 100%);
    --glass-surface: rgba(255, 255, 255, 0.08);
    --glass-surface-soft: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-border-soft: rgba(255, 255, 255, 0.05);
    --glass-highlight: rgba(255, 255, 255, 0.3);
    --glass-shadow-strong: 0 16px 40px rgba(98, 187, 255, 0.3), 0 8px 32px rgba(0, 0, 0, 0.4);
    --glass-shadow-hover: 0 24px 60px rgba(98, 187, 255, 0.4), 0 16px 40px rgba(0, 0, 0, 0.5);
    --glass-shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.3);

    /* 블러 */
    --blur-xl: blur(20px);
    --blur-lg: blur(10px);

    /* 라운딩 */
    --radius-xl: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;

    /* 타이포 */
    --font-size-sm: 14px;
    --font-size-xs: 13px;
    --font-size-cta: 18px;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
}

/* (pruned) unused u-glass utilities removed */

/* Legal pages (이용약관/개인정보처리방침) 공통 스타일 */
.legal-page {
    font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', 'Apple Color Emoji', 'Segoe UI Emoji', sans-serif;
    line-height: 1.7;
    color: var(--color-text);
    background: #0b0b0b;
    padding: 20px;
}

.legal-page .container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-page h1 {
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
    color: var(--color-text);
}

.legal-page h2 {
    font-size: 20px;
    margin: 30px 0 15px 0;
    color: var(--color-text);
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 8px;
}

.legal-page h3 {
    font-size: 16px;
    margin: 20px 0 10px 0;
    color: var(--color-text-dim);
}

.legal-page p {
    margin-bottom: 15px;
    color: var(--color-text-dim);
}

.legal-page ul,
.legal-page ol {
    margin: 15px 0;
    padding-left: 20px;
}

.legal-page li {
    margin-bottom: 8px;
}

.legal-page table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.legal-page th,
.legal-page td {
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 10px;
    text-align: left;
}

.legal-page th {
    background: rgba(255, 255, 255, 0.06);
    font-weight: var(--font-weight-semibold);
}

.legal-page .effective-date {
    text-align: right;
    font-style: italic;
    color: var(--color-text-muted);
    margin-bottom: 20px;
}

.legal-page .contact-info {
    background: var(--glass-surface);
    padding: 20px;
    border-radius: var(--radius-md);
    margin: 20px 0;
    border: 1px solid var(--glass-border);
}

@media (max-width: 768px) {
    .legal-page {
        padding: 15px;
    }
    .legal-page h1 { font-size: 24px; }
    .legal-page h2 { font-size: 18px; }
}

/* 레이아웃 */
.container {
    max-width: 550px;
    margin: 0 auto;
    padding: 0;
}

.main-image {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 80px;
}

/* 툴팁 */
.tooltip-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-bottom: 0;
}

.tooltip-box {
    background: #45A1FD;
    border-radius: var(--radius-sm);
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tooltip-text {
    font-family: 'Pretendard Variable', Pretendard, -apple-system, sans-serif;
    font-size: 14px;
    font-weight: var(--font-weight-medium);
    line-height: 18px;
    letter-spacing: -0.2px;
    color: white;
    margin: 0;
    white-space: nowrap;
}

.tooltip-arrow {
    width: 12px;
    height: 6px;
    position: relative;
}

.tooltip-arrow img {
    display: block;
    width: 100%;
    height: 100%;
}

/* CTA 섹션 */
.cta-section {
    position: fixed;
    bottom: 40px;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* CTA 버튼 - 글래스모피즘 */
.cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    max-width: 352px;
    height: 64px;
    padding: 20px 32px;
    border-radius: var(--radius-xl);
    text-decoration: none;
    color: var(--color-text);
    font-size: var(--font-size-cta);
    font-weight: var(--font-weight-semibold);
    position: relative;
    overflow: hidden;

    /* Glassmorphism 효과 */
    background: var(--glass-bg-strong);
    backdrop-filter: var(--blur-xl);
    -webkit-backdrop-filter: var(--blur-xl);

    /* 그림자와 테두리 */
    box-shadow: var(--glass-shadow-strong), inset 0 1px 0 var(--glass-highlight), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid var(--glass-border);

    /* 애니메이션 */
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
}

.cta-text {
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.cta-arrow {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: var(--blur-lg);
    -webkit-backdrop-filter: var(--blur-lg);
    transition: all 0.3s ease;
}

/* 반짝이는 효과 */
.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent);
    transition: left 0.8s ease;
    z-index: 1;
}

/* 호버 효과 */
.cta-button:hover {
    transform: translateY(-3px) scale(1.02);
    background: var(--glass-bg-hover);
    box-shadow: var(--glass-shadow-hover), inset 0 1px 0 var(--glass-highlight), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover .cta-arrow {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(4px);
}

/* 클릭 효과 */
.cta-button:active {
    transform: translateY(-1px) scale(0.98);
    transition: all 0.1s ease;
}

/* 푸터 영역 */
.footer {
    background: var(--color-bg);
    color: var(--color-text);
    padding: 60px 0 180px;
    margin-top: 120px;
    position: relative;
}

/* 푸터 장식 라인 그라데이션 */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--glass-border), 
        transparent);
}

.footer-content {
    max-width: 550px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
}

.footer-left {
    flex: 1;
}

.footer-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.footer-title {
    font-size: 24px;
    font-weight: var(--font-weight-semibold);
    margin: 0;
    padding-top: 12px;
    color: var(--color-text);
    opacity: 0.9;
    text-align: left;
    line-height: 1.2;
}

.footer-info {
    text-align: left;
}

.footer-info p {
    font-size: var(--font-size-sm);
    color: var(--color-text-dim);
    margin-bottom: 8px;
    line-height: 1.6;
}

/* SNS 버튼 */
.footer-sns {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}

.sns-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    
    /* 글래스모피즘 효과 */
    background: var(--glass-surface);
    backdrop-filter: var(--blur-lg);
    -webkit-backdrop-filter: var(--blur-lg);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: var(--glass-shadow-soft);
}

.kakao-button {
    color: #fff;
}

.kakao-button:hover {
    background: rgba(254, 229, 0, 0.15);
    border-color: rgba(254, 229, 0, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(254, 229, 0, 0.2);
}

.instagram-button {
    color: #fff;
}

.instagram-button:hover {
    background: linear-gradient(135deg, rgba(225, 48, 108, 0.2), rgba(193, 53, 132, 0.15));
    border-color: rgba(225, 48, 108, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(225, 48, 108, 0.25);
}

.sns-icon {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.sns-button span {
    position: relative;
    z-index: 2;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .footer {
        padding: 40px 0 160px;
        margin-top: 80px;
    }
    
    .footer-content {
        padding: 0 16px;
        gap: 24px;
    }
    
    .footer-main {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    
    .footer-left {
        width: 100%;
    }
    
    .footer-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        width: 100%;
        margin-bottom: 16px;
    }

    .footer-title {
        font-size: 20px;
        margin-bottom: 0;
        padding-top: 10px;
    }
    
    .footer-info p {
        font-size: 13px;
    }
    
    .footer-sns {
        align-self: auto;
    }
    
    .sns-button {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .sns-icon {
        width: 18px;
        height: 18px;
    }
}

/* 푸터 하단 네비게이션 - 2025 프리미엄 디자인 */
.footer-bottom {
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    flex-wrap: wrap;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(98, 187, 255, 0.4), 
        transparent);
}

.footer-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-nav-link {
    color: var(--color-text-dim);
    text-decoration: none;
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    
    /* 서브틀한 글래스모피즘 */
    background: var(--glass-surface-soft);
    backdrop-filter: var(--blur-lg);
    -webkit-backdrop-filter: var(--blur-lg);
    border: 1px solid var(--glass-border-soft);
}

.footer-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent,
        rgba(98, 187, 255, 0.1),
        transparent);
    transition: left 0.5s ease;
    z-index: 1;
}

.footer-nav-link:hover {
    color: var(--color-text);
    background: var(--brand-ice-soft-2);
    border-color: rgba(98, 187, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 
        0 8px 32px rgba(98, 187, 255, 0.15),
        0 4px 16px rgba(0, 0, 0, 0.3);
}

.footer-nav-link:hover::before {
    left: 100%;
}

.footer-nav-link:active {
    transform: translateY(0);
    transition: all 0.1s ease;
}

.footer-divider {
    color: rgba(255, 255, 255, 0.3);
    font-size: var(--font-size-sm);
    user-select: none;
    opacity: 0.6;
}

.footer-copyright {
    flex-shrink: 0;
    white-space: nowrap;
}

.footer-copyright p {
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* 반응형 - 모바일 최적화 */
@media (max-width: 768px) {
    .footer-bottom {
        margin-top: 32px;
        padding-top: 24px;
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }

    .footer-nav {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: nowrap;
        justify-content: center;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        width: 100%;
    }

    .footer-nav::-webkit-scrollbar {
        display: none;
    }

    .footer-nav-link {
        font-size: var(--font-size-xs);
        padding: 4px 8px;
        white-space: nowrap;
    }

    .footer-divider {
        font-size: var(--font-size-xs);
        color: var(--color-text-muted);
    }

    .footer-copyright {
        width: 100%;
        text-align: center;
        font-size: 10px;
    }

    .footer-copyright p {
        font-size: 10px;
    }
}

