:root {
    /* Colors */
    --bg-dark: #000000;
    --bg-card: rgba(20, 20, 20, 0.6);
    --bg-card-hover: rgba(30, 30, 30, 0.8);
    --accent-gold: #D4AF37;
    --accent-blue: #00A3FF;
    --text-primary: #ffffff;
    --text-secondary: #aaaaaa;
    
    /* Gradients */
    --gradient-bg: radial-gradient(circle at 50% 10%, #1a1a1a 0%, #000000 100%);
    --gradient-gold: linear-gradient(135deg, #FFD700 0%, #D4AF37 100%);
    --gradient-blue: linear-gradient(135deg, #00A3FF 0%, #0066CC 100%);
    --glow-blue: 0 0 20px rgba(0, 163, 255, 0.3);
    --glow-gold: 0 0 20px rgba(212, 175, 55, 0.2);

    /* Dimensions */
    --container-width: 680px;
    --card-radius: 16px;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    background-image: var(--gradient-bg);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Dynamic Background Animation */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(circle at 15% 50%, rgba(0, 163, 255, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(212, 175, 55, 0.05) 0%, transparent 25%);
    animation: pulseBackground 8s ease-in-out infinite alternate;
}

@keyframes pulseBackground {
    0% { opacity: 0.5; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.1); }
}

.container {
    width: 100%;
    max-width: var(--container-width);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Profile Header */
.profile-header {
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
}

.profile-image-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 30px rgba(0, 163, 255, 0.15);
    transition: var(--transition-speed);
}

.status-indicator {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    background-color: var(--accent-blue);
    border: 3px solid var(--bg-dark);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-blue);
    animation: pulseStatus 2s infinite;
}

@keyframes pulseStatus {
    0% { box-shadow: 0 0 0 0 rgba(0, 163, 255, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(0, 163, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 163, 255, 0); }
}

h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    background: linear-gradient(to right, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nickname {
    font-weight: 400;
    color: var(--text-secondary);
    -webkit-text-fill-color: var(--text-secondary); /* Reset gradient for nickname */
    font-size: 0.9em;
}

.subtitle {
    font-size: 0.95rem;
    color: var(--accent-gold);
    font-weight: 500;
    opacity: 0.9;
    max-width: 90%;
    margin: 0 auto;
}

/* Links Section */
.links-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.link-card {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem 1.25rem;
    border-radius: var(--card-radius);
    text-decoration: none;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-speed) cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.link-card:hover::before {
    transform: translateX(100%);
}

.link-card:hover {
    transform: translateY(-3px) scale(1.01);
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.3);
}

.link-card.highlight {
    border-color: rgba(0, 163, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 163, 255, 0.1);
}

.link-card.highlight:hover {
    box-shadow: 0 0 25px rgba(0, 163, 255, 0.2);
    border-color: rgba(0, 163, 255, 0.6);
}

.icon-wrapper {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-right: 1rem;
    font-size: 1.25rem;
    color: var(--accent-gold);
    transition: var(--transition-speed);
}

.link-card.highlight .icon-wrapper {
    background: rgba(0, 163, 255, 0.1);
    color: var(--accent-blue);
}

.link-card:hover .icon-wrapper {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.1);
}

.link-content {
    flex: 1;
}

.link-content h2 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
    letter-spacing: 0.01em;
}

.link-content p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.3;
}

.arrow {
    color: var(--text-secondary);
    opacity: 0.5;
    transition: var(--transition-speed);
    font-size: 0.9rem;
}

.link-card:hover .arrow {
    opacity: 1;
    transform: translateX(3px);
    color: var(--accent-gold);
}

/* Footer */
footer {
    margin-top: 3rem;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.8rem;
    padding-bottom: 1rem;
}

.social-mini {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.social-mini a {
    color: var(--text-secondary);
    font-size: 1.25rem;
    transition: var(--transition-speed);
    position: relative;
    top: 0;
}

.social-mini a:hover {
    color: var(--accent-gold);
    top: -3px;
}

.location {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    opacity: 0.7;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }
.delay-7 { animation-delay: 0.7s; }

/* Responsive */
@media (max-width: 480px) {
    :root {
        --container-width: 100%;
    }
    
    .profile-header {
        margin-bottom: 2rem;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    .link-card {
        padding: 0.9rem 1rem;
    }
    
    .icon-wrapper {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}
