/* --- PREMIUM DARK & GOLD THEME --- */
:root {
    --bg-color: #0a0a0a;       /* Deepest Black */
    --card-bg: #151515;        /* Card Background */
    --gold-primary: #E5C15D;   /* Metallic Gold */
    --gold-hover: #FFD700;     /* Brighter Gold */
    --text-main: #ffffff;
    --text-sub: #d0d0d0;
    --border-dim: #333333;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 60px 20px;
}

/* --- PROFILE SECTION --- */
.profile-container {
    text-align: center;
    margin-bottom: 35px;
    animation: fadeIn 0.8s ease-out;
}

.profile-pic {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold-primary);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.15); /* Soft Gold Glow */
    margin-bottom: 15px;
}

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

.bio {
    color: var(--text-sub);
    font-size: 0.95rem;
    line-height: 1.5;
}

.location {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 5px;
    display: inline-block;
}

.location i {
    color: var(--gold-primary);
    margin-right: 4px;
}

/* --- LINKS SECTION --- */
#links-container {
    width: 100%;
    max-width: 450px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.link-card {
    background-color: var(--card-bg);
    color: var(--text-main);
    text-decoration: none;
    padding: 18px 25px;
    border-radius: 12px;
    border: 1px solid var(--border-dim);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
}

/* Icon Styling */
.link-card i {
    position: absolute;
    left: 25px;
    font-size: 1.3rem;
    color: var(--gold-primary);
    transition: transform 0.3s ease;
}

.link-text {
    font-weight: 600;
    letter-spacing: 0.3px;
    z-index: 2;
}

/* Hover Effects */
.link-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    background-color: #1a1a1a;
}

.link-card:hover i {
    transform: scale(1.1);
    color: var(--gold-hover);
}

/* --- FOOTER --- */
footer {
    margin-top: auto;
    padding-top: 40px;
    text-align: center;
    color: var(--text-sub);
    font-size: 0.8rem;
    /* opacity: 0.6; */
    line-height: 1.6;
}

/* --- ANIMATIONS --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Mobile Tweaks */
@media (max-width: 400px) {
    .link-card { padding: 15px 20px; }
    .name { font-size: 1.4rem; }
    .link-card i { left: 20px; }
}

/* =========================================
   EMAIL HOVER TOOLTIP (LinkHub)
   ========================================= */

.email-hover {
    position: relative;
}

.email-hover::after {
    content: attr(data-email);
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);

    background: #000;
    color: var(--gold-primary);
    padding: 8px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    white-space: nowrap;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    box-shadow: 0 6px 20px rgba(0,0,0,0.6);
    z-index: 9999;
}

.email-hover:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(-6px);
}
