:root {
    --bg-color: #050505;
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.7);

    /* Neon Aesthetics */
    --neon-blue: #00f2ff;
    --neon-purple: #bd00ff;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-highlight: rgba(255, 255, 255, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
    /* For background orbs */
}

/* Animated Background */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 10s infinite alternate ease-in-out;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: var(--neon-blue);
    top: -50px;
    left: -50px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--neon-purple);
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, 50px) scale(1.1);
    }
}

.glass-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(100px);
    /* Heavy blur for soft ambient look */
    z-index: 0;
    opacity: 0.5;
}

.container {
    width: 100%;
    max-width: 500px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 60px;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header */
.profile-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.avatar-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--glass-highlight);
    position: relative;
    z-index: 2;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, var(--neon-blue), transparent 70%);
    opacity: 0.5;
    z-index: 1;
    filter: blur(20px);
}

.username {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -1px;
    background: linear-gradient(to right, #fff, #b0b0b0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.1);
}

.bio {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 24px;
    font-weight: 500;
}

.badges {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.badge {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.badge:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 0 15px var(--neon-blue);
    border-color: var(--neon-blue);
}

.badge i {
    color: var(--neon-blue);
}

/* Links */
.links-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.link-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    padding: 18px 24px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy spring */
    position: relative;
    overflow: hidden;
}

/* Shine effect on hover */
.link-card::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;
}

.link-card:hover::before {
    left: 100%;
}

.link-card:hover {
    transform: scale(1.02) translateY(-3px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--glass-highlight);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-right: 20px;
    background: rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.link-card:hover .icon-box {
    transform: scale(1.1) rotate(5deg);
}

.link-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.link-title {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.link-sub {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.arrow {
    /* Removed arrow for cleaner look, relying on hover animation */
    display: none;
}

/* Brand Colors on Hover */
.telegram:hover {
    border-color: #229ED9;
    box-shadow: 0 0 20px rgba(34, 158, 217, 0.3);
}

.telegram:hover .icon-box {
    color: #229ED9;
}

.xbox:hover {
    border-color: #ffffff;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.xbox:hover .icon-box {
    color: #ffffff;
}

.facebook:hover {
    border-color: #1877F2;
    box-shadow: 0 0 20px rgba(24, 119, 242, 0.3);
}

.facebook:hover .icon-box {
    color: #1877F2;
}

/* Footer */
.footer {
    margin-top: 80px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.5;
}