:root {
    --bg-deep: #0a0e1a;
    --berry-primary: #3b5bdb;
    --berry-secondary: #5c7cfa;
    --berry-glow: rgba(92, 124, 250, 0.4);
    --text-main: #f8f9fa;
    --text-dim: rgba(248, 249, 250, 0.7);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: 'Outfit', 'Noto Sans KR', sans-serif;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100vw;
    transition: opacity 0.5s ease;
}

/* 배경 애니메이션 */
.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    filter: blur(80px);
    opacity: 0.6;
}

.blob {
    position: absolute;
    border-radius: 50%;
    background: var(--berry-primary);
}

.blob1 {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
    background: #1c3d73;
    animation: move1 25s infinite linear alternate;
}

.blob2 {
    width: 450px;
    height: 450px;
    bottom: -150px;
    right: -150px;
    background: #2a4b8d;
    animation: move2 30s infinite linear alternate;
}

.blob3 {
    width: 300px;
    height: 300px;
    top: 40%;
    left: 60%;
    background: #3b5bdb;
    animation: move3 20s infinite linear alternate;
}

@keyframes move1 {
    0% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(100px, 150px) scale(1.1);
    }

    66% {
        transform: translate(-50px, 200px) scale(0.9);
    }

    100% {
        transform: translate(50px, -50px) scale(1.05);
    }
}

@keyframes move2 {
    0% {
        transform: translate(0, 0) scale(1.1);
    }

    50% {
        transform: translate(-150px, -100px) scale(1);
    }

    100% {
        transform: translate(100px, -200px) scale(1.2);
    }
}

@keyframes move3 {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    25% {
        transform: translate(150px, -100px) rotate(90deg);
    }

    50% {
        transform: translate(200px, 200px) rotate(180deg);
    }

    75% {
        transform: translate(-100px, 150px) rotate(270deg);
    }

    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}

/* 컨테이너 */
.container {
    text-align: center;
    z-index: 1;
    padding: 2rem;
    max-width: 90%;
}

.title-wrapper {
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 700;
    letter-spacing: -1px;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-dim);
    font-weight: 300;
    letter-spacing: 2px;
}

/* 세련된 버튼 */
.action-button {
    position: relative;
    display: inline-block;
    padding: 1.2rem 3.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 500;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards 0.3s;
}

.action-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: 0.5s;
}

.action-button:hover {
    background: var(--berry-primary);
    border-color: var(--berry-secondary);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--berry-glow);
}

.action-button:hover::before {
    left: 100%;
}

.action-button:active {
    transform: scale(0.95);
}

/* 푸터 */
.footer {
    position: fixed;
    bottom: 2rem;
    width: 100%;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-dim);
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeIn 1.5s forwards 0.8s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* 클릭 시 나타나는 멋진 효과 (Ripple) */
.ripple {
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-effect 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-effect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* 모바일 대응 */
@media (max-width: 480px) {
    h1 {
        font-size: 2.5rem;
    }

    .action-button {
        padding: 1rem 2.5rem;
        font-size: 1.1rem;
    }
}
