/* 히어로 섹션 배경 */
.hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    position: relative;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(234, 179, 8, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(249, 115, 22, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(234, 179, 8, 0.05) 0%, transparent 70%);
    z-index: 1;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(2px 2px at 20px 30px, rgba(234, 179, 8, 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(234, 179, 8, 0.2), transparent),
        radial-gradient(2px 2px at 50px 160px, rgba(234, 179, 8, 0.3), transparent),
        radial-gradient(2px 2px at 90px 40px, rgba(234, 179, 8, 0.2), transparent),
        radial-gradient(2px 2px at 130px 80px, rgba(234, 179, 8, 0.3), transparent),
        radial-gradient(2px 2px at 160px 120px, rgba(234, 179, 8, 0.2), transparent);
    background-size: 200px 200px;
    animation: particles 20s linear infinite;
    z-index: 1;
}

@keyframes particles {
    0% { transform: translateY(0); }
    100% { transform: translateY(-200px); }
}

/* 히어로 타이틀 */
.hero-title {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 25%, #fcd34d 50%, #f59e0b 75%, #fbbf24 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shine 3s linear infinite;
    text-shadow: 0 0 80px rgba(251, 191, 36, 0.5);
}

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

/* CTA 버튼 - Primary */
.cta-btn-primary {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #0f172a;
    box-shadow: 0 10px 40px rgba(251, 191, 36, 0.4);
    transition: all 0.3s ease;
}

.cta-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(251, 191, 36, 0.6);
}

.cta-btn-primary:active {
    transform: translateY(-1px);
}

/* CTA 버튼 - KakaoTalk */
.cta-btn-kakao {
    background: linear-gradient(135deg, #FEE500 0%, #F2D600 100%);
    color: #191919;
    box-shadow: 0 10px 40px rgba(254, 229, 0, 0.3);
    transition: all 0.3s ease;
}

.cta-btn-kakao:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(254, 229, 0, 0.5);
}

.cta-btn-kakao:active {
    transform: translateY(-1px);
}

/* CTA 버튼 - Secondary */
.cta-btn-secondary {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    color: #ffffff;
    box-shadow: 0 10px 40px rgba(14, 165, 233, 0.3);
    transition: all 0.3s ease;
}

.cta-btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(14, 165, 233, 0.5);
}

.cta-btn-secondary:active {
    transform: translateY(-1px);
}

/* 스크롤 인디케이터 */
.scroll-indicator .mouse {
    width: 26px;
    height: 42px;
    border: 2px solid rgba(251, 191, 36, 0.5);
    border-radius: 20px;
    position: relative;
}

.scroll-indicator .mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: #fbbf24;
    border-radius: 2px;
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 20px; }
}

/* Masonry 갤러리 - Pinterest 스타일 */
.masonry-gallery {
    columns: 2;
    column-gap: 16px;
}

@media (min-width: 768px) {
    .masonry-gallery {
        columns: 3;
        column-gap: 20px;
    }
}

@media (min-width: 1024px) {
    .masonry-gallery {
        columns: 4;
        column-gap: 24px;
    }
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 16px;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 768px) {
    .masonry-item {
        margin-bottom: 20px;
    }
}

@media (min-width: 1024px) {
    .masonry-item {
        margin-bottom: 24px;
    }
}

.masonry-item:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* Feature 카드 호버 */
.feature-card {
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* 추천 아이템 */
.recommend-item {
    transition: all 0.3s ease;
}

.recommend-item:hover {
    transform: translateX(10px);
}

/* 통계 아이템 */
.stat-item {
    padding: 20px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(251, 191, 36, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(251, 191, 36, 0.3);
}

/* 히어로 폼 */
.hero-form {
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

/* 반응형 */
@media (max-width: 640px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .stat-item {
        padding: 12px 16px;
    }
}
