:root {
    --bg-color: #050505;
    --text-primary: #ffffff;
    --text-secondary: #a1a1a1;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --accent-color: #6366f1; /* Indigo */
    --hover-bg: rgba(255, 255, 255, 0.1);
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}

/* Background Blobs */
.background-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    filter: blur(100px);
    opacity: 0.6;
}

.blob {
    position: absolute;
    border-radius: 50%;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #4f46e5 0%, transparent 70%);
    top: -20%;
    left: -10%;
    animation: move 25s infinite alternate;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #7c3aed 0%, transparent 70%);
    bottom: -15%;
    right: -10%;
    animation: move 20s infinite alternate-reverse;
}

.blob-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #db2777 0%, transparent 70%);
    top: 30%;
    left: 30%;
    animation: move 30s infinite alternate;
}

.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.05;
    pointer-events: none;
    z-index: -1;
}

.profile-section {
    text-align: center;
    animation: fadeInDown 0.8s ease-out;
    position: relative;
}

.profile-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
    opacity: 0.1;
    filter: blur(40px);
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
}

#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

@keyframes move {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(50px, 50px) scale(1.1); }
}

/* Container */
.container {
    width: 100%;
    max-width: 450px;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    z-index: 1;
}

/* Profile Section */
.profile-section {
    text-align: center;
    animation: fadeInDown 0.8s ease-out;
}

.profile-image-container {
    position: relative;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(45deg, var(--accent-color), #ec4899);
    margin-bottom: 20px;
    display: inline-block;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.profile-image-container::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
    opacity: 0.3;
    z-index: -1;
    filter: blur(15px);
    animation: pulse 4s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(1.1); opacity: 0.4; }
}

.profile-image-container img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg-color);
}

#profile-name {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

#profile-bio {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 400;
}

/* Links Section */
.links-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.link-card {
    position: relative;
    width: 100%;
    padding: 18px 24px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px);
    overflow: hidden;
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.1), transparent 80%);
    opacity: 0;
    transition: opacity 0.3s;
}

.link-card:hover {
    transform: translateY(-4px) scale(1.02);
    background: var(--hover-bg);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.link-card:hover::before {
    opacity: 1;
}

.icon-wrapper {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-right: 16px;
    color: var(--accent-color);
}

.link-text {
    flex-grow: 1;
    font-weight: 600;
    font-size: 1rem;
}

.arrow {
    font-size: 0.8rem;
    color: var(--text-secondary);
    opacity: 0.5;
    transition: transform 0.3s;
}

.link-card:hover .arrow {
    transform: translateX(4px);
    opacity: 1;
}

/* Footer */
.social-footer {
    margin-top: 10px;
    animation: fadeIn 1s ease-out 0.5s both;
}

.social-icons {
    display: flex;
    gap: 24px;
}

.social-icons a {
    color: var(--text-secondary);
    font-size: 1.5rem;
    transition: all 0.3s;
}

.social-icons a:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
}

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

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Mobile adjustments */
@media (max-width: 480px) {
    .container {
        padding: 30px 15px;
    }
    #profile-name {
        font-size: 1.5rem;
    }
    .link-card {
        padding: 16px 20px;
    }
}
