:root {
    --bg-color: #F8F5F2; /* Soft sand */
    --text-primary: #3E362E; /* Deep earthy brown */
    --accent-color: #C07A65; /* Terracotta */
    --button-bg: #FFFFFF;
    --button-text: #4A3C31;
    --button-hover-bg: #EDE6D6; /* Muted sand */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

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

/* Subtle background texture */
.background-texture {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 10% 20%, rgba(192, 122, 101, 0.03) 0%, transparent 40%),
                      radial-gradient(circle at 90% 80%, rgba(141, 145, 122, 0.03) 0%, transparent 40%);
    z-index: -1;
}

.container {
    width: 100%;
    max-width: 480px; /* Standard mobile width */
    padding: 40px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-header {
    text-align: center;
    margin-bottom: 32px;
    animation: fadeInDown 0.8s ease-out;
}

.profile-image-container {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px;
    border: 3px solid #FFFFFF;
    box-shadow: var(--shadow);
}

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

h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

#bio {
    font-size: 0.95rem;
    line-height: 1.5;
    opacity: 0.8;
    max-width: 300px;
    margin: 0 auto;
}

.links-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 16px 20px;
    background-color: var(--button-bg);
    color: var(--button-text);
    text-decoration: none;
    border-radius: 50px; /* Pill shape */
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.02);
    position: relative;
    animation: fadeInUp 0.6s ease-out forwards;
    opacity: 0;
}

/* Staggered animation for buttons */
.link-btn:nth-child(1) { animation-delay: 0.2s; }
.link-btn:nth-child(2) { animation-delay: 0.4s; }
.link-btn:nth-child(3) { animation-delay: 0.6s; }
.link-btn:nth-child(4) { animation-delay: 0.8s; }

.link-btn i {
    position: absolute;
    left: 20px;
    width: 20px;
    height: 20px;
    color: var(--accent-color);
}

.link-btn:hover {
    transform: translateY(-3px);
    background-color: var(--accent-color);
    color: #FFFFFF;
    border-color: var(--accent-color);
}

.link-btn:hover i {
    color: #FFFFFF;
}

.footer {
    text-align: center;
    opacity: 0.6;
    font-size: 0.8rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 12px;
}

.social-links a {
    color: var(--text-primary);
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.social-links i {
    width: 20px;
    height: 20px;
}

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

/* Mobile specific touch adjustments */
@media (max-width: 480px) {
    .container {
        padding-top: 60px;
    }
    
    .link-btn {
        padding: 18px 20px; /* Slightly larger targets for mobile */
    }
}

/* Highlight Button */
.highlight-btn {
    background-color: #25D366;
    color: #FFFFFF;
    border-color: #25D366;
}

.highlight-btn i {
    color: #FFFFFF;
}

.highlight-btn:hover {
    background-color: #1ea952;
    border-color: #1ea952;
}
