/* Viraltap on top of the shared (Vyral) style.css */
:root { --accent3: #ec4899; }
.wordmark { font-weight: 900; font-size: 23px; letter-spacing: 1px; font-style: italic; }
.wordmark span { background: linear-gradient(90deg, var(--accent2), var(--accent3)); -webkit-background-clip: text;
  background-clip: text; color: transparent; }
.hero.vt { background: radial-gradient(circle at 80% 20%, rgba(236, 72, 153, .35), transparent 45%),
  radial-gradient(circle at 60% 90%, rgba(139, 61, 255, .45), transparent 50%), var(--panel); }
.hero.vt::after { display: none; }
.tgrid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.tcard { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: var(--card);
  border: 1px solid var(--border); transition: transform .15s, border-color .15s; }
.tcard:hover { transform: translateY(-3px); border-color: var(--accent); }
.tcard .pic { aspect-ratio: 4 / 3; background: linear-gradient(135deg, #3b1d6e, var(--accent) 60%, var(--accent3));
  background-size: cover; background-position: center; display: grid; place-items: center; font-size: 54px; }
.tcard .body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.tcard h3 { margin: 0; font-size: 19px; }
.tcard .go { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 8px; }
.exgrid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); }
.exgrid img, .exgrid video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 14px;
  background: var(--card2); pointer-events: none; user-select: none; }
.exgrid figure { margin: 0; position: relative; }
.exgrid figcaption { font-size: 12px; color: var(--muted); margin-top: 4px; }
.total { display: flex; justify-content: space-between; align-items: baseline; padding: 12px 0; border-top: 1px solid var(--border);
  margin-top: 12px; font-size: 15px; }
.total b { font-size: 24px; }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatches label { cursor: pointer; }
.swatches input { position: absolute; opacity: 0; }
.swatches span { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 3px solid transparent;
  font-size: 15px; }
.swatches input:checked + span { border-color: #fff; }
.seg { display: flex; gap: 6px; flex-wrap: wrap; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; padding: 8px 14px; border-radius: 10px; background: var(--card2); border: 1px solid var(--border);
  font-weight: 700; font-size: 14px; }
.seg input:checked + span { background: var(--accent); border-color: var(--accent); color: #fff; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--card2); border-top-color: var(--accent2);
  animation: spin 1s linear infinite; display: inline-block; vertical-align: middle; }
@keyframes spin { to { transform: rotate(360deg); } }
.toolrow { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
@media (max-width: 860px) { .toolrow { grid-template-columns: 1fr; } }
input[type=range] { accent-color: var(--accent); }
.jobrow .thumb { width: 56px; height: 76px; border-radius: 12px; flex: none; overflow: hidden; position: relative; padding: 0;
  border: 0; display: grid; place-items: center; font-size: 22px; cursor: default;
  background: linear-gradient(135deg, #3b1d6e, var(--accent) 60%, var(--accent3)); }
.jobrow button.thumb { cursor: pointer; }
.jobrow .thumb img, .jobrow .thumb video { width: 100%; height: 100%; object-fit: cover; border-radius: 0; pointer-events: none; }
.jobrow .thumb .play { position: absolute; color: #fff; font-size: 18px; text-shadow: 0 1px 6px #000; }
.bigprev { margin: 4px 0 18px; display: flex; justify-content: center; }
.bigprev video, .bigprev img { max-height: 70vh; width: auto; max-width: 100%; border-radius: 16px; background: #000; }
.viewer { position: fixed; inset: 0; z-index: 100; background: rgba(0, 0, 0, .8); display: grid; place-items: center; padding: 16px; }
.viewer[hidden] { display: none; }
.viewer .box { background: var(--card); border: 1px solid var(--border); border-radius: 18px; padding: 14px; max-width: 100%; }
.viewer video, .viewer img { display: block; max-height: 78vh; max-width: min(90vw, 480px); border-radius: 12px; background: #000; }
.jobrow .thumb video::-webkit-media-controls, .jobrow .thumb video::-webkit-media-controls-overlay-play-button { display: none !important; }

/* waiting log on the thanks page */
.wlog { margin: 0 0 14px; background: #0b0d12; border: 1px solid var(--border); border-radius: 14px; padding: 10px 12px;
  font: 13px/1.55 ui-monospace, Consolas, monospace; max-height: 260px; overflow-y: auto; }
.wlog:empty { display: none; }
.wlog div { display: flex; gap: 10px; animation: vtfade .3s; }
.wlog .t { color: #5b6275; flex: none; }
.wlog .step { color: #a5b4fc; } .wlog .wait { color: #fbbf24; } .wlog .ok { color: #4ade80; } .wlog .err { color: #f87171; }
.wlog .fact { color: #f0abfc; font-style: italic; }
@keyframes vtfade { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; } }

.tcard .pic { overflow: hidden; }
.tcard .pic video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }

/* Mine filer: folders per tool + pick to download */
.folders { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 16px; }
.fchip { padding: 7px 12px; border-radius: 999px; background: var(--card2); color: var(--text); font-weight: 700; font-size: 13px; }
.fchip span { color: var(--muted); font-weight: 600; margin-left: 4px; }
.fchip.on { background: var(--accent); color: #fff; } .fchip.on span { color: #fff; opacity: .8; }
.fchip.dl { margin-left: auto; background: transparent; border: 1px solid var(--border); }
.folder { margin: 0 0 22px; }
.fhead { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.fhead h3 { margin: 0; }
.jobrow .pick { display: flex; align-items: center; padding-right: 4px; min-width: 22px; }
.jobrow .pick input { width: 20px; height: 20px; accent-color: var(--accent); }
.pickbar { position: fixed; left: 50%; transform: translateX(-50%); bottom: 18px; z-index: 30; display: flex; gap: 10px;
           align-items: center; background: rgba(20, 20, 32, .97); border: 1px solid var(--border); border-radius: 14px;
           padding: 10px 14px; box-shadow: 0 10px 30px #0008; }
.pickbar[hidden] { display: none; }
@media (max-width: 760px) { .pickbar { bottom: 82px; } .fchip.dl { margin-left: 0; } }

/* package prices on the tool pages */
.tiers { margin-top: 14px; padding: 10px 12px; border: 1px dashed var(--border); border-radius: 12px; }
.tier { padding: 5px 10px; border-radius: 999px; background: var(--card2); font-size: 12px; }
.tier.on { background: var(--accent); color: #fff; }

/* tool cards: the whole picture / portrait video in the middle, a blurred copy of it filling the card */
.tcard .pic.fitpic { position: relative; background: #0b0b10; }
.tcard .pic.fitpic .blur { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(16px) brightness(.55); transform: scale(1.15); pointer-events: none; }
.tcard .pic.fitpic .fit { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; }
.tcard .pic.slides .slide { position: absolute; inset: 0; opacity: 0; animation: vtslide 9s infinite; }
@keyframes vtslide { 0% { opacity: 0; } 4% { opacity: 1; } 33% { opacity: 1; } 38% { opacity: 0; } 100% { opacity: 0; } }
