:root {
    --bg-color: #0f172a;
    --card-bg: rgba(30, 41, 59, 0.7);
    --card-border: rgba(255, 255, 255, 0.1);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent-1: #3b82f6;
    --accent-2: #8b5cf6;
    --link-bg: rgba(255, 255, 255, 0.05);
    --link-hover: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow-x: hidden;
}

/* Dynamic Background Orbs */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    animation: float 20s infinite ease-in-out alternate;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--accent-1);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-2);
    bottom: -150px;
    right: -100px;
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

/* Main Container & Glassmorphism */
.profile-container {
    width: 100%;
    max-width: 600px;
    padding: 2rem;
    z-index: 1;
}

.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 3rem 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    animation: fadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* Header Section */
.profile-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.avatar-container {
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
}

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

.name {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    letter-spacing: -0.025em;
}

.title {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.location {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1.25rem;
}

.about {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
    max-width: 90%;
    margin: 0 auto;
}

/* Sections */
.section-heading {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    font-weight: 600;
    text-align: center;
}

.links-section, .actions-section {
    margin-bottom: 2.5rem;
}

.actions-section {
    margin-bottom: 0;
}

/* Grid Layouts */
.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.action-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 480px) {
    .action-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Link Items */
.link-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.25rem;
    background: var(--link-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    color: var(--text-main);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    gap: 0.75rem;
}

.link-item i {
    font-size: 1.25rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.link-item:hover {
    background: var(--link-hover);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}

.link-item:hover i {
    color: var(--text-main);
}

.action-item {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    justify-content: center;
}

.action-item:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
}

.action-item i {
    color: var(--accent-1);
}

.action-item:hover i {
    color: var(--text-main);
}
