/* ============================================================
   RespinnersTV — Nahraj svou výhru (/vyhry-divaku)
   Vycentrovaný, symetrický layout. Značka: tmavá + cyan akcent.
   Bez gradient-textu, solidní vrstvy, jeden akcent.
   ============================================================ */

.vd-page {
    --vd-cyan: #22d3ee;
    --vd-purple: #9147ff;
    --vd-ink: #f4f6fb;
    --vd-dim: #a6abba;
    --vd-mut: #6f7484;
    --vd-line: rgba(255, 255, 255, 0.09);
    --vd-line-soft: rgba(255, 255, 255, 0.055);
    --vd-panel: #14151d;
    --vd-panel-2: #191b25;
    --vd-field: #0d0e14;

    padding: 60px 0 100px;
    position: relative;
    z-index: 1;
    color: var(--vd-ink);
}
/* base.css flexuje každý <section> — tady chceme normální bloky */
.vd-page section { display: block; width: 100%; }
.vd-page .rsp-container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* Dvousloupcový layout: formulář (vlevo) + info panel (vpravo) */
.vd-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 28px;
    align-items: start;
}
.vd-aside { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 90px; }

/* ── Hero (vycentrovaný) ──────────────────────────────────── */
.vd-hero {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 46px;
    position: relative;
}
.vd-hero::before {
    content: '';
    position: absolute;
    left: 50%; top: -40px;
    width: 420px; height: 220px;
    transform: translateX(-50%);
    background: radial-gradient(60% 60% at 50% 0%, rgba(34, 211, 238, 0.14), transparent 70%);
    pointer-events: none; z-index: -1;
}
.vd-h1 {
    font-family: 'Exo 2', var(--font-accent, sans-serif);
    font-size: clamp(34px, 5.5vw, 50px);
    font-weight: 800;
    line-height: 1.03;
    letter-spacing: -0.02em;
    margin: 0 0 16px;
    color: #fff;
    text-wrap: balance;
}
.vd-h1 .cp-grad { color: var(--vd-cyan); -webkit-text-fill-color: currentColor; background: none; }
.vd-lead {
    font-size: 17px;
    line-height: 1.62;
    color: var(--vd-dim);
    margin: 0 auto 26px;
    max-width: 54ch;
}
.vd-lead strong { color: var(--vd-ink); font-weight: 600; }
.vd-hero-cta { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.vd-cta-btn { text-transform: none; letter-spacing: -0.01em; font-size: 15px; padding: 13px 30px; border-radius: 11px; }

/* Podporované zdroje — chip řada (naplní hero, dá kontext) */
.vd-sources {
    display: flex; align-items: center; justify-content: center;
    flex-wrap: wrap; gap: 8px;
}
.vd-sources-label { font-size: 12px; color: var(--vd-mut); margin-right: 2px; }
.vd-chip {
    font-size: 12.5px; font-weight: 600; color: var(--vd-dim);
    padding: 5px 12px; border-radius: 100px;
    background: var(--vd-panel); border: 1px solid var(--vd-line);
}

/* ── Submit ───────────────────────────────────────────────── */
.vd-submit { margin: 0; }

/* Login gate */
.vd-gate {
    display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px;
    padding: 40px 32px;
    background: var(--vd-panel);
    border: 1px solid var(--vd-line);
    border-radius: 16px;
}
.vd-gate-ico {
    display: inline-flex; width: 54px; height: 54px; align-items: center; justify-content: center;
    border-radius: 14px; color: var(--vd-cyan); margin-bottom: 12px;
    background: rgba(34, 211, 238, 0.08); border: 1px solid rgba(34, 211, 238, 0.25);
}
.vd-gate-ico svg { width: 26px; height: 26px; }
.vd-gate h2 { font-family: 'Exo 2', sans-serif; font-size: 22px; font-weight: 700; margin: 0; color: #fff; }
.vd-gate p { color: var(--vd-dim); margin: 0 0 18px; line-height: 1.55; max-width: 42ch; }

/* Form panel */
.vd-form {
    background: var(--vd-panel);
    border: 1px solid var(--vd-line);
    border-radius: 18px;
    padding: 30px 30px 26px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.vd-form-head { text-align: center; margin-bottom: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--vd-line-soft); }
.vd-form-head h2 { font-family: 'Exo 2', sans-serif; font-size: 21px; font-weight: 700; margin: 0 0 6px; color: #fff; letter-spacing: -0.01em; }
.vd-form-head p { color: var(--vd-dim); font-size: 14px; line-height: 1.55; margin: 0 auto; max-width: 46ch; }

/* Segmented control (odkaz / video) — na celou šířku, symetrické */
.vd-kind {
    display: flex; gap: 4px;
    background: var(--vd-field);
    border: 1px solid var(--vd-line);
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 22px;
}
.vd-kind-btn {
    flex: 1;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 11px 16px;
    border: none; border-radius: 9px;
    background: transparent;
    color: var(--vd-dim);
    font-family: inherit; font-size: 13.5px; font-weight: 600;
    cursor: pointer;
    transition: color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.vd-kind-btn:hover { color: var(--vd-ink); }
.vd-kind-btn.active {
    background: rgba(34, 211, 238, 0.12);
    color: var(--vd-cyan);
    box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.4);
}
.vd-kind-btn svg { width: 16px; height: 16px; }

.vd-src { margin-bottom: 20px; }

/* Fields */
.vd-label {
    display: block;
    font-size: 12px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.06em;
    color: var(--vd-mut);
    margin: 0 0 8px;
}
.vd-input {
    width: 100%;
    padding: 12px 14px;
    background: var(--vd-field);
    border: 1px solid var(--vd-line);
    border-radius: 10px;
    color: var(--vd-ink);
    font-family: inherit; font-size: 14.5px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.vd-input::placeholder { color: #565b69; }
.vd-input:focus {
    outline: none;
    border-color: rgba(34, 211, 238, 0.6);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.1);
}
.vd-textarea { resize: vertical; min-height: 54px; line-height: 1.5; }
.vd-hint { font-size: 12.5px; color: var(--vd-mut); margin: 8px 0 0; line-height: 1.5; }

/* Drop zone */
.vd-drop {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    text-align: center;
    padding: 34px 20px;
    border: 1px dashed rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    background: var(--vd-field);
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}
.vd-drop:hover, .vd-drop.is-drag { border-color: rgba(34, 211, 238, 0.55); background: rgba(34, 211, 238, 0.04); }
.vd-drop.has-file { border-style: solid; border-color: rgba(74, 222, 128, 0.5); background: rgba(74, 222, 128, 0.05); }
.vd-drop-ico { color: var(--vd-mut); }
.vd-drop:hover .vd-drop-ico { color: var(--vd-cyan); }
.vd-drop.has-file .vd-drop-ico { color: #4ade80; }
.vd-drop-main { font-weight: 600; font-size: 14.5px; color: var(--vd-ink); word-break: break-word; }
.vd-drop-sub { font-size: 12.5px; color: var(--vd-mut); }

.vd-progress { margin-top: 12px; height: 6px; border-radius: 100px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.vd-progress-bar { height: 100%; width: 0%; border-radius: 100px; background: var(--vd-cyan); transition: width 0.15s ease; }

/* Detail grid */
.vd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.vd-grid + div { margin-bottom: 4px; }

/* Consent */
.vd-consent {
    display: flex; gap: 11px; align-items: flex-start;
    margin: 18px 0 22px;
    padding: 14px 16px;
    background: var(--vd-field);
    border: 1px solid var(--vd-line);
    border-radius: 12px;
    font-size: 13px; line-height: 1.55; color: var(--vd-dim);
    cursor: pointer;
}
.vd-consent input { margin-top: 2px; width: 17px; height: 17px; accent-color: var(--vd-cyan); flex-shrink: 0; cursor: pointer; }

.vd-form-actions { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.vd-submit-btn { text-transform: none; letter-spacing: -0.01em; font-size: 14.5px; padding: 12px 30px; border-radius: 11px; }
.vd-form-msg { font-size: 13.5px; font-weight: 600; }
.vd-form-msg.is-ok { color: #4ade80; }
.vd-form-msg.is-err { color: #ff6b78; }

/* Moje příspěvky */
.vd-mine { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--vd-line-soft); }
.vd-mine h3 { font-family: 'Exo 2', sans-serif; font-size: 15px; font-weight: 700; margin: 0 0 14px; color: #fff; }
.vd-mine-row {
    display: flex; align-items: center; justify-content: space-between; gap: 14px;
    padding: 13px 4px;
    border-bottom: 1px solid var(--vd-line-soft);
}
.vd-mine-row:last-child { border-bottom: none; }
.vd-mine-info { min-width: 0; }
.vd-mine-info strong { display: block; font-size: 14px; font-weight: 600; color: var(--vd-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vd-mine-info span { font-size: 12.5px; color: var(--vd-mut); }
.vd-mine-meta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.vd-mine-kind { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--vd-mut); }
.vd-mine-date { font-size: 12.5px; color: var(--vd-mut); }
.vd-badge { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 6px; white-space: nowrap; }
.vd-badge.is-pending  { color: #fbbf24; background: rgba(251, 191, 36, 0.12); }
.vd-badge.is-approved { color: #4ade80; background: rgba(74, 222, 128, 0.12); }
.vd-badge.is-rejected { color: #ff6b78; background: rgba(255, 107, 120, 0.12); }

/* ── Info panel (pravý sloupec) ───────────────────────────── */
.vd-how { text-align: left; }
.vd-how > h2 {
    font-family: 'Exo 2', sans-serif;
    font-size: 15px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.06em;
    color: var(--vd-mut);
    margin: 0 0 14px;
}
.vd-steps {
    display: flex; flex-direction: column; gap: 11px;
    margin-bottom: 18px;
    text-align: left;
}
.vd-step {
    display: flex; flex-direction: row; align-items: flex-start; gap: 14px;
    padding: 17px 18px;
    background: var(--vd-panel);
    border: 1px solid var(--vd-line);
    border-radius: 13px;
}
.vd-step-n {
    flex-shrink: 0;
    width: 30px; height: 30px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 8px;
    font-family: 'Exo 2', sans-serif; font-weight: 700; font-size: 14px;
    color: var(--vd-cyan);
    background: rgba(34, 211, 238, 0.1);
    box-shadow: inset 0 0 0 1px rgba(34, 211, 238, 0.3);
}
.vd-step strong { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 4px; color: #fff; }
.vd-step p { font-size: 13px; line-height: 1.5; color: var(--vd-dim); margin: 0; }

/* Pravidla */
.vd-rules {
    padding: 20px 22px;
    background: var(--vd-panel);
    border: 1px solid var(--vd-line);
    border-radius: 14px;
    text-align: left;
}
.vd-rules h3 { font-family: 'Exo 2', sans-serif; font-size: 14.5px; font-weight: 700; margin: 0 0 14px; color: #fff; text-align: left; }
.vd-rules ul {
    display: flex; flex-direction: column; gap: 11px;
    margin: 0 0 14px; padding: 0; list-style: none;
}
.vd-rules li {
    position: relative;
    padding: 0 0 0 20px;
    font-size: 13.5px; line-height: 1.5; color: var(--vd-dim);
}
.vd-rules li::before {
    content: ''; position: absolute; left: 2px; top: 8px;
    width: 5px; height: 5px; border-radius: 50%;
    background: var(--vd-cyan);
}
.vd-rules li strong { color: var(--vd-ink); font-weight: 600; }
.vd-disclaimer { font-size: 12px; color: var(--vd-mut); margin: 0; text-align: left; padding-top: 14px; border-top: 1px solid var(--vd-line-soft); }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
    .vd-layout { grid-template-columns: 1fr; gap: 22px; }
    .vd-aside { position: static; top: auto; max-width: 640px; }
}

@media (max-width: 680px) {
    .vd-page { padding: 36px 0 64px; }
    .vd-page .rsp-container { padding: 0 18px; }
    .vd-form { padding: 24px 18px; }
    .vd-grid { grid-template-columns: 1fr; }
    .vd-steps { grid-template-columns: 1fr; }
    .vd-rules ul { grid-template-columns: 1fr; }
    .vd-form-actions { flex-direction: column; align-items: stretch; }
    .vd-form-actions .vd-submit-btn { width: 100%; }
    .vd-form-msg { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    .vd-input, .vd-drop, .vd-kind-btn, .vd-progress-bar { transition: none; }
}
