:root {
    --bg-color: #fdfbf7;
    --text-color: #5c4611;
    --text-muted: #a67c1e;
    --card-bg: rgba(220, 166, 41, 0.08);
    --card-border: rgba(220, 166, 41, 0.2);
    --card-hover: rgba(220, 166, 41, 0.15);
    --accent-primary: #dca629;
    --accent-secondary: #f0c354;
    --blob-1: rgba(220, 166, 41, 0.3);
    --blob-2: rgba(240, 195, 84, 0.3);
}

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

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

/* Background Image */
.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: url('Background.jpg');
    background-size: cover;
    background-position: center;
}

.background-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(253, 251, 247, 0.7);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

/* Main Container */
.container {
    width: 100%;
    max-width: 600px;
    padding: 3rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

/* Profile Header */
.profile-header {
    text-align: center;
    margin-bottom: 2.5rem;
    animation: fadeInDown 0.8s ease-out;
}

.profile-img-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    box-shadow: 0 10px 25px rgba(220, 166, 41, 0.25);
}

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

.profile-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.profile-bio {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.5;
    font-weight: 300;
}

/* Links Section */
.links-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

.link-card {
    display: flex;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.5s ease-out backwards;
}

/* Stagger animations for links */
.link-card:nth-child(1) { animation-delay: 0.1s; }
.link-card:nth-child(2) { animation-delay: 0.2s; }
.link-card:nth-child(3) { animation-delay: 0.3s; }
.link-card:nth-child(4) { animation-delay: 0.4s; }
.link-card:nth-child(5) { animation-delay: 0.5s; }
.link-card:nth-child(6) { animation-delay: 0.6s; }

.link-card i {
    font-size: 1.5rem;
    margin-right: 1rem;
}

.link-card span {
    flex-grow: 1;
    text-align: center;
    transform: translateX(-12px); /* Offset to balance icon */
}

.link-card:hover {
    transform: translateY(-4px) scale(1.02);
    background: var(--card-hover);
    box-shadow: 0 10px 20px rgba(220, 166, 41, 0.15);
    border-color: rgba(220, 166, 41, 0.3);
}

.link-card.highlight {
    background: linear-gradient(135deg, rgba(220, 166, 41, 0.15), rgba(240, 195, 84, 0.15));
    border-color: rgba(220, 166, 41, 0.3);
}

.link-card.highlight:hover {
    background: linear-gradient(135deg, rgba(220, 166, 41, 0.25), rgba(240, 195, 84, 0.25));
}

/* Social Footer */
.social-footer {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    animation: fadeIn 1s ease-out 0.8s backwards;
}

.social-icon {
    color: var(--text-muted);
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: var(--text-color);
    transform: translateY(-3px) scale(1.1);
}

/* Keyframes */
@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 fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Responsive */
@media (max-width: 480px) {
    .profile-name { font-size: 1.5rem; }
    .link-card { padding: 1rem 1.25rem; font-size: 1rem; }
    .link-card i { font-size: 1.25rem; }
}
