/* ==========================================================================
   CSS Variables & Theme
   ========================================================================== */
:root {
    --bg-dark: #0f172a;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    --primary: #6366f1; /* Indigo */
    --secondary: #ec4899; /* Pink */
    
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* ==========================================================================
   Animated Background Shapes
   ========================================================================== */
.bg-shapes {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    overflow: hidden;
    z-index: -1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s infinite alternate;
}

.shape-1 {
    width: 400px; height: 400px;
    background: var(--primary);
    top: -100px; left: -100px;
}

.shape-2 {
    width: 300px; height: 300px;
    background: var(--secondary);
    bottom: -50px; right: -50px;
    animation-delay: -5s;
}

.shape-3 {
    width: 250px; height: 250px;
    background: #0ea5e9;
    top: 40%; left: 50%;
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(100px, 50px) rotate(45deg); }
}

/* ==========================================================================
   Main Container (Glass Panel)
   ========================================================================== */
.vcard-container {
    width: 100%;
    max-width: 480px;
    padding: 20px;
    z-index: 1;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    padding: 40px 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    text-align: center;
}

/* ==========================================================================
   Header & Profile
   ========================================================================== */
.avatar-wrapper {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
}

.avatar-placeholder {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    border: 4px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.4);
}

.name {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.title {
    color: var(--secondary);
    font-weight: 500;
    font-size: 1rem;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.bio {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 32px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.primary-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
}

.btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--text-main);
    color: var(--bg-dark);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* ==========================================================================
   Links Section
   ========================================================================== */
.links-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.link-card {
    display: flex;
    align-items: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    text-decoration: none;
    color: var(--text-main);
    transition: var(--transition);
}

.link-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: scale(1.02);
    border-color: rgba(255, 255, 255, 0.2);
}

.link-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    flex-shrink: 0;
}

.link-text {
    flex: 1;
    text-align: left;
    margin-left: 16px;
    font-weight: 500;
    font-size: 1rem;
}

.link-arrow {
    font-size: 20px;
    color: var(--text-muted);
    opacity: 0.5;
    transition: var(--transition);
}

.link-card:hover .link-arrow {
    opacity: 1;
    transform: translateX(4px);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.vcard-footer {
    text-align: center;
    margin-top: 24px;
}

.vcard-footer p {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.vcard-footer a {
    color: white;
    font-weight: 600;
    text-decoration: none;
}

.vcard-footer a:hover {
    text-decoration: underline;
}
