.yt-downloader-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 30px;
}

.yt-downloader-header {
    text-align: center;
    margin-bottom: 30px;
}

.yt-downloader-header h2 {
    color: #ff0000;
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.yt-downloader-header p {
    color: #666;
    font-size: 1.1rem;
}

.input-group {
    display: flex;
    margin-bottom: 25px;
}

.input-group input {
    flex: 1;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px 0 0 8px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

.input-group input:focus {
    border-color: #ff0000;
}

.input-group button {
    padding: 15px 25px;
    background: #ff0000;
    color: white;
    border: none;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s;
}

.input-group button:hover {
    background: #cc0000;
}

.yt-loading {
    text-align: center;
    padding: 20px;
}

.yt-spinner {
    border: 4px solid rgba(255, 0, 0, 0.3);
    border-radius: 50%;
    border-top: 4px solid #ff0000;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.yt-video-preview {
    margin-bottom: 30px;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    margin-top: 15px;
}

.video-info h3 {
    margin-bottom: 10px;
    color: #333;
}

.video-info p {
    color: #666;
    margin-bottom: 5px;
}

.download-options h3 {
    margin-bottom: 15px;
    color: #333;
    text-align: center;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
}

.option-card {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    border: 2px solid #eee;
}

.option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-color: #ff0000;
}

.option-card i {
    font-size: 2rem;
    color: #ff0000;
    margin-bottom: 10px;
}

.option-card h4 {
    margin-bottom: 5px;
    color: #333;
}

.option-card p {
    color: #666;
    font-size: 0.9rem;
}

.yt-disclaimer {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px;
    margin-top: 30px;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .input-group {
        flex-direction: column;
    }
    
    .input-group input {
        border-radius: 8px;
        margin-bottom: 10px;
    }
    
    .input-group button {
        border-radius: 8px;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
    }
}