/* ============================================
   LifeReceipt - Meme Hero Styles
   밈 친화적 히어로 섹션 스타일
   ============================================ */

/* 이모지 비 파티클 */
.emoji-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.emoji-particle {
    position: absolute;
    font-size: 1.5rem;
    animation: fall linear forwards;
    opacity: 0.6;
}

@keyframes fall {
    0% {
        transform: translateY(-50px) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* 밈 배지 */
.meme-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-4);
    animation: shake 0.5s ease-in-out infinite, glow-badge 2s ease-in-out infinite;
    cursor: pointer;
    transition: transform 0.2s;
}

.meme-badge:hover {
    transform: scale(1.1) rotate(-3deg);
}

.badge-emoji {
    font-size: 1.2rem;
    animation: bounce 0.6s ease infinite;
}

.badge-text {
    font-size: var(--text-sm);
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@keyframes glow-badge {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(255, 107, 107, 0.5);
    }

    50% {
        box-shadow: 0 0 25px rgba(255, 107, 107, 0.8);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

/* 히어로 타이틀 업그레이드 */
.hero-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
}

.title-line {
    font-size: var(--text-3xl);
    color: var(--text-secondary);
    font-weight: 500;
}

@media (min-width: 640px) {
    .title-line {
        font-size: var(--text-4xl);
    }
}

/* 글리치 효과 */
.glitch {
    position: relative;
    font-size: var(--text-4xl) !important;
}

@media (min-width: 640px) {
    .glitch {
        font-size: var(--text-5xl) !important;
    }
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 #ff00aa;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 3s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: 2px 0 #00aaff;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 2s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(10px, 9999px, 31px, 0);
    }

    10% {
        clip: rect(70px, 9999px, 93px, 0);
    }

    20% {
        clip: rect(25px, 9999px, 63px, 0);
    }

    30% {
        clip: rect(52px, 9999px, 85px, 0);
    }

    40% {
        clip: rect(5px, 9999px, 32px, 0);
    }

    50% {
        clip: rect(42px, 9999px, 98px, 0);
    }

    60% {
        clip: rect(88px, 9999px, 100px, 0);
    }

    70% {
        clip: rect(15px, 9999px, 47px, 0);
    }

    80% {
        clip: rect(62px, 9999px, 78px, 0);
    }

    90% {
        clip: rect(33px, 9999px, 55px, 0);
    }

    100% {
        clip: rect(75px, 9999px, 91px, 0);
    }
}

@keyframes glitch-anim2 {
    0% {
        clip: rect(65px, 9999px, 91px, 0);
    }

    20% {
        clip: rect(30px, 9999px, 55px, 0);
    }

    40% {
        clip: rect(5px, 9999px, 42px, 0);
    }

    60% {
        clip: rect(77px, 9999px, 98px, 0);
    }

    80% {
        clip: rect(20px, 9999px, 38px, 0);
    }

    100% {
        clip: rect(55px, 9999px, 72px, 0);
    }
}

/* 밈 태그라인 */
.hero-tagline {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin: var(--space-4) 0;
    font-size: var(--text-lg);
}

.tagline-prefix {
    color: var(--text-muted);
    font-weight: 400;
}

.tagline-rotating {
    color: var(--accent-secondary);
    font-weight: 700;
    position: relative;
    padding: var(--space-1) var(--space-3);
    background: rgba(255, 0, 170, 0.1);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 0, 170, 0.3);
}

/* 소셜 프루프 */
.social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    margin-top: var(--space-6);
    padding: var(--space-3) var(--space-6);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
}

.proof-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-1);
}

.proof-number {
    font-family: var(--font-mono);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--accent-primary);
}

.proof-item:last-child .proof-number {
    color: #ff4444;
}

.proof-label {
    font-size: var(--text-xs);
    color: var(--text-muted);
}

.proof-divider {
    color: var(--text-muted);
    font-size: var(--text-xl);
}

/* 히어로 서브타이틀 업그레이드 */
.hero-subtitle {
    font-size: var(--text-base) !important;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-tertiary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

/* 흔들림 애니메이션 */
@keyframes shake {

    0%,
    100% {
        transform: translateX(0) rotate(0deg);
    }

    25% {
        transform: translateX(-2px) rotate(-1deg);
    }

    75% {
        transform: translateX(2px) rotate(1deg);
    }
}

/* 모바일 반응형 */
@media (max-width: 480px) {
    .meme-badge {
        padding: var(--space-1) var(--space-3);
    }

    .badge-text {
        font-size: var(--text-xs);
    }

    .hero-tagline {
        flex-direction: column;
        gap: var(--space-1);
        font-size: var(--text-base);
    }

    .social-proof {
        flex-direction: column;
        gap: var(--space-2);
    }

    .proof-divider {
        display: none;
    }
}