@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');
        
body {
    font-family: 'Poppins', sans-serif;
    text-align: center;
    background: #000; /* TikTok's black background */
    color: white;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 20px;
    margin: 0;
}

.container {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(255, 0, 150, 0.5); /* Neon pink glow */
    width: 100%;
    max-width: 800px;
    text-align: center;
    margin: 20px auto;
    border: 2px solid #ff00a6; /* Neon pink border */
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    0% {
        box-shadow: 0 0 20px rgba(255, 0, 150, 0.5);
    }
    100% {
        box-shadow: 0 0 40px rgba(0, 255, 255, 0.7); /* Neon blue glow */
    }
}

h2 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #ff00a6; /* Neon pink */
    text-shadow: 0 0 10px #ff00a6, 0 0 20px #ff00a6;
    animation: textGlow 1.5s infinite alternate;
}

@keyframes textGlow {
    0% {
        text-shadow: 0 0 10px #ff00a6, 0 0 20px #ff00a6;
    }
    100% {
        text-shadow: 0 0 20px #00ffff, 0 0 40px #00ffff; /* Neon blue */
    }
}

.link-con {
    display: flex;
    justify-content: center;
    align-items: center;
}

input {
    width: 70%;
    padding: 12px;
    margin: 10px 0;
    border: none;
    border-radius: 8px;
    text-align: center;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid #ff00a6;
    transition: all 0.3s ease;
}

input:focus {
    outline: none;
    border-color: #00ffff; /* Neon blue */
    box-shadow: 0 0 10px #00ffff;
}

button {
    margin: 10px;
    padding: 12px 18px;
    border: none;
    background: linear-gradient(135deg, #ff00a6, #00ffff); /* Neon pink to blue */
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: 0.3s;
    margin-top: 10px;
    box-shadow: 0 0 10px rgba(255, 0, 150, 0.5);
}

button:hover {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.7);
}

.preview {
    display: none;
    margin-top: 20px;
    animation: fadeIn 1s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

video {
    width: 30%; /* Smaller width */
    max-width: 400px; /* Maximum width */
    height: auto; /* Maintain aspect ratio */
    border-radius: 10px;
    margin-top: 10px;
    border: 2px solid #ff00a6;
    box-shadow: 0 0 20px rgba(255, 0, 150, 0.5);
}

.quality-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 15px;
}

.loading {
    display: none;
    margin-top: 20px;
    font-size: 18px;
    color: #00ffff; /* Neon blue */
    text-shadow: 0 0 10px #00ffff;
}

.error {
    color: #ff4444;
    margin-top: 20px;
    font-size: 16px;
    text-shadow: 0 0 10px #ff4444;
}

.video-details {
    width: 100%;
    text-align: center;
    /* margin-top: 20px; */
    font-size: 16px;
    color: #ff00a6; /* Neon pink */
    text-shadow: 0 0 10px #ff00a6;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Maximum 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.video-details p{
    width: 60%;
    margin: 10px auto;
}

/* Accordion Styling */
.accordion {
    background-color: #333;
    color: white;
    cursor: pointer;
    padding: 14px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 18px;
    transition: 0.3s;
    border-radius: 10px;
    margin-top: 20px;
    box-shadow: 0 0 10px rgba(255, 0, 150, 0.5);
}

.accordion:hover {
    transform: scale(1);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.7);
}

.active, .accordion:hover {
    background-color: #444;
}

.accordion:after {
    content: ' +';
    font-size: 20px;
    color: #ff00a6;
    float: right;
}

.active:after {
    content: ' -';
}

.panel {
    padding: 0 18px;
    display: none;
    background-color: #444;
    overflow: hidden;
    border-radius: 5px;
}

/* Mobile */
@media only screen and (max-width:767px) {
    .link-con{
        display: block;
    }

    .check-url, input{
        width: 80%;
    }
    video{
        width: 50%;
    }
    .accordion{
        font-size: 12px;
    }     
}