/* ═══════════════════════════════════════════════════════
   LANGA Studios Banner System v1.0
   Formati: strip (40px), card (200px), wide, tall, inline
   Linee vibranti SVG animate via studios-banner.js
   ═══════════════════════════════════════════════════════ */

/* ── Base ── */
.stb{position:relative;overflow:hidden;font-family:'Spectral',Georgia,serif;-webkit-font-smoothing:antialiased;isolation:isolate}
.stb *{margin:0;padding:0;box-sizing:border-box}
.stb a{color:inherit;text-decoration:none}

/* Lines container */
.stb-lines{position:absolute;inset:0;pointer-events:none;z-index:0}
.stb-lines svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible}

/* Grain */
.stb::after{content:"";position:absolute;inset:0;pointer-events:none;z-index:1;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.04'/%3E%3C/svg%3E");
  opacity:.6}

/* Inner content above lines + grain */
.stb-inner{position:relative;z-index:2}

/* ── Dark theme (default) ── */
.stb--dk{background:#0e0c08;color:#F4EBE2}
.stb--dk .stb-eye{color:rgba(244,235,226,.4)}
.stb--dk .stb-eye::before{background:rgba(244,235,226,.25)}
.stb--dk .stb-h{color:#F4EBE2}
.stb--dk .stb-h em{color:rgba(244,235,226,.55)}
.stb--dk .stb-sub{color:rgba(244,235,226,.5)}
.stb--dk .stb-btn{color:#F4EBE2;border-color:rgba(244,235,226,.12)}
.stb--dk .stb-btn:hover{background:#F4EBE2;color:#0e0c08;border-color:#F4EBE2}
.stb--dk .stb-btn--fill{background:#F4EBE2;color:#0e0c08;border-color:#F4EBE2}
.stb--dk .stb-btn--fill:hover{background:#d4cbbf}
.stb--dk .stb-stat-v{color:#F4EBE2}
.stb--dk .stb-stat-l{color:rgba(244,235,226,.35)}
.stb--dk .stb-sep{background:rgba(244,235,226,.08)}
.stb--dk .stb-tag{color:rgba(244,235,226,.45);border-color:rgba(244,235,226,.1)}

/* ── Light theme ── */
.stb--lt{background:#F4EBE2;color:#110f0b}
.stb--lt .stb-eye{color:rgba(17,15,11,.4)}
.stb--lt .stb-eye::before{background:rgba(17,15,11,.2)}
.stb--lt .stb-h{color:#110f0b}
.stb--lt .stb-h em{color:rgba(17,15,11,.45)}
.stb--lt .stb-sub{color:rgba(17,15,11,.5)}
.stb--lt .stb-btn{color:#110f0b;border-color:rgba(17,15,11,.12)}
.stb--lt .stb-btn:hover{background:#110f0b;color:#F4EBE2;border-color:#110f0b}
.stb--lt .stb-btn--fill{background:#110f0b;color:#F4EBE2;border-color:#110f0b}
.stb--lt .stb-btn--fill:hover{background:#2a2720}
.stb--lt .stb-stat-v{color:#110f0b}
.stb--lt .stb-stat-l{color:rgba(17,15,11,.35)}
.stb--lt .stb-sep{background:rgba(17,15,11,.08)}
.stb--lt .stb-tag{color:rgba(17,15,11,.45);border-color:rgba(17,15,11,.12)}
.stb--lt::after{opacity:.3}

/* ── Typography ── */
.stb-eye{font-family:'Outfit',system-ui,sans-serif;font-size:9px;font-weight:500;letter-spacing:.14em;text-transform:uppercase;display:flex;align-items:center;gap:8px}
.stb-eye::before{content:'';width:14px;height:1px;flex-shrink:0}
.stb-h{font-family:'Fraunces',serif;font-weight:200;line-height:1.05;letter-spacing:-.02em}
.stb-sub{font-size:14px;line-height:1.65;font-weight:300;max-width:340px}
.stb-btn{display:inline-flex;align-items:center;gap:5px;padding:8px 18px;border-radius:3px;font-family:'Outfit',system-ui,sans-serif;font-size:11px;font-weight:500;letter-spacing:.04em;text-transform:uppercase;border:1px solid;cursor:pointer;background:none;transition:all .25s ease}
.stb-stat-v{font-family:'Fraunces',serif;font-size:26px;font-weight:200;line-height:1}
.stb-stat-l{font-family:'Outfit',system-ui,sans-serif;font-size:8px;font-weight:400;letter-spacing:.1em;text-transform:uppercase;margin-top:3px}
.stb-sep{width:1px;height:18px;flex-shrink:0}
.stb-tag{font-family:'Outfit',system-ui,sans-serif;font-size:9px;font-weight:400;padding:3px 8px;border-radius:3px;border:1px solid;display:inline-block}

/* ── Logo mark ── */
.stb-mark{width:24px;height:24px;border-radius:6px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.stb--dk .stb-mark{background:rgba(244,235,226,.06)}
.stb--lt .stb-mark{background:rgba(17,15,11,.06)}
.stb-mark svg{width:14px;height:14px}

/* ═══════════════════════════════════════════════════════
   FORMAT: STRIP — 40-48px tall, full-width promo bar
   ═══════════════════════════════════════════════════════ */
.stb--strip{height:44px;display:flex;align-items:center}
.stb--strip .stb-inner{display:flex;align-items:center;justify-content:center;gap:16px;width:100%;padding:0 24px;height:100%}
.stb--strip .stb-h{font-size:13px;font-weight:200;font-style:italic;letter-spacing:0}
.stb--strip .stb-btn{padding:4px 12px;font-size:9px;border-radius:2px}
.stb--strip .stb-sep{height:14px}
.stb--strip .stb-eye{font-size:8px;gap:6px}
.stb--strip .stb-eye::before{width:10px}

/* ═══════════════════════════════════════════════════════
   FORMAT: CARD — ~200px compact promo
   ═══════════════════════════════════════════════════════ */
.stb--card{border-radius:16px;padding:clamp(24px,3vw,36px)}
.stb--card .stb-eye{margin-bottom:14px}
.stb--card .stb-h{font-size:clamp(22px,3vw,30px);margin-bottom:8px}
.stb--card .stb-sub{margin-bottom:16px;font-size:13px}
.stb--card .stb-actions{display:flex;gap:8px;flex-wrap:wrap}

/* ═══════════════════════════════════════════════════════
   FORMAT: WIDE — full-width banner, horizontal layout
   ═══════════════════════════════════════════════════════ */
.stb--wide{padding:clamp(32px,5vw,56px) clamp(24px,4vw,48px)}
.stb--wide .stb-inner{display:flex;gap:clamp(24px,4vw,48px);align-items:center;flex-wrap:wrap;max-width:980px;margin:0 auto;padding:0 22px}
.stb--wide .stb-content{flex:1;min-width:280px}
.stb--wide .stb-eye{margin-bottom:14px}
.stb--wide .stb-h{font-size:clamp(24px,3.5vw,38px);margin-bottom:10px}
.stb--wide .stb-sub{margin-bottom:20px}
.stb--wide .stb-actions{display:flex;gap:8px;flex-wrap:wrap}
.stb--wide .stb-stats{display:flex;gap:18px;align-items:flex-end;flex-shrink:0}

/* ═══════════════════════════════════════════════════════
   FORMAT: TALL — vertical, sidebar-style ~280px wide
   ═══════════════════════════════════════════════════════ */
.stb--tall{border-radius:16px;padding:clamp(28px,4vw,40px) clamp(20px,3vw,28px);text-align:center}
.stb--tall .stb-eye{justify-content:center;margin-bottom:20px}
.stb--tall .stb-h{font-size:clamp(20px,2.5vw,26px);margin-bottom:10px}
.stb--tall .stb-sub{margin:0 auto 20px;max-width:260px;font-size:13px}
.stb--tall .stb-actions{display:flex;flex-direction:column;gap:8px;align-items:center}
.stb--tall .stb-stats{display:flex;gap:14px;justify-content:center;margin-top:20px}
.stb--tall .stb-btn{width:100%;justify-content:center}

/* ═══════════════════════════════════════════════════════
   FORMAT: INLINE — minimal text-only, fits in content flow
   ═══════════════════════════════════════════════════════ */
.stb--inline{padding:20px 0;border-top:1px solid;border-bottom:1px solid}
.stb--dk.stb--inline{border-color:rgba(244,235,226,.06)}
.stb--lt.stb--inline{border-color:rgba(17,15,11,.06)}
.stb--inline::after{display:none}
.stb--inline .stb-inner{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.stb--inline .stb-h{font-size:15px;font-weight:200;font-style:italic;flex:1;min-width:200px}
.stb--inline .stb-btn{padding:6px 14px;font-size:10px}

/* ═══════════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════════ */
@media(max-width:768px){
  .stb--strip .stb-inner{gap:10px;padding:0 16px}
  .stb--strip .stb-stats,.stb--strip .stb-sep{display:none}
  .stb--wide .stb-inner{flex-direction:column;text-align:center}
  .stb--wide .stb-sub{margin-left:auto;margin-right:auto}
  .stb--wide .stb-actions{justify-content:center}
  .stb--wide .stb-stats{justify-content:center}
}

/* ═══════════════════════════════════════════════════════
   Adapt to About site dark/light mode
   ═══════════════════════════════════════════════════════ */
.pg.lt .stb--auto{background:#F4EBE2;color:#110f0b}
.pg.lt .stb--auto .stb-eye{color:rgba(17,15,11,.4)}
.pg.lt .stb--auto .stb-eye::before{background:rgba(17,15,11,.2)}
.pg.lt .stb--auto .stb-h{color:#110f0b}
.pg.lt .stb--auto .stb-h em{color:rgba(17,15,11,.45)}
.pg.lt .stb--auto .stb-sub{color:rgba(17,15,11,.5)}
.pg.lt .stb--auto .stb-btn{color:#110f0b;border-color:rgba(17,15,11,.12)}
.pg.lt .stb--auto .stb-btn:hover{background:#110f0b;color:#F4EBE2}
.pg.lt .stb--auto .stb-btn--fill{background:#110f0b;color:#F4EBE2}
.pg.lt .stb--auto .stb-mark{background:rgba(17,15,11,.06)}
.pg.lt .stb--auto .stb-stat-v{color:#110f0b}
.pg.lt .stb--auto .stb-stat-l{color:rgba(17,15,11,.35)}
.pg.lt .stb--auto .stb-sep{background:rgba(17,15,11,.08)}
.pg.lt .stb--auto::after{opacity:.3}
.pg.lt .stb--auto.stb--inline{border-color:rgba(17,15,11,.06)}

/* Match real Studios embed */
.stb-h{font-variation-settings:'opsz' 144}
.stb-h em{font-family:'Tametogde',cursive !important;font-style:normal;font-size:.85em;color:rgba(244,235,226,.55)}
.stb--lt .stb-h em{color:rgba(17,15,11,.45)}
@font-face{font-family:'Tametogde';src:url('https://studios.lan.ga/wp-content/themes/studios-theme/assets/fonts/tametogde.woff2') format('woff2');font-display:swap}
@font-face{font-family:'Tametogde';src:url('https://studios.lan.ga/wp-content/themes/studios-theme/assets/fonts/tametogde-italic.woff2') format('woff2');font-style:italic;font-display:swap}
/* Fidget chars animation */
.stb .fc{display:inline-block;animation:stb-fid 6s ease-in-out infinite;will-change:transform;transform-origin:center bottom}
.stb .fc:hover{transform:translate(0,-2px) rotate(-.4deg)!important;opacity:.75;transition:transform .15s,opacity .15s}
@keyframes stb-fid{0%,100%{transform:translate(0,0) rotate(0)}20%{transform:translate(.4px,-.3px) rotate(.3deg)}40%{transform:translate(-.25px,.35px) rotate(-.25deg)}60%{transform:translate(.35px,.2px) rotate(.2deg)}80%{transform:translate(-.3px,-.25px) rotate(-.35deg)}}
.stb em .fc{animation-name:stb-fidEm;font-family:'Tametogde',cursive !important;font-style:normal}
@keyframes stb-fidEm{25%{transform:translate(.5px,-.4px) rotate(.4deg)}50%{transform:translate(-.35px,.3px) rotate(-.3deg)}75%{transform:translate(.4px,.25px) rotate(.25deg)}}
