* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #13131f;
    --bg-card: rgba(25, 25, 40, 0.6);
    --text-primary: #ffffff;
    --text-secondary: #a0a0b8;
    --accent-primary: #5865f2;
    --accent-secondary: #7289da;
    --accent-gradient: linear-gradient(135deg, #5865f2 0%, #7289da 100%);
    --border-color: rgba(88, 101, 242, 0.2);
    --shadow-glow: 0 0 40px rgba(88, 101, 242, 0.15);
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.4);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

/* Background Decoration */
.background-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-primary);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-secondary);
    bottom: -150px;
    right: -150px;
    animation-delay: 7s;
}

.blob-3 {
    width: 350px;
    height: 350px;
    background: #4752c4;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 14s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(50px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-30px, 30px) scale(0.9);
    }
}

/* Container */
.container {
    max-width: 680px;
    width: 100%;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Profile Section */
.profile-section {
    text-align: center;
    margin-bottom: 48px;
}

.avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-glow);
    animation: pulse 3s ease-in-out infinite;
    position: relative;
}

.avatar::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--accent-gradient);
    opacity: 0.3;
    filter: blur(10px);
    z-index: -1;
}

.avatar svg {
    width: 60px;
    height: 60px;
    color: white;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Links Section */
.links-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 48px;
}

.link-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.link-card:hover::before {
    opacity: 0.1;
}

.link-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent-primary);
    box-shadow: 0 12px 48px rgba(88, 101, 242, 0.3);
}

.link-card:active {
    transform: translateY(-2px);
}

.link-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.link-card:hover .link-icon {
    transform: rotate(5deg) scale(1.1);
}

.link-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.link-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.link-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.link-url {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.link-arrow {
    width: 24px;
    height: 24px;
    color: var(--text-secondary);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.link-card:hover .link-arrow {
    color: var(--accent-primary);
    transform: translateX(4px);
}

.link-arrow svg {
    width: 100%;
    height: 100%;
}

/* Footer */
.footer {
    text-align: center;
    padding: 24px 0;
}

.footer p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 640px) {
    .title {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .avatar {
        width: 100px;
        height: 100px;
    }

    .avatar svg {
        width: 50px;
        height: 50px;
    }

    .link-card {
        padding: 20px;
        gap: 16px;
    }

    .link-icon {
        width: 40px;
        height: 40px;
    }

    .link-icon svg {
        width: 20px;
        height: 20px;
    }

    .link-title {
        font-size: 1.125rem;
    }

    .blob {
        filter: blur(60px);
    }
}

@media (max-width: 480px) {
    body {
        padding: 16px;
    }

    .profile-section {
        margin-bottom: 32px;
    }

    .links-section {
        gap: 16px;
        margin-bottom: 32px;
    }

    .link-card {
        padding: 16px;
    }
}