/* ============================================
   폰트 정의
   ============================================ */
@font-face {
    font-family: 'SpoqaHanSansNeo';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2108@1.1/SpoqaHanSansNeo-Thin.woff') format('woff');
    font-weight: 100;
    font-display: swap;
}

@font-face {
    font-family: 'SpoqaHanSansNeo';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2108@1.1/SpoqaHanSansNeo-Light.woff') format('woff');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'SpoqaHanSansNeo';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2108@1.1/SpoqaHanSansNeo-Regular.woff') format('woff');
    font-weight: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SpoqaHanSansNeo';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2108@1.1/SpoqaHanSansNeo-Medium.woff') format('woff');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'SpoqaHanSansNeo';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2108@1.1/SpoqaHanSansNeo-Bold.woff') format('woff');
    font-weight: 700;
    font-display: swap;
}

/* ============================================
   기본 스타일 및 변수
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 색상 */
    --primary-blue: #64B5F6;
    --primary-blue-dark: #90CAF9;
    --primary-blue-light: #90CAF9;
    --primary-blue-lighter: #BBDEFB;
    
    --secondary: #90CAF9;
    --secondary-light: #BBDEFB;
    --secondary-dark: #90CAF9;
    
    --accent: #64B5F6;
    --accent-light: #BBDEFB;
    --accent-dark: #90CAF9;
    
    --bg-light: #F0F8FF;
    --bg-secondary: #E6F3FF;
    --bg-white: #FFFFFF;
    --bg-gradient-top: #F5FAFF;
    --bg-gradient-bottom: #FFFFFF;
    
    --text-dark: #64B5F6;
    --text-secondary: #90CAF9;
    --text-light: #BBDEFB;
    --text-inverse: #FFFFFF;
    
    --stress-orange: #FF8C42;
    --stress-red: #E74C3C;
    --healing-green: #2ECC71;
    
    /* 타이포그래피 시스템 */
    /* 제목 계층 */
    --font-size-h1: clamp(3.5rem, 8vw, 6rem);        /* 메인 타이틀 */
    --font-size-h2: clamp(2rem, 5vw, 3.5rem);        /* 섹션 제목, Hero 텍스트 */
    --font-size-h3: clamp(1.6rem, 4vw, 2.8rem);      /* 서브 제목 */
    --font-size-h4: clamp(1.5rem, 3vw, 2rem);        /* 작은 제목 */
    --font-size-h5: clamp(1.3rem, 2.5vw, 1.6rem);    /* 카드 제목 */
    
    /* 본문 텍스트 */
    --font-size-body-lg: clamp(1.2rem, 2.5vw, 1.5rem);  /* 큰 본문 */
    --font-size-body: clamp(1.1rem, 2vw, 1.3rem);        /* 기본 본문 */
    --font-size-body-sm: clamp(1rem, 1.8vw, 1.15rem);    /* 작은 본문 */
    --font-size-caption: clamp(0.9rem, 1.5vw, 1rem);     /* 캡션 */
    
    /* 폰트 두께 */
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    --font-weight-black: 900;
    
    /* 그림자 */
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.12);
    --shadow-blue: 0 10px 40px rgba(33, 150, 243, 0.2);
    
    /* 전환 */
    --transition: all 0.3s ease;
    --transition-slow: all 0.6s ease;
}

html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* iOS Safari 부드러운 스크롤 */
    overflow-y: scroll; /* 항상 스크롤바 공간 확보 */
    touch-action: pan-y; /* 전역적으로 수직 스크롤 허용 */
}

body {
    font-family: 'SpoqaHanSansNeo', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    font-size: 10px; /* 전역 font-size - 모든 요소에 영향을 미침 */
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-gradient-top);
    overflow-x: hidden;
    touch-action: pan-y; /* 수직 스크롤 허용 */
    -webkit-overflow-scrolling: touch; /* iOS Safari 부드러운 스크롤 */
    overscroll-behavior-y: contain; /* 스크롤 체이닝 방지 */
    text-align: center;
}

/* 모든 섹션과 컨테이너에 기본 스크롤 허용 */
.hero-section,
.hero-scroll-section,
.hero-content,
.features-section,
.contact-section,
.footer,
.container {
    touch-action: pan-y; /* 수직 스크롤 허용 */
}

/* 모든 인터랙티브 요소가 스크롤을 방해하지 않도록 */
.squeeze-ball,
.eezey-ball,
.snowball,
.eezey-target,
.hand-icon,
.squeeze-interaction,
.snowball-interaction,
.chat-interaction,
.eezey-ball-container {
    touch-action: pan-y; /* 수직 스크롤 허용 */
    -webkit-user-select: none; /* 텍스트 선택 방지 */
    user-select: none;
}

/* 모바일에서 스크롤 보장 */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
        height: 100%;
        position: relative;
        touch-action: pan-y !important; /* 수직 스크롤 강제 허용 */
        overscroll-behavior-y: contain; /* 스크롤 체이닝 방지 */
    }
    
    /* 모든 섹션과 컨테이너에 스크롤 강제 허용 */
    .hero-section,
    .hero-scroll-section,
    .hero-content,
    .features-section,
    .contact-section,
    .footer,
    .container,
    .squeeze-ball,
    .eezey-ball,
    .snowball,
    .eezey-target,
    .hand-icon,
    .squeeze-interaction,
    .snowball-interaction,
    .chat-interaction,
    .eezey-ball-container {
        touch-action: pan-y !important; /* 수직 스크롤 강제 허용 */
        pointer-events: auto; /* 클릭은 가능하지만 스크롤은 허용 */
        -webkit-user-select: none; /* 텍스트 선택 방지 */
        user-select: none;
    }
    
    /* 편지 섹션 스크롤 허용 */
    .letter-section,
    .letter-section .hero-content {
        touch-action: pan-y !important;
        -webkit-overflow-scrolling: touch;
    }
}

/* 제목 태그 기본 스타일 리셋 */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-regular);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   네비게이션
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(33, 150, 243, 0.1);
}

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

.nav-brand {
    font-size: var(--font-size-h5);
    font-weight: var(--font-weight-extrabold);
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    transition: var(--transition);
}

.nav-brand:hover {
    transform: scale(1.08);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

/* 햄버거 메뉴 활성화 시 세로로 표시 */
.nav-menu.active {
    position: fixed;
    top: 70px;
    left: 0;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
    backdrop-filter: blur(20px);
    width: 100%;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
    padding: 2rem 0;
    gap: 0;
    z-index: 1001;
}

.nav-menu.active li {
    padding: 1rem 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-semibold);
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-blue-light), var(--primary-blue), var(--primary-blue-light));
    border-radius: 2px;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-blue);
    transform: translateY(-3px);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* 언어 선택 */
.language-selector {
    position: relative;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-white);
    border: 2px solid var(--secondary-light);
    border-radius: 8px;
    color: var(--primary-blue-light);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-size-caption);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.language-btn:hover {
    background: linear-gradient(135deg, var(--primary-blue-light) 0%, var(--primary-blue) 100%);
    color: white;
    border-color: var(--primary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.language-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: var(--bg-white);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1001;
    overflow: hidden;
}

.language-selector.active .language-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.language-option {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    text-align: left;
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
}

.language-option:hover {
    background: linear-gradient(135deg, var(--bg-light) 0%, rgba(33, 150, 243, 0.1) 100%);
    color: var(--primary-blue);
    font-weight: var(--font-weight-semibold);
    transform: translateX(5px);
}

/* 햄버거 메뉴 */
.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: var(--transition);
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ============================================
   Hero Section - 스토리텔링
   ============================================ */
.hero-section {
    position: relative;
    padding-top: 80px;
    overflow: hidden;
    background: var(--bg-gradient-top);
    touch-action: pan-y; /* 수직 스크롤 허용 */
}

.hero-scroll-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 4rem 2rem;
    opacity: 0;
    transform: translateY(80px) scale(0.9);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
    background: transparent;
    border: none;
    visibility: hidden;
    touch-action: pan-y; /* 수직 스크롤 허용 */
}

/* 편지 섹션은 높이 제한 없이 */
.letter-section.hero-scroll-section {
    min-height: auto;
    height: auto;
    align-items: flex-start;
    padding: 4rem 2rem;
}

/* 첫 번째 섹션은 기본적으로 보이도록 (JavaScript가 로드되기 전에도) */
.hero-section-1 {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
    display: flex;
}

.hero-scroll-section.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
}


/* 모든 섹션이 스크롤 시 확실히 보이도록 보장 */
.hero-section-1,
.hero-section-2,
.hero-section-3,
.hero-section-4,
.hero-section-5,
.hero-section-6 {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
    display: flex !important;
}

/* visible 클래스가 추가되면 확실히 보이도록 */
.hero-section-1.visible,
.hero-section-2.visible,
.hero-section-3.visible,
.hero-section-4.visible,
.hero-section-5.visible,
.hero-section-6.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
    display: flex;
}

.hero-content {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    width: 100%;
    height: auto;
    min-height: auto;
}

/* 편지 섹션의 hero-content는 높이 제한 없음 */
.letter-section .hero-content {
    height: auto;
    min-height: auto;
    max-width: 100%;
}

.hero-section-1 .hero-content {
    position: relative;
    min-height: 100vh;
    overflow: visible;
}

/* 섹션 1: 첫 인사 */
.hero-section-1 {
    background: var(--bg-gradient-top);
    position: relative;
    overflow: hidden;
    opacity: 1;
    transform: translateY(0) scale(1);
    visibility: visible;
    display: flex;
}

.eezey-ball-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    overflow: visible;
    touch-action: pan-y; /* 수직 스크롤 허용 */
}

.eezey-ball {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.5) 0%, transparent 60%);
    box-shadow:
        0 25px 80px rgba(100, 181, 246, 0.4),
        0 15px 40px rgba(100, 181, 246, 0.3),
        inset 0 -25px 50px rgba(100, 181, 246, 0.25),
        inset 0 25px 50px rgba(187, 222, 251, 0.35);
    border: 4px solid rgba(187, 222, 251, 0.6);
    overflow: hidden;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    cursor: pointer;
    touch-action: pan-y; /* 수직 스크롤 허용 */
    -webkit-touch-callout: none; /* iOS 롱프레스 메뉴 비활성화 */
    user-select: none; /* 텍스트 선택 방지 */
    -webkit-user-select: none;
}

.eezey-ball.floating {
    animation: floatBallFree 25s ease-in-out infinite;
}

@keyframes floatBallFree {
    0% {
        transform: translate(-50%, -50%) translate(0, 0) rotate(0deg);
    }
    8% {
        transform: translate(-50%, -50%) translate(180px, -100px) rotate(8deg);
    }
    16% {
        transform: translate(-50%, -50%) translate(250px, 80px) rotate(-5deg);
    }
    24% {
        transform: translate(-50%, -50%) translate(100px, 180px) rotate(6deg);
    }
    32% {
        transform: translate(-50%, -50%) translate(-120px, 150px) rotate(-7deg);
    }
    40% {
        transform: translate(-50%, -50%) translate(-220px, -60px) rotate(5deg);
    }
    48% {
        transform: translate(-50%, -50%) translate(-150px, -180px) rotate(-6deg);
    }
    56% {
        transform: translate(-50%, -50%) translate(120px, -200px) rotate(7deg);
    }
    64% {
        transform: translate(-50%, -50%) translate(240px, -100px) rotate(-5deg);
    }
    72% {
        transform: translate(-50%, -50%) translate(180px, 120px) rotate(6deg);
    }
    80% {
        transform: translate(-50%, -50%) translate(-80px, 200px) rotate(-8deg);
    }
    88% {
        transform: translate(-50%, -50%) translate(-200px, 80px) rotate(5deg);
    }
    96% {
        transform: translate(-50%, -50%) translate(-60px, -120px) rotate(-6deg);
    }
    100% {
        transform: translate(-50%, -50%) translate(0, 0) rotate(0deg);
    }
}

.eezey-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    touch-action: pan-y; /* 수직 스크롤 허용 */
    pointer-events: none; /* 이미지 자체는 클릭 불가, 부모 요소만 클릭 가능 */
}

.hero-text-1,
h1.hero-text-1 {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: 24px;
    font-weight: var(--font-weight-regular);
    line-height: 1.5;
    color: var(--text-dark);
    margin: 0 auto 1rem auto;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 50%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGlow 3s ease-in-out infinite;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 4;
    text-align: center;
    width: 370px;
    opacity: 1;
    visibility: visible;
}

.hero-text-1 .hero-line-1,
.hero-text-1 .hero-line-2,
.hero-text-1 .hero-line-3 {
    display: inline-block;
    font-size: 1em;
}

.hero-text-1:hover {
    transform: scale(1.05);
    animation: textGlowHover 1s ease-in-out infinite;
}

@keyframes textFadeIn {
    from {
        opacity: 0;
        visibility: hidden;
    }
    to {
        opacity: 1;
        visibility: visible;
    }
}

@keyframes textGlow {
    0%, 100% {
        filter: drop-shadow(0 2px 10px rgba(100, 181, 246, 0.3));
    }
    50% {
        filter: drop-shadow(0 4px 20px rgba(100, 181, 246, 0.6));
    }
}

@keyframes textGlowHover {
    0%, 100% {
        filter: drop-shadow(0 4px 15px rgba(100, 181, 246, 0.5));
    }
    50% {
        filter: drop-shadow(0 6px 25px rgba(100, 181, 246, 0.8));
    }
}

/* 섹션 2: 질문 */
.hero-section-2 {
    background: var(--bg-gradient-top);
    position: relative;
    z-index: 1;
}

.hero-text-2,
h2.hero-text-2 {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: 24px;
    font-weight: var(--font-weight-regular);
    line-height: 1.5;
    color: var(--text-dark);
    margin: 0 auto 1rem auto;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 50%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-color: unset;
    box-shadow: none;
    padding: 1rem;
    border-radius: 8px;
    opacity: 0;
    transform: translateX(-30px);
    transition: transform 0.3s ease;
    visibility: hidden;
    width: 370px;
    text-align: center;
}

.hero-scroll-section.visible .hero-text-2 {
    opacity: 1;
    visibility: visible;
    animation: textSlideIn 1s ease-out forwards;
}

.hero-text-2:hover {
    transform: translateY(-5px) scale(1.02);
    animation: textPulse 1.5s ease-in-out infinite;
}

@keyframes textSlideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes textPulse {
    0%, 100% {
        transform: translateY(-5px) scale(1.02);
    }
    50% {
        transform: translateY(-8px) scale(1.03);
    }
}

.emoji-decoration {
    font-size: 4rem;
    animation: none;
    filter: drop-shadow(0 6px 12px rgba(33, 150, 243, 0.4));
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.emoji-decoration.animation-started {
    opacity: 1;
    visibility: visible;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0) scale(1) rotate(0deg);
    }
    50% {
        transform: translateY(-15px) scale(1.15) rotate(10deg);
    }
}

/* 섹션 3: 답변 */
.hero-section-3 {
    background: linear-gradient(135deg, 
        var(--bg-gradient-top) 0%, 
        rgba(240, 248, 255, 0.95) 25%,
        rgba(230, 243, 255, 0.98) 50%,
        rgba(240, 248, 255, 0.95) 75%,
        var(--bg-gradient-top) 100%);
    background-size: 400% 400%;
    position: relative;
    z-index: 1;
    overflow: hidden;
    animation: section3BackgroundFlow 15s ease-in-out infinite;
}

@keyframes section3BackgroundFlow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.section-3-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* 반짝이는 별 효과 */
.sparkle {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0;
    filter: drop-shadow(0 4px 8px rgba(100, 181, 246, 0.6));
    pointer-events: none;
    z-index: 1;
}

.sparkle-1 {
    top: 15%;
    left: 10%;
    animation: sparkleFloat 4s ease-in-out infinite;
    animation-delay: 0s;
}

.sparkle-2 {
    top: 25%;
    right: 15%;
    animation: sparkleFloat 5s ease-in-out infinite;
    animation-delay: 1s;
}

.sparkle-3 {
    bottom: 30%;
    left: 20%;
    animation: sparkleFloat 4.5s ease-in-out infinite;
    animation-delay: 2s;
}

.sparkle-4 {
    bottom: 20%;
    right: 10%;
    animation: sparkleFloat 5.5s ease-in-out infinite;
    animation-delay: 1.5s;
}

.sparkle-5 {
    top: 50%;
    left: 50%;
    animation: sparkleFloat 4s ease-in-out infinite;
    animation-delay: 0.5s;
}

@keyframes sparkleFloat {
    0%, 100% {
        opacity: 0;
        transform: translateY(0) scale(0.5) rotate(0deg);
    }
    20% {
        opacity: 1;
        transform: translateY(-20px) scale(1.2) rotate(180deg);
    }
    40% {
        opacity: 0.8;
        transform: translateY(-40px) scale(1) rotate(360deg);
    }
    60% {
        opacity: 1;
        transform: translateY(-30px) scale(1.1) rotate(540deg);
    }
    80% {
        opacity: 0.9;
        transform: translateY(-10px) scale(0.9) rotate(720deg);
    }
    100% {
        opacity: 0;
        transform: translateY(0) scale(0.5) rotate(900deg);
    }
}

/* 떠다니는 하트 */
.floating-heart {
    position: absolute;
    font-size: 3rem;
    opacity: 0.4;
    filter: drop-shadow(0 6px 12px rgba(100, 181, 246, 0.5));
    pointer-events: none;
    z-index: 1;
    animation: heartFloat 6s ease-in-out infinite;
}

.heart-1 {
    top: 15%;
    left: 10%;
    animation: heartFloat 6s ease-in-out infinite;
    animation-delay: 0s;
}

.heart-2 {
    top: 25%;
    right: 15%;
    animation: heartFloat 7s ease-in-out infinite;
    animation-delay: 1.5s;
}

.heart-3 {
    top: 50%;
    left: 5%;
    animation: heartFloat 6.5s ease-in-out infinite;
    animation-delay: 0.5s;
}

.heart-4 {
    top: 35%;
    right: 10%;
    animation: heartFloat 7.5s ease-in-out infinite;
    animation-delay: 2.5s;
}

.heart-5 {
    bottom: 30%;
    left: 20%;
    animation: heartFloat 6.8s ease-in-out infinite;
    animation-delay: 1s;
}

.heart-6 {
    top: 10%;
    left: 50%;
    animation: heartFloat 7.2s ease-in-out infinite;
    animation-delay: 3s;
}

.heart-7 {
    bottom: 20%;
    right: 25%;
    animation: heartFloat 6.3s ease-in-out infinite;
    animation-delay: 2s;
}

.heart-8 {
    top: 60%;
    left: 30%;
    animation: heartFloat 7.8s ease-in-out infinite;
    animation-delay: 3.5s;
}

.heart-9 {
    bottom: 15%;
    left: 60%;
    animation: heartFloat 6.6s ease-in-out infinite;
    animation-delay: 1.2s;
}

.heart-10 {
    top: 40%;
    right: 5%;
    animation: heartFloat 7.4s ease-in-out infinite;
    animation-delay: 2.8s;
}

@keyframes heartFloat {
    0%, 100% {
        opacity: 0.4;
        transform: translate(0, 0) scale(0.8) rotate(0deg);
    }
    25% {
        opacity: 0.8;
        transform: translate(30px, -40px) scale(1.1) rotate(15deg);
    }
    50% {
        opacity: 1;
        transform: translate(-20px, -70px) scale(1.2) rotate(-10deg);
    }
    75% {
        opacity: 0.7;
        transform: translate(40px, -50px) scale(1) rotate(20deg);
    }
}

/* 빛나는 원 효과 */
.glow-circle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.3;
    filter: blur(40px);
}

.circle-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(100, 181, 246, 0.4) 0%, transparent 70%);
    top: 10%;
    left: 5%;
    animation: circlePulse 8s ease-in-out infinite;
}

.circle-2 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(144, 202, 249, 0.35) 0%, transparent 70%);
    bottom: 15%;
    right: 8%;
    animation: circlePulse 10s ease-in-out infinite;
    animation-delay: 2s;
}

.circle-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(187, 222, 251, 0.3) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: circlePulse 12s ease-in-out infinite;
    animation-delay: 4s;
}

@keyframes circlePulse {
    0%, 100% {
        transform: scale(1) translate(0, 0);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.5) translate(30px, -30px);
        opacity: 0.5;
    }
}

.hero-section-3 .hero-content {
    position: relative;
    z-index: 2;
}

.hero-text-3,
h2.hero-text-3 {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: 24px;
    font-weight: var(--font-weight-regular);
    line-height: 1.5;
    color: var(--text-dark);
    margin: 0 auto 1rem auto;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 50%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(30px);
    transition: transform 0.3s ease;
    visibility: hidden;
    position: relative;
    z-index: 3;
    width: 370px;
    text-align: center;
}

.hero-text-3 .text-line-1,
.hero-text-3 .text-line-2,
.hero-text-3 .text-line-3,
.hero-text-3 .text-line-4 {
    display: block;
    animation: textLineGlow 3s ease-in-out infinite;
}

.hero-text-3 .text-line-1 {
    animation-delay: 0s;
    font-size: 1.2em;
    font-weight: var(--font-weight-bold);
}

.hero-text-3 .text-line-2 {
    animation-delay: 0.3s;
}

.hero-text-3 .text-line-3 {
    animation-delay: 0.6s;
}

.hero-text-3 .text-line-4 {
    animation-delay: 0.9s;
}

@keyframes textLineGlow {
    0%, 100% {
        filter: drop-shadow(0 4px 15px rgba(100, 181, 246, 0.4));
        transform: scale(1);
    }
    50% {
        filter: drop-shadow(0 6px 25px rgba(100, 181, 246, 0.7));
        transform: scale(1.02);
    }
}

.hero-scroll-section.visible .hero-text-3 {
    opacity: 1;
    visibility: visible;
    animation: textFadeInUp 1s ease-out forwards, textGradientShift 4s ease-in-out infinite;
    animation-delay: 0s, 1s;
}

.hero-text-3:hover {
    transform: scale(1.05);
    animation: textGradientShift 2s ease-in-out infinite, textFadeInUp 1s ease-out;
}

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

@keyframes textGradientShift {
    0%, 100% {
        background-position: 0% 50%;
        filter: drop-shadow(0 4px 20px rgba(100, 181, 246, 0.4));
    }
    50% {
        background-position: 100% 50%;
        filter: drop-shadow(0 8px 30px rgba(100, 181, 246, 0.7));
    }
}

.hero-section-3 .emoji-decoration {
    font-size: 5rem;
    animation: emojiBounce 2.5s ease-in-out infinite;
    filter: drop-shadow(0 8px 20px rgba(100, 181, 246, 0.5));
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    position: relative;
    z-index: 3;
    margin-top: 1rem;
}

.hero-section-3 .emoji-decoration.animation-started {
    opacity: 1;
    visibility: visible;
}

@keyframes emojiBounce {
    0%, 100% {
        transform: translateY(0) scale(1) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) scale(1.2) rotate(10deg);
    }
    50% {
        transform: translateY(-30px) scale(1.15) rotate(-5deg);
    }
    75% {
        transform: translateY(-15px) scale(1.1) rotate(8deg);
    }
}

/* 섹션 4: 스트레스 기록 기능 */
.hero-section-4 {
    background: var(--bg-gradient-top);
    position: relative;
    z-index: 1;
}

.hero-text-4,
h2.hero-text-4 {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: 24px;
    font-weight: var(--font-weight-regular);
    line-height: 1.5;
    color: var(--text-dark);
    margin: 0 auto 1rem auto;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 50%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    transition: transform 0.3s ease;
    visibility: hidden;
    width: 370px;
    text-align: center;
}

.hero-scroll-section.visible .hero-text-4 {
    opacity: 1;
    visibility: visible;
    animation: textBounceIn 1s ease-out forwards;
}

.hero-text-4:hover {
    transform: scale(1.05) rotate(1deg);
}

@keyframes textBounceIn {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    60% {
        transform: scale(1.1) translateY(-5px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.feature-note {
    font-size: var(--font-size-body-lg);
    color: var(--primary-blue);
    font-weight: var(--font-weight-medium);
    font-style: italic;
    margin: 1rem 0 3rem 0;
    opacity: 0.8;
    animation: noteFadeIn 1s ease-out 0.5s both;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.feature-note:hover {
    transform: translateY(-3px);
    opacity: 1;
}

@keyframes noteFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 0.8;
        transform: translateY(0);
    }
}

.squeeze-interaction {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    touch-action: pan-y; /* 수직 스크롤 허용 */
}

.hand-icon {
    position: absolute;
    font-size: 5rem;
    z-index: 10;
    animation: none;
    cursor: pointer;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    touch-action: pan-y pinch-zoom; /* 수직 스크롤 및 핀치 줌 허용 */
    -webkit-touch-callout: none; /* iOS 롱프레스 메뉴 비활성화 */
    user-select: none; /* 텍스트 선택 방지 */
    -webkit-user-select: none;
}

.hand-icon.animation-started {
    animation: handPress 2s ease-in-out infinite;
}

@keyframes handPress {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(60px) scale(0.9);
    }
}

.squeeze-ball {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.5) 0%, transparent 60%);
    box-shadow:
        0 30px 100px rgba(100, 181, 246, 0.5),
        0 20px 50px rgba(100, 181, 246, 0.4);
    border: 5px solid rgba(187, 222, 251, 0.7);
    overflow: hidden;
    position: relative;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    z-index: 5;
    touch-action: pan-y; /* 수직 스크롤 허용 */
    -webkit-touch-callout: none; /* iOS 롱프레스 메뉴 비활성화 */
    user-select: none; /* 텍스트 선택 방지 */
    -webkit-user-select: none;
}

.squeeze-ball::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

/* 약한 압력 */
.squeeze-ball.squeezed-light {
    transform: scaleY(0.75) !important;
    border-radius: 50%;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* 중간 압력 */
.squeeze-ball.squeezed-medium {
    transform: scaleY(0.65) !important;
    border-radius: 50%;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* 강한 압력 */
.squeeze-ball.squeezed-strong {
    transform: scaleY(0.5) !important;
    border-radius: 50%;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* 섹션 5: 스노우볼 기능 */
.hero-section-5 {
    background: var(--bg-gradient-top);
    position: relative;
    z-index: 1;
}

.hero-text-5,
h2.hero-text-5 {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: 24px;
    font-weight: var(--font-weight-regular);
    line-height: 1.5;
    color: var(--text-dark);
    margin: 0 auto 1rem auto;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 50%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(40px) rotate(-2deg);
    transition: transform 0.3s ease;
    visibility: hidden;
    width: 370px;
    text-align: center;
}

.hero-scroll-section.visible .hero-text-5 {
    opacity: 1;
    visibility: visible;
    animation: textWaveIn 1.2s ease-out forwards;
}

.hero-text-5:hover {
    transform: translateY(-3px);
    animation: textShimmer 2s ease-in-out infinite;
}

@keyframes textWaveIn {
    from {
        opacity: 0;
        transform: translateY(40px) rotate(-2deg);
    }
    to {
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }
}

@keyframes textShimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.snowball-interaction {
    position: relative;
    height: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 2.5rem;
    margin-top: 1.5rem;
    padding-top: 3%;
    touch-action: pan-y; /* 수직 스크롤 허용 */
}

.stress-input {
    padding: 0.75rem 1.5rem;
    font-size: 15px;
    font-weight: 200;
    text-align: center;
    border: 3px solid rgba(100, 181, 246, 0.3);
    border-radius: 50px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.9) 100%);
    color: var(--text-dark);
    outline: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 300px;
    height: 50px;
    position: relative;
    z-index: 15;
    animation: none;
    box-shadow: 0 4px 20px rgba(100, 181, 246, 0.15), 
                0 2px 8px rgba(100, 181, 246, 0.1),
                inset 0 1px 0 rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    touch-action: pan-y; /* 수직 스크롤 허용 */
}

.stress-input.animation-started {
    animation: inputPulse 2s ease-in-out infinite;
}

.stress-input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 8px 30px rgba(100, 181, 246, 0.3), 
                0 4px 12px rgba(100, 181, 246, 0.2),
                0 0 0 4px rgba(100, 181, 246, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transform: scale(1.02) translateY(-2px);
    animation: none;
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.stress-input.has-text {
    animation: none;
}

@keyframes inputPulse {
    0%, 100% {
        border-color: rgba(100, 181, 246, 0.3);
        box-shadow: 0 4px 20px rgba(100, 181, 246, 0.15), 
                    0 2px 8px rgba(100, 181, 246, 0.1),
                    inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }
    50% {
        border-color: var(--primary-blue);
        box-shadow: 0 8px 30px rgba(100, 181, 246, 0.3), 
                    0 4px 12px rgba(100, 181, 246, 0.2),
                    0 0 0 8px rgba(100, 181, 246, 0.15),
                    inset 0 1px 0 rgba(255, 255, 255, 0.9);
    }
}

.snowball-container {
    position: absolute;
    left: 46px;
    top: 125px;
    width: 100px;
    height: 100px;
    margin-left: -15%;
}

.snowball {
    font-size: 4.5rem;
    position: absolute;
    left: 55px;
    top: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    animation: none;
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.25)) 
            drop-shadow(0 2px 6px rgba(100, 181, 246, 0.3));
    will-change: transform, opacity, filter;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    touch-action: pan-y pinch-zoom; /* 수직 스크롤 및 핀치 줌 허용 */
    -webkit-touch-callout: none; /* iOS 롱프레스 메뉴 비활성화 */
    user-select: none; /* 텍스트 선택 방지 */
    -webkit-user-select: none;
}

.snowball.animation-started {
    animation: snowballBounce 2s ease-in-out infinite;
}

.snowball.flying.animation-started {
    animation: flyToEezey 1.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards !important;
}

.snowball:hover {
    transform: translate(-50%, -50%) scale(1.15);
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.3)) 
            drop-shadow(0 4px 10px rgba(100, 181, 246, 0.4));
    animation: none;
}

@keyframes snowballBounce {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0) scale(1);
        filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.25)) 
                drop-shadow(0 2px 6px rgba(100, 181, 246, 0.3));
    }
    50% {
        transform: translate(-50%, -50%) translateY(-18px) scale(1.08);
        filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.3)) 
                drop-shadow(0 4px 10px rgba(100, 181, 246, 0.4));
    }
}

.snowball-pointing {
    animation: snowballPoint 1.5s ease-in-out infinite;
}

@keyframes snowballPoint {
    0%, 100% {
        transform: translate(-50%, -50%) translateX(0) translateY(0) scale(1);
        filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.25)) 
                drop-shadow(0 2px 6px rgba(100, 181, 246, 0.3));
    }
    50% {
        transform: translate(-50%, -50%) translateX(-35px) translateY(-12px) scale(1.1);
        filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.3)) 
                drop-shadow(0 4px 10px rgba(100, 181, 246, 0.4));
    }
}

.snowball.flying {
    animation: flyToEezey 2s cubic-bezier(0.42, 0, 0.58, 1) forwards !important;
    z-index: 100;
    pointer-events: none;
    transition: none !important;
}

@keyframes flyToEezey {
    0% {
        left: var(--start-x, 50%);
        top: var(--start-y, 50%);
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        opacity: 1;
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2)) blur(0px) brightness(1);
    }
    15% {
        /* 초반 가속 - 살짝 위로 */
        left: var(--pos-15-x, 50%);
        top: var(--pos-15-y, 50%);
        transform: translate(-50%, -50%) scale(0.98) rotate(45deg);
        opacity: 1;
        filter: drop-shadow(0 5px 10px rgba(100, 181, 246, 0.25)) blur(0.3px) brightness(1.05);
    }
    30% {
        /* 상승 중 - 더 높이 */
        left: var(--pos-30-x, 50%);
        top: var(--pos-30-y, 50%);
        transform: translate(-50%, -50%) scale(0.92) rotate(90deg);
        opacity: 1;
        filter: drop-shadow(0 6px 12px rgba(100, 181, 246, 0.3)) blur(0.5px) brightness(1.1);
    }
    50% {
        /* 최고점 - 포물선의 정점 */
        left: var(--pos-50-x, 50%);
        top: var(--pos-50-y, 50%);
        transform: translate(-50%, -50%) scale(0.75) rotate(180deg);
        opacity: 1;
        filter: drop-shadow(0 8px 16px rgba(100, 181, 246, 0.4)) blur(1px) brightness(1.2);
    }
    70% {
        /* 하강 시작 - 가속 */
        left: var(--pos-70-x, 50%);
        top: var(--pos-70-y, 50%);
        transform: translate(-50%, -50%) scale(0.5) rotate(270deg);
        opacity: 0.95;
        filter: drop-shadow(0 10px 20px rgba(100, 181, 246, 0.5)) blur(1.5px) brightness(1.3);
    }
    85% {
        /* 하강 중 - 빠르게 */
        left: var(--pos-85-x, 50%);
        top: var(--pos-85-y, 50%);
        transform: translate(-50%, -50%) scale(0.3) rotate(315deg);
        opacity: 0.8;
        filter: drop-shadow(0 12px 24px rgba(100, 181, 246, 0.6)) blur(2.5px) brightness(1.4);
    }
    90% {
        /* 도착 직전 - 정확한 위치 조정 */
        left: var(--end-x, 50%);
        top: var(--end-y, 50%);
        transform: translate(-50%, -50%) scale(0.3) rotate(350deg);
        opacity: 0.5;
        filter: drop-shadow(0 12px 24px rgba(100, 181, 246, 0.6)) blur(3px) brightness(1.4);
    }
    95% {
        /* eezey에 도착 - 사라지기 시작 */
        left: var(--end-x, 50%);
        top: var(--end-y, 50%);
        transform: translate(-50%, -50%) scale(0.2) rotate(355deg);
        opacity: 0.2;
        filter: drop-shadow(0 10px 20px rgba(100, 181, 246, 0.5)) blur(3.5px) brightness(1.5);
    }
    100% {
        /* 완전히 사라짐 */
        left: var(--end-x, 50%);
        top: var(--end-y, 50%);
        transform: translate(-50%, -50%) scale(0) rotate(360deg);
        opacity: 0;
        filter: drop-shadow(0 0 0 rgba(100, 181, 246, 0)) blur(0px) brightness(1);
        visibility: hidden;
    }
}

.eezey-target {
    width: 320px;
    height: 320px;
    position: absolute;
    right: 8%;
    bottom: 8%;
    transform: translateY(0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 5;
    filter: drop-shadow(0 10px 30px rgba(100, 181, 246, 0.4)) 
            drop-shadow(0 4px 12px rgba(100, 181, 246, 0.3));
    touch-action: pan-y pinch-zoom; /* 수직 스크롤 및 핀치 줌 허용 */
    -webkit-touch-callout: none; /* iOS 롱프레스 메뉴 비활성화 */
    user-select: none; /* 텍스트 선택 방지 */
    -webkit-user-select: none;
}

.eezey-target.eezey-receiving {
    animation: eezeyReceive 2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes eezeyReceive {
    0% {
        transform: translateY(0) scale(1) rotate(0deg);
        filter: drop-shadow(0 10px 30px rgba(100, 181, 246, 0.4)) 
                drop-shadow(0 4px 12px rgba(100, 181, 246, 0.3));
    }
    10% {
        transform: translateY(-8px) scale(1.2) rotate(-8deg);
        filter: drop-shadow(0 15px 40px rgba(100, 181, 246, 0.6)) 
                drop-shadow(0 6px 18px rgba(100, 181, 246, 0.5));
    }
    25% {
        transform: translateY(5px) scale(0.9) rotate(10deg);
        filter: drop-shadow(0 8px 25px rgba(100, 181, 246, 0.4)) 
                drop-shadow(0 3px 10px rgba(100, 181, 246, 0.3));
    }
    40% {
        transform: translateY(-5px) scale(1.15) rotate(-6deg);
        filter: drop-shadow(0 12px 35px rgba(100, 181, 246, 0.5)) 
                drop-shadow(0 5px 15px rgba(100, 181, 246, 0.4));
    }
    55% {
        transform: translateY(3px) scale(0.95) rotate(4deg);
        filter: drop-shadow(0 10px 30px rgba(100, 181, 246, 0.4)) 
                drop-shadow(0 4px 12px rgba(100, 181, 246, 0.3));
    }
    70% {
        transform: translateY(-3px) scale(1.08) rotate(-3deg);
        filter: drop-shadow(0 11px 32px rgba(100, 181, 246, 0.45)) 
                drop-shadow(0 4px 13px rgba(100, 181, 246, 0.35));
    }
    85% {
        transform: translateY(2px) scale(0.98) rotate(2deg);
        filter: drop-shadow(0 10px 30px rgba(100, 181, 246, 0.4)) 
                drop-shadow(0 4px 12px rgba(100, 181, 246, 0.3));
    }
    100% {
        transform: translateY(0) scale(1) rotate(0deg);
        filter: drop-shadow(0 10px 30px rgba(100, 181, 246, 0.4)) 
                drop-shadow(0 4px 12px rgba(100, 181, 246, 0.3));
    }
}

.eezey-image-small {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 4px solid rgba(187, 222, 251, 0.4);
    box-shadow: inset 0 2px 8px rgba(255, 255, 255, 0.3),
                0 0 0 2px rgba(100, 181, 246, 0.2);
    touch-action: pan-y; /* 수직 스크롤 허용 */
    pointer-events: none; /* 이미지 자체는 클릭 불가, 부모 요소만 클릭 가능 */
}

.eezey-target.eezey-receiving .eezey-image-small {
    border-color: rgba(100, 181, 246, 0.6);
    box-shadow: inset 0 2px 8px rgba(255, 255, 255, 0.4),
                0 0 0 4px rgba(100, 181, 246, 0.3),
                0 0 20px rgba(100, 181, 246, 0.4);
    filter: brightness(1.15) saturate(1.1);
}

/* 섹션 6: 메시지 기능 */
.hero-section-6 {
    background: var(--bg-gradient-top);
    padding-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.hero-text-6,
h2.hero-text-6 {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace !important;
    font-size: 24px !important;
    font-weight: var(--font-weight-regular);
    line-height: 1.5;
    color: var(--text-dark);
    margin: 0 0 1rem 0;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 50%, var(--primary-blue) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    visibility: hidden;
}

.hero-scroll-section.visible .hero-text-6 {
    opacity: 1;
    visibility: visible;
    animation: textGradientShift 3s ease infinite, textFadeInScale 1s ease-out forwards;
}

.hero-text-6:hover {
    transform: scale(1.08);
    animation: textGradientShift 1s ease infinite, textFadeInScale 1s ease-out;
}

@keyframes textGradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes textFadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.chat-interaction {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1rem;
    margin-bottom: 1rem;
    touch-action: pan-y; /* 수직 스크롤 허용 */
}

#chat-bubbles-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.chat-bubble {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0;
    filter: drop-shadow(0 4px 8px rgba(33, 150, 243, 0.4));
    pointer-events: none;
}

.chat-bubble.burst {
    animation: bubbleBurst 1.5s ease-out forwards;
}

@keyframes bubbleBurst {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(0) rotate(0deg);
    }
    20% {
        opacity: 1;
        transform: translate(var(--burst-x), var(--burst-y)) scale(1.2) rotate(var(--burst-rotate));
    }
    100% {
        opacity: 0;
        transform: translate(var(--burst-x), var(--burst-y)) scale(0.3) rotate(calc(var(--burst-rotate) + 360deg));
    }
}

/* 편지 섹션 */
.letter-section {
    background: var(--bg-gradient-top);
    background-size: 200% 200%;
    padding: 4rem 2rem;
    min-height: auto;
    height: auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    overflow: visible;
    animation: letterSectionBackground 15s ease-in-out infinite;
}

/* 편지 스타일 - 봉투 없이 바로 보이도록 */
.letter-inside.pulled-out {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 1000px;
    opacity: 1;
    margin: 2rem auto;
    z-index: 20;
    pointer-events: auto;
}

@keyframes letterSectionBackground {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.letter-intro {
    font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
    font-size: 24px;
    font-weight: var(--font-weight-regular);
    line-height: 1.5;
    color: var(--text-dark);
    text-align: center;
    margin: 0 auto 1rem auto;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 50%, var(--primary-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    max-width: 500px;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    animation: letterIntroFadeIn 1s ease-out forwards, letterIntroFloat 4s ease-in-out infinite;
    animation-delay: 0s, 1.2s;
    transform: translateY(10px);
    white-space: normal;
    display: block;
}

@keyframes letterIntroFadeIn {
    to {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

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

.letter-emojis-container {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    pointer-events: none;
    z-index: 1;
    overflow: visible;
}

.letter-emoji {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0;
    filter: drop-shadow(0 4px 8px rgba(100, 181, 246, 0.3));
    pointer-events: none;
    z-index: 1;
}

.letter-emoji.flying {
    animation: letterEmojiFly 8s ease-in-out infinite;
}

.letter-emoji.flying-delayed {
    animation: letterEmojiFly 8s ease-in-out infinite;
    animation-delay: 2s;
}

.letter-emoji.flying-delayed-2 {
    animation: letterEmojiFly 8s ease-in-out infinite;
    animation-delay: 4s;
}

.letter-emoji.flying-delayed-3 {
    animation: letterEmojiFly 8s ease-in-out infinite;
    animation-delay: 6s;
}

@keyframes letterEmojiFly {
    0% {
        opacity: 0;
        transform: translate(0, 100vh) scale(0) rotate(0deg);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translate(var(--fly-x, 100vw), var(--fly-y, -100px)) scale(1.2) rotate(360deg);
    }
}





/* 편지 스타일 */
.letter-inside .letter-postcard {
    opacity: 1;
    animation: letterPostcardAppear 0.8s ease-out forwards, letterPostcardFloat 6s ease-in-out infinite;
    animation-delay: 0s, 1s;
}

/* 편지를 항상 표시 */
.letter-inside .letter-postcard {
    opacity: 1 !important;
    visibility: visible !important;
}

/* 편지 내용도 항상 표시 */
.letter-inside .letter-content {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1) !important;
    animation: letterContentFloat 6s ease-in-out infinite, letterContentGlow 4s ease-in-out infinite;
    animation-delay: 1.5s, 2s;
}

/* 편지 줄도 항상 표시 */
.letter-inside .letter-line {
    opacity: 1 !important;
    visibility: visible !important;
    animation: letterFadeInSlide 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards,
                letterLineFloat 5s ease-in-out infinite,
                letterLinePulse 3s ease-in-out infinite;
    animation-delay: calc(var(--line-index, 0) * 0.15s), 2s, 2.5s;
}

.letter-postcard {
    max-width: 500px;
    width: 100%;
    height: auto;
    min-height: auto;
    margin: 0 auto;
    background: #FFFFFF;
    border-radius: 16px;
    padding: 4rem 6rem;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.1),
        0 8px 25px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
    transform: perspective(1000px) rotateY(0deg);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
    z-index: 2;
    cursor: pointer;
    opacity: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: visible;
    visibility: visible;
}

/* 엽서 패턴 효과 제거 */
.letter-postcard::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: none;
    pointer-events: none;
    opacity: 0;
    border-radius: 16px;
}


/* 편지를 항상 보이도록 설정 */
.letter-inside {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: none;
    z-index: 10;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 2rem auto;
}

/* 편지가 꺼내진 후에만 float 애니메이션 적용 */
.letter-inside.pulled-out .letter-postcard {
    animation: letterPostcardFloat 6s ease-in-out infinite;
    animation-delay: 1s;
}

@keyframes letterPostcardAppear {
    0% {
        opacity: 0;
        transform: perspective(1000px) rotateY(-5deg) translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: perspective(1000px) rotateY(0deg) translateY(0) scale(1);
    }
}

@keyframes letterPostcardFloat {
    0%, 100% {
        transform: perspective(1000px) rotateY(0deg) translateY(0px) rotateZ(0deg);
    }
    25% {
        transform: perspective(1000px) rotateY(0.5deg) translateY(-8px) rotateZ(0.3deg);
    }
    50% {
        transform: perspective(1000px) rotateY(0deg) translateY(-12px) rotateZ(0deg);
    }
    75% {
        transform: perspective(1000px) rotateY(-0.5deg) translateY(-8px) rotateZ(-0.3deg);
    }
}


.letter-postcard::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    background: transparent;
    pointer-events: none;
    opacity: 0;
}

@keyframes letterPostcardShimmer {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.letter-postcard:hover {
    transform: perspective(1000px) rotateY(-2deg) translateY(-12px) scale(1.02);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.15),
        0 12px 35px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    animation-play-state: paused;
    border-color: rgba(0, 0, 0, 0.12);
}

.letter-content {
    position: relative;
    z-index: 3;
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: opacity 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s, 
                transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.5s;
    text-align: center;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    visibility: visible;
    overflow: visible;
    min-height: auto;
    height: auto;
    padding: 0;
    font-weight: 900;
}

.letter-inside.pulled-out .letter-content {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: letterContentFloat 6s ease-in-out infinite, letterContentGlow 4s ease-in-out infinite;
    animation-delay: 1.5s, 2s;
}

@keyframes letterContentFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-5px) scale(1.01);
    }
}

@keyframes letterContentGlow {
    0%, 100% {
        filter: drop-shadow(0 0 5px rgba(91, 155, 213, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 15px rgba(91, 155, 213, 0.5));
    }
}

.letter-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    border-radius: 20px;
    overflow: hidden;
}

.letter-particle {
    position: absolute;
    font-size: 1.5rem;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
}

.letter-particle.burst {
    animation: letterParticleBurst 1.2s ease-out forwards;
}

@keyframes letterParticleBurst {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(0) rotate(0deg);
    }
    20% {
        opacity: 1;
        transform: translate(var(--burst-x, 0), var(--burst-y, 0)) scale(1.3) rotate(var(--burst-rotate, 0deg));
    }
    100% {
        opacity: 0;
        transform: translate(var(--burst-x, 0), var(--burst-y, 0)) scale(0.2) rotate(calc(var(--burst-rotate, 0deg) + 360deg));
    }
}

.letter-heart {
    position: absolute;
    font-size: 2rem;
    opacity: 0;
    pointer-events: none;
    z-index: 3;
    filter: drop-shadow(0 2px 4px rgba(100, 181, 246, 0.4));
}

.letter-heart-icon {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.5s ease;
    z-index: 3;
    filter: drop-shadow(0 4px 8px rgba(100, 181, 246, 0.3));
    user-select: none;
    opacity: 0;
    pointer-events: none;
}

.letter-heart-icon.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    animation: heartFloat 3s ease-in-out infinite;
}

.letter-heart-icon:hover {
    transform: translateX(-50%) scale(1.2);
    filter: drop-shadow(0 6px 12px rgba(100, 181, 246, 0.5));
}

.letter-heart-icon:active {
    transform: translateX(-50%) scale(1.1);
}

.letter-heart-icon.visible.clicked {
    animation: heartBeat 0.6s ease-out;
}

@keyframes heartFloat {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-8px);
    }
}

@keyframes heartBeat {
    0% {
        transform: translateX(-50%) translateY(0) scale(1);
    }
    25% {
        transform: translateX(-50%) translateY(0) scale(1.3);
    }
    50% {
        transform: translateX(-50%) translateY(0) scale(1.15);
    }
    75% {
        transform: translateX(-50%) translateY(0) scale(1.25);
    }
    100% {
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

.letter-heart.float {
    animation: letterHeartFloat 2s ease-out forwards;
}

@keyframes letterHeartFloat {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(0);
    }
    20% {
        opacity: 1;
        transform: translate(0, -20px) scale(1.2);
    }
    100% {
        opacity: 0;
        transform: translate(0, -80px) scale(0.8);
    }
}

.letter-line {
    font-size: 15px;
    color: #4A90C2;
    line-height: 1.5;
    margin: 0;
    margin-bottom: 0.5rem;
    font-weight: 100;
    letter-spacing: 0.03em;
    opacity: 1;
    cursor: pointer;
    text-align: center;
    position: relative;
    padding: 0;
    white-space: pre-line;
    word-wrap: break-word;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform: translateX(0);
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    border: none;
    visibility: visible;
    width: 100%;
    max-width: 100%;
    min-height: auto;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    display: block;
    overflow: visible;
    overflow-wrap: break-word;
    word-wrap: break-word;
    white-space: normal;
    font-family: SpoqaHanSansNeo;
}

/* 편지가 꺼내진 후에만 줄별 애니메이션 적용 */
.letter-inside.pulled-out .letter-line {
    animation: letterFadeInSlide 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards, 
                letterLineFloat 5s ease-in-out infinite,
                letterLinePulse 3s ease-in-out infinite;
    animation-delay: calc(var(--line-index, 0) * 0.15s), 2s, 2.5s;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    user-select: text;
    transform-origin: center center;
}

@keyframes letterFadeInSlide {
    0% {
        opacity: 0;
        transform: translateY(20px) translateX(-10px) scale(0.9);
    }
    60% {
        opacity: 0.8;
        transform: translateY(-3px) translateX(2px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) translateX(0) scale(1);
    }
}

@keyframes letterLineFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-3px) scale(1.01);
    }
}

@keyframes letterLinePulse {
    0%, 100% {
        box-shadow: none;
    }
    50% {
        box-shadow: none;
    }
}

.letter-line:hover {
    background: transparent;
    transform: translateY(-2px);
    animation-play-state: paused;
    box-shadow: none;
    color: #3A7BA8;
    border: none;
}

.letter-line:active {
    transform: translateY(-1px);
    box-shadow: none;
}

.letter-line.clicked {
    animation: letterLineClickPulse 0.6s ease-out;
}

@keyframes letterLineClickPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
        background: transparent;
        box-shadow: none;
    }
    100% {
        transform: scale(1);
    }
}

.letter-line:nth-child(1) {
    --line-index: 0;
    animation-delay: 0.2s, 1.5s, 2s;
}

.letter-line:nth-child(2) {
    --line-index: 1;
    animation-delay: 0.35s, 1.5s, 2s;
}

.letter-line:nth-child(3) {
    --line-index: 2;
    animation-delay: 0.5s, 1.5s, 2s;
}

.letter-line:nth-child(4) {
    --line-index: 3;
    animation-delay: 0.65s, 1.5s, 2s;
}

.letter-line:nth-child(5) {
    --line-index: 4;
    animation-delay: 0.8s, 1.5s, 2s;
}

.letter-line:nth-child(6) {
    --line-index: 5;
    animation-delay: 0.95s, 1.5s, 2s;
}

.letter-line:nth-child(7) {
    --line-index: 6;
    animation-delay: 1.1s, 1.5s, 2s;
}

.letter-line:nth-child(8) {
    --line-index: 7;
    animation-delay: 1.25s, 1.5s, 2s;
    margin-bottom: 0.5rem;
    font-weight: var(--font-weight-semibold);
    color: #2E6A8F;
    font-size: clamp(1.2rem, 2.4vw, 1.6rem);
}

@keyframes letterFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px) translateX(-5px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) translateX(0) scale(1);
    }
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .letter-section {
        padding: 3rem 1.5rem;
    }
    
    
    .letter-postcard {
        padding: 2.5rem 3rem;
        border-radius: 14px;
        min-height: auto;
        height: auto;
        max-width: 95%;
        align-items: flex-start;
    }
    
    .letter-content {
        max-width: 100%;
    }
    
    .letter-line {
        font-size: clamp(1rem, 1.8vw, 1.2rem);
        line-height: 1.5;
        margin-bottom: 0.5rem;
        padding: 0;
    }
    
    .letter-content {
        max-width: 100%;
        padding: 0;
        justify-content: flex-start;
    }
    
    .letter-intro {
        font-size: var(--font-size-body);
        margin-bottom: 1.5rem;
        max-width: 100%;
        width: 100%;
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    /* 편지 모바일 스타일 */
    .letter-inside.pulled-out .letter-postcard {
        padding: 2rem 2.5rem;
        min-height: auto;
        height: auto;
    }
    
    .letter-postcard {
        padding: 2rem 1.5rem;
        min-height: auto;
        height: auto;
        max-width: 100%;
        width: calc(100% - 2rem);
        margin: 0 auto;
        align-items: flex-start;
    }
    
    .letter-content {
        max-width: 100%;
        gap: 0;
        padding: 0;
        justify-content: flex-start;
    }
    
    .letter-line {
        font-size: clamp(1rem, 1.8vw, 1.2rem);
        line-height: 1.5;
        margin-bottom: 0.5rem;
        padding: 0;
        width: 100%;
        max-width: 100%;
        height: auto;
        min-height: auto;
        display: block;
        font-weight: 100;
    }
    
    .letter-line:hover {
        padding: 0;
    }
    
    .letter-emoji {
        font-size: 1.8rem;
    }
    
    .letter-particle {
        font-size: 1.2rem;
    }
    
    .letter-heart {
        font-size: 1.5rem;
    }
    
    .letter-heart-icon {
        font-size: 2rem;
        bottom: 1.5rem;
    }
    
    .letter-line:hover {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

/* 앱 소개 */
.app-intro {
    background: var(--bg-gradient-top);
    padding: 1rem 2rem 4rem 2rem;
}

.app-title {
    font-size: var(--font-size-h1);
    font-weight: var(--font-weight-bold);
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 50%, var(--primary-blue) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 auto 1.5rem;
    letter-spacing: -0.05em;
    line-height: 1.1;
    animation: titleGradientFlow 4s ease infinite, titlePulse 2s ease-in-out infinite;
    transition: transform 0.3s ease;
    cursor: default;
}

.app-title:hover {
    transform: scale(1.05);
    animation: titleGradientFlow 2s ease infinite, titlePulse 1s ease-in-out infinite;
}

@keyframes titleGradientFlow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes titlePulse {
    0%, 100% {
        filter: drop-shadow(0 4px 15px rgba(100, 181, 246, 0.3));
    }
    50% {
        filter: drop-shadow(0 8px 30px rgba(100, 181, 246, 0.6));
    }
}

.app-tagline {
    font-size: var(--font-size-h4);
    font-family: 'SpoqaHanSansNeo', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    color: var(--text-secondary);
    font-weight: var(--font-weight-regular);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 auto 2rem;
    opacity: 0.95;
    animation: taglineFadeIn 1.5s ease-out 0.3s both;
    transition: transform 0.3s ease, opacity 0.3s ease;
    left: unset;
    top: unset;
}

.app-tagline:hover {
    transform: translateY(-3px);
    opacity: 1;
}

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

.app-description {
    font-size: var(--font-size-h4);
    color: var(--text-dark);
    font-weight: var(--font-weight-semibold);
    margin: 0 auto 3rem;
    animation: descriptionSlideIn 1.5s ease-out 0.6s both;
    transition: transform 0.3s ease, color 0.3s ease;
}

.app-description:hover {
    transform: scale(1.05);
    color: var(--primary-blue-dark);
}

@keyframes descriptionSlideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.cta-bubble {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(30px);
    padding: 2rem 3rem;
    border-radius: 50px;
    margin: 2rem auto;
    max-width: 600px;
    box-shadow:
        0 25px 80px rgba(100, 181, 246, 0.12),
        0 10px 40px rgba(100, 181, 246, 0.08);
    border: 2px solid rgba(187, 222, 251, 0.4);
    font-size: var(--font-size-body-lg);
    line-height: 1.9;
    color: var(--text-dark);
    font-weight: var(--font-weight-medium);
    position: relative;
    animation: bubbleFloat 3s ease-in-out infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-bubble:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow:
        0 30px 90px rgba(100, 181, 246, 0.2),
        0 15px 50px rgba(100, 181, 246, 0.15);
}

.cta-bubble p {
    animation: textFadeIn 1s ease-out;
    transition: transform 0.3s ease;
}

.cta-bubble:hover p {
    transform: scale(1.05);
}


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

.cta-bubble::before {
    content: '';
    position: absolute;
    bottom: -24px;
    left: 80px;
    width: 0;
    height: 0;
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-top: 25px solid rgba(255, 255, 255, 0.95);
    filter: drop-shadow(0 6px 12px rgba(33, 150, 243, 0.3));
}

.button-group {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn-download {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.2rem 2.5rem;
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-bold);
    text-decoration: none;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: white;
    box-shadow:
        0 8px 25px rgba(33, 150, 243, 0.5),
        0 4px 10px rgba(0, 0, 0, 0.15);
    transition: var(--transition-slow);
    flex: 1;
    align-self: stretch;
}

.btn-download-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    text-align: center;
    height: 100%;
    width: 100%;
}

.btn-download-main {
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    white-space: nowrap;
}

.btn-download-sub {
    font-size: clamp(0.7rem, 1.3vw, 0.8rem);
    font-weight: var(--font-weight-regular);
    line-height: 1.3;
    opacity: 0.9;
}

.btn-download:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow:
        0 15px 40px rgba(33, 150, 243, 0.6),
        0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-download-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    text-align: center;
    height: 100%;
    width: 100%;
}

.btn-download-main {
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    white-space: nowrap;
}

.btn-download-sub {
    font-size: clamp(0.7rem, 1.3vw, 0.8rem);
    font-weight: var(--font-weight-regular);
    line-height: 1.3;
    opacity: 0.9;
}

.btn-support {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.2rem 2.5rem;
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-bold);
    text-decoration: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #64B5F6 0%, #90CAF9 50%, #BBDEFB 100%);
    color: white;
    box-shadow:
        0 8px 25px rgba(100, 181, 246, 0.5),
        0 4px 10px rgba(0, 0, 0, 0.15);
    transition: var(--transition-slow);
    flex: 1;
    align-self: stretch;
}

.btn-support-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    text-align: center;
    height: 100%;
    width: 100%;
}

.btn-support-main {
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    white-space: nowrap;
}

.btn-support-sub {
    font-size: clamp(0.7rem, 1.3vw, 0.8rem);
    font-weight: var(--font-weight-regular);
    line-height: 1.3;
    opacity: 0.9;
    white-space: normal;
}

.btn-support:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow:
        0 15px 40px rgba(100, 181, 246, 0.6),
        0 8px 20px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #90CAF9 0%, #BBDEFB 50%, #64B5F6 100%);
}

.btn-large {
    padding: 1.5rem 5rem;
    font-size: var(--font-size-h5);
}

.android-notice {
    margin-top: 1rem;
    font-size: clamp(0.75rem, 1.5vw, 0.9rem);
    color: #64B5F6;
    text-align: center;
    font-weight: var(--font-weight-medium);
    opacity: 1;
    display: block;
}

/* 카카오톡 링크 컨테이너 - 한국어에서만 표시 */
.kakao-link-container {
    margin-top: 2rem;
    text-align: center;
    display: none; /* 기본적으로 숨김 */
}

.kakao-link-container[data-lang-only="ko"].visible {
    display: block;
}

.kakao-link-title {
    font-size: var(--font-size-body-lg);
    font-weight: var(--font-weight-bold);
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.kakao-link-subtitle {
    font-size: var(--font-size-body-sm);
    color: var(--text-secondary);
    margin-bottom: 1rem;
    opacity: 0.8;
}

.kakao-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    border-radius: 50px;
    background: linear-gradient(135deg, #FEE500 0%, #FFD700 100%);
    color: #3C1E1E;
    box-shadow:
        0 8px 25px rgba(254, 229, 0, 0.4),
        0 4px 10px rgba(0, 0, 0, 0.15);
    transition: var(--transition-slow);
    margin-top: 0.5rem;
}

.kakao-link:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow:
        0 12px 35px rgba(254, 229, 0, 0.5),
        0 6px 15px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #FFD700 0%, #FEE500 100%);
}

.kakao-link-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ============================================
   기능 소개 섹션
   ============================================ */
.features-section {
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-gradient-top) 25%, var(--bg-white) 50%, var(--bg-secondary) 75%, var(--bg-gradient-top) 100%);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.section-title {
    font-size: var(--font-size-h3);
    font-weight: var(--font-weight-bold);
    text-align: center;
    background: linear-gradient(135deg, var(--text-dark) 0%, var(--primary-blue) 50%, var(--text-secondary) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4rem;
    letter-spacing: -0.04em;
    position: relative;
    padding-bottom: 1.5rem;
    line-height: 1.2;
    animation: sectionTitleGradient 5s ease infinite;
    transition: transform 0.3s ease;
}

.section-title:hover {
    transform: scale(1.03);
    animation: sectionTitleGradient 2s ease infinite;
}

@keyframes sectionTitleGradient {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), var(--primary-blue-dark), var(--primary-blue), transparent);
    border-radius: 3px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 3.5rem;
    border-radius: 35px;
    box-shadow:
        0 20px 60px rgba(33, 150, 243, 0.15),
        0 8px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition-slow);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow:
        0 30px 80px rgba(33, 150, 243, 0.3),
        0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(33, 150, 243, 0.4);
}

.feature-icon {
    font-size: 5rem;
    margin-bottom: 2rem;
    display: inline-block;
    animation: iconPulse 2.5s ease-in-out infinite;
    filter: drop-shadow(0 6px 15px rgba(0, 0, 0, 0.2));
}

.feature-card:hover .feature-icon {
    transform: scale(1.2) rotate(5deg);
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    50% {
        transform: scale(1.15) rotate(5deg);
    }
}

.feature-title {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    font-weight: var(--font-weight-extrabold);
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    line-height: 1.3;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.feature-title:hover {
    transform: translateX(5px) scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(100, 181, 246, 0.4));
}

.feature-description {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 2;
    font-size: var(--font-size-body-sm);
    font-weight: var(--font-weight-regular);
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.feature-card:hover .feature-description {
    opacity: 1;
    transform: translateX(5px);
    color: var(--text-dark);
}

.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    padding: 0.8rem 0;
    color: var(--text-dark);
    position: relative;
    padding-left: 2rem;
    font-size: var(--font-size-body);
    transition: var(--transition);
    font-weight: var(--font-weight-medium);
    font-family: 'SpoqaHanSansNeo', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

.feature-list li:hover {
    color: var(--primary-blue);
    transform: translateX(10px);
    font-weight: var(--font-weight-bold);
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--healing-green);
    font-weight: var(--font-weight-bold);
    font-size: 1.5rem;
    top: 0.5rem;
}

/* Specific styling for freezer.list1 */
.feature-list li[data-i18n="features.freezer.list1"] {
    font-size: var(--font-size-body);
    left: unset;
    top: unset;
    position: relative;
    font-family: 'SpoqaHanSansNeo', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
}

/* ============================================
   마무리 섹션
   ============================================ */
.cta-final-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-light) 30%, var(--primary-blue-dark) 70%, var(--primary-blue) 100%);
    color: white;
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

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

.cta-title {
    font-size: var(--font-size-h2);
    font-weight: var(--font-weight-regular);
    color: white;
    margin: 2rem 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: ctaTitleGlow 3s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.cta-title:hover {
    transform: scale(1.05);
    animation: ctaTitleGlow 1.5s ease-in-out infinite;
}

@keyframes ctaTitleGlow {
    0%, 100% {
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2), 0 0 20px rgba(255, 255, 255, 0.1);
    }
    50% {
        text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3), 0 0 40px rgba(255, 255, 255, 0.3);
    }
}

.cta-final-section .cta-bubble {
    background: rgba(255, 255, 255, 0.98);
    color: var(--text-secondary);
}

.cta-final-section .btn-download {
    background: white;
    color: var(--primary-blue);
}

.cta-final-section .btn-download:hover {
    background: rgba(255, 255, 255, 1);
    color: var(--primary-blue-dark);
}

/* ============================================
   문의 섹션
   ============================================ */
.contact-section {
    background: var(--bg-gradient-top);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: var(--font-size-body-lg);
    margin-bottom: 4rem;
    font-weight: var(--font-weight-semibold);
    letter-spacing: 0.02em;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    animation: subtitleFadeIn 1s ease-out;
    transition: transform 0.3s ease, color 0.3s ease;
}

.section-subtitle:hover {
    transform: translateY(-3px);
    color: var(--primary-blue);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 3.5rem;
    border-radius: 30px;
    box-shadow:
        0 20px 60px rgba(33, 150, 243, 0.15),
        0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: var(--transition-slow);
}

.contact-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow:
        0 30px 80px rgba(33, 150, 243, 0.25),
        0 15px 40px rgba(0, 0, 0, 0.12);
}

.contact-icon {
    font-size: 4rem;
    animation: iconFloat 4s ease-in-out infinite;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
}

@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
    }
    50% {
        transform: translateY(-12px) rotate(8deg) scale(1.05);
    }
}

.contact-details h3 {
    color: var(--text-dark);
    margin-bottom: 0.8rem;
    font-size: var(--font-size-h4);
    font-weight: var(--font-weight-bold);
    transition: transform 0.3s ease, color 0.3s ease;
}

.contact-item:hover .contact-details h3 {
    transform: translateX(5px);
    color: var(--primary-blue-dark);
}

.contact-details a {
    color: var(--primary-blue-dark);
    text-decoration: none;
    transition: var(--transition);
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-body-lg);
}

.contact-details a:hover {
    color: var(--primary-blue-dark);
    transform: translateY(-3px) scale(1.05);
}

/* ============================================
   푸터
   ============================================ */
.footer {
    background: linear-gradient(30deg, rgba(144, 202, 249, 1) 0%, rgba(255, 255, 255, 1) 100%);
    color: white;
    padding: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.footer-brand {
    font-size: var(--font-size-h4);
    font-weight: var(--font-weight-extrabold);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 1) 0%, rgba(100, 181, 246, 1) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: footerBrandGradient 3s ease infinite;
    transition: transform 0.3s ease;
    cursor: default;
}

.footer-brand:hover {
    transform: scale(1.1);
    animation: footerBrandGradient 1.5s ease infinite;
}

@keyframes footerBrandGradient {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-regular);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-description:hover {
    opacity: 1;
    transform: translateY(-3px);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--font-size-caption);
    font-weight: var(--font-weight-regular);
}

.footer-translation {
    color: rgba(255, 255, 255, 0.4);
    font-size: var(--font-size-caption);
    font-weight: var(--font-weight-regular);
    font-style: italic;
    margin-top: 0.5rem;
}

/* ============================================
   Sticky CTA
   ============================================ */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
    backdrop-filter: blur(20px);
    box-shadow:
        0 -8px 30px rgba(0, 0, 0, 0.15),
        0 -2px 10px rgba(33, 150, 243, 0.1);
    padding: 1.2rem;
    z-index: 999;
    transform: translateY(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 2px solid rgba(33, 150, 243, 0.1);
}

.sticky-cta.visible {
    transform: translateY(0);
}

.sticky-button-group {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0.75rem;
    max-width: 900px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.btn-sticky {
    flex: 1;
    min-width: 200px;
    max-width: 400px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    align-self: stretch;
}

.btn-sticky-support {
    flex: 1;
    min-width: 200px;
    max-width: 400px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    align-self: stretch;
}

.btn-sticky-support .btn-support-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    text-align: center;
    height: 100%;
    width: 100%;
}

.btn-sticky-support .btn-support-main {
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    white-space: nowrap;
}

.btn-sticky-support .btn-support-sub {
    font-size: clamp(0.7rem, 1.3vw, 0.8rem);
    font-weight: var(--font-weight-regular);
    line-height: 1.3;
    opacity: 0.9;
    white-space: normal;
}

.btn-sticky-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    text-align: center;
    height: 100%;
    width: 100%;
}

.btn-sticky-main {
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    white-space: nowrap;
}

.btn-sticky-sub {
    font-size: clamp(0.7rem, 1.3vw, 0.8rem);
    font-weight: var(--font-weight-regular);
    line-height: 1.3;
    opacity: 0.9;
}

/* ============================================
   반응형 디자인
   ============================================ */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .hero-scroll-section {
        padding: 2rem 1rem;
    }

    .eezey-ball {
        width: 200px;
        height: 200px;
    }

    .squeeze-interaction {
        height: 400px;
    }
    
    .squeeze-ball {
        width: 250px;
        height: 250px;
    }
    
    .hand-icon {
        font-size: 4rem;
    }
    
    .snowball-interaction,
    .chat-interaction {
        height: 300px;
    }
    
    .eezey-target {
        width: 200px;
        height: 200px;
    }
    
    /* 섹션 3 모바일 스타일 */
    .hero-section-3 .sparkle {
        font-size: 1.8rem;
    }
    
    .hero-section-3 .floating-heart {
        font-size: 2rem;
    }
    
    .hero-section-3 .glow-circle {
        filter: blur(30px);
    }
    
    .circle-1 {
        width: 200px;
        height: 200px;
    }
    
    .circle-2 {
        width: 150px;
        height: 150px;
    }
    
    .circle-3 {
        width: 120px;
        height: 120px;
    }
    
    .hero-section-3 .emoji-decoration {
        font-size: 4rem;
    }
    
    /* 편지 태블릿 스타일 - 봉투 제거됨 */
}

@media (max-width: 768px) {
    .button-group {
        flex-direction: row;
        gap: 0.75rem;
        flex-wrap: wrap;
        justify-content: center;
        align-items: stretch;
    }
    
    .btn-download,
    .btn-support {
        flex: 1;
        min-width: 140px;
        max-width: calc(50% - 0.375rem);
        padding: 1rem 1.2rem;
        font-size: var(--font-size-body-sm);
        justify-content: center;
        align-self: stretch;
    }
    
    .btn-support-main {
        font-size: var(--font-size-body-sm);
    }
    
    .btn-support-sub {
        font-size: clamp(0.6rem, 1.1vw, 0.7rem);
    }
    
    .btn-download-main {
        font-size: var(--font-size-body-sm);
    }
    
    .btn-download-sub {
        font-size: clamp(0.6rem, 1.1vw, 0.7rem);
    }
    
    .sticky-button-group {
        flex-direction: row;
        gap: 0.5rem;
        padding: 0;
        align-items: stretch;
    }
    
    .btn-sticky,
    .btn-sticky-support {
        flex: 1;
        min-width: 140px;
        max-width: calc(50% - 0.25rem);
        padding: 0.85rem 1rem;
        font-size: var(--font-size-body-sm);
        align-self: stretch;
    }
    
    .btn-sticky-support .btn-support-main {
        font-size: var(--font-size-body);
    }
    
    .btn-sticky-support .btn-support-sub {
        font-size: clamp(0.7rem, 1.3vw, 0.8rem);
    }
}

@media (max-width: 480px) {
    .app-title {
        font-size: 3rem;
    }
    
    .button-group {
        gap: 0.5rem;
        flex-direction: row;
        align-items: stretch;
    }
    
    .btn-download,
    .btn-support {
        flex: 1;
        min-width: 120px;
        max-width: calc(50% - 0.25rem);
        padding: 0.9rem 1rem;
        align-self: stretch;
    }
    
    .btn-support-main {
        font-size: clamp(0.75rem, 1.2vw, 0.9rem);
    }
    
    .btn-support-sub {
        font-size: clamp(0.6rem, 1vw, 0.7rem);
    }
    
    .btn-download-main {
        font-size: clamp(0.75rem, 1.2vw, 0.9rem);
    }
    
    .btn-download-sub {
        font-size: clamp(0.6rem, 1vw, 0.7rem);
    }
    
    .kakao-link-container {
        margin-top: 1.5rem;
    }
    
    .kakao-link {
        padding: 0.9rem 1.5rem;
        font-size: var(--font-size-body-sm);
    }

    .hero-text-1,
    .hero-text-2,
    .hero-text-3,
    .hero-text-4,
    .hero-text-5,
    .hero-text-6 {
        font-size: 1.8rem;
    }
    
    /* 섹션 3 작은 화면 스타일 */
    .hero-section-3 .sparkle {
        font-size: 1.5rem;
    }
    
    .hero-section-3 .floating-heart {
        font-size: 1.8rem;
    }
    
    .hero-section-3 .glow-circle {
        filter: blur(25px);
        opacity: 0.2;
    }
    
    .hero-section-3 .circle-1 {
        width: 150px;
        height: 150px;
    }
    
    .hero-section-3 .circle-2 {
        width: 120px;
        height: 120px;
    }
    
    .hero-section-3 .circle-3 {
        width: 100px;
        height: 100px;
    }
    
    .hero-section-3 .emoji-decoration {
        font-size: 3.5rem;
    }
    
    .hero-text-3 .text-line-1,
    .hero-text-3 .text-line-2,
    .hero-text-3 .text-line-3,
    .hero-text-3 .text-line-4 {
        font-size: 0.9em;
    }
    
    .squeeze-ball {
        width: 200px;
        height: 200px;
    }
    
    .hand-icon {
        font-size: 3.5rem;
    }
    
    .squeeze-interaction {
        height: 350px;
    }
    
    .hero-text-1 {
        font-size: clamp(2rem, 5vw, 3.5rem);
        white-space: normal;
        margin-top: 1rem;
    }
    
    .eezey-ball {
        width: 200px;
        height: 200px;
    }
    
    .eezey-target {
        width: 200px;
        height: 200px;
    }
    
    @keyframes floatBallFree {
        0% {
            transform: translate(-50%, -50%) translate(0, 0) rotate(0deg);
        }
        20% {
            transform: translate(-50%, -50%) translate(80px, -60px) rotate(5deg);
        }
        40% {
            transform: translate(-50%, -50%) translate(-70px, 80px) rotate(-4deg);
        }
        60% {
            transform: translate(-50%, -50%) translate(70px, 100px) rotate(4deg);
        }
        80% {
            transform: translate(-50%, -50%) translate(-60px, -70px) rotate(-5deg);
        }
        100% {
            transform: translate(-50%, -50%) translate(0, 0) rotate(0deg);
        }
    }

    .section-title {
        font-size: clamp(1.6rem, 4vw, 2.8rem);
    }

    .feature-card {
        padding: 2rem;
    }

    .contact-item {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    
    .sticky-button-group {
        gap: 0.4rem;
        flex-direction: row;
        align-items: stretch;
    }
    
    .btn-sticky,
    .btn-sticky-support {
        flex: 1;
        min-width: 120px;
        max-width: calc(50% - 0.2rem);
        padding: 0.8rem 0.9rem;
        align-self: stretch;
    }
    
    .btn-sticky-support .btn-support-main {
        font-size: clamp(0.75rem, 1.2vw, 0.9rem);
    }
    
    .btn-sticky-support .btn-support-sub {
        font-size: clamp(0.6rem, 1vw, 0.7rem);
    }
    
    .btn-sticky-main {
        font-size: clamp(0.75rem, 1.2vw, 0.9rem);
    }
    
    .btn-sticky-sub {
        font-size: clamp(0.6rem, 1vw, 0.7rem);
    }
    
    /* 편지 모바일 스타일 - 봉투 제거됨 */
    .letter-inside.pulled-out .letter-postcard {
        padding: 2rem 1.5rem;
        min-height: auto;
        align-items: flex-start;
    }
}

.letter-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.letter-intro {
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.letter-intro-text {
    font-size: var(--font-size-h5);
    color: var(--text-secondary);
    font-weight: var(--font-weight-medium);
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    animation: introTextSlide 1s ease-out;
    transition: transform 0.3s ease, color 0.3s ease;
}


@keyframes introTextSlide {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.letter-container {
    position: relative;
    max-width: 95vw;
    width: 100%;
    margin: 0 auto;
    padding: 2rem;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.letter-paper {
    background: #ffffff;
    backdrop-filter: blur(20px);
    border-radius: 8px;
    padding: 2.5rem 3.5rem;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.12),
        0 2px 8px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(200, 200, 200, 0.3);
    border-top: 3px solid rgba(150, 150, 150, 0.4);
    position: relative;
    max-width: 900px;
    width: 100%;
    transform: translate(-50%, 0);
    left: 50%;
    min-height: 400px;
    height: auto;
    overflow: visible;
}

/* 152:102 비율을 최소 비율로 유지 (너비에 따라 최소 높이 계산) */
@media (min-width: 600px) {
    .letter-paper {
        min-height: calc((min(100%, 900px) - 5rem - 5rem) * 102 / 152);
    }
}

.letter-content {
    position: relative;
    user-select: text;
    -webkit-user-select: text;
    will-change: transform;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: auto;
    width: 100%;
    height: 100%;
    font-weight: 900;
    z-index: 2;
    text-align: center;
}

.letter-content:hover {
    transform: scale(1.01);
}

/* 중복 스타일 제거 - 위쪽 스타일 사용 */

/* 편지 줄 내 글자별 fade-in 애니메이션 */
.letter-line > span[data-i18n] {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    color: #4A90C2 !important;
    position: relative;
    z-index: 1;
    text-align: center;
}

/* JavaScript로 생성된 글자별 span */
.letter-line > span[data-i18n] > span {
    display: inline-block;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: #4A90C2 !important;
}

.letter-line > span[data-i18n] > span[style*="opacity: 1"] {
    opacity: 1 !important;
    color: #4A90C2 !important;
}

/* 애니메이션이 적용되지 않은 경우 원본 텍스트 보이기 */
.letter-line > span[data-i18n]:not([data-animated="true"]) {
    opacity: 1 !important;
    visibility: visible !important;
    color: #4A90C2 !important;
}

/* 편지지 뒤에 떠다니는 하트 편지 이모티콘 */
.floating-hearts {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.floating-heart {
    position: absolute;
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    animation: floatHeart infinite ease-in-out;
    filter: blur(0.5px);
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
    z-index: 1;
}

@keyframes floatHeart {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.3;
    }
    25% {
        transform: translate(25px, -35px) rotate(15deg) scale(1.15);
        opacity: 0.6;
    }
    50% {
        transform: translate(-20px, -60px) rotate(-12deg) scale(0.95);
        opacity: 0.5;
    }
    75% {
        transform: translate(30px, -40px) rotate(18deg) scale(1.1);
        opacity: 0.7;
    }
    100% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.3;
    }
}


.letter-line.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 편지 줄 내 글자별 fade-in 애니메이션 - 문장 내부의 글자 span */
.letter-line > span > span {
    display: inline-block;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.letter-line > span > span[style*="opacity: 1"] {
    opacity: 1 !important;
}

.easeYParent {
  	width: 100%;
  	height: 35px;
  	position: relative;
  	background-color: #fff;
  	overflow: hidden;
  	text-align: left;
  	font-size: 12px;
  	color: #000;
  	font-family: Inter;
}
.easeY {
  	position: absolute;
  	top: 9px;
  	left: 8px;
}
.urLife {
  	position: absolute;
  	top: 9px;
  	left: 53px;
}
.x201Icon {
  	position: absolute;
  	top: 10px;
  	left: 41px;
  	width: 16px;
  	height: 16px;
  	object-fit: cover;
}



