﻿
:root {
    --bg-dark: #0b0f19;
    --card-bg: rgba(22, 27, 38, 0.65);
    --card-border: rgba(255, 255, 255, 0.1);
    --tiktok-cyan: #25F4EE;
    --tiktok-pink: #FE2C55;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --gradient-accent: linear-gradient(135deg, #25F4EE 0%, #FE2C55 100%);
    --glow-effect: 0 0 35px rgba(37, 244, 238, 0.25);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Ambient Glow Backgrounds */
.ambient-glow-1 {
    position: absolute;
    top: -10%;
    left: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 244, 238, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
}

.ambient-glow-2 {
    position: absolute;
    top: 20%;
    right: 5%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(254, 44, 85, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(100px);
    z-index: -1;
    pointer-events: none;
}

/* Glassmorphism Styles */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.glass-nav {
    background: rgba(11, 15, 25, 0.75);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
}

/* Navigation */
.navbar-brand {
    font-weight: 800;
    font-size: 1.6rem;
    letter-spacing: -0.5px;
}

.gradient-text {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Input Bar */
.search-box-container {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
    padding: 6px 8px;
    transition: all 0.3s ease;
}

    .search-box-container:focus-within {
        border-color: var(--tiktok-cyan);
        box-shadow: 0 0 25px rgba(37, 244, 238, 0.25);
        background: rgba(255, 255, 255, 0.08);
    }

.search-input {
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    font-size: 1.05rem;
    padding-left: 20px;
    box-shadow: none !important;
}

    .search-input::placeholder {
        color: rgba(255, 255, 255, 0.4);
    }

/* Buttons */
.btn-gradient {
    background: var(--gradient-accent);
    color: #fff;
    border: none;
    font-weight: 700;
    border-radius: 14px;
    padding: 12px 28px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(254, 44, 85, 0.3);
}

    .btn-gradient:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 25px rgba(254, 44, 85, 0.45);
        color: #fff;
    }

.btn-paste {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 10px 18px;
    font-weight: 600;
    transition: all 0.2s ease;
}

    .btn-paste:hover {
        background: rgba(255, 255, 255, 0.2);
        color: #fff;
    }

.btn-option {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    border-radius: 12px;
    padding: 12px 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.25s ease;
    text-decoration: none;
}

    .btn-option:hover {
        background: rgba(37, 244, 238, 0.1);
        border-color: var(--tiktok-cyan);
        color: var(--tiktok-cyan);
        transform: translateX(4px);
    }

/* Feature Cards */
.feature-card {
    padding: 30px 24px;
    text-align: center;
    transition: all 0.3s ease;
}

    .feature-card:hover {
        transform: translateY(-6px);
        border-color: rgba(37, 244, 238, 0.3);
        box-shadow: var(--glow-effect);
    }

.feature-icon-wrapper {
    width: 65px;
    height: 65px;
    margin: 0 auto 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--tiktok-cyan);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Step Cards */
.step-card {
    position: relative;
    padding: 28px;
    border-radius: 16px;
}

.step-number {
    font-size: 2.5rem;
    font-weight: 800;
    opacity: 0.15;
    position: absolute;
    top: 15px;
    right: 20px;
}

/* Accordion Dark Customization */
.accordion-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 14px !important;
    margin-bottom: 12px;
    overflow: hidden;
}

.accordion-button {
    background: transparent;
    color: var(--text-main);
    font-weight: 600;
    font-size: 1.05rem;
    padding: 20px;
    box-shadow: none !important;
}

    .accordion-button:not(.collapsed) {
        background: rgba(255, 255, 255, 0.03);
        color: var(--tiktok-cyan);
    }

    .accordion-button::after {
        filter: invert(1);
    }

.accordion-body {
    color: var(--text-muted);
    border-top: 1px solid var(--card-border);
    padding: 20px;
    line-height: 1.7;
}

/* Result Preview Card */
.preview-thumbnail-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    max-width: 280px;
    margin: 0 auto;
}

.preview-thumbnail {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 16px;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Toast & Animations */
.custom-toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1080;
    background: rgba(18, 24, 38, 0.9);
    border: 1px solid var(--tiktok-cyan);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 15px rgba(37, 244, 238, 0.2);
    }

    50% {
        box-shadow: 0 0 30px rgba(37, 244, 238, 0.5);
    }

    100% {
        box-shadow: 0 0 15px rgba(37, 244, 238, 0.2);
    }
}

.pulse-border {
    animation: pulseGlow 2s infinite;
}

/* Pulse Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37, 244, 238, 0.1);
    color: var(--tiktok-cyan);
    border: 1px solid rgba(37, 244, 238, 0.2);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--tiktok-cyan);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px var(--tiktok-cyan);
}

/* Utility */
.text-dim {
    color: var(--text-muted);
}


