/* ═══════════════════════════════════════════════════════════
   Serigne Fallou — Link in Bio | Premium Stylesheet
   © 2026 Serigne Fallou
═══════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════
   CSS CUSTOM PROPERTIES (Design Tokens)
═══════════════════════════════════════════════════════ */
:root {
    --bg-primary: #09090B;
    --bg-secondary: #111113;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-card-hover: rgba(255, 255, 255, 0.08);
    --violet: #7C3AED;
    --blue: #3B82F6;
    --pink: #EC4899;
    --white: #FFFFFF;
    --gray: #BDBDBD;
    --gray-dim: #6B7280;
    --radius: 20px;
    --radius-sm: 14px;
    --transition: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Space Grotesk', 'Inter', sans-serif;
    --gradient-primary: linear-gradient(135deg, var(--violet), var(--blue));
    --gradient-accent: linear-gradient(135deg, var(--violet), var(--pink));
    --gradient-glow: linear-gradient(135deg, var(--pink), var(--violet), var(--blue));
    --shadow-glow: 0 0 30px rgba(124, 58, 237, 0.3);
    --max-width: 500px;
}

/* Light mode tokens */
:root.light-mode {
    --bg-primary: #F8F9FC;
    --bg-secondary: #FFFFFF;
    --bg-card: rgba(0, 0, 0, 0.04);
    --bg-card-hover: rgba(0, 0, 0, 0.08);
    --white: #111113;
    --gray: #4B5563;
    --gray-dim: #9CA3AF;
}

/* ═══════════════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════════════ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--white);
    min-height: 100vh;
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    outline: none;
    cursor: pointer;
    font-family: inherit;
}

/* ═══════════════════════════════════════════════════════
   CUSTOM CURSOR
═══════════════════════════════════════════════════════ */
.cursor-dot {
    width: 8px;
    height: 8px;
    background: var(--white);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background 0.2s;
    mix-blend-mode: difference;
    display: none;
}

.cursor-ring {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(124, 58, 237, 0.5);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s;
    display: none;
}

@media (hover: hover) and (pointer: fine) {

    .cursor-dot,
    .cursor-ring {
        display: block;
    }

    body {
        cursor: none;
    }

    a,
    button {
        cursor: none;
    }
}

/* ═══════════════════════════════════════════════════════
   LOADER
═══════════════════════════════════════════════════════ */
#loader {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-spinner {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: conic-gradient(var(--violet), var(--blue), var(--pink), var(--violet));
    mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 0);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 0);
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

.loader-text {
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ═══════════════════════════════════════════════════════
   BACKGROUND EFFECTS
═══════════════════════════════════════════════════════ */
.bg-effects {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.bg-halo {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    animation: float 15s ease-in-out infinite;
}

.bg-halo--violet {
    width: 500px;
    height: 500px;
    background: var(--violet);
    top: -150px;
    left: -100px;
    animation-delay: 0s;
}

.bg-halo--blue {
    width: 400px;
    height: 400px;
    background: var(--blue);
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
}

.bg-halo--pink {
    width: 300px;
    height: 300px;
    background: var(--pink);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

.light-mode .bg-halo {
    opacity: 0.08;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(30px, -30px) scale(1.1);
    }

    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }

    75% {
        transform: translate(20px, 10px) scale(1.05);
    }
}

/* Mouse light effect */
.mouse-light {
    position: fixed;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
    opacity: 0;
}

.mouse-light.active {
    opacity: 1;
}

/* Particles canvas */
#particles-canvas {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

/* ═══════════════════════════════════════════════════════
   MAIN LAYOUT
═══════════════════════════════════════════════════════ */
.main-container {
    position: relative;
    z-index: 2;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 40px 20px 60px;
    min-height: 100vh;
}

/* ═══════════════════════════════════════════════════════
   IN-APP BROWSER BANNER
═══════════════════════════════════════════════════════ */
.in-app-banner {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(238, 29, 82, 0.5); /* TikTok branding hint */
    border-radius: var(--radius-sm);
    padding: 16px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    transform: translateY(-10px);
    animation: fadeIn 0.8s ease forwards;
    position: relative;
    z-index: 100;
    box-shadow: 0 0 20px rgba(238, 29, 82, 0.15);
}

.in-app-banner.hidden {
    display: none !important;
}

.banner-content {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.banner-icon {
    color: #EE1D52;
    font-size: 20px;
    margin-top: 2px;
}

.banner-text {
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.banner-text strong {
    color: #EE1D52;
}

.banner-btn {
    background: var(--bg-primary);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition);
    align-self: center;
    width: 100%;
}

.light-mode .banner-btn {
    background: var(--bg-card-hover);
    color: var(--white);
}

.banner-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(238, 29, 82, 0.3);
}

.banner-btn:active {
    transform: scale(0.98);
}

/* ═══════════════════════════════════════════════════════
   TOP BAR (Theme toggle + visitor counter)
═══════════════════════════════════════════════════════ */
.top-bar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeIn 0.6s ease forwards 0.2s;
}

.visitor-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 12px;
    color: var(--gray);
    letter-spacing: 0.5px;
}

.visitor-dot {
    width: 6px;
    height: 6px;
    background: #22C55E;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}

.theme-toggle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--gray);
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.theme-toggle:hover {
    background: var(--bg-card-hover);
    color: var(--white);
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.15);
}

.theme-toggle:focus-visible {
    outline: 2px solid var(--violet);
    outline-offset: 2px;
}

/* ═══════════════════════════════════════════════════════
   PROFILE HEADER
═══════════════════════════════════════════════════════ */
.profile-header {
    text-align: center;
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards 0.3s;
}

.avatar-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    animation: avatar-float 4s ease-in-out infinite;
}

@keyframes avatar-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.avatar-glow {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--gradient-glow);
    background-size: 300% 300%;
    animation: glow-rotate 4s linear infinite;
    z-index: 0;
}

@keyframes glow-rotate {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.avatar-img {
    position: relative;
    z-index: 1;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--bg-primary);
    display: block;
}

.profile-name {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 4px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-handle {
    font-size: 15px;
    color: var(--gray);
    font-weight: 400;
    margin-bottom: 16px;
}

.profile-bio {
    font-size: 14px;
    line-height: 1.7;
    color: var(--gray);
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    padding: 16px 20px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.05);
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: left;
}

/* ═══════════════════════════════════════════════════════
   SOCIAL LINKS
═══════════════════════════════════════════════════════ */
.links-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 28px;
}

@media (max-width: 420px) {
    .links-section {
        grid-template-columns: 1fr;
    }
}

/* ═══════════════════════════════════════════════════════
   COLLABORATION SECTION
═══════════════════════════════════════════════════════ */
.collab-section {
    margin-bottom: 28px;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards 0.8s;
}

.collab-text {
    font-size: 13px;
    color: var(--gray-dim);
    margin-bottom: 12px;
    text-align: center;
}

.collab-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.collab-icon {
    font-size: 18px;
    color: var(--violet);
}

.collab-email {
    flex: 1;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 14.5px;
    color: var(--white);
    letter-spacing: -0.2px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.collab-copy-btn {
    background: rgba(255, 255, 255, 0.05);
    color: var(--gray);
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: var(--transition);
}

.collab-copy-btn:hover {
    background: rgba(124, 58, 237, 0.1);
    color: var(--violet);
}

.collab-copy-btn:active {
    transform: scale(0.95);
}

.link-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 22px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: var(--transition);
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
}

.link-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    opacity: 0;
    transition: opacity var(--transition);
}

.link-card:hover {
    transform: translateY(-3px) scale(1.02);
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: var(--shadow-glow);
    background: var(--bg-card-hover);
}

.link-card:hover::before {
    opacity: 1;
}

.link-card:focus-visible {
    outline: 2px solid var(--violet);
    outline-offset: 2px;
}

.link-card:active {
    transform: translateY(-1px) scale(0.99);
}

/* Platform-specific glow colors */
.link-card[data-platform="YouTube"]:hover {
    border-color: rgba(255, 0, 0, 0.3);
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.15);
}

.link-card[data-platform="YouTube"]::before {
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.05), transparent);
}

.link-card[data-platform="LinkedIn"]:hover {
    border-color: rgba(0, 119, 181, 0.3);
    box-shadow: 0 0 30px rgba(0, 119, 181, 0.15);
}

.link-card[data-platform="LinkedIn"]::before {
    background: linear-gradient(135deg, rgba(0, 119, 181, 0.05), transparent);
}

.link-card[data-platform="TikTok"]:hover {
    border-color: rgba(238, 29, 82, 0.3);
    box-shadow: 0 0 30px rgba(238, 29, 82, 0.15);
}

.link-card[data-platform="TikTok"]::before {
    background: linear-gradient(135deg, rgba(238, 29, 82, 0.05), transparent);
}

.link-card[data-platform="WhatsApp"]:hover {
    border-color: rgba(37, 211, 102, 0.3);
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.15);
}

.link-card[data-platform="WhatsApp"]::before {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.05), transparent);
}

.link-card[data-platform="Facebook"]:hover {
    border-color: rgba(24, 119, 242, 0.3);
    box-shadow: 0 0 30px rgba(24, 119, 242, 0.15);
}

.link-card[data-platform="Facebook"]::before {
    background: linear-gradient(135deg, rgba(24, 119, 242, 0.05), transparent);
}

.link-card[data-platform="Instagram"]:hover {
    border-color: rgba(225, 48, 108, 0.3);
    box-shadow: 0 0 30px rgba(225, 48, 108, 0.15);
}

.link-card[data-platform="Instagram"]::before {
    background: linear-gradient(135deg, rgba(225, 48, 108, 0.05), transparent);
}

.link-card[data-platform="Email"]:hover {
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.15);
}

.link-card[data-platform="Email"]::before {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.05), transparent);
}

.link-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

/* Platform icon backgrounds */
.link-card[data-platform="YouTube"] .link-icon {
    background: linear-gradient(135deg, #FF0000, #CC0000);
}

.link-card[data-platform="LinkedIn"] .link-icon {
    background: linear-gradient(135deg, #0077B5, #005A8D);
}

.link-card[data-platform="TikTok"] .link-icon {
    background: linear-gradient(135deg, #000000, #222222);
}

.link-card[data-platform="WhatsApp"] .link-icon {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.link-card[data-platform="Facebook"] .link-icon {
    background: linear-gradient(135deg, #1877F2, #145DBF);
}

.link-card[data-platform="Instagram"] .link-icon {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.link-card[data-platform="Email"] .link-icon {
    background: linear-gradient(135deg, #7C3AED, #3B82F6);
}

.link-info {
    flex: 1;
    position: relative;
    z-index: 1;
}

.link-title {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.2px;
}

.link-clicks {
    font-size: 12px;
    color: var(--gray-dim);
    margin-top: 2px;
}

.link-arrow {
    color: var(--gray-dim);
    font-size: 14px;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.link-card:hover .link-arrow {
    color: var(--white);
    transform: translateX(4px);
}

/* ═══════════════════════════════════════════════════════
   ACTION BUTTONS
═══════════════════════════════════════════════════════ */
.action-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards 0.9s;
}

.action-btn {
    flex: 1;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.action-btn:focus-visible {
    outline: 2px solid var(--violet);
    outline-offset: 2px;
}

.action-btn--share {
    background: var(--gradient-primary);
    color: #fff;
}

.action-btn--share:hover {
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.4);
    transform: translateY(-2px);
}

.action-btn--copy {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.action-btn--copy:hover {
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.15);
    transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════
   TOAST NOTIFICATION
═══════════════════════════════════════════════════════ */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 14px 24px;
    background: rgba(34, 197, 94, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: #22C55E;
    z-index: 9999;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    white-space: nowrap;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

/* ═══════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════ */
.site-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0;
    animation: fadeIn 0.8s ease forwards 1.1s;
}

.footer-copyright {
    font-size: 13px;
    color: var(--gray-dim);
    margin-bottom: 4px;
}

.footer-made {
    font-size: 12px;
    color: var(--gray-dim);
    opacity: 0.7;
}

.footer-made .heart {
    color: var(--pink);
    animation: heartbeat 1.5s ease-in-out infinite;
    display: inline-block;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    15% {
        transform: scale(1.2);
    }

    30% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.15);
    }
}

/* ═══════════════════════════════════════════════════════
   SCROLL TO TOP BUTTON
═══════════════════════════════════════════════════════ */
.scroll-top {
    position: fixed;
    bottom: 24px;
    right: -50px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    box-shadow: 0 4px 30px rgba(124, 58, 237, 0.5);
    transform: translateY(-3px);
}

.scroll-top:focus-visible {
    outline: 2px solid var(--violet);
    outline-offset: 2px;
}

/* ═══════════════════════════════════════════════════════
   ANIMATIONS
═══════════════════════════════════════════════════════ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ═══════════════════════════════════════════════════════
   TOOLTIP
═══════════════════════════════════════════════════════ */
.tooltip-wrapper {
    position: relative;
}

.tooltip-wrapper::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) scale(0.9);
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    font-size: 12px;
    border-radius: 8px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: var(--transition);
    z-index: 50;
}

.tooltip-wrapper:hover::after {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════ */
@media (min-width: 768px) {
    .main-container {
        padding: 60px 20px 80px;
    }

    .profile-name {
        font-size: 32px;
    }

    .avatar-wrapper {
        width: 140px;
        height: 140px;
    }

    .avatar-img {
        width: 140px;
        height: 140px;
    }

    .profile-bio {
        font-size: 15px;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ═══════════════════════════════════════════════════════
   LIGHT MODE OVERRIDES
═══════════════════════════════════════════════════════ */
.light-mode .toast {
    background: rgba(34, 197, 94, 0.1);
}

.light-mode .profile-bio {
    border-color: rgba(0, 0, 0, 0.08);
}

.light-mode .link-card {
    border-color: rgba(0, 0, 0, 0.06);
}

.light-mode .site-footer {
    border-top-color: rgba(0, 0, 0, 0.08);
}

.light-mode .visitor-badge,
.light-mode .theme-toggle {
    border-color: rgba(0, 0, 0, 0.08);
}

.light-mode .action-btn--copy {
    border-color: rgba(0, 0, 0, 0.1);
}

/* ═══════════════════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
═══════════════════════════════════════════════════════ */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.5, 0, 0, 1), transform 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}


.light-mode .tooltip-wrapper::after {
    background: rgba(0, 0, 0, 0.8);
}