/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', 'Noto Sans KR', sans-serif;
    background-color: #0b0f19; /* 베이스 배경 */
    color: #e2e8f0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    perspective: 1000px;
}

/* Aurora background blobs */
body::before,
body::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    z-index: 0;
    opacity: 0.45;
    pointer-events: none;
}

/* 첫 번째 오로라 블롭: 핑크-퍼플 */
body::before {
    background: radial-gradient(circle, #ec4899 0%, #a855f7 50%, rgba(168, 85, 247, 0) 100%);
    top: -20%;
    left: -10%;
    animation: auroraMove1 20s infinite alternate ease-in-out;
}

/* 두 번째 오로라 블롭: 시안-블루 */
body::after {
    background: radial-gradient(circle, #06b6d4 0%, #3b82f6 50%, rgba(59, 130, 246, 0) 100%);
    bottom: -20%;
    right: -10%;
    animation: auroraMove2 25s infinite alternate ease-in-out;
}

/* Profile Card Container (Glassmorphism) */
.profile-container {
    position: relative;
    z-index: 1; /* 오로라 위에 표시 */
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-radius: 28px;
    padding: 3.5rem 2.5rem;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25),
                inset 0 1px 0 rgba(255, 255, 255, 0.15);
    text-align: center;
    transform: translateY(0);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s ease;
    animation: fadeIn 1s ease-out;
}

.profile-container:hover {
    transform: translateY(-8px) rotateX(3deg) rotateY(-1deg);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.35),
                0 0 50px rgba(168, 85, 247, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.25);
    border-color: rgba(168, 85, 247, 0.4);
}

/* Badge */
.badge {
    display: inline-block;
    background: rgba(168, 85, 247, 0.15);
    color: #d8b4fe;
    border: 1px solid rgba(168, 85, 247, 0.3);
    padding: 0.35rem 1.2rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.8rem;
    animation: pulse 2s infinite;
}

/* Title and Gradient text */
.main-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.highlight {
    background: linear-gradient(135deg, #f472b6 0%, #a855f7 50%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Introduction Paragraph */
.profile-intro p {
    font-size: 1rem;
    line-height: 1.8;
    color: #cbd5e1;
    margin-bottom: 2.5rem;
    font-weight: 300;
    word-break: keep-all;
}

/* Actions & Buttons */
.profile-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.85rem 1.8rem;
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, #a855f7 0%, #6366f1 100%);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #c084fc 0%, #818cf8 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.btn-secondary:active {
    transform: translateY(0);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(168, 85, 247, 0);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 12px 2px rgba(168, 85, 247, 0.15);
    }
}

/* Aurora Blob Animations */
@keyframes auroraMove1 {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(100px, 80px) scale(1.2);
    }
    100% {
        transform: translate(-50px, 150px) scale(0.9);
    }
}

@keyframes auroraMove2 {
    0% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-120px, -60px) scale(1.15);
    }
    100% {
        transform: translate(80px, -120px) scale(0.85);
    }
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .profile-container {
        padding: 3rem 1.75rem;
    }
    .main-title {
        font-size: 1.8rem;
    }
    .profile-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    .btn {
        width: 100%;
    }
}
