:root {
    /* Color Palette */
    --primary-color: #006d77;
    /* Deep Teal - Trustworthy & Medical */
    --primary-light: #83c5be;
    /* Soft Teal */
    --accent-color: #edf6f9;
    /* Very Light Blue/Gray Background */
    --text-dark: #2b2d42;
    /* Dark Gray for headings */
    --text-medium: #5d6b75;
    /* Medium Gray for body */
    --white: #ffffff;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 12px 32px rgba(0, 109, 119, 0.15);
    --radius-lg: 16px;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--accent-color);
    background-image: radial-gradient(circle at 50% 0%, #e0fbfc 0%, transparent 70%);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 2rem 1rem;
}

.container {
    width: 100%;
    max-width: 480px;
    /* Mobile-first constraint like Linktree */
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.profile-image-container {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    padding: 4px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    letter-spacing: -0.5px;
}

.profile-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-bio {
    font-size: 0.9rem;
    color: var(--text-medium);
    max-width: 300px;
    margin: 0 auto;
}

/* Links Container */
.links-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

/* Link Card */
.link-card {
    display: flex;
    align-items: center;
    background: var(--white);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--text-dark);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
}

.link-card:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.link-card:active {
    transform: scale(0.98);
}

/* Featured Link Style */
.link-card.featured {
    background: var(--primary-color);
    color: var(--white);
    border: none;
}

.link-card.featured .icon-box {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.link-card.featured .arrow-box {
    color: var(--white);
}

.icon-box {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-color);
    border-radius: 10px;
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-right: 1rem;
    transition: var(--transition);
}

.link-text {
    flex: 1;
    font-weight: 600;
    font-size: 1rem;
}

.arrow-box {
    color: var(--text-medium);
    font-size: 1.1rem;
    opacity: 0.6;
    transition: var(--transition);
}

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

/* Info Section (SEO & Content) */
.info-section {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin: 2.5rem 0;
    /* Equidistant spacing (matches profile-section margin) */
    text-align: left;
    /* Centered text */
    font-size: 0.9rem;
    color: var(--text-medium);
}

.info-section h2 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.info-section p {
    margin-bottom: 0.75rem;
}

.info-section ul {
    list-style-position: inside;
    margin-bottom: 0.75rem;
}

.info-section ul li {
    margin-bottom: 0.25rem;
}

/* Social Row */
.social-row {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-icon {
    font-size: 1.75rem;
    color: var(--text-medium);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon:hover {
    color: var(--primary-color);
    transform: scale(1.1) rotate(5deg);
}

/* Footer */
.footer {
    margin-top: 3rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-medium);
    opacity: 0.8;
}

.credits {
    font-size: 0.75rem;
    margin-top: 0.25rem;
    opacity: 0.6;
}

/* Animations */
@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);
    }
}

/* Responsive */
@media (max-width: 380px) {
    .profile-name {
        font-size: 1.25rem;
    }

    .link-card {
        padding: 0.875rem 1rem;
    }

    .icon-box {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
}

/* Google favicon icon sizing */
.google-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}