/* Mirroring Vicilook Variables */
:root {
    --vcm-gradient: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    --vcm-neon: #a29bfe;
    --vcm-glass: rgba(255, 255, 255, 0.08);
    --vcm-border: rgba(255, 255, 255, 0.15);
    --vcm-transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.vici-hidden { display: none !important; }

/* MINIMALIST TRIGGER BUTTON 
    Aligned to same plane as text
*/
.vcm-trigger-btn {
    display: inline-flex;    /* Allows it to sit on the same line as text */
    vertical-align: middle;  /* Aligns it vertically with the text line */
    padding: 4px 12px;       /* Slightly tighter for seamless inline fit */
    margin: 0 5px 2px 5px;   /* Added horizontal margin to breathe between words */
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
    line-height: 1;          /* Tight line height for inline alignment */
    transition: var(--vcm-transition);
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.vcm-trigger-btn:active { transform: scale(0.92); }

/* Overlays */
.vcm-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Container Logic: 80% Width, 60% Height */
.vcm-popup-container {
    width: 80%;
    height: 60%;
    max-width: 900px;
    background: #100e2b; 
    border-radius: 24px;
    position: relative;
    padding: 25px;
    box-sizing: border-box;
    box-shadow: 0 25px 50px rgba(0,0,0,0.6);
    border: 1px solid var(--vcm-border);
    display: flex;
    flex-direction: column; 
    overflow: hidden;
}

/* Mirror Gradient Popup */
.vcm-mirror-gradient {
    background: var(--vcm-gradient) !important;
    color: #ffffff;
}

.vcm-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-shrink: 0; 
}

.vcm-popup-header h3 {
    margin: 0;
    color: var(--vcm-neon);
    font-size: 1.2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Round X Close Button */
.vcm-close-btn {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    color: #fff;
    transition: var(--vcm-transition);
    border: 1px solid var(--vcm-border);
}

.vcm-close-btn:hover {
    background: var(--vcm-neon);
    color: #0f0c29;
}

/* Pills Layout */
.vcm-pill-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    overflow-y: auto;
}

.vcm-pill {
    background: var(--vcm-glass);
    border: 1px solid var(--vcm-border);
    color: #fff;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--vcm-transition);
    white-space: nowrap;
}

.vcm-pill:hover {
    background: var(--vcm-neon);
    color: #0f0c29;
    border-color: var(--vcm-neon);
    transform: translateY(-2px);
}

/* Scrollable Content (Static Container Logic) */
.vcm-scrollable-content {
    flex: 1; 
    overflow-y: auto;
    padding-right: 15px;
    color: #ffffff;
    line-height: 1.6;
}

/* Tech Scrollbar */
.vcm-scrollable-content::-webkit-scrollbar { width: 4px; }
.vcm-scrollable-content::-webkit-scrollbar-track { background: rgba(0, 0, 0, 0.2); }
.vcm-scrollable-content::-webkit-scrollbar-thumb { 
    background: var(--vcm-neon); 
    border-radius: 10px; 
}

/* Animation */
.vici-fade-in {
    animation: vcmFadeUp 0.4s forwards;
}

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