@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --premium-purple: #2e264f;
    --accent-orange: #e87e5b;
}

body {
    font-family: 'Outfit', 'Inter', 'Be Vietnam Pro', sans-serif;
    background: #1a162e;
    margin: 0;
    overflow: hidden;
    color: white;
}

.glass {
    background: rgba(55, 47, 92, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Vibrant Scrollbar with Exocad Orange Theme */
.custom-scrollbar::-webkit-scrollbar {
    width: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: var(--accent-orange);
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(232, 126, 91, 0.4);
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

/* Dynamic Slider with Hover Glow and Scale effects */
.slider-pill {
    width: 100%;
    height: 8px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(232, 126, 91, 0.15);
    border-radius: 4px;
    outline: none;
    transition: all 0.3s;
    border: 1px solid rgba(232, 126, 91, 0.1);
}

.slider-pill:hover {
    background: rgba(232, 126, 91, 0.3);
    box-shadow: 0 0 15px rgba(232, 126, 91, 0.2);
    cursor: pointer;
}

.slider-pill::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: var(--accent-orange);
    cursor: pointer;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 0 10px rgba(232, 126, 91, 0.5);
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.slider-pill:hover::-webkit-slider-thumb {
    transform: scale(1.2);
    box-shadow: 0 0 20px rgba(232, 126, 91, 0.8);
}

.btn-premium {
    background: var(--accent-orange);
    color: white;
    transition: all 0.2s;
    font-weight: 700;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(232, 126, 91, 0.3);
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 126, 91, 0.5);
}

.brand-logo {
    font-size: 32px;
    font-weight: 900;
    letter-spacing: -0.05em;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-sub {
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: var(--accent-orange);
    font-weight: 900;
}

/* Drag and drop overlay */
.drop-zone {
    border: 2px dashed rgba(255, 255, 255, 0.2);
    transition: all 0.2s;
}

.drop-zone.active {
    border-color: var(--accent-orange);
    background: rgba(232, 126, 91, 0.1);
}

::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

/* Improved Auto-Marquee */
.marquee-view-container {
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.marquee-view-text {
    display: inline-block;
    white-space: nowrap;
    text-overflow: clip !important;
    animation: auto-scroll 12s linear infinite alternate;
    padding: 0 40px;
    will-change: transform;
}

.marquee-view-container:hover .marquee-view-text {
    animation-play-state: paused;
}

@keyframes auto-scroll {
    0% { transform: translateX(0); }
    15% { transform: translateX(0); }
    100% { transform: translateX(min(0px, calc(-100% + var(--marquee-container-width, 200px)))); }
}

.lp-container {
    position: absolute;
    pointer-events: none;
    z-index: 9999;
    width: 64px;
    height: 64px;
    filter: drop-shadow(0 0 12px rgba(0, 0, 0, 0.6));
    transform: translate(-50%, -50%) scale(0.4);
    opacity: 0;
    transition: opacity 0.1s, transform 0.15s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lp-container.visible {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.lp-svg { transform: rotate(-90deg); }
.lp-ring { fill: none; stroke: rgba(255, 255, 255, 0.35); stroke-width: 6; }
.lp-bar { fill: none; stroke: var(--accent-orange); stroke-width: 6; stroke-dasharray: 100; stroke-dashoffset: 100; stroke-linecap: round; }
.lp-container.active .lp-bar { animation: lp-fill 0.3s linear forwards; }

@keyframes lp-fill { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    20% { transform: translateX(0); }
    100% { transform: translateX(min(0px, calc(-100% + var(--marquee-container-width, 250px)))); }
}
