/* MegaSFX AI — extends MegaMix app styles */

.navbar-links a.nav-active {
    color: #a78bfa;
}
.navbar-links a.nav-active::after {
    transform: scaleX(1);
    opacity: 1;
}

.megasfx-hero-title {
    font-size: 1.5rem;
    color: #e2e8f0;
    margin: 0 0 8px;
    font-weight: 600;
}

.megasfx-hero-sub {
    color: #94a3b8;
    font-size: 0.95rem;
    margin: 0 0 24px;
    max-width: 52rem;
}

.sfx-preset-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin: 12px 0 16px;
}

.sfx-preset-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px 10px;
    border-radius: 12px;
    border: 2px solid rgba(139, 92, 246, 0.25);
    background: rgba(15, 23, 42, 0.6);
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    text-align: center;
    font: inherit;
    color: inherit;
}

.sfx-preset-card:hover {
    border-color: rgba(139, 92, 246, 0.55);
    background: rgba(30, 41, 59, 0.8);
}

.sfx-preset-card.selected {
    border-color: #8b5cf6;
    background: rgba(139, 92, 246, 0.12);
    box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.35);
}

.sfx-preset-emoji {
    font-size: 1.75rem;
    line-height: 1;
}

.sfx-preset-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #e2e8f0;
}

.megasfx-prompt-input {
    width: 100%;
    margin: 8px 0 12px;
}

.megasfx-duration-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 12px 0 16px;
}

.megasfx-duration-row label {
    font-size: 0.9rem;
    color: #94a3b8;
    min-width: 100px;
}

.megasfx-duration-row input[type="range"] {
    flex: 1 1 160px;
    min-width: 120px;
}

.megasfx-duration-value {
    font-size: 0.9rem;
    color: #c4b5fd;
    min-width: 4.5rem;
}

.megasfx-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.megasfx-status {
    color: #94a3b8;
    font-size: 0.9rem;
    margin: 0;
}

.megasfx-step-locked {
    opacity: 0.45;
    pointer-events: none;
    user-select: none;
}

.megasfx-step-locked .megasfx-unlock-hint {
    opacity: 1;
    pointer-events: auto;
}

.megasfx-unlock-hint {
    color: #94a3b8;
    font-size: 0.9rem;
    margin: 0 0 12px;
}

.megasfx-export-section {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.megasfx-preview-meta {
    font-size: 0.85rem;
    color: #94a3b8;
    margin: 0 0 12px;
}
