/* V3: recolored source mesh and circuitry; original main weave retained. Shared visual identity. Decorative backgrounds only: no overlays, JS or layout changes. */
:root {
  --vt-geometric-art: url('/assets/premium-banner-v4.svg');
  --vt-weave-slate: url('/assets/vt-mesh-slate-v3.svg');
  --vt-weave-violet: url('/assets/vt-mesh-violet-v3.svg');
  --vt-weave-gold: url('/assets/vt-weave-soft-gold.svg');
  --vt-weave-green: url('/assets/vt-weave-soft-green.svg');
}

/* Home: keep the form itself calm, emphasize the upload area. */
#subir.panel {
  background-image: var(--vt-weave-slate), linear-gradient(180deg, #1d2030, #171921 340px);
  background-position: top center, top center;
  background-size: 100% auto, 100% 100%;
  background-repeat: no-repeat;
}
#subir #dropZone {
  background-image: linear-gradient(115deg, rgba(21,24,49,.55), rgba(15,17,28,.76)), var(--vt-geometric-art);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #1a1c30;
}
#subir #dropZone:hover,
#subir #dropZone.dragover {
  background-image: linear-gradient(115deg, rgba(30,34,72,.42), rgba(17,19,32,.65)), var(--vt-geometric-art);
}
#subir #resultBox {
  background: var(--vt-weave-green) center / cover no-repeat, linear-gradient(115deg, #18372e, #182520);
}
.hero-copy .point,
.vt-privacy-card {
  background: var(--vt-weave-slate) right center / 420px auto no-repeat, linear-gradient(115deg, #222533, #191b25);
}
/* Barely visible accents: header and footer of the public homepage only. */
body:has(#subir.panel) .nav {
  background: var(--vt-weave-slate) right center / 480px auto no-repeat, linear-gradient(90deg, transparent 20%, rgba(18,20,30,.12));
  border-radius: 0 0 12px 12px;
}
body:has(#subir.panel) footer {
  background: var(--vt-weave-slate) right center / 100% auto no-repeat, linear-gradient(90deg, transparent 30%, rgba(18,20,30,.20));
}

/* Playback gate: the existing ready class restores the untouched black player. */
#player.player:not(.is-video-ready) {
  background: linear-gradient(110deg, rgba(6,7,13,.83), rgba(5,5,8,.88)), var(--vt-geometric-art) center / cover no-repeat #050505;
}

/* Account: only the overview hero and its Premium section. */
.account-content > section.card:first-child {
  background-image: linear-gradient(115deg, rgba(21,23,40,.70), rgba(23,25,33,.88)), var(--vt-geometric-art);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.account-content .account-premium-summary {
  background: var(--vt-weave-gold) center / cover no-repeat, linear-gradient(115deg, #302919, #24211e);
  border: 1px solid rgba(255,212,0,.24);
  border-radius: 14px;
  padding: 18px 14px;
}

/* Premium checkout: decorate the branding strip, not the payment form. */
.membership > .card-art {
  background: linear-gradient(105deg, rgba(50,39,13,.58), rgba(24,22,24,.57)), var(--vt-geometric-art) center / cover no-repeat #24201c;
}
.membership > .card-art > .card-art-bg { display: none; }

/* The original SVG grows brighter to the right: keep RTL copy legible. */
[dir="rtl"] #subir #dropZone {
  background-image: linear-gradient(90deg, rgba(19,22,37,.73), rgba(16,18,29,.87)), var(--vt-geometric-art);
}
[dir="rtl"] #player.player:not(.is-video-ready) {
  background-image: linear-gradient(90deg, rgba(6,7,13,.84), rgba(5,5,8,.92)), var(--vt-geometric-art);
}
[dir="rtl"] .membership > .card-art {
  background-image: linear-gradient(90deg, rgba(50,39,13,.62), rgba(24,22,24,.80)), var(--vt-geometric-art);
}

/* Secondary surfaces: retain original layout, borders and controls. */
#subir .tempclip-card {
  background-image: var(--vt-weave-violet), radial-gradient(circle at top left, rgba(139,108,255,.15), transparent 60%), linear-gradient(135deg,#242431,#1c1e28);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
#subir .upload-security-pill {
  background-image: var(--vt-weave-gold), linear-gradient(110deg,rgba(212,175,55,.10),rgba(139,108,255,.10));
  background-position: center;
  background-size: 100% auto, cover;
  background-repeat: no-repeat;
}
body:has(#subir.panel) .sidecard {
  background-image: var(--vt-weave-slate), linear-gradient(135deg,rgba(255,255,255,.045),rgba(255,255,255,.018));
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.account-sidebar.card, .account-content .panel-soft.card, .account-content .feature-card {
  background-image: var(--vt-weave-slate), linear-gradient(135deg,rgba(255,255,255,.035),rgba(255,255,255,.018));
  background-position: top center;
  background-size: 100% auto, cover;
  background-repeat: no-repeat;
}
/* The hero already carries a texture. Keep its statistics flat instead of stacking patterns. */
.account-content > section.card:first-child .stat {
  background-color: rgba(15,17,26,.36);
}
.viewer-layout .card-head, .video-chat-card .video-chat-head {
  background-image: var(--vt-weave-slate), linear-gradient(90deg, rgba(255,255,255,.025), rgba(255,255,255,.045));
  background-position: center;
  background-size: 100% auto, cover;
  background-repeat: no-repeat;
}
/* Chat messages, chat form, playback and form fields deliberately remain untextured. */

/* V3 – secondary visual language: restrained low-poly mesh and circuitry. */
:root {
  --vt-circuit-gold: url('/assets/vt-circuit-gold-v3.svg');
  --vt-circuit-slate: url('/assets/vt-circuit-slate-v3.svg');
}
#subir.panel {
  background-image: linear-gradient(180deg, transparent 0, rgba(23,25,33,.88) 400px, #171921 640px), var(--vt-weave-slate), linear-gradient(180deg, #1d2030, #171921 420px);
  background-size: 100% 100%, 100% auto, 100% 100%;
  background-position: top center;
  background-repeat: no-repeat;
}
#subir .tempclip-card {
  background-image: linear-gradient(95deg, rgba(31,28,45,.70), rgba(31,28,45,.18)), var(--vt-weave-violet), linear-gradient(135deg,#242431,#1c1e28);
  background-size: cover;
}
#subir .upload-security-pill {
  background-image: linear-gradient(90deg, rgba(40,34,32,.78), rgba(35,32,49,.20)), var(--vt-circuit-gold), linear-gradient(110deg, #2b2828, #252236);
  background-size: cover, 190px 190px, cover;
  background-position: center;
  background-repeat: no-repeat, repeat, no-repeat;
}
body:has(#subir.panel) .nav {
  background: linear-gradient(90deg, transparent 20%, rgba(18,20,30,.12)), var(--vt-weave-slate) right center / 600px auto no-repeat;
}
body:has(#subir.panel) footer {
  background: var(--vt-weave-slate) right center / 560px auto no-repeat;
}
.hero-copy .point, .vt-privacy-card, body:has(#subir.panel) .sidecard {
  background-image: linear-gradient(105deg, rgba(25,27,37,.58), rgba(25,27,37,.12)), var(--vt-weave-slate), linear-gradient(115deg,#222533,#191b25);
  background-size: cover;
}
.account-sidebar.card, .account-content .panel-soft.card, .account-content .feature-card {
  background-image: linear-gradient(180deg, transparent, rgba(24,25,34,.85) 330px), var(--vt-weave-slate), linear-gradient(135deg,rgba(255,255,255,.035),rgba(255,255,255,.018));
  background-position: top center;
  background-size: 100% 100%, 100% auto, cover;
  background-repeat: no-repeat;
}
.viewer-layout .card-head, .video-chat-card .video-chat-head {
  background-image: linear-gradient(90deg, rgba(28,30,39,.85), rgba(28,30,39,.40)), var(--vt-weave-slate), linear-gradient(90deg, rgba(255,255,255,.025), rgba(255,255,255,.045));
  background-size: cover, 420px auto, cover;
  background-position: center, right center, center;
  background-repeat: no-repeat;
}
/* Security information cards use the cooler circuit variant. */
.vt-privacy-card {
  background-image: linear-gradient(100deg, rgba(25,27,37,.88), rgba(25,27,37,.35)), var(--vt-circuit-slate), linear-gradient(115deg,#222533,#191b25);
  background-size: cover, 250px 250px, cover;
  background-position: center;
  background-repeat: no-repeat, repeat, no-repeat;
}
@media (max-width: 700px) {
  body:has(#subir.panel) .nav { background: none; }
}
/* Circuitry is limited to security messaging; chat content, playback and controls stay untouched. */
[dir="rtl"] #subir .upload-security-pill { background-image: linear-gradient(90deg, rgba(40,34,32,.34), rgba(35,32,49,.83)), var(--vt-circuit-gold), linear-gradient(110deg,#2b2828,#252236); }

/* V4: muted security circuitry and restored private-area textures. */
:root {
  --vt-circuit-muted: url('/assets/vt-circuit-muted-v4.svg');
  --vt-account-weave: url('/assets/vt-weave-account-v4.svg');
}
#subir .upload-security-pill {
  background-image: linear-gradient(90deg, rgba(28,30,44,.32), rgba(29,28,44,.12)), var(--vt-circuit-muted), linear-gradient(110deg, #242532, #252336);
  background-size: cover, 190px 190px, cover;
  background-position: center;
  background-repeat: no-repeat, repeat, no-repeat;
  border-color: rgba(212,175,55,.22);
  color: #f5f1e8;
}
[dir="rtl"] #subir .upload-security-pill {
  background-image: linear-gradient(270deg, rgba(28,30,44,.32), rgba(29,28,44,.12)), var(--vt-circuit-muted), linear-gradient(250deg, #242532, #252336);
}
.account-sidebar.card {
  background-image: linear-gradient(140deg, rgba(22,24,34,.18), rgba(22,24,34,.40)), var(--vt-weave-slate), linear-gradient(135deg,#202330,#171921);
  background-position: center, right center, center;
  background-size: cover, cover, cover;
  background-repeat: no-repeat;
}
.account-content .panel-soft.card, .account-content .feature-card {
  background-image: var(--vt-account-weave), linear-gradient(135deg, rgba(35,37,51,.88), rgba(23,25,34,.94));
  background-position: right center, center;
  background-size: cover, cover;
  background-repeat: no-repeat;
}
.account-content > section.card:first-child .stat {
  background-image: var(--vt-account-weave), linear-gradient(135deg, rgba(39,42,58,.68), rgba(23,25,35,.76));
  background-position: right center, center;
  background-size: cover, cover;
  background-repeat: no-repeat;
}
