/* ================================================================
   HOVER-LIFT.CSS — 3D tilt on card hover (mouse tracking)
   PURE ADDITIVE — NO DELETIONS
   ================================================================ */

/* ── Tilt card class ──────────────────────────────────────── */
.tilt-card {
    transform-style: preserve-3d;
    transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    transition: transform 0.1s ease;
    will-change: transform;
}

/* ── Shine overlay on tilt ────────────────────────────────── */
.tilt-card .tilt-shine {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        circle at var(--mx, 50%) var(--my, 50%),
        rgba(255,255,255,0.12),
        transparent 60%
    );
    pointer-events: none;
    z-index: 10;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.tilt-card:hover .tilt-shine {
    opacity: 1;
}

/* ── Reset on mouse leave ─────────────────────────────────── */
.tilt-card.tilt-reset {
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg) !important;
    transition: transform 0.5s ease !important;
}

/* ================================================================
   NEON-PARTICLES.CSS — Animated background particles
   ================================================================ */

/* ── Neon orb floating ────────────────────────────────────── */
@keyframes orb-float-1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(30px, -20px) scale(1.05); }
    66%       { transform: translate(-20px, 15px) scale(0.95); }
}

@keyframes orb-float-2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50%       { transform: translate(-25px, -30px) scale(1.08); }
}

@keyframes orb-float-3 {
    0%, 100% { transform: translate(0, 0); }
    40%       { transform: translate(20px, 25px) scale(0.9); }
    80%       { transform: translate(-15px, -10px) scale(1.04); }
}

/* ── Decorative neon orbs behind cards ────────────────────── */
.neon-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(40px);
    z-index: 0;
    opacity: 0.12;
}

.neon-orb-1 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #8b5cf6, transparent);
    top: -50px;
    left: -50px;
    animation: orb-float-1 8s ease-in-out infinite;
}

.neon-orb-2 {
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, #ec4899, transparent);
    bottom: -30px;
    right: -30px;
    animation: orb-float-2 10s ease-in-out infinite;
}

.neon-orb-3 {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, #06b6d4, transparent);
    top: 40%;
    right: -20px;
    animation: orb-float-3 7s ease-in-out infinite;
}

/* ================================================================
   MEGA BUTTON EFFECTS
   ================================================================ */

/* ── Glowing border button variant ───────────────────────── */
@keyframes border-dance {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.mega-btn {
    background: linear-gradient(90deg, #8b5cf6, #ec4899, #06b6d4, #8b5cf6);
    background-size: 300% 100%;
    animation: border-dance 3s linear infinite;
    color: white;
    border: none;
    box-shadow: 0 0 20px rgba(139,92,246,0.4), 0 0 40px rgba(236,72,153,0.2);
    transition: all 0.3s ease;
}

.mega-btn:hover {
    box-shadow: 0 0 30px rgba(139,92,246,0.7), 0 0 60px rgba(236,72,153,0.4), 0 0 100px rgba(6,182,212,0.2);
    transform: translateY(-4px) scale(1.03);
    filter: brightness(1.15);
}

/* ================================================================
   GALLERY LIGHTBOX NEON — Upgraded
   ================================================================ */

.lightbox-stage {
    border: 1px solid transparent !important;
    background:
        linear-gradient(rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 0.4)) padding-box,
        linear-gradient(135deg, rgba(139,92,246,0.4), rgba(236,72,153,0.3), rgba(6,182,212,0.2)) border-box !important;
    box-shadow:
        0 0 20px rgba(139,92,246,0.2),
        0 20px 50px rgba(0,0,0,0.5),
        inset 0 0 30px rgba(139,92,246,0.05) !important;
}

#lightbox-img:hover {
    filter: brightness(1.06) saturate(1.15) !important;
}

.lightbox-control {
    transition: all 0.25s ease !important;
}

.lightbox-control:hover {
    background: rgba(139,92,246,0.2) !important;
    border-color: rgba(139,92,246,0.7) !important;
    box-shadow: 0 0 12px rgba(139,92,246,0.5) !important;
    transform: scale(1.1);
}

/* ================================================================
   SKILL PROGRESS BAR NEON
   ================================================================ */

/* Round progress dots / bars */
.h-2, .h-1\.5, [class*="h-2"][class*="rounded"] {
    box-shadow: 0 0 6px currentColor !important;
}

/* ================================================================
   SECTION DIVIDERS — Neon gradient lines
   ================================================================ */

hr, .border-t, .border-b {
    border-image: linear-gradient(90deg, transparent, rgba(139,92,246,0.4), rgba(236,72,153,0.3), transparent) 1 !important;
}

/* ================================================================
   SPECIAL: PROFILE TITLE TYPING CURSOR
   ================================================================ */

#profile-title::after {
    content: '|';
    animation: cursor-blink 1.2s step-end infinite;
    color: #8b5cf6;
    font-weight: 300;
    margin-left: 1px;
}

@keyframes cursor-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}
