/* CV Custom Styles - "Neon Sketch" Theme */

:root {
    --cv-accent: #8b5cf6;
    /* Violet-500 */
    --cv-highlight: #2dd4bf;
    /* Teal-400 */
    --cv-scribble: #ffffff;
}

/* 1. ORGANIC "SKETCH" BOXES */
.cv-sketch-box {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 3px solid var(--cv-scribble);
    /* Organic shape */
    border-radius: 255px 15px 225px 15px / 15px 225px 15px 255px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}

.cv-sketch-box:hover {
    transform: scale(1.02) rotate(-1deg);
    border-color: var(--cv-accent);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.4);
}

/* 2. SPEECH BUBBLE (Comic Style) */
.cv-comic-bubble {
    background: #fff;
    color: #000;
    padding: 2rem;
    position: relative;
    font-weight: 700;
    border-radius: 30px;
    border: 4px solid #000;
    box-shadow: 8px 8px 0px #8b5cf6;
    animation: float 6s ease-in-out infinite;
}

.cv-comic-bubble::after {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    border: 12px solid transparent;
    border-right-color: #000;
    margin-top: -12px;
}

@keyframes float {

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

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

/* 3. NEON TEXT */
.text-neon {
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.5), 0 0 20px rgba(139, 92, 246, 0.3);
}

/* 4. TIMELINE GLOW LINE */
.cv-glow-line {
    height: 6px;
    background: linear-gradient(90deg, #8b5cf6, #2dd4bf, #f472b6);
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.6);
    position: relative;
}

.cv-glow-dot {
    width: 24px;
    height: 24px;
    background: #000;
    border: 3px solid #2dd4bf;
    border-radius: 50%;
    box-shadow: 0 0 15px #2dd4bf;
    z-index: 10;
}

/* 5. STICKER CARDS (Instead of plain boxes) */
.cv-sticker-card {
    background: #ffffff;
    color: #000;
    padding: 1.5rem;
    transform: rotate(2deg);
    /* Constant tilt */
    border: 3px solid #000;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

.cv-sticker-card:hover {
    transform: rotate(0deg) scale(1.1);
    z-index: 20;
    box-shadow: 10px 10px 0 rgba(139, 92, 246, 1);
}

/* Dark mode overrides for stickers if needed, 
   but white stickers pop on dark background matching "Scrapbook" style */
.dark .cv-sticker-card {
    background: #1e1b4b;
    /* Dark indigo */
    color: #fff;
    border: 2px solid #a78bfa;
    box-shadow: 5px 5px 0 #a78bfa;
}

/* 6. LIQUID SKILLS */
.cv-liquid-bar-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 99px;
    padding: 4px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.cv-liquid-bar {
    height: 100%;
    background: linear-gradient(90deg, #8b5cf6, #c084fc);
    border-radius: 99px;
    position: relative;
    overflow: hidden;
}

.cv-liquid-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.4) 50%,
            rgba(255, 255, 255, 0) 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}