/* VidoGet Custom Styles */

body {
    background-color: #0b0c10;
}

/* Simulated starry background based on the image */
.stars-bg {
    background-image: 
        radial-gradient(1px 1px at 10% 20%, rgba(255, 255, 255, 0.4) 1px, transparent 0),
        radial-gradient(1px 1px at 30% 80%, rgba(167, 139, 250, 0.5) 1px, transparent 0),
        radial-gradient(1px 1px at 50% 40%, rgba(96, 165, 250, 0.5) 1px, transparent 0),
        radial-gradient(2px 2px at 70% 60%, rgba(255, 255, 255, 0.3) 1px, transparent 0),
        radial-gradient(1px 1px at 90% 10%, rgba(250, 204, 21, 0.3) 1px, transparent 0);
    background-size: 200px 200px;
}

/* Gradient Blobs */
.gradient-glow {
    background: radial-gradient(circle, rgba(139,92,246,0.25) 0%, rgba(139,92,246,0) 70%);
}

.gradient-glow-cyan {
    background: radial-gradient(circle, rgba(6,182,212,0.2) 0%, rgba(6,182,212,0) 70%);
}

/* Platform Pills */
.platform-pill {
    @apply flex items-center gap-2 px-4 py-1.5 rounded-full text-[11px] font-medium transition-colors cursor-pointer;
    background-color: #1a1c23;
    border: 1px solid #2a2d3a;
    color: #9ca3af;
}

.platform-pill:hover {
    @apply bg-gray-800 text-white border-gray-600;
}

/* Animations */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(139,92,246,0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(139,92,246,0.6);
    }
}

.analyze-loading {
    animation: pulse-glow 1.5s infinite ease-in-out;
}

.spin-icon {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* History Drawer Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 5px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: #0d0e14;
    border-radius: 8px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #2b2e3d;
    border-radius: 8px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #474b61;
}

/* Audio Converter Styles */
.format-chip {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}
.format-chip.active {
    background-color: #171b26 !important;
    border-color: #2aaef1 !important;
    color: #ffffff !important;
    box-shadow: 0 0 15px rgba(42, 174, 241, 0.3) !important;
    transform: translateY(-1px);
}
.conv-dragover {
    border-color: #2aaef1 !important;
    background-color: rgba(42, 174, 241, 0.08) !important;
    box-shadow: 0 0 25px rgba(42, 174, 241, 0.2) inset !important;
}

/* Downloaded-Before Button Clue Badges */
.dl-remember-badge {
    position: absolute;
    top: -9px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 9999px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.01em;
    white-space: nowrap;
    pointer-events: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45);
    z-index: 10;
    animation: dl-badge-pop 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.dl-remember-badge--emerald {
    background: #06281e;
    border: 1px solid rgba(110, 231, 183, 0.85);
    color: #a7f3d0;
}

.dl-remember-badge--purple {
    background: #1d1135;
    border: 1px solid rgba(196, 181, 253, 0.85);
    color: #ddd6fe;
}

.dl-remember-badge--slate {
    background: #0f172a;
    border: 1px solid rgba(56, 189, 248, 0.75);
    color: #bae6fd;
}

.dl-remember-badge--other {
    background: #1c1917;
    border: 1px solid rgba(251, 191, 36, 0.75);
    color: #fde68a;
}

.dl-remember-btn-emerald {
    box-shadow: 0 0 0 2px rgba(167, 243, 208, 0.55), 0 0 18px rgba(16, 185, 129, 0.35) !important;
}

.dl-remember-btn-purple {
    box-shadow: 0 0 0 2px rgba(221, 214, 254, 0.55), 0 0 18px rgba(167, 62, 232, 0.35) !important;
}

.dl-remember-btn-slate {
    border-color: rgba(56, 189, 248, 0.65) !important;
    box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.35) !important;
}

.dl-remember-btn-pink {
    box-shadow: 0 0 0 2px rgba(249, 168, 212, 0.55), 0 0 20px rgba(236, 72, 153, 0.35) !important;
}

@keyframes dl-badge-pop {
    from { opacity: 0; transform: translateY(3px) scale(0.92); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
