/* ========================================================
   STYLE.CSS – Trọng Hiếu Bio
   Neumorphism (Soft UI) Design System
   Color Distribution: 70% Base / 15% Shadow / 10% Text / 5% Accent
   ======================================================== */

/* ---------- Reset & Box Model ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ---------- Neumorphism Design Tokens ---------- */
:root {
    /* 70% Base Canvas & Surface */
    --bg-base: #e7ebf0;
    --card-bg: #e7ebf0;
    --surface-sunken: #e2e7ee;

    /* 15% Dual Shadows (Light top-left, Muted bottom-right) */
    --shadow-light: rgba(255, 255, 255, 0.95);
    --shadow-dark: rgba(163, 177, 198, 0.65);
    --shadow-dark-subtle: rgba(163, 177, 198, 0.45);
    --shadow-dark-strong: rgba(150, 165, 186, 0.75);

    /* Neumorphic shadow presets */
    --neu-card: 16px 16px 36px var(--shadow-dark),
                -16px -16px 36px var(--shadow-light);
    
    --neu-raised: 8px 8px 18px var(--shadow-dark-subtle),
                 -8px -8px 18px var(--shadow-light);

    --neu-raised-hover: 10px 10px 22px var(--shadow-dark),
                       -10px -10px 22px var(--shadow-light);

    --neu-inset: inset 4px 4px 8px var(--shadow-dark),
                 inset -4px -4px 8px var(--shadow-light);

    --neu-inset-subtle: inset 3px 3px 6px var(--shadow-dark-subtle),
                        inset -3px -3px 6px var(--shadow-light);

    --neu-circle: 6px 6px 14px var(--shadow-dark-subtle),
                 -6px -6px 14px var(--shadow-light);

    --neu-circle-hover: 8px 8px 18px var(--shadow-dark),
                       -8px -8px 18px var(--shadow-light);

    --neu-circle-inset: inset 3px 3px 6px var(--shadow-dark),
                        inset -3px -3px 6px var(--shadow-light);

    /* 10% Typography & Iconography */
    --text-primary: #1e293b;       /* Dark slate / Charcoal */
    --text-secondary: #475569;     /* Slate */
    --text-muted: #64748b;         /* Muted Slate */
    --text-subtle: #94a3b8;

    /* 5% Accent CTA & Action Colors */
    --accent-blue: #3b82f6;
    --accent-blue-deep: #1d4ed8;
    --accent-gradient: linear-gradient(135deg, #3b82f6, #1d4ed8);
    --accent-glow: 0 10px 24px rgba(59, 130, 246, 0.38),
                   4px 4px 10px var(--shadow-dark-subtle),
                   -4px -4px 10px var(--shadow-light);

    /* Border highlight for crisp tactile finish */
    --neu-border: 1px solid rgba(255, 255, 255, 0.65);
    --neu-border-inset: 1px solid rgba(163, 177, 198, 0.2);

    /* Transitions */
    --transition-smooth: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-fast: all 0.15s ease;
}

/* ---------- Global Body & Layout ---------- */
html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-base);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 48px 16px;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.is-modal-open {
    overflow: hidden;
}

/* ---------- Neumorphic Background Decorative Shapes ---------- */
.blob,
.neu-shape {
    position: fixed;
    border-radius: 50%;
    background: var(--bg-base);
    pointer-events: none;
    z-index: 0;
    transition: transform 0.3s ease;
}

.blob--1,
.neu-shape--1 {
    display: block;
    width: 240px;
    height: 240px;
    top: -60px;
    left: -60px;
    box-shadow: 20px 20px 48px var(--shadow-dark),
                -20px -20px 48px var(--shadow-light);
    animation: neuFloat 12s ease-in-out infinite alternate;
}

.blob--2,
.neu-shape--2 {
    display: block;
    width: 200px;
    height: 200px;
    bottom: -40px;
    right: -40px;
    box-shadow: 18px 18px 42px var(--shadow-dark),
                -18px -18px 42px var(--shadow-light);
    animation: neuFloat 14s ease-in-out infinite alternate-reverse;
}

.blob--3,
.neu-shape--3 {
    display: block;
    width: 140px;
    height: 140px;
    top: 45%;
    right: 5%;
    box-shadow: 14px 14px 32px var(--shadow-dark),
                -14px -14px 32px var(--shadow-light);
    animation: neuFloat 16s ease-in-out infinite alternate;
}

@keyframes neuFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(18px, -18px) scale(1.04);
    }
}

/* ---------- Focus & Interactive Accessibility ---------- */
a,
button,
.link-btn,
.group-card,
.panel-back {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

a:focus,
button:focus,
.link-btn:focus,
.group-card:focus,
.panel-back:focus {
    outline: none;
}

a:focus-visible,
button:focus-visible,
.link-btn:focus-visible,
.group-card:focus-visible,
.panel-back:focus-visible {
    outline: 2px solid var(--accent-blue);
    outline-offset: 3px;
}

/* ---------- Bio Card (Main Container) ---------- */
.bio-card {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 440px;
    background: var(--card-bg);
    border: var(--neu-border);
    border-radius: 36px;
    padding: 38px 28px 32px;
    box-shadow: var(--neu-card);
    overflow: hidden;
    animation: neuCardEnter 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.bio-card.is-exiting {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
}

@keyframes neuCardEnter {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ---------- Profile Header ---------- */
.profile-header {
    text-align: center;
    margin-bottom: 24px;
}

.avatar-ring {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--bg-base);
    padding: 6px;
    border: var(--neu-border);
    box-shadow: var(--neu-card);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.avatar-ring:hover {
    transform: translateY(-2px);
    box-shadow: 18px 18px 40px var(--shadow-dark),
                -18px -18px 40px var(--shadow-light);
}

.avatar-ring img,
.avatar-img {
    position: absolute;
    inset: 6px;
    width: calc(100% - 12px);
    height: calc(100% - 12px);
    border-radius: 50%;
    object-fit: cover;
    display: block;
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.12);
    will-change: opacity, transform;
}

.avatar-img--1 {
    animation: avatarCycle1 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.avatar-img--2 {
    animation: avatarCycle2 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes avatarCycle1 {
    0%, 45% {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
    }
    50%, 95% {
        opacity: 0;
        visibility: hidden;
        transform: scale(1.02);
    }
    100% {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
    }
}

@keyframes avatarCycle2 {
    0%, 45% {
        opacity: 0;
        visibility: hidden;
        transform: scale(1.02);
    }
    50%, 95% {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        visibility: hidden;
        transform: scale(1.02);
    }
}

.profile-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.4px;
    margin-bottom: 2px;
    display: inline-block;
}

.profile-name-btn {
    border: 0;
    background: transparent;
    font-family: inherit;
    cursor: pointer;
    padding: 6px 14px;
    border-radius: 16px;
    transition: var(--transition-smooth);
    color: var(--text-primary);
}

.profile-name-btn:hover {
    color: var(--accent-blue-deep);
    background: var(--bg-base);
    box-shadow: var(--neu-inset-subtle);
}

.profile-name-btn:active {
    box-shadow: var(--neu-inset);
    transform: scale(0.98);
}

/* ---------- Navigation Hub (Main Categories) ---------- */
.link-hub {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 8px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.link-hub.is-hidden {
    display: none;
}

.group-card {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 16px;
    padding: 15px 18px;
    border-radius: 20px;
    border: var(--neu-border);
    background: var(--card-bg);
    color: var(--text-primary);
    box-shadow: var(--neu-raised);
    font: inherit;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.group-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--neu-raised-hover);
    border-color: rgba(255, 255, 255, 0.85);
}

.group-card:active {
    transform: translateY(0);
    box-shadow: var(--neu-inset);
}

.group-card.is-active {
    box-shadow: var(--neu-inset);
    background: var(--surface-sunken);
}

.group-card__icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--bg-base);
    box-shadow: var(--neu-inset-subtle);
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.group-card:hover .group-card__icon {
    box-shadow: var(--neu-raised);
}

.group-card__img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    display: block;
}

.group-card__body {
    display: grid;
    min-width: 0;
    flex: 1;
}

.group-card__title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.2px;
}

.group-card__arrow {
    font-size: 13px;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.group-card:hover .group-card__arrow {
    transform: translateX(3px);
    color: var(--accent-blue);
}

/* ---------- Panels & Transition Animation ---------- */
.link-panel {
    display: none;
    margin-bottom: 8px;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.link-panel.is-open {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: neuPanelEnter 0.28s cubic-bezier(0.25, 0.8, 0.25, 1) both;
}

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

.panel-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 16px;
    border-radius: 50%;
    border: var(--neu-border);
    background: var(--bg-base);
    box-shadow: var(--neu-circle);
    color: var(--text-secondary);
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.panel-back:hover {
    color: var(--accent-blue-deep);
    transform: translateX(-3px);
    box-shadow: var(--neu-circle-hover);
}

.panel-back:active {
    transform: translateX(-1px);
    box-shadow: var(--neu-circle-inset);
}

/* ---------- Link Buttons Inside Panels ---------- */
.link-group__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.link-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 14px 18px;
    border-radius: 18px;
    border: var(--neu-border);
    background: var(--card-bg);
    box-shadow: var(--neu-raised);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.1px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 0;
    font-family: inherit;
    text-align: left;
}

.link-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--neu-raised-hover);
}

.link-btn:active {
    transform: translateY(0);
    box-shadow: var(--neu-inset);
}

.link-btn i {
    font-size: 18px;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--bg-base);
    box-shadow: var(--neu-inset-subtle);
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.link-btn:hover i {
    box-shadow: var(--neu-raised);
}

.link-btn__img {
    width: 36px;
    height: 36px;
    object-fit: cover;
    border-radius: 12px;
    background: var(--bg-base);
    box-shadow: var(--neu-inset-subtle);
    flex-shrink: 0;
    display: block;
    transition: var(--transition-smooth);
}

.link-btn:hover .link-btn__img {
    box-shadow: var(--neu-raised);
    transform: scale(1.04);
}

/* Brand Icon Colors */
.link-btn--facebook i    { color: #1877f2; }
.link-btn--instagram i   { color: #e1306c; }
.link-btn--telegram i    { color: #229ed9; }
.link-btn--linkedin i    { color: #0a66c2; }
.link-btn--github i      { color: #24292f; }
.link-btn--zalo i        { color: #0068ff; }
.link-btn--locket i      { color: #f59e0b; }
.link-btn--email i       { color: #ea4335; }
.link-btn--whatsapp i    { color: #25d366; }
.link-btn--tiktok i      { color: #111827; }

/* Primary CTA Accent Button (Vibrant Royal Blue Gradient) */
.link-btn--primary,
.cta-button {
    background: var(--accent-gradient);
    color: #ffffff !important;
    border: none;
    box-shadow: var(--accent-glow);
    font-weight: 700;
}

.link-btn--primary:hover,
.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(59, 130, 246, 0.48),
                4px 4px 12px var(--shadow-dark-subtle),
                -4px -4px 12px var(--shadow-light);
}

.link-btn--primary:active,
.cta-button:active {
    transform: translateY(0);
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.25);
}

.link-btn--primary i,
.cta-button i {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    box-shadow: none;
}

/* ---------- QR Lightbox Modal ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

.lightbox.is-open {
    opacity: 1;
    visibility: visible;
}

.lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(30, 41, 59, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.lightbox__content {
    position: relative;
    z-index: 1;
    background: var(--bg-base);
    border: var(--neu-border);
    border-radius: 28px;
    padding: 20px;
    box-shadow: 20px 20px 48px var(--shadow-dark-strong),
                -20px -20px 48px var(--shadow-light);
    transform: scale(0.92) translateY(12px);
    opacity: 0;
    text-align: center;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

.lightbox.is-open .lightbox__content {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.lightbox__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: var(--neu-border);
    border-radius: 50%;
    background: var(--bg-base);
    box-shadow: var(--neu-circle);
    color: var(--text-muted);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: var(--transition-smooth);
}

.lightbox__close:hover {
    color: var(--accent-blue-deep);
    box-shadow: var(--neu-circle-hover);
    transform: scale(1.06);
}

.lightbox__close:active {
    box-shadow: var(--neu-circle-inset);
    transform: scale(0.96);
}

.lightbox__img {
    width: 250px;
    height: 250px;
    border-radius: 18px;
    background: #ffffff;
    padding: 12px;
    box-shadow: var(--neu-inset);
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* ---------- QR Choice Confirmation Modal ---------- */
.qr-choice-modal {
    position: fixed;
    inset: 0;
    z-index: 2050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

.qr-choice-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.qr-choice-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(30, 41, 59, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.qr-choice-modal__card {
    position: relative;
    z-index: 1;
    width: min(calc(100vw - 40px), 320px);
    background: var(--bg-base);
    border: var(--neu-border);
    border-radius: 26px;
    padding: 22px 18px 18px;
    box-shadow: 18px 18px 40px var(--shadow-dark-strong),
                -18px -18px 40px var(--shadow-light);
    transform: scale(0.92) translateY(10px);
    opacity: 0;
    text-align: center;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

.qr-choice-modal.is-open .qr-choice-modal__card {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.qr-choice-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 30px;
    height: 30px;
    border: var(--neu-border);
    border-radius: 50%;
    background: var(--bg-base);
    box-shadow: var(--neu-circle);
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.qr-choice-modal__close:hover {
    color: var(--accent-blue-deep);
    box-shadow: var(--neu-circle-hover);
    transform: scale(1.06);
}

.qr-choice-modal__close:active {
    box-shadow: var(--neu-circle-inset);
    transform: scale(0.96);
}

.qr-choice-modal__header {
    margin-bottom: 16px;
}

.qr-choice-modal__icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 10px;
    border-radius: 14px;
    background: var(--bg-base);
    box-shadow: var(--neu-circle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--accent-blue);
}

.qr-choice-modal__title {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.4;
    letter-spacing: -0.2px;
}

.qr-choice-modal__actions {
    display: flex;
    gap: 10px;
}

.qr-choice-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px;
    border-radius: 14px;
    border: var(--neu-border);
    background: var(--card-bg);
    color: var(--text-primary);
    box-shadow: var(--neu-raised);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.qr-choice-btn i {
    font-size: 13px;
}

.qr-choice-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--neu-raised-hover);
}

.qr-choice-btn:active {
    transform: translateY(0);
    box-shadow: var(--neu-inset);
}

.qr-choice-btn--yes {
    background: var(--accent-gradient);
    color: #ffffff;
    border: none;
    box-shadow: var(--accent-glow);
}

.qr-choice-btn--yes:hover {
    box-shadow: 0 10px 22px rgba(59, 130, 246, 0.45),
                3px 3px 8px var(--shadow-dark-subtle),
                -3px -3px 8px var(--shadow-light);
}

.qr-choice-btn--yes:active {
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.25);
}

.qr-choice-btn--no {
    color: var(--text-secondary);
}

.qr-choice-btn--no:hover {
    color: var(--text-primary);
}

/* ---------- Profile Info Modal ---------- */
.profile-modal {
    position: fixed;
    inset: 0;
    z-index: 2100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

.profile-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.profile-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(30, 41, 59, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.profile-modal__card {
    position: relative;
    z-index: 1;
    width: min(100%, 380px);
    background: var(--bg-base);
    border: var(--neu-border);
    border-radius: 32px;
    padding: 28px 24px 26px;
    box-shadow: 20px 20px 48px var(--shadow-dark-strong),
                -20px -20px 48px var(--shadow-light);
    transform: scale(0.92) translateY(14px);
    opacity: 0;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
}

.profile-modal.is-open .profile-modal__card {
    transform: scale(1) translateY(0);
    opacity: 1;
}

.profile-modal__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    border: var(--neu-border);
    border-radius: 50%;
    background: var(--bg-base);
    box-shadow: var(--neu-circle);
    color: var(--text-muted);
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.profile-modal__close:hover {
    color: var(--accent-blue-deep);
    box-shadow: var(--neu-circle-hover);
    transform: scale(1.06);
}

.profile-modal__close:active {
    box-shadow: var(--neu-circle-inset);
    transform: scale(0.96);
}

.profile-modal__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}

.profile-modal__content {
    background: var(--bg-base);
    box-shadow: var(--neu-inset-subtle);
    border-radius: 18px;
    padding: 20px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-modal__empty {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.5;
}

/* ---------- Toast Notification ---------- */
.toast {
    position: fixed;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: var(--accent-gradient);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: var(--accent-glow);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 3000;
    pointer-events: none;
    letter-spacing: -0.1px;
}

.toast.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* ---------- Responsive Layout ---------- */
@media (max-width: 480px) {
    body {
        padding: 32px 14px;
    }

    .bio-card {
        border-radius: 28px;
        padding: 30px 20px 26px;
        box-shadow: 12px 12px 28px var(--shadow-dark),
                    -12px -12px 28px var(--shadow-light);
    }

    .avatar-ring {
        width: 106px;
        height: 106px;
        margin-bottom: 14px;
    }

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

    .group-card {
        padding: 13px 15px;
        border-radius: 16px;
        gap: 12px;
    }

    .group-card__icon {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .group-card__img {
        width: 20px;
        height: 20px;
    }

    .group-card__title {
        font-size: 14px;
    }

    .link-btn {
        padding: 12px 14px;
        border-radius: 15px;
        font-size: 13.5px;
    }

    .link-btn i,
    .link-btn__img {
        width: 32px;
        height: 32px;
        font-size: 16px;
        border-radius: 10px;
    }

    .lightbox__content {
        padding: 14px;
        border-radius: 22px;
    }

    .lightbox__img {
        width: 210px;
        height: 210px;
    }

    .qr-choice-modal__card {
        width: min(calc(100vw - 32px), 300px);
        padding: 18px 14px 15px;
        border-radius: 22px;
    }

    .qr-choice-modal__icon {
        width: 38px;
        height: 38px;
        font-size: 17px;
        margin-bottom: 8px;
        border-radius: 12px;
    }

    .qr-choice-modal__title {
        font-size: 13.5px;
    }

    .qr-choice-btn {
        padding: 9px 10px;
        font-size: 12px;
        border-radius: 12px;
    }
}

/* ---------- Accessibility: Prefers Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .blob,
    .neu-shape {
        animation: none !important;
    }
}
