/* ============================================================
   YouTube to MP3 Player – Styles for samariqbal.com
   Neutral, professional palette
   ============================================================ */
.ytmp3-wrapper {
    --ytmp3-bg: #f8f9fb;
    --ytmp3-card: #ffffff;
    --ytmp3-primary: #2c3e50;
    --ytmp3-primary-dark: #1a252f;
    --ytmp3-accent: #3498db;
    --ytmp3-text: #2c3e50;
    --ytmp3-muted: #6b7c8f;
    --ytmp3-border: #e1e6ec;
    --ytmp3-shadow: 0 10px 30px rgba(44, 62, 80, 0.08), 0 2px 8px rgba(44, 62, 80, 0.04);
    --ytmp3-radius: 1.5rem;

    max-width: 860px;
    margin: 2rem auto;
    background: var(--ytmp3-card);
    border-radius: var(--ytmp3-radius);
    box-shadow: var(--ytmp3-shadow);
    padding: 2.8rem 2.4rem;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--ytmp3-text);
    line-height: 1.65;
    box-sizing: border-box;
}

.ytmp3-wrapper * {
    box-sizing: border-box;
}

.ytmp3-header h1 {
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 0.4rem;
    color: #1a252f;
    line-height: 1.2;
    border: none;
    padding: 0;
}

.ytmp3-tagline {
    font-size: 1.15rem;
    color: var(--ytmp3-muted);
    margin-bottom: 2rem;
    border-left: 4px solid var(--ytmp3-accent);
    padding-left: 1rem;
}

.ytmp3-converter-card {
    background: #f1f4f8;
    border-radius: 1.5rem;
    padding: 2rem 1.8rem;
    margin: 1.5rem 0 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ytmp3-field-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ytmp3-field-group label {
    font-weight: 600;
    font-size: 0.95rem;
    color: #1a252f;
}

.ytmp3-field-group input,
.ytmp3-field-group select {
    width: 100%;
    padding: 0.95rem 1.4rem;
    border-radius: 2.5rem;
    border: 2px solid #d5dde5;
    font-size: 1rem;
    background: #ffffff;
    outline: none;
    transition: 0.2s;
    color: #2c3e50;
}

.ytmp3-field-group input:focus,
.ytmp3-field-group select:focus {
    border-color: var(--ytmp3-accent);
    box-shadow: 0 0 0 4px rgba(52, 152, 219, 0.12);
}

.ytmp3-options-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    align-items: center;
}

.ytmp3-options-row .ytmp3-field-group {
    flex: 1 1 150px;
}

.ytmp3-convert-btn {
    background: var(--ytmp3-primary);
    color: #ffffff;
    border: none;
    padding: 1rem 2.2rem;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 3rem;
    cursor: pointer;
    transition: 0.2s;
    box-shadow: 0 6px 16px rgba(44, 62, 80, 0.2);
    letter-spacing: 0.01em;
    width: fit-content;
    min-width: 220px;
    text-decoration: none;
    display: inline-block;
}

.ytmp3-convert-btn:hover {
    background: var(--ytmp3-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(44, 62, 80, 0.3);
    color: #ffffff;
}

.ytmp3-convert-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.ytmp3-result-area {
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.ytmp3-download-btn {
    background: #1a252f;
    color: #ffffff;
    border: none;
    padding: 0.95rem 2rem;
    border-radius: 2.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    text-decoration: none;
}

.ytmp3-download-btn:hover {
    background: #2c3e50;
    color: #ffffff;
}

.ytmp3-status-note {
    background: #eaf6ec;
    color: #1e6b3b;
    padding: 0.7rem 1.5rem;
    border-radius: 2.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.ytmp3-content-section {
    margin: 2.8rem 0 1.5rem;
}

.ytmp3-content-section h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a252f;
    letter-spacing: -0.01em;
    border: none;
    padding: 0;
}

.ytmp3-content-section p {
    margin-bottom: 1.2rem;
    color: #2c3e50;
    font-size: 1rem;
}

.ytmp3-content-section ul {
    margin: 1rem 0 1.5rem 1.5rem;
    color: #2c3e50;
    padding-left: 0;
    list-style: disc;
}

.ytmp3-content-section li {
    margin-bottom: 0.6rem;
    margin-left: 1.2rem;
}

.ytmp3-faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
    margin: 1.8rem 0 0.5rem;
}

.ytmp3-faq-item {
    background: #fafbfd;
    border-radius: 1rem;
    padding: 1.2rem 1.4rem;
    border: 1px solid #e4e9ef;
}

.ytmp3-faq-item strong {
    display: block;
    font-size: 1rem;
    margin-bottom: 0.3rem;
    color: #1a252f;
}

@media (max-width: 640px) {
    .ytmp3-wrapper {
        padding: 1.7rem 1.2rem;
        border-radius: 1.2rem;
        margin: 1rem auto;
    }
    .ytmp3-header h1 {
        font-size: 1.9rem;
    }
    .ytmp3-faq-grid {
        grid-template-columns: 1fr;
    }
    .ytmp3-convert-btn {
        width: 100%;
    }
    .ytmp3-download-btn {
        width: 100%;
        justify-content: center;
    }
}