@font-face {
    font-family: 'Nunito';
    src: url('font/Nunito-ExtraLight.woff2') format('woff2'),
        url('font/Nunito-ExtraLight.woff') format('woff');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}


:root {
    --bg-main: #0b0f0d;
    --bg-card: #111816;
    --bg-card-soft: #16201c;
    --accent-primary: #00c67c;
    --accent-soft: #38e3a1;
    --accent-glow: #00c67c66;
    --text-primary: #e6f1ec;
    --text-secondary: #a3b8ae;
    --text-muted: #6b8076;
    --border-default: #1f2a25;
    --border-accent: #00c67c;
    --btn-bg: #16201c;
    --btn-bg-hover: #1d2b26;
    --btn-text: #e6f1ec;
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 16px var(--accent-glow);
}

body {
    font-family: Nunito, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
}

.container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card,
svg {
    transition: all 0.25s ease;
}

.card {
    width: 100%;
    max-width: 360px;
    min-height: 420px;
    height: auto;
    border: 2px solid var(--border-default);
    padding: 24px;
    background-color: var(--bg-card);
    border-radius: 16px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    gap: 20px;
}

.card:hover {
    border-color: var(--border-accent);
    box-shadow:
        var(--shadow-card),
        0 0 0 1px var(--border-accent),
        var(--shadow-glow);
}

.card:active {
  transform: scale(0.97);
  box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}

#profile-pic-img {
    width: 110px;
    height: auto;
    border-radius: 50%;
    border: 2px solid var(--border-accent);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#profile-pic-img:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 16px rgba(0, 198, 124, 0.3);
}

#profile-pic-img:active {
    transform: scale(1.15);
    box-shadow: 0 10px 20px rgba(0, 198, 124, 0.4);
}

#name {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 1px;
    line-height: 1.2;
    margin-top: 16px;
}

#bio {
    font-size: 15px;
    line-height: 1.4;
    color: var(--text-secondary);
    text-align: center;
    max-width: 260px;
}

svg {
    width: 24px;
    height: 24px;
    color: var(--text-secondary);
    transition: color 0.2s ease, filter 0.2s ease;
}

ul {
    list-style: none;
}

.social-links {
    margin-top: 20px;
    width: 100%;
}

.social-links>ul {
    display: flex;
    padding: 0;
    justify-content: space-around;
    align-items: center;
}

svg:hover {
    color: var(--border-accent);
    filter: drop-shadow(0 0 6px var(--accent-glow));
}

.social-links a:active svg {
  transform: scale(1.2);
  filter: drop-shadow(0 0 8px var(--accent-glow));
}

#sparkle-container {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent-primary);
    box-shadow:
        0 0 6px var(--accent-glow),
        0 0 12px var(--accent-glow);
    animation: firework 700ms ease-out forwards;
}

@keyframes firework {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(var(--x), var(--y)) scale(0);
        opacity: 0;
    }
}