:root {
    --bg-color: #0f172a;
    --card-bg: rgba(30, 41, 59, 0.7);
    --card-hover: rgba(51, 65, 85, 0.8);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent: #38bdf8;
    --accent-gradient: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
    --badge-bg: #ef4444;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Vazirmatn', sans-serif;
}

body {
    background-color: var(--bg-color);
    background-image: 
        radial-gradient(at 10% 20%, rgba(14, 165, 233, 0.15) 0px, transparent 50%),
        radial-gradient(at 90% 80%, rgba(37, 99, 235, 0.15) 0px, transparent 50%);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

/* هدر پروفایل */
.profile-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    animation: fadeInDown 0.8s ease-out;
}

.avatar-container {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    padding: 3px;
    background: var(--accent-gradient);
    box-shadow: 0 10px 25px -5px rgba(14, 165, 233, 0.4);
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background-color: #1e293b;
}

.profile-name {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.profile-bio {
    font-size: 0.9rem;
    color: var(--text-secondary);
    max-width: 360px;
    line-height: 1.6;
}

/* لیست لینک‌ها و دکمه‌ها */
.links-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.link-card {
    position: relative;
    width: 100%;
    background: var(--card-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease-out;
    cursor: pointer;
}

.link-card:hover {
    background: var(--card-hover);
    transform: translateY(-3px);
    border-color: rgba(56, 189, 248, 0.4);
    box-shadow: 0 10px 20px -5px rgba(14, 165, 233, 0.2);
}

.link-card.featured {
    background: var(--accent-gradient);
    border: none;
    box-shadow: 0 8px 20px -4px rgba(14, 165, 233, 0.4);
}

.link-card.featured:hover {
    opacity: 0.95;
    transform: translateY(-3px) scale(1.01);
}

.link-content {
    display: flex;
    align-items: center;
    gap: 14px;
}

.link-icon {
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.featured .link-icon {
    background: rgba(255, 255, 255, 0.2);
}

.badge {
    background-color: var(--badge-bg);
    color: white;
    font-size: 0.7rem;
    padding: 3px 8px;
    border-radius: 20px;
    font-weight: 700;
    animation: pulse 2s infinite;
}

/* Toast Notification */
.toast {
    position: fixed;
    bottom: 30px;
    background: #10b981;
    color: white;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1000;
}

.toast.show {
    opacity: 1;
}

/* فوتر */
.footer {
    margin-top: 15px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-align: center;
}

/* انیمیشن‌ها */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
