﻿:root {
    --bg: #0b1020;
    --card: rgba(255,255,255,.06);
    --stroke: rgba(255,255,255,.14);
    --text: rgba(255,255,255,.92);
    --muted: rgba(255,255,255,.62);
    --shadow: 0 18px 60px rgba(0,0,0,.45);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto;
    background: radial-gradient(1100px 600px at 20% 10%, rgba(138,43,226,.35), transparent 60%), radial-gradient(900px 520px at 80% 20%, rgba(0,153,255,.30), transparent 55%), radial-gradient(1000px 700px at 50% 100%, rgba(255,70,120,.18), transparent 60%), var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

.bg-orb {
    position: fixed;
    width: 480px;
    height: 480px;
    filter: blur(40px);
    opacity: .35;
    border-radius: 999px;
    z-index: -1;
}

.orb1 {
    left: -140px;
    top: 140px;
    background: #7c3aed;
}

.orb2 {
    right: -160px;
    top: 40px;
    background: #00a3ff;
}

.topbar {
    padding: 20px 18px;
}

.brand {
    max-width: 980px;
    margin: 0 auto;
    display: flex;
    gap: 12px;
    align-items: center;
}

.logo {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255,255,255,.18), rgba(255,255,255,.06));
    border: 1px solid var(--stroke);
    box-shadow: var(--shadow);
    font-weight: 800;
}

.title {
    font-weight: 800;
    letter-spacing: .2px;
}

.subtitle {
    color: var(--muted);
    font-size: 12px;
    margin-top: 2px;
}

.container {
    max-width: 980px;
    margin: 0 auto;
    padding: 10px 18px 40px;
}

.card {
    background: var(--card);
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
    padding: 16px;
}

.row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.input {
    flex: 1;
    padding: 14px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(0,0,0,.22);
    color: var(--text);
    outline: none;
}

    .input::placeholder {
        color: rgba(255,255,255,.45);
    }

.btn {
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.08);
    color: var(--text);
    cursor: pointer;
    transition: transform .08s ease, background .12s ease;
}

    .btn:active {
        transform: translateY(1px);
    }

    .btn.primary {
        background: linear-gradient(135deg, rgba(0,163,255,.35), rgba(124,58,237,.25));
    }

.hidden {
    display: none;
}

.result {
    margin-top: 14px;
}

.media {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.thumbWrap {
    position: relative;
    width: 360px;
    max-width: 46vw;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(0,0,0,.18);
}

.thumb {
    width: 100%;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.shine {
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.14), transparent 50%);
    transform: rotate(10deg);
    pointer-events: none;
}

.meta {
    flex: 1;
}

.h1 {
    font-size: 20px;
    font-weight: 800;
    margin: 2px 0 10px;
}

.pillRow {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
}

.pill {
    font-size: 12px;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    color: rgba(255,255,255,.78);
}

.btnRow {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.warn {
    margin-top: 10px;
    color: #fbbf24;
    font-size: 13px;
}

.divider {
    height: 1px;
    background: rgba(255,255,255,.10);
    margin: 16px 0;
}

.sectionTitle {
    font-weight: 700;
    margin-bottom: 8px;
}

.textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(0,0,0,.22);
    color: var(--text);
    outline: none;
    resize: vertical;
}

.muted {
    color: var(--muted);
    margin-top: 8px;
    font-size: 13px;
}
