:root {
    --bg-color: #0b0b0e;
    --card-bg: #131318;
    --input-bg: #1c1c24;
    --text-color: #f4f4f8;
    --text-muted: #8e8e9f;
    --accent-red: #ff2a4b;
    --accent-red-glow: rgba(255, 42, 75, 0.25);
    --accent-red-hover: #e61e3f;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 42, 75, 0.4);
    --ease-spring: cubic-bezier(0.16, 1, 0.3, 1);
}

body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

.card {
    background: var(--card-bg);
    padding: 36px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--border-color);
    text-align: center;
    max-width: 420px;
    width: 100%;
    transition: transform 0.4s var(--ease-spring), box-shadow 0.4s var(--ease-spring), border-color 0.4s var(--ease-spring);
}

/* Micro-interação no Card ao mover o mouse */
.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.7), 0 0 25px var(--accent-red-glow);
    border-color: var(--border-hover);
}

h2 {
    margin-top: 0;
    color: var(--accent-red);
    font-weight: 800;
    font-size: 22px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
    transition: text-shadow 0.3s ease;
}

.card:hover h2 {
    text-shadow: 0 0 12px var(--accent-red-glow);
}

h4 {
    margin: 12px 0 16px;
    color: var(--text-color);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    word-wrap: break-word;
}

/* Container & Proporções da Thumbnail */
.thumb-container {
    display: none;
    justify-content: center;
    align-items: center;
    margin: 18px 0;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.thumb-img {
    display: block;
    border-radius: 12px;
    transition: transform 0.5s var(--ease-spring);
}

/* Micro-interação de Zoom na Thumbnail */
.thumb-container:hover .thumb-img {
    transform: scale(1.04);
}

.thumb-normal {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.thumb-shorts {
    height: 280px;
    width: auto;
    aspect-ratio: 9 / 16;
    object-fit: cover;
}

/* Campos de Entrada */
input[type="url"],
select {
    width: 100%;
    padding: 14px 16px;
    margin: 8px 0 14px;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-color);
    box-sizing: border-box;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s var(--ease-spring);
}

input[type="url"]::placeholder {
    color: var(--text-muted);
}

input[type="url"]:hover,
select:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

input[type="url"]:focus,
select:focus {
    border-color: var(--accent-red);
    box-shadow: 0 0 0 3px var(--accent-red-glow);
    transform: scale(1.01);
}

select option {
    background-color: var(--card-bg);
    color: var(--text-color);
}

/* Checkbox */
.checkbox-container {
    text-align: left;
    margin: 16px 0;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
    transition: color 0.2s ease;
}

.checkbox-container:hover {
    color: var(--text-color);
}

.checkbox-container input {
    accent-color: var(--accent-red);
    width: 17px;
    height: 17px;
    cursor: pointer;
    transition: transform 0.2s var(--ease-spring);
}

.checkbox-container input:hover {
    transform: scale(1.15);
}

/* Botões com efeito tátil */
button {
    background-color: var(--accent-red);
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 10px;
    width: 100%;
    font-size: 14.5px;
    font-weight: 600;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s var(--ease-spring), box-shadow 0.3s ease;
    margin-top: 6px;
}

button:hover:not(:disabled) {
    background-color: var(--accent-red-hover);
    box-shadow: 0 6px 20px var(--accent-red-glow);
    transform: translateY(-2px);
}

button:active:not(:disabled) {
    transform: translateY(0) scale(0.98);
}

button.secondary {
    background-color: #1e1e26;
    color: var(--text-muted);
    margin-top: 10px;
    border: 1px solid var(--border-color);
}

button.secondary:hover:not(:disabled) {
    background-color: #282834;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: none;
    transform: translateY(-1px);
}

button:disabled {
    background-color: #282832;
    color: #555566;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Caixa de Status com Animação de Entrada */
.status-box {
    display: none;
    margin-top: 20px;
    font-size: 13.5px;
    padding: 12px 16px;
    border-radius: 10px;
    background-color: rgba(255, 42, 75, 0.06);
    border: 1px solid rgba(255, 42, 75, 0.3);
    color: #ff5c77;
    font-weight: 500;
    animation: fadeIn 0.3s var(--ease-spring);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Progress Bar */
.progress-container {
    display: none;
    margin-top: 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    height: 8px;
    width: 100%;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: var(--accent-red);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--accent-red-glow);
}

#step2 {
    display: none;
}
