:root {
    --primary-color: #4CAF50; /* Base on logo green */
    --secondary-color: #2E7D32;
    --dark-bg: #0d120e;
    --text-color: #ffffff;
    --card-bg: rgba(255, 255, 255, 0.08);
    --card-hover: rgba(255, 255, 255, 0.15);
    --card-border: rgba(255, 255, 255, 0.1);
}

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

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

/* Dynamic Animated Background */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    background: radial-gradient(circle at 50% 10%, var(--secondary-color) 0%, var(--dark-bg) 60%);
}

.background-animation::before,
.background-animation::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    animation: float 12s infinite ease-in-out alternate;
}

.background-animation::before {
    background: rgba(76, 175, 80, 0.2);
    top: -100px;
    left: -100px;
}

.background-animation::after {
    background: rgba(46, 125, 50, 0.25);
    bottom: -100px;
    right: -100px;
    animation-delay: -6s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 80px) scale(1.2); }
}

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

/* Header */
.profile-header {
    text-align: center;
    margin-bottom: 2.5rem;
    animation: fadeInDown 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.profile-img-container {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    margin: 0 auto 1.2rem;
    padding: 4px;
    background: linear-gradient(135deg, #a8e063 0%, #4CAF50 100%);
    box-shadow: 0 8px 32px rgba(76, 175, 80, 0.4);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.profile-img-container:hover {
    transform: scale(1.08) rotate(5deg);
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background-color: var(--primary-color);
}

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

.profile-handle {
    font-size: 1.05rem;
    font-weight: 400;
    color: #a8e063;
    opacity: 0.9;
}

.profile-email {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-top: 0.8rem;
    padding: 0.5rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.profile-email:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.profile-email i {
    color: #a8e063;
}

/* Links Container */
.links-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) 0.2s both;
}

/* Glassmorphism Link Cards */
.link-card {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 1.2rem 1.8rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 100px; /* Fully rounded buttons like typical linktrees */
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 500;
    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;
}

.link-card i {
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

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

/* Hover Effects */
.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
    transition: left 0.6s ease;
}

.link-card:hover {
    background: var(--card-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.25);
}

.link-card:hover::before {
    left: 100%;
}

.link-card:hover i {
    transform: scale(1.2);
}

/* Specific Social Colors on Hover */
#link-instagram:hover { border-color: rgba(225, 48, 108, 0.5); box-shadow: 0 10px 20px rgba(225, 48, 108, 0.2); }
#link-instagram:hover i { color: #E1306C; }

#link-tiktok:hover { border-color: rgba(0, 242, 254, 0.5); box-shadow: 0 10px 20px rgba(0, 242, 254, 0.2); }
#link-tiktok:hover i { color: #00f2fe; } 

#link-youtube:hover { border-color: rgba(255, 0, 0, 0.5); box-shadow: 0 10px 20px rgba(255, 0, 0, 0.2); }
#link-youtube:hover i { color: #FF0000; }

#link-facebook:hover { border-color: rgba(24, 119, 242, 0.5); box-shadow: 0 10px 20px rgba(24, 119, 242, 0.2); }
#link-facebook:hover i { color: #1877F2; }


/* Footer */
.footer {
    margin-top: 3.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    animation: fadeIn 1s ease-out 0.6s both;
}

/* Animations */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

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

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

/* Responsive adjustments */
@media (max-width: 480px) {
    .container {
        padding: 2rem 1.2rem;
    }
    .link-card {
        padding: 1rem 1.5rem;
        font-size: 1.05rem;
    }
    .profile-name {
        font-size: 1.6rem;
    }
}
