/**
 * animations.css - 모닝 잉글리쉬 애니메이션 & Antigravity 효과
 * 위치: /assets/css/animations.css
 *
 * Antigravity Effects:
 * - Light Aura: 빛나는 오라 효과
 * - Particle Orbit: 궤도를 도는 파티클
 * - Beta Wave: 베타파 웨이브 효과
 */

/* ========================================
   기본 애니메이션
   ======================================== */

/* 페이드 인 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 페이드 인 업 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 페이드 인 다운 */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 페이드 인 레프트 */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 페이드 인 라이트 */
@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 스케일 인 */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 바운스 */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

/* 펄스 */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* 쉐이크 */
@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

/* 스핀 */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* 플로트 */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* 글로우 펄스 */
@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(3, 199, 90, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(3, 199, 90, 0.6);
    }
}

/* ========================================
   애니메이션 클래스
   ======================================== */
.animate-fadeIn {
    animation: fadeIn 0.5s ease-out forwards;
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-fadeInDown {
    animation: fadeInDown 0.6s ease-out forwards;
}

.animate-fadeInLeft {
    animation: fadeInLeft 0.6s ease-out forwards;
}

.animate-fadeInRight {
    animation: fadeInRight 0.6s ease-out forwards;
}

.animate-scaleIn {
    animation: scaleIn 0.4s ease-out forwards;
}

.animate-bounce {
    animation: bounce 1s ease infinite;
}

.animate-pulse {
    animation: pulse 2s ease infinite;
}

.animate-shake {
    animation: shake 0.5s ease;
}

.animate-spin {
    animation: spin 1s linear infinite;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-glow {
    animation: glowPulse 2s ease-in-out infinite;
}

/* 딜레이 클래스 */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }
.delay-700 { animation-delay: 0.7s; }
.delay-800 { animation-delay: 0.8s; }
.delay-900 { animation-delay: 0.9s; }
.delay-1000 { animation-delay: 1s; }

/* ========================================
   ANTIGRAVITY EFFECT 1: Light Aura (빛나는 오라)
   ======================================== */

/* 오라 컨테이너 */
.light-aura-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* 오라 요소 */
.light-aura {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: auraFloat 20s ease-in-out infinite;
}

.light-aura-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(3, 199, 90, 0.4) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    animation-delay: 0s;
}

.light-aura-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(88, 101, 242, 0.3) 0%, transparent 70%);
    bottom: -150px;
    left: -150px;
    animation-delay: -7s;
}

.light-aura-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 184, 0, 0.25) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes auraFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.4;
    }
    25% {
        transform: translate(30px, -30px) scale(1.1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-20px, 20px) scale(0.95);
        opacity: 0.35;
    }
    75% {
        transform: translate(-30px, -20px) scale(1.05);
        opacity: 0.45;
    }
}

/* 오라 글로우 효과 */
@keyframes auraGlow {
    0%, 100% {
        filter: blur(80px) brightness(1);
    }
    50% {
        filter: blur(100px) brightness(1.2);
    }
}

.light-aura.glow-effect {
    animation: auraFloat 20s ease-in-out infinite, auraGlow 5s ease-in-out infinite;
}

/* 요소에 적용하는 오라 효과 */
.has-aura {
    position: relative;
}

.has-aura::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(3, 199, 90, 0.2) 0%, transparent 60%);
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: -1;
}

.has-aura:hover::before {
    opacity: 1;
}

/* ========================================
   ANTIGRAVITY EFFECT 2: Particle Orbit (궤도 파티클)
   ======================================== */

/* 파티클 궤도 컨테이너 */
.particle-orbit-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

/* 궤도 중심 */
.orbit-center {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-color);
}

/* 파티클 */
.orbit-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color);
}

/* 파티클 궤도 애니메이션 */
@keyframes particleOrbit {
    from {
        transform: rotate(0deg) translateX(var(--orbit-radius, 100px)) rotate(0deg);
    }
    to {
        transform: rotate(360deg) translateX(var(--orbit-radius, 100px)) rotate(-360deg);
    }
}

@keyframes particleOrbitReverse {
    from {
        transform: rotate(360deg) translateX(var(--orbit-radius, 80px)) rotate(-360deg);
    }
    to {
        transform: rotate(0deg) translateX(var(--orbit-radius, 80px)) rotate(0deg);
    }
}

/* 다양한 궤도 파티클 */
.orbit-particle-1 {
    --orbit-radius: 150px;
    animation: particleOrbit 15s linear infinite;
    background: #03C75A;
    box-shadow: 0 0 10px #03C75A, 0 0 20px #03C75A;
}

.orbit-particle-2 {
    --orbit-radius: 120px;
    animation: particleOrbitReverse 12s linear infinite;
    background: #5865F2;
    box-shadow: 0 0 10px #5865F2, 0 0 20px #5865F2;
}

.orbit-particle-3 {
    --orbit-radius: 180px;
    animation: particleOrbit 20s linear infinite;
    animation-delay: -5s;
    background: #FFB800;
    box-shadow: 0 0 10px #FFB800, 0 0 20px #FFB800;
}

.orbit-particle-4 {
    --orbit-radius: 100px;
    animation: particleOrbitReverse 10s linear infinite;
    animation-delay: -3s;
    background: #FF6B6B;
    box-shadow: 0 0 10px #FF6B6B, 0 0 20px #FF6B6B;
}

/* 궤도 링 */
.orbit-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(3, 199, 90, 0.1);
    animation: orbitRingPulse 4s ease-in-out infinite;
}

.orbit-ring-1 {
    width: 300px;
    height: 300px;
    animation-delay: 0s;
}

.orbit-ring-2 {
    width: 240px;
    height: 240px;
    animation-delay: -1s;
}

.orbit-ring-3 {
    width: 360px;
    height: 360px;
    animation-delay: -2s;
}

@keyframes orbitRingPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.02);
    }
}

/* 요소에 적용하는 궤도 효과 */
.has-orbit {
    position: relative;
}

.has-orbit::before,
.has-orbit::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.has-orbit:hover::before {
    opacity: 1;
    animation: elementOrbit1 3s linear infinite;
}

.has-orbit:hover::after {
    opacity: 1;
    animation: elementOrbit2 4s linear infinite reverse;
}

@keyframes elementOrbit1 {
    from {
        transform: rotate(0deg) translateX(calc(50% + 20px)) rotate(0deg);
    }
    to {
        transform: rotate(360deg) translateX(calc(50% + 20px)) rotate(-360deg);
    }
}

@keyframes elementOrbit2 {
    from {
        transform: rotate(0deg) translateX(calc(50% + 30px)) rotate(0deg);
    }
    to {
        transform: rotate(360deg) translateX(calc(50% + 30px)) rotate(-360deg);
    }
}

/* ========================================
   ANTIGRAVITY EFFECT 3: Beta Wave (베타파 웨이브)
   ======================================== */

/* 베타 웨이브 컨테이너 */
.beta-wave-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* 베타 웨이브 라인 */
.beta-wave {
    position: absolute;
    width: 200%;
    height: 2px;
    left: -50%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(3, 199, 90, 0.3) 25%,
        rgba(3, 199, 90, 0.6) 50%,
        rgba(3, 199, 90, 0.3) 75%,
        transparent 100%
    );
    animation: betaWaveMove 8s linear infinite;
}

.beta-wave-1 {
    top: 20%;
    animation-delay: 0s;
    opacity: 0.5;
}

.beta-wave-2 {
    top: 40%;
    animation-delay: -2s;
    opacity: 0.4;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(88, 101, 242, 0.3) 25%,
        rgba(88, 101, 242, 0.5) 50%,
        rgba(88, 101, 242, 0.3) 75%,
        transparent 100%
    );
}

.beta-wave-3 {
    top: 60%;
    animation-delay: -4s;
    opacity: 0.3;
}

.beta-wave-4 {
    top: 80%;
    animation-delay: -6s;
    opacity: 0.4;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 184, 0, 0.3) 25%,
        rgba(255, 184, 0, 0.5) 50%,
        rgba(255, 184, 0, 0.3) 75%,
        transparent 100%
    );
}

@keyframes betaWaveMove {
    from {
        transform: translateX(-25%);
    }
    to {
        transform: translateX(25%);
    }
}

/* 베타 웨이브 그리드 */
.beta-wave-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(3, 199, 90, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(3, 199, 90, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridPulse 10s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 0.8;
    }
}

/* 베타 웨이브 펄스 */
.beta-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        ellipse at center,
        rgba(3, 199, 90, 0.1) 0%,
        transparent 70%
    );
    animation: betaPulse 4s ease-in-out infinite;
}

@keyframes betaPulse {
    0%, 100% {
        transform: scale(0.8);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.6;
    }
}

/* 사인 웨이브 효과 */
.sine-wave {
    position: absolute;
    width: 100%;
    height: 100px;
    left: 0;
}

.sine-wave svg {
    width: 200%;
    height: 100%;
    animation: sineWaveMove 10s linear infinite;
}

.sine-wave path {
    fill: none;
    stroke: rgba(3, 199, 90, 0.3);
    stroke-width: 2;
}

@keyframes sineWaveMove {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

/* 요소에 적용하는 베타 웨이브 효과 */
.has-beta-wave {
    position: relative;
    overflow: hidden;
}

.has-beta-wave::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(3, 199, 90, 0.1) 25%,
        rgba(3, 199, 90, 0.2) 50%,
        rgba(3, 199, 90, 0.1) 75%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.has-beta-wave:hover::before {
    opacity: 1;
    animation: betaScan 2s linear infinite;
}

@keyframes betaScan {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(50%);
    }
}

/* ========================================
   조합 효과
   ======================================== */

/* 모든 Antigravity 효과 컨테이너 */
.antigravity-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* 코스믹 배경 (오라 + 웨이브 결합) */
.cosmic-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    background: var(--bg-primary);
}

.cosmic-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(3, 199, 90, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(88, 101, 242, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(255, 184, 0, 0.04) 0%, transparent 50%);
    animation: cosmicShift 30s ease-in-out infinite;
}

@keyframes cosmicShift {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    33% {
        opacity: 0.8;
        transform: scale(1.05);
    }
    66% {
        opacity: 0.9;
        transform: scale(0.98);
    }
}

/* ========================================
   로딩 애니메이션
   ======================================== */

/* 해 떠오르기 */
@keyframes sunRise {
    0% {
        transform: translateY(50px) scale(0.8);
        opacity: 0;
    }
    50% {
        transform: translateY(-10px) scale(1.1);
        opacity: 1;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* 광선 회전 */
@keyframes rayRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* 로딩 바 진행 */
@keyframes loadingProgress {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

/* 텍스트 나타나기 */
@keyframes textAppear {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 타이핑 효과 */
@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blinkCursor {
    0%, 100% {
        border-color: transparent;
    }
    50% {
        border-color: var(--primary-color);
    }
}

.typing-effect {
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid var(--primary-color);
    animation:
        typing 2s steps(30) forwards,
        blinkCursor 0.75s step-end infinite;
}

/* ========================================
   상호작용 애니메이션
   ======================================== */

/* 좋아요 하트 애니메이션 */
@keyframes heartBeat {
    0% {
        transform: scale(1);
    }
    14% {
        transform: scale(1.3);
    }
    28% {
        transform: scale(1);
    }
    42% {
        transform: scale(1.3);
    }
    70% {
        transform: scale(1);
    }
}

.animate-heartbeat {
    animation: heartBeat 1s ease-in-out;
}

/* 파티클 폭발 효과 */
@keyframes particleExplode {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(var(--x, 0), var(--y, 0)) scale(0);
        opacity: 0;
    }
}

/* 성공 체크마크 */
@keyframes checkmark {
    0% {
        stroke-dashoffset: 50;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

/* 알림 흔들기 */
@keyframes notificationShake {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(10deg);
    }
    50% {
        transform: rotate(-10deg);
    }
    75% {
        transform: rotate(5deg);
    }
}

.animate-notification {
    animation: notificationShake 0.5s ease-in-out;
}

/* 배지 획득 */
@keyframes badgeEarned {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(10deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.animate-badge {
    animation: badgeEarned 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* 카운트업 */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 리플 효과 */
@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 0.5;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

.ripple-effect {
    position: relative;
    overflow: hidden;
}

.ripple-effect::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: scale(0);
    pointer-events: none;
}

.ripple-effect.active::after {
    animation: ripple 0.6s ease-out;
}

/* ========================================
   스크롤 트리거 애니메이션
   ======================================== */

/* 스크롤 시 나타나는 요소들 */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-reveal-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal-scale.visible {
    opacity: 1;
    transform: scale(1);
}

/* 순차적 애니메이션 (stagger) */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.6s; }
.stagger-children.visible > *:nth-child(7) { transition-delay: 0.7s; }
.stagger-children.visible > *:nth-child(8) { transition-delay: 0.8s; }
.stagger-children.visible > *:nth-child(9) { transition-delay: 0.9s; }
.stagger-children.visible > *:nth-child(10) { transition-delay: 1s; }

.stagger-children.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   호버 효과
   ======================================== */

/* 글로우 호버 */
.hover-glow {
    transition: box-shadow 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 30px rgba(3, 199, 90, 0.4);
}

/* 리프트 호버 */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* 스케일 호버 */
.hover-scale {
    transition: transform 0.3s ease;
}

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

/* 틸트 호버 (3D) */
.hover-tilt {
    transition: transform 0.3s ease;
    transform-style: preserve-3d;
}

.hover-tilt:hover {
    transform: perspective(1000px) rotateX(5deg) rotateY(5deg);
}

/* 그라디언트 시프트 호버 */
.hover-gradient-shift {
    background-size: 200% 200%;
    transition: background-position 0.5s ease;
}

.hover-gradient-shift:hover {
    background-position: 100% 100%;
}

/* ========================================
   특수 효과
   ======================================== */

/* 글리치 효과 */
@keyframes glitch {
    0% {
        transform: translate(0);
    }
    20% {
        transform: translate(-2px, 2px);
    }
    40% {
        transform: translate(-2px, -2px);
    }
    60% {
        transform: translate(2px, 2px);
    }
    80% {
        transform: translate(2px, -2px);
    }
    100% {
        transform: translate(0);
    }
}

.glitch-effect:hover {
    animation: glitch 0.3s ease-in-out;
}

/* 네온 텍스트 */
.neon-text {
    text-shadow:
        0 0 10px var(--primary-color),
        0 0 20px var(--primary-color),
        0 0 30px var(--primary-color),
        0 0 40px var(--primary-color);
    animation: neonFlicker 2s ease-in-out infinite;
}

@keyframes neonFlicker {
    0%, 100% {
        opacity: 1;
    }
    92% {
        opacity: 1;
    }
    93% {
        opacity: 0.8;
    }
    94% {
        opacity: 1;
    }
    95% {
        opacity: 0.9;
    }
}

/* 별 반짝임 */
@keyframes starTwinkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.star {
    animation: starTwinkle 2s ease-in-out infinite;
}

/* ========================================
   모션 감소 설정 대응
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .light-aura-container,
    .particle-orbit-container,
    .beta-wave-container,
    .antigravity-effects {
        display: none;
    }

    .scroll-reveal,
    .scroll-reveal-left,
    .scroll-reveal-right,
    .scroll-reveal-scale {
        opacity: 1;
        transform: none;
    }

    .stagger-children > * {
        opacity: 1;
        transform: none;
    }
}
