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

:root {
    --primary-color: #ffffff;
    --accent-pink: #ff6b9d;
    --accent-purple: #c471ed;
    --accent-gold: #ffd700;
    --bg-dark: #0a0a0a;
    --bg-card: #1a1a1a;
    --bg-hover: #252525;
    --border-color: #2a2a2a;
    --text-primary: #e0e0e0;
    --text-secondary: #999;
    --text-tertiary: #666;
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 80px;
}

/* 헤더 */
header {
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 6px;
    color: var(--primary-color);
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s;
    background: linear-gradient(135deg, #fff 0%, #ffd4e5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s;
    letter-spacing: 1px;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-pink), var(--accent-purple));
    transition: width 0.3s;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-color);
}

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

/* 히어로 섹션 */
.hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    overflow: hidden;
    margin-bottom: 4rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255, 107, 157, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(196, 113, 237, 0.1) 0%, transparent 50%);
}

.hero-content {
    text-align: center;
    z-index: 1;
    padding: 3rem 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 200;
    margin-bottom: 0.5rem;
    letter-spacing: 4px;
    color: var(--primary-color);
    background: linear-gradient(135deg, #fff 0%, #ffd4e5 50%, #e8c4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 350px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-purple) 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 2px;
    transition: all 0.3s;
    box-shadow: 0 5px 25px rgba(255, 107, 157, 0.3);
    width: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(255, 107, 157, 0.5);
}

/* 전화 버튼 */
.phone-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s;
    box-shadow: 0 5px 25px rgba(76, 175, 80, 0.4);
    width: 100%;
}

.phone-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(76, 175, 80, 0.6);
}

.phone-button .icon {
    font-size: 1.2rem;
}

.phone-cta-section {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.05) 0%, rgba(69, 160, 73, 0.05) 100%);
    border-radius: 20px;
    margin: 2rem 0;
}

.phone-cta-section h3 {
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.phone-cta-section p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* 특별한 MBTI 섹션 */
.special-mbti-section {
    position: relative;
    padding: 5rem 0;
    margin: 4rem 0;
    background: linear-gradient(135deg, #1a0a1a 0%, #0a0a1a 100%);
    overflow: hidden;
}

.special-mbti-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 107, 157, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(196, 113, 237, 0.15) 0%, transparent 40%);
    animation: glow 8s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.special-mbti-container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.sparkle-title {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: 4px;
    background: linear-gradient(135deg, #fff 0%, #ff6b9d 25%, #c471ed 50%, #ffd700 75%, #fff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.sparkle-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.special-mbti-card {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.1) 0%, rgba(196, 113, 237, 0.1) 100%);
    border: 2px solid;
    border-image: linear-gradient(135deg, var(--accent-pink), var(--accent-purple), var(--accent-gold)) 1;
    border-radius: 24px;
    padding: 3rem 2rem;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(255, 107, 157, 0.2);
    transition: all 0.4s;
}

.special-mbti-card::before {
    content: '✨';
    position: absolute;
    font-size: 8rem;
    opacity: 0.05;
    top: -20px;
    right: -20px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.special-mbti-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(255, 107, 157, 0.4);
}

.special-mbti-card h3 {
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.special-mbti-card p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 2rem;
}

.special-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-purple) 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 2px;
    transition: all 0.3s;
    box-shadow: 0 10px 40px rgba(255, 107, 157, 0.4);
}

.special-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(255, 107, 157, 0.6);
}

.special-cta::after {
    content: '→';
    font-size: 1.3rem;
    transition: transform 0.3s;
}

.special-cta:hover::after {
    transform: translateX(5px);
}

/* 섹션 */
.section {
    padding: 4rem 0;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 3rem;
    letter-spacing: 4px;
    color: var(--primary-color);
    text-transform: uppercase;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 3rem;
    line-height: 1.8;
}

/* 카드 그리드 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.card {
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-pink);
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.2);
}

.card-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.card-content {
    padding: 1.5rem;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.card-text {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* 아티클 카드 */
.article-card {
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    padding: 2rem;
    margin-bottom: 2rem;
    transition: all 0.3s;
}

.article-card:hover {
    border-color: rgba(255, 107, 157, 0.3);
    transform: translateY(-3px);
}

.article-card h3 {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.article-card p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.article-card ul {
    list-style: none;
    padding-left: 0;
}

.article-card ul li {
    color: var(--text-secondary);
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.article-card ul li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-pink);
}

/* 갤러리 섹션 */
.gallery-section {
    background: #0d0d0d;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    justify-items: center;
}

.gallery-item {
    position: relative;
    width: 100%;
    max-width: 280px;
    aspect-ratio: 785 / 1208;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    background: #000;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s;
    background: #000;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.gallery-overlay p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* 호스트 소개 섹션 */
.host-intro-section {
    background: #0d0d0d;
}

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

.host-feature-card {
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s;
}

.host-feature-card:hover {
    border-color: var(--accent-pink);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.host-feature-card h4 {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.host-feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
}

.host-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    justify-items: center;
}

.host-card {
    position: relative;
    width: 100%;
    max-width: 280px;
    aspect-ratio: 785 / 1208;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
    background: #000;
}

.host-card:hover {
    border-color: var(--accent-pink);
    transform: translateY(-5px);
}

.host-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background: #000;
}

.host-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
}

.host-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-purple) 100%);
    color: #fff;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.host-notice {
    background: rgba(255, 107, 157, 0.05);
    border: 1px solid rgba(255, 107, 157, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
}

.host-notice p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* 푸터 */
footer {
    background: #0d0d0d;
    padding: 3rem 0 1rem;
    border-top: 1px solid var(--border-color);
}

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

.footer-section h4 {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.footer-section p,
.footer-section a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.8;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--accent-pink);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-tertiary);
    font-size: 0.85rem;
}

/* 모바일 푸터 메뉴 */
.mobile-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #0d0d0d 100%);
    border-top: 1px solid var(--border-color);
    padding: 1rem 0;
    z-index: 1000;
    display: none;
}

.mobile-footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
    padding: 0 1rem;
}

.mobile-footer-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.2) 0%, rgba(196, 113, 237, 0.2) 100%);
    border: 1px solid var(--accent-pink);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s;
}

.mobile-footer-btn:hover,
.mobile-footer-btn:active {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.3) 0%, rgba(196, 113, 237, 0.3) 100%);
    transform: scale(0.98);
}

.mobile-footer-btn .icon {
    font-size: 1.3rem;
}

/* MBTI 테스트 스타일 */
.start-screen {
    text-align: center;
    padding: 3rem 0;
}

.start-screen h1 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--primary-color);
    line-height: 1.4;
}

.start-screen .subtitle {
    font-size: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #ff6b9d 50%, #c471ed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.start-screen .sub-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.start-btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-purple) 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    box-shadow: 0 10px 40px rgba(255, 107, 157, 0.3);
}

.start-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(255, 107, 157, 0.5);
}

.question-screen {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: var(--bg-card);
    border-radius: 3px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-pink), var(--accent-purple), var(--accent-gold));
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 107, 157, 0.5);
}

.question-title {
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.question-subtitle {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 0.5rem;
    text-align: center;
}

.question-text {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    text-align: center;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.option-btn {
    width: 100%;
    padding: 1.3rem;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    color: #ccc;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
}

.option-btn:hover {
    background: var(--bg-hover);
    border-color: var(--accent-pink);
    color: var(--primary-color);
    transform: translateX(10px);
    box-shadow: 0 5px 20px rgba(255, 107, 157, 0.2);
}

.result-screen {
    text-align: center;
    animation: fadeIn 0.5s ease-in;
}

.result-type {
    font-size: 2.5rem;
    font-weight: 500;
    background: linear-gradient(135deg, #fff 0%, #ff6b9d 50%, #c471ed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
}

.result-desc {
    font-size: 1.15rem;
    color: #ccc;
    line-height: 1.9;
    margin-bottom: 3rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.05) 0%, rgba(196, 113, 237, 0.05) 100%);
    border-radius: 20px;
    border: 1px solid rgba(255, 107, 157, 0.2);
}

.reset-btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--accent-pink) 0%, var(--accent-purple) 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 1rem;
    box-shadow: 0 5px 25px rgba(255, 107, 157, 0.3);
}

.reset-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 35px rgba(255, 107, 157, 0.5);
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    body {
        padding-bottom: 100px;
    }

    .nav-menu {
        gap: 1rem;
        font-size: 0.85rem;
    }

    .logo {
        font-size: 1.3rem;
        letter-spacing: 3px;
    }

    .hero h1 {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }

    .hero p {
        font-size: 1rem;
    }

    .phone-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .sparkle-title {
        font-size: 1.8rem;
        letter-spacing: 2px;
    }

    .sparkle-subtitle {
        font-size: 1rem;
    }

    .special-mbti-card {
        padding: 2rem 1.5rem;
    }

    .section {
        padding: 2.5rem 0;
    }

    .section-title {
        font-size: 1.4rem;
        letter-spacing: 2px;
    }

    .card-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .gallery-item {
        max-width: 100%;
    }

    .host-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .host-card {
        max-width: 100%;
    }

    .mobile-footer {
        display: block;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .start-screen h1 {
        font-size: 1.6rem;
    }

    .start-screen .subtitle {
        font-size: 1.2rem;
    }

    .start-screen .sub-subtitle {
        font-size: 1rem;
    }

    .question-title {
        font-size: 1.3rem;
    }

    .question-subtitle {
        font-size: 1rem;
    }

    .option-btn {
        padding: 1.1rem;
        font-size: 0.95rem;
    }

    .result-type {
        font-size: 2rem;
    }

    .result-desc {
        font-size: 1rem;
        padding: 1.5rem;
    }
}
