:root {
    font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    color-scheme: dark;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    color: #f5f7fb;
    background: radial-gradient(circle at top, rgba(81, 244, 181, 0.12), transparent 55%),
                linear-gradient(160deg, var(--gradient-start, #04000a), var(--gradient-end, #03110b));
}

.background-gradient {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 20% 20%, rgba(63, 199, 255, 0.2), transparent 55%),
                radial-gradient(circle at 80% 30%, rgba(123, 97, 255, 0.35), transparent 60%),
                radial-gradient(circle at 50% 80%, rgba(22, 201, 113, 0.3), transparent 65%);
    filter: blur(60px);
    transform: scale(1.1);
}

.page-container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 60px;
    gap: 32px;
}

.profile-header {
    text-align: center;
    max-width: 460px;
}

.avatar-wrapper {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    padding: 4px;
    margin: 0 auto 20px;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.25), rgba(0, 0, 0, 0.15));
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.45);
}

.avatar-image,
.avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 17, 24, 0.9);
    border: 3px solid var(--accent-color, #25d366);
    color: #fff;
    font-size: 40px;
    font-weight: 600;
    letter-spacing: 1px;
}

.profile-name {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 6px;
}

.profile-headline {
    font-size: 18px;
    color: rgba(234, 240, 248, 0.78);
    margin: 0;
}

.profile-bio {
    margin: 18px auto 0;
    color: rgba(220, 230, 241, 0.7);
    line-height: 1.5;
    font-size: 15px;
}

.social-links {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    gap: 16px;
}

.social-button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color, #25d366);
    background: rgba(20, 24, 38, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.social-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.45);
    color: #ffffff;
}

.icon {
    width: 24px;
    height: 24px;
}

.accent-line {
    width: 120px;
    height: 4px;
    border-radius: 999px;
    margin: 28px auto 0;
    background: linear-gradient(90deg, #66ffe2 0%, var(--accent-color, #25d366) 50%, #8a6df5 100%);
}

.links-section {
    width: 100%;
    max-width: 520px;
}

.links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.link-card {
    background: rgba(18, 22, 35, 0.68);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 40px rgba(3, 10, 20, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s;
    overflow: hidden;
}

.link-card a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    padding: 20px 22px;
    gap: 16px;
}

.link-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 45px rgba(3, 10, 20, 0.55);
    border-color: rgba(255, 255, 255, 0.16);
}

.link-card-icon .icon {
    width: 36px;
    height: 36px;
}

.card-icon {
    width: 36px;
    height: 36px;
}

.link-card-texts {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.link-card-title {
    font-weight: 600;
    font-size: 18px;
}

.link-card-description {
    font-size: 14px;
    color: rgba(217, 227, 238, 0.7);
}

.link-card-external .icon,
.card-external-icon {
    width: 22px;
    height: 22px;
    color: rgba(217, 227, 238, 0.6);
}

.hero-cta {
    margin-top: 10px;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
    color: #ffffff;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
    font-weight: 600;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.45);
}

.empty-state {
    text-align: center;
    color: rgba(209, 218, 230, 0.7);
    background: rgba(18, 22, 35, 0.55);
    border-radius: 16px;
    padding: 28px;
    border: 1px dashed rgba(255, 255, 255, 0.16);
}

@media (max-width: 480px) {
    .avatar-wrapper {
        width: 120px;
        height: 120px;
    }

    .profile-name {
        font-size: 26px;
    }

    .profile-headline {
        font-size: 16px;
    }

    .link-card a {
        padding: 18px;
    }
}
