body {
    background-color: #020617;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.hero-gradient {
    background: radial-gradient(circle at center, rgba(30, 41, 59, 0.4) 0%, rgba(2, 6, 23, 1) 70%);
}

.binary-particle {
    position: absolute;
    color: rgba(56, 189, 248, 0.4);
    font-family: 'Space Grotesk', monospace;
    font-size: 10px;
    pointer-events: none;
    user-select: none;
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* 3D Space & Aura Elements */
.scene-3d {
    perspective: 2000px;
    transform-style: preserve-3d;
}

.object-3d {
    transform-style: preserve-3d;
    transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Nebula Aura: 로고 뒤에서 일렁이는 신비로운 에너지 */
.nebula-aura {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle,
            rgba(212, 175, 55, 0.15) 0%,
            rgba(56, 189, 248, 0.1) 30%,
            rgba(138, 110, 47, 0.05) 60%,
            transparent 80%);
    border-radius: 50%;
    filter: blur(60px);
    animation: pulse-aura 8s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: -1;
}

@keyframes pulse-aura {
    0% {
        transform: scale(0.8) rotate(0deg);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2) rotate(180deg);
        opacity: 0.8;
    }

    100% {
        transform: scale(0.9) rotate(360deg);
        opacity: 0.6;
    }
}

/* Binary Data Aura: 0과 1이 입체적으로 회전하는 효과 */
.binary-aura-token {
    position: absolute;
    transform-style: preserve-3d;
    backface-visibility: visible;
    pointer-events: none;
    /* 위치 지정은 JS에서 처리 */
}

.token-content {
    display: block;
    font-family: 'Space Grotesk', monospace;
    font-weight: bold;
    color: rgba(212, 175, 55, 0.6);
    /* 기본 금색 */
    text-shadow: 0 0 5px rgba(212, 175, 55, 0.4);
}

.binary-aura-token.blue .token-content {
    color: rgba(56, 189, 248, 0.6);
    /* 하늘색 포인트 */
    text-shadow: 0 0 5px rgba(56, 189, 248, 0.4);
}

@keyframes float-binary {
    0% {
        transform: translateY(0) rotateY(0deg);
        opacity: 0.3;
    }

    50% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(-20px) rotateY(180deg);
        opacity: 0.3;
    }
}

.gold-text-gradient {
    background: linear-gradient(135deg, #F5E6AD 0%, #D4AF37 50%, #8A6E2F 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.star-field {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: url('https://www.transparenttextures.com/patterns/stardust.png');
    opacity: 0.3;
}

@keyframes fade-in {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fade-in {
    animation: fade-in 0.5s ease-out forwards;
}

.glow-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #D4AF37;
    border-radius: 50%;
    filter: blur(2px);
    box-shadow: 0 0 10px #D4AF37;
    animation: float-glowing 3s ease-in-out infinite alternate;
}

@keyframes float-glowing {
    from {
        transform: translateY(0) scale(1);
        opacity: 0.3;
    }

    to {
        transform: translateY(-20px) scale(1.5);
        opacity: 0.8;
    }
}

/* Hide scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #020617;
}

::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #D4AF37;
}

/* Future-focused Coming Soon Effects */
@keyframes scan {
    0% {
        top: -10%;
    }

    100% {
        top: 110%;
    }
}

.animate-scan {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(212, 175, 55, 0.8), transparent);
    animation: scan 3s linear infinite;
    box-shadow: 0 0 15px 2px rgba(212, 175, 55, 0.5);
    z-index: 5;
}

#coming-soon-modal.hidden {
    display: none !important;
}

/* Scroll Reveal Animations */
.reveal-on-scroll {
    opacity: 0;
    filter: blur(20px);
    transform: translateY(30px);
    will-change: transform, opacity, filter;

    /* 화면 밖으로 나갈 때는 빠르게 초기화 (0.5s) */
    transition-property: opacity, filter, transform;
    transition-duration: 0.5s;
    transition-timing-function: ease-in;
}

.reveal-on-scroll.active {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);

    /* 나타날 때는 요청하신 대로 천천히 (2.2s) */
    /* transition-delay는 HTML의 인라인 스타일을 따름 */
    transition-duration: 2.2s;
    transition-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Text Masking Shine Effect: 글자 내부에서만 빛이 흐르는 효과 */
.text-shine {
    background: linear-gradient(to right,
            #D4AF37 0%,
            /* 기본 금색 */
            #D4AF37 40%,
            #FFFFFF 50%,
            /* 빛나는 지점 (흰색/밝은금색) */
            #D4AF37 60%,
            #D4AF37 100%);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.reveal-on-scroll.active.text-shine {
    animation: text-shine-sweep 3s ease-in-out infinite alternate;
}

@keyframes text-shine-sweep {
    0% {
        background-position: -100% center;
    }

    100% {
        background-position: 100% center;
    }
}

/* Stagger Logic: JS에서 인덱스별로 딜레이 부여 예정 */