/* -------------------------
   Hero Section Gradient
   Adapts to light / dark DaisyUI themes
---------------------------- */
.hero-section {
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 50%, #f0fdf4 100%);
}

[data-theme="dark"] .hero-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0c1a2e 100%);
}

/* -------------------------
   Typing Cursor
---------------------------- */
.cursor {
    display: inline-block;
    animation: blink 1s step-end infinite;
    font-weight: 100;
    opacity: 0.7;
}

@keyframes blink {
    50% { opacity: 0; }
}

/* -------------------------
   Skill Proficiency Dots
---------------------------- */
.skill-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.skill-dot.skilled  { background-color: #22c55e; }
.skill-dot.familiar { background-color: #f59e0b; }
.skill-dot.learning { background-color: #3b82f6; }

/* -------------------------
   Active Nav Link (desktop)
---------------------------- */
a.nav-link.active {
    background-color: rgba(0, 0, 0, 0.08);
    font-weight: 600;
}

[data-theme="dark"] a.nav-link.active {
    background-color: rgba(255, 255, 255, 0.1);
}

/* -------------------------
   Scroll-to-Top Button
---------------------------- */
#scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s, transform 0.2s;
    opacity: 0;
    pointer-events: none;
    z-index: 999;
    background: oklch(var(--p));
    color: oklch(var(--pc));
}

#scroll-top.visible {
    opacity: 1;
    pointer-events: auto;
}

#scroll-top:hover {
    transform: translateY(-3px);
}
