:root {
    --primary-color: #2c3e50;
    --secondary-color: #e67e22;
    --background-color: #f4f4f4;
    --text-color: #333333;
    --button-text-color: #ffffff;
    --card-bg: #ffffff;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --hover-shadow: 0 8px 15px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 480px; /* Mobile optimized width */
    margin: 0 auto;
    text-align: center;
}

/* Header & Profile */
.profile-header {
    margin-bottom: 30px;
    animation: fadeInDown 0.8s ease-out;
}

.profile-image-container {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--card-bg);
    box-shadow: var(--shadow);
}

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

h1 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

#profile-title {
    font-size: 1rem;
    color: #666;
    font-weight: 300;
}

/* Links Container */
.links-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

/* Button Styles */
.link-btn {
    display: flex;
    align-items: center;
    justify-content: center; /* Center content */
    padding: 16px 20px;
    background-color: var(--card-bg);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px; /* Pill shape */
    box-shadow: var(--shadow);
    transition: var(--transition);
    font-weight: 600;
    position: relative;
    overflow: hidden;
    opacity: 0; /* For animation */
    animation: fadeInUp 0.5s ease-out forwards;
    border: 1px solid transparent;
}

.link-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--hover-shadow);
}

.link-btn i {
    font-size: 1.2rem;
    margin-right: 12px;
    width: 24px;
    text-align: center;
}

/* Specific button styles (can be overridden by JS inline styles) */
.link-btn.primary {
    background-color: var(--primary-color);
    color: var(--button-text-color);
}

.link-btn.secondary {
    background-color: var(--secondary-color);
    color: var(--button-text-color);
}

/* Footer */
.footer {
    margin-top: 40px;
    font-size: 0.85rem;
    color: #888;
    animation: fadeIn 1s ease-out 0.5s backwards;
}

.footer-links {
    margin-top: 10px;
}

.footer-links a {
    color: #888;
    text-decoration: none;
    margin: 0 5px;
    font-size: 0.8rem;
}

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

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Staggered animation delays for buttons */
.link-btn:nth-child(1) { animation-delay: 0.1s; }
.link-btn:nth-child(2) { animation-delay: 0.2s; }
.link-btn:nth-child(3) { animation-delay: 0.3s; }
.link-btn:nth-child(4) { animation-delay: 0.4s; }
.link-btn:nth-child(5) { animation-delay: 0.5s; }
.link-btn:nth-child(6) { animation-delay: 0.6s; }
.link-btn:nth-child(7) { animation-delay: 0.7s; }
