/* ==========================================
   기본 설정 및 테마 (SNS Pop Theme)
========================================== */
* { margin: 0; padding: 0; box-sizing: border-box; cursor: none; }
body.sns-theme { font-family: 'Pretendard', 'Outfit', sans-serif; background: #09090B; color: #FFFFFF; overflow-x: hidden; word-break: keep-all; }
a { text-decoration: none; color: inherit; display: inline-block; }
button { background: none; border: none; outline: none; font-family: inherit; }

html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
.lenis.lenis-stopped { overflow: hidden; }

/* ==========================================
   커스텀 커서 & 클릭 이모지 효과
========================================== */
.custom-cursor { position: fixed; top: 0; left: 0; width: 15px; height: 15px; background-color: #FF2A5F; border-radius: 50%; pointer-events: none; z-index: 9999; transform: translate(-50%, -50%); transition: width 0.3s, height 0.3s, background-color 0.3s; display: flex; justify-content: center; align-items: center; mix-blend-mode: normal; box-shadow: 0 0 15px rgba(255, 42, 95, 0.6); }
.cursor-text { color: #FFF; font-size: 12px; font-weight: 700; opacity: 0; font-family: 'Outfit', sans-serif; }
.floating-emoji { position: fixed; font-size: 2.5rem; pointer-events: none; z-index: 999999; transform: translate(-50%, -50%); filter: drop-shadow(0 5px 10px rgba(0,0,0,0.5)); }

/* ==========================================
   네비게이션
========================================== */
.detail-nav { position: fixed; top: 0; left: 0; width: 100%; padding: 30px 50px; display: flex; justify-content: space-between; align-items: center; z-index: 1000; color: #FFF; mix-blend-mode: difference; }
.back-btn { font-family: 'Outfit', sans-serif; font-size: 1.2rem; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.nav-logo { font-family: 'Outfit', sans-serif; font-weight: 900; font-size: 1.5rem; color: #FF2A5F; }
.lang-toggle { display: flex; background: rgba(255,255,255,0.1); border-radius: 30px; padding: 4px; backdrop-filter: blur(10px); }
.lang-btn { padding: 6px 12px; border-radius: 20px; font-size: 0.85rem; font-weight: 700; color: #CCC; transition: 0.3s; }
.lang-btn.active { background: #FF2A5F; color: #FFF; }

/* ==========================================
   1. 스플릿 히어로 섹션 (좌우 분할)
========================================== */
.sns-hero-split { width: 100vw; min-height: 100vh; padding: 120px 5% 50px; display: flex; align-items: center; justify-content: space-between; max-width: 1600px; margin: 0 auto; gap: 50px; }
.hero-left { flex: 1; }
.badge { display: inline-block; background: #FF2A5F; color: #FFF; padding: 8px 16px; border-radius: 30px; font-family: 'Outfit', sans-serif; font-weight: 900; font-size: 0.9rem; letter-spacing: 1px; margin-bottom: 20px; }
.hero-title { font-family: 'Outfit', sans-serif; font-size: 7vw; font-weight: 900; line-height: 1; text-transform: uppercase; letter-spacing: -2px; margin-bottom: 20px; }
.highlight-pop { color: #FF2A5F; }
.hero-subtitle { font-size: 1.5rem; color: #AAA; font-weight: 500; margin-bottom: 50px; }

/* 인스타 프로필 스타일 인포 */
.profile-info { display: flex; gap: 40px; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 30px; }
.stat { display: flex; flex-direction: column; gap: 5px; }
.stat .num { font-family: 'Outfit', sans-serif; font-size: 1.2rem; font-weight: 900; color: #FFF; }
.stat .label { font-size: 0.9rem; color: #888; }

.hero-right { flex: 1; display: flex; justify-content: center; position: relative; }
.floating-card { position: relative; width: 80%; max-width: 500px; border-radius: 30px; box-shadow: 0 30px 60px rgba(255, 42, 95, 0.2); transform: rotate(3deg); transition: transform 0.5s; }
.floating-card:hover { transform: rotate(0deg) scale(1.02); }
.floating-card img { width: 100%; height: auto; display: block; border-radius: 30px; }
.like-badge { position: absolute; bottom: -20px; left: -20px; z-index: 10; background: rgba(255,255,255,0.1); backdrop-filter: blur(15px); border: 1px solid rgba(255,255,255,0.2); padding: 15px 25px; border-radius: 30px; font-family: 'Outfit', sans-serif; font-size: 1.5rem; font-weight: 900; color: #FFF; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }

/* ==========================================
   2. 무한 해시태그 롤링 (Marquee)
========================================== */
.hashtag-marquee { width: 100%; background: #FF2A5F; color: #FFF; padding: 20px 0; overflow: hidden; white-space: nowrap; display: flex; align-items: center; transform: rotate(-3deg) scale(1.05); margin: 100px 0; box-shadow: 0 10px 40px rgba(255, 42, 95, 0.4); }
.marquee-inner { display: inline-block; font-family: 'Outfit', sans-serif; font-size: 3rem; font-weight: 900; letter-spacing: 2px; animation: marquee 15s linear infinite; }
.marquee-inner span { padding-right: 50px; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ==========================================
   3. 비대칭 갤러리 & 에디토리얼 텍스트
========================================== */
.sns-editorial { padding: 50px 5% 150px; max-width: 1400px; margin: 0 auto; }
.editorial-text { max-width: 800px; margin-bottom: 80px; }
.editorial-text h3 { font-family: 'Outfit', sans-serif; font-size: 4rem; font-weight: 900; margin-bottom: 20px; }
.text-pop { color: #FF2A5F; font-style: italic; }

/* 🔥 텍스트 인터랙티브 기교 (Emoji Pop) */
.interactive-text { font-size: 1.5rem; line-height: 1.9; color: #CCC; font-weight: 500; }
.pop-keyword { position: relative; display: inline-block; color: #FFF; font-weight: 700; padding: 2px 10px; margin: 0 2px; background: rgba(255, 42, 95, 0.15); border-radius: 8px; transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); cursor: pointer; }
.pop-keyword::after { content: attr(data-emoji); position: absolute; top: -35px; left: 50%; transform: translateX(-50%) scale(0) rotate(-20deg); font-size: 2.2rem; opacity: 0; transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); pointer-events: none; filter: drop-shadow(0 5px 10px rgba(0,0,0,0.4)); }
.pop-keyword:hover { background: #FF2A5F; color: #FFF; transform: scale(1.1) rotate(-3deg); box-shadow: 0 10px 20px rgba(255, 42, 95, 0.4); z-index: 10; }
.pop-keyword:hover::after { transform: translateX(-50%) scale(1) rotate(10deg); opacity: 1; }

.asymmetric-gallery { display: flex; gap: 40px; align-items: flex-start; }
.gal-item { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.gal-item:hover img { transform: scale(1.05); }
.item-left { flex: 1.2; aspect-ratio: 4/5; margin-top: 100px; } 
.item-right { flex: 1; aspect-ratio: 1/1; }

.hover-reaction { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.5); background: rgba(255, 42, 95, 0.9); color: #FFF; font-family: 'Outfit', sans-serif; font-size: 2rem; font-weight: 900; padding: 15px 30px; border-radius: 40px; opacity: 0; transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1); pointer-events: none; }
.gal-item:hover .hover-reaction { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* ==========================================
   4. 다음 프로젝트
========================================== */
.next-project.pop { background: #FF2A5F; color: #FFF; padding: 150px 5%; text-align: center; display: flex; flex-direction: column; align-items: center; }
.next-project.pop .next-label { font-family: 'Outfit', sans-serif; font-size: 1.2rem; text-transform: uppercase; letter-spacing: 2px; margin-bottom: 20px; opacity: 0.9; }
.next-project.pop .next-title { font-family: 'Outfit', sans-serif; font-size: 6vw; font-weight: 900; color: #FFF; transition: transform 0.3s, text-shadow 0.3s; }
.next-project.pop .next-title:hover { transform: scale(1.05); text-shadow: 0 10px 20px rgba(0,0,0,0.3); }

.fade-up { opacity: 0; transform: translateY(50px); }
.magnetic-item { display: inline-block; }

/* ==========================================
   반응형 (모바일 최적화 및 화살표 통일)
========================================== */
@media screen and (max-width: 1024px) {
    .sns-hero-split { flex-direction: column; text-align: center; padding-top: 150px; }
    .profile-info { justify-content: center; }
    .like-badge { left: 50%; transform: translateX(-50%); bottom: -20px; }
    .asymmetric-gallery { flex-direction: column; }
    .item-left { margin-top: 0; aspect-ratio: auto; }
    .item-right { aspect-ratio: auto; }
}

@media screen and (max-width: 768px) {
    .custom-cursor { display: none; } 
    * { cursor: auto !important; }
    
    /* ★ 모바일 상단 메뉴 (화살표만 남기기 통일) */
    .detail-nav { padding: 15px 20px; gap: 10px; background: rgba(9, 9, 11, 0.9); mix-blend-mode: normal; }
    .back-btn .lang-text { display: none; } 
    .back-btn .arrow { font-size: 1.5rem; }
    .nav-logo { font-size: 1.2rem; }
    .lang-btn { padding: 4px 8px; font-size: 0.75rem; }
    
    .sns-hero-split { padding-top: 100px; gap: 40px; }
    .hero-title { font-size: 4rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .profile-info { gap: 20px; }
    
    /* ★ 모바일 배지 잘림 방지 및 위치 최적화 */
    .floating-card { width: 100%; transform: none; }
    .floating-card:hover { transform: none; }
    .floating-card img { border-radius: 16px; }
    .like-badge { bottom: 15px; left: 50%; transform: translateX(-50%); font-size: 1.2rem; padding: 10px 20px; width: max-content; }
    
    .hashtag-marquee { margin: 50px 0; transform: rotate(-3deg) scale(1.1); }
    .marquee-inner { font-size: 2rem; }
    
    .sns-editorial { padding: 30px 5% 80px; }
    .editorial-text h3 { font-size: 2.5rem; }
    .interactive-text { font-size: 1.1rem; }
    
    /* ★ 모바일 갤러리 배지 가림 방지 (좌측 하단) */
    .asymmetric-gallery { gap: 20px; }
    .gal-item { border-radius: 12px; }
    .hover-reaction { opacity: 1; top: auto; bottom: 15px; left: 15px; transform: none; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(10px); font-size: 1.1rem; padding: 8px 16px; border-radius: 30px; box-shadow: 0 4px 10px rgba(0,0,0,0.3); }
    .gal-item:hover .hover-reaction { transform: none; }
    
    .next-project.pop { padding: 100px 5%; }
    .next-project.pop .next-title { font-size: 3rem; }
}
