/* ================================================================
 TEAM TARARBARI — PROFESSIONAL THEME STUDIO V13
 Six genuinely different UI systems, not color-only presets.
 Mars Motion is intentionally untouched.
 ================================================================= */

/* ---------- shared tokens for non-Mars themes ---------- */
body:is(.theme-command-deck,.theme-galaxy-atelier,.theme-cyber-matrix,.theme-aurora-studio,.theme-executive-blue){
  --tb13-line:color-mix(in srgb,var(--primary) 24%,rgba(148,163,184,.14));
  --tb13-soft:color-mix(in srgb,var(--surface) 86%,transparent);
  --tb13-glow:calc(var(--tb-v13-glow,.7) * 1);
}
body:is(.theme-command-deck,.theme-galaxy-atelier,.theme-cyber-matrix,.theme-aurora-studio,.theme-executive-blue) main{
  position:relative;
  z-index:1;
}
body:is(.theme-command-deck,.theme-galaxy-atelier,.theme-cyber-matrix,.theme-aurora-studio,.theme-executive-blue) section{
  position:relative;
}
body:is(.theme-command-deck,.theme-galaxy-atelier,.theme-cyber-matrix,.theme-aurora-studio,.theme-executive-blue) .btn{
  transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease,background .25s ease!important;
}
body:is(.theme-command-deck,.theme-galaxy-atelier,.theme-cyber-matrix,.theme-aurora-studio,.theme-executive-blue) .card{
  transition:transform .32s cubic-bezier(.2,.75,.25,1),box-shadow .32s ease,border-color .32s ease!important;
}
body:is(.theme-command-deck,.theme-galaxy-atelier,.theme-cyber-matrix,.theme-aurora-studio,.theme-executive-blue).tb13-card-motion main .card:hover{
  transform:translateY(-7px)!important;
}

/* Do not change user-approved uploaded image/social sizing. */
body:is(.theme-command-deck,.theme-galaxy-atelier,.theme-cyber-matrix,.theme-aurora-studio,.theme-executive-blue)
:is(.sponsor-logo,.partner-detail-logo,.competition-logo,.achievement-cover,.brand-social-link svg,.tb-social-btn img){
  /* intentionally no width/height/object-fit rules */
}

/* ================================================================
 1) COMMAND DECK — old demo inspired, mission-control UI
 ================================================================= */
body.theme-command-deck{
  --primary:#34d9ff;--secondary:#ff9b42;--accent:#a78bfa;
  --bg:#020711;--surface:#081420;--text:#eefaff;--radius:14px;
  background:
    linear-gradient(rgba(52,217,255,.018) 1px,transparent 1px),
    linear-gradient(90deg,rgba(52,217,255,.018) 1px,transparent 1px),
    radial-gradient(circle at 76% 4%,rgba(255,155,66,.09),transparent 28%),
    radial-gradient(circle at 15% 18%,rgba(52,217,255,.10),transparent 31%),
    #020711!important;
  background-size:38px 38px,38px 38px,auto,auto,auto!important;
}
body.theme-command-deck .nav{
  background:rgba(2,7,17,.93)!important;
  border-bottom:1px solid rgba(52,217,255,.28)!important;
  box-shadow:0 12px 40px rgba(0,0,0,.28),0 1px 0 rgba(255,155,66,.12)!important;
}
body.theme-command-deck .nav-inner{
  position:relative;
}
body.theme-command-deck .nav-inner::after{
  content:"SYSTEM ONLINE  •  TEAM TARARBARI";
  position:absolute;right:0;bottom:3px;
  font:700 8px/1 Inter,sans-serif;letter-spacing:.16em;color:rgba(52,217,255,.48);
  pointer-events:none;
}
body.theme-command-deck .brand img{
  filter:drop-shadow(0 0 12px rgba(52,217,255,.35));
}
body.theme-command-deck .links{
  gap:5px!important;padding:5px!important;border:1px solid rgba(52,217,255,.13);
  border-radius:10px;background:rgba(255,255,255,.025);
}
body.theme-command-deck .links a{
  padding:8px 10px!important;border-radius:6px!important;
  text-transform:uppercase;letter-spacing:.06em;font-size:11px!important;
}
body.theme-command-deck .links a.active,
body.theme-command-deck .links a:hover{
  color:#eaffff!important;background:rgba(52,217,255,.10)!important;
  box-shadow:inset 0 0 0 1px rgba(52,217,255,.16),0 0 20px rgba(52,217,255,.05);
}
body.theme-command-deck .page-hero{
  text-align:left!important;padding-top:94px!important;
}
body.theme-command-deck .page-hero .container,
body.theme-command-deck .project-hero .container,
body.theme-command-deck .profile-hero .container{
  position:relative;padding:34px 38px!important;
  border:1px solid rgba(52,217,255,.20)!important;
  background:linear-gradient(115deg,rgba(7,19,31,.86),rgba(2,8,18,.48))!important;
  clip-path:polygon(0 0,calc(100% - 28px) 0,100% 28px,100% 100%,28px 100%,0 calc(100% - 28px));
}
body.theme-command-deck .page-hero .container::before,
body.theme-command-deck .project-hero .container::before,
body.theme-command-deck .profile-hero .container::before{
  content:"MISSION // TARARBARI";
  position:absolute;top:10px;right:38px;
  color:rgba(255,155,66,.66);font:800 9px/1 Inter,sans-serif;letter-spacing:.16em;
}
body.theme-command-deck .page-hero h1,
body.theme-command-deck .project-hero h1,
body.theme-command-deck .profile-hero h1{
  max-width:900px!important;
  background:none!important;-webkit-text-fill-color:initial!important;color:#f3fbff!important;
  text-shadow:0 0 28px rgba(52,217,255,.14)!important;
}
body.theme-command-deck .tb13-section-index{
  position:absolute;right:calc((100vw - min(1180px,calc(100vw - 34px)))/2);top:22px;
  z-index:0;font:800 clamp(42px,6vw,82px)/1 Orbitron,sans-serif;
  color:rgba(52,217,255,.038);letter-spacing:-.08em;pointer-events:none;
}
body.theme-command-deck .card{
  position:relative;border-radius:12px!important;
  background:linear-gradient(145deg,rgba(8,20,32,.96),rgba(3,10,19,.94))!important;
  border:1px solid rgba(52,217,255,.15)!important;
  box-shadow:0 18px 45px rgba(0,0,0,.24)!important;
}
body.theme-command-deck .card::before{
  content:"";position:absolute;left:18px;right:18px;top:0;height:2px;
  background:linear-gradient(90deg,transparent,var(--primary),var(--secondary),transparent);
  opacity:.55;
}
body.theme-command-deck .card::after{
  content:"";position:absolute;right:8px;top:8px;width:11px;height:11px;
  border-top:1px solid rgba(255,155,66,.62);border-right:1px solid rgba(255,155,66,.62);
}
body.theme-command-deck .btn{
  border-radius:6px!important;text-transform:uppercase!important;letter-spacing:.055em!important;
  clip-path:polygon(0 0,calc(100% - 10px) 0,100% 10px,100% 100%,10px 100%,0 calc(100% - 10px));
}
body.theme-command-deck .btn-primary{
  background:linear-gradient(100deg,#22d3ee,#67e8f9)!important;color:#021016!important;
}
body.theme-command-deck .section-title{
  position:relative;text-align:left!important;margin-left:0!important;
  padding-left:22px!important;
}
body.theme-command-deck .section-title::before{
  content:"";position:absolute;left:0;top:2px;bottom:2px;width:4px;
  background:linear-gradient(var(--primary),var(--secondary));
  box-shadow:0 0 18px rgba(52,217,255,.35);
}
body.theme-command-deck .section-title h2{letter-spacing:-.02em}
body.theme-command-deck .icon{
  border-radius:7px!important;border:1px solid rgba(52,217,255,.20)!important;
  background:linear-gradient(145deg,rgba(52,217,255,.11),rgba(255,155,66,.05))!important;
}

/* ================================================================
 2) GALAXY ATELIER — luxury editorial glass, asymmetry & depth
 ================================================================= */
body.theme-galaxy-atelier{
  --primary:#7dd3fc;--secondary:#c084fc;--accent:#f0abfc;
  --bg:#060719;--surface:#11132d;--text:#f8f7ff;--radius:30px;
  background:
    radial-gradient(circle at 48% -8%,rgba(192,132,252,.24),transparent 32%),
    radial-gradient(circle at 6% 38%,rgba(125,211,252,.12),transparent 34%),
    radial-gradient(circle at 93% 73%,rgba(240,171,252,.08),transparent 28%),
    linear-gradient(180deg,#060719,#0a0c24 58%,#040510)!important;
}
body.theme-galaxy-atelier .nav{
  top:12px!important;width:min(1220px,calc(100% - 28px))!important;margin:0 auto!important;
  border:1px solid rgba(255,255,255,.10)!important;border-radius:24px!important;
  background:rgba(10,11,31,.66)!important;
  backdrop-filter:blur(24px) saturate(1.35)!important;
  -webkit-backdrop-filter:blur(24px) saturate(1.35)!important;
  box-shadow:0 18px 60px rgba(0,0,0,.24)!important;
}
body.theme-galaxy-atelier .nav-inner{height:68px!important}
body.theme-galaxy-atelier .links{gap:6px!important}
body.theme-galaxy-atelier .links a{
  padding:8px 11px;border-radius:999px!important;
}
body.theme-galaxy-atelier .links a.active{
  color:white!important;background:rgba(125,211,252,.10)!important;
  box-shadow:inset 0 0 0 1px rgba(125,211,252,.12);
}
body.theme-galaxy-atelier .page-hero{
  position:relative;padding:125px 0 72px!important;
}
body.theme-galaxy-atelier .page-hero::before,
body.theme-galaxy-atelier .page-hero::after{
  content:"";position:absolute;border-radius:50%;pointer-events:none;
}
body.theme-galaxy-atelier .page-hero::before{
  width:320px;height:320px;left:5vw;top:28px;
  border:1px solid rgba(125,211,252,.10);box-shadow:0 0 90px rgba(125,211,252,.06) inset;
}
body.theme-galaxy-atelier .page-hero::after{
  width:190px;height:190px;right:8vw;top:58px;
  border:1px solid rgba(192,132,252,.13);box-shadow:0 0 80px rgba(192,132,252,.07);
}
body.theme-galaxy-atelier .page-hero .container{position:relative;z-index:2}
body.theme-galaxy-atelier .page-hero h1,
body.theme-galaxy-atelier .project-hero h1,
body.theme-galaxy-atelier .profile-hero h1{
  font-size:clamp(46px,6.4vw,86px)!important;
  letter-spacing:-.055em!important;
}
body.theme-galaxy-atelier section:not(.block-hero):not(.compact){
  margin:22px auto!important;width:min(1320px,calc(100% - 22px))!important;
  border-radius:42px!important;
}
body.theme-galaxy-atelier main>section:nth-of-type(even):not(.block-hero){
  background:linear-gradient(145deg,rgba(255,255,255,.028),rgba(192,132,252,.025))!important;
  border:1px solid rgba(255,255,255,.045)!important;
}
body.theme-galaxy-atelier .card,
body.theme-galaxy-atelier .image-text,
body.theme-galaxy-atelier .cta-banner{
  border-radius:30px!important;
  background:linear-gradient(145deg,rgba(25,27,61,.66),rgba(9,11,32,.76))!important;
  border:1px solid rgba(255,255,255,.10)!important;
  backdrop-filter:blur(18px) saturate(1.2)!important;
  -webkit-backdrop-filter:blur(18px) saturate(1.2)!important;
  box-shadow:0 24px 70px rgba(0,0,0,.24),inset 0 1px rgba(255,255,255,.04)!important;
}
body.theme-galaxy-atelier .card:hover{
  border-color:rgba(125,211,252,.23)!important;
  box-shadow:0 30px 80px rgba(0,0,0,.30),0 0 45px rgba(125,211,252,.05)!important;
}
body.theme-galaxy-atelier .box-image,
body.theme-galaxy-atelier .card-cover{
  border-radius:21px!important;
}
body.theme-galaxy-atelier .project-card,
body.theme-galaxy-atelier .achievement-card{padding:10px!important}
body.theme-galaxy-atelier .project-card .card-body{padding:18px 15px 15px!important}
body.theme-galaxy-atelier .builder-block.block-cards .grid.cols-3>.card:first-child{
  grid-column:span 2;
}
body.theme-galaxy-atelier .section-title{max-width:920px!important}
body.theme-galaxy-atelier .section-title h2{
  font-size:clamp(34px,4.4vw,56px)!important;letter-spacing:-.045em!important;
}
body.theme-galaxy-atelier .btn{border-radius:999px!important;padding-left:22px!important;padding-right:22px!important}
body.theme-galaxy-atelier .btn-primary{
  color:#08101c!important;background:linear-gradient(110deg,#7dd3fc,#c084fc)!important;
  box-shadow:0 12px 30px rgba(125,211,252,.12)!important;
}
body.theme-galaxy-atelier .eyebrow{
  background:rgba(125,211,252,.065)!important;backdrop-filter:blur(10px)!important;
}
body.theme-galaxy-atelier .tb13-orbit{
  position:fixed;border:1px solid rgba(125,211,252,.08);border-radius:50%;z-index:-1;pointer-events:none;
}

/* ================================================================
 3) CYBER MATRIX — sharp, technical, clipped neon architecture
 ================================================================= */
body.theme-cyber-matrix{
  --primary:#00f5d4;--secondary:#00bbf9;--accent:#f15bb5;
  --bg:#010608;--surface:#061217;--text:#edffff;--radius:4px;
  background:
    linear-gradient(rgba(0,245,212,.028) 1px,transparent 1px),
    linear-gradient(90deg,rgba(0,187,249,.028) 1px,transparent 1px),
    radial-gradient(circle at 50% -10%,rgba(0,245,212,.12),transparent 34%),
    #010608!important;
  background-size:44px 44px,44px 44px,auto,auto!important;
}
body.theme-cyber-matrix .nav{
  border-bottom:1px solid rgba(0,245,212,.32)!important;
  background:rgba(1,7,9,.92)!important;
  box-shadow:0 12px 38px rgba(0,0,0,.36)!important;
}
body.theme-cyber-matrix .brand{
  text-transform:uppercase;letter-spacing:.05em!important;
}
body.theme-cyber-matrix .links{gap:0!important}
body.theme-cyber-matrix .links a{
  position:relative;padding:10px 12px!important;
  text-transform:uppercase;letter-spacing:.08em;font-size:10px!important;
  border-left:1px solid rgba(0,245,212,.08);
}
body.theme-cyber-matrix .links a:last-child{border-right:1px solid rgba(0,245,212,.08)}
body.theme-cyber-matrix .links a.active{
  background:rgba(0,245,212,.08)!important;color:#8ffff0!important;
}
body.theme-cyber-matrix .page-hero{
  text-align:left!important;
  background:
    linear-gradient(90deg,rgba(0,245,212,.045),transparent 60%),
    repeating-linear-gradient(90deg,transparent 0 119px,rgba(0,245,212,.025) 120px);
  border-bottom:1px solid rgba(0,245,212,.12);
}
body.theme-cyber-matrix .page-hero .container{
  position:relative;padding-left:30px!important;
  border-left:2px solid var(--primary);
}
body.theme-cyber-matrix .page-hero .container::before{
  content:"// DATA NODE";display:block;margin-bottom:12px;
  color:var(--primary);font:800 10px/1 Inter,sans-serif;letter-spacing:.20em;
}
body.theme-cyber-matrix .page-hero h1,
body.theme-cyber-matrix .project-hero h1,
body.theme-cyber-matrix .profile-hero h1{
  background:none!important;-webkit-text-fill-color:initial!important;
  color:#f2ffff!important;text-transform:uppercase!important;letter-spacing:-.025em!important;
  text-shadow:4px 0 rgba(241,91,181,.14),-4px 0 rgba(0,187,249,.14)!important;
}
body.theme-cyber-matrix .section-title{text-align:left!important;margin-left:0!important}
body.theme-cyber-matrix .section-title .eyebrow::before{content:"[ "}
body.theme-cyber-matrix .section-title .eyebrow::after{content:" ]"}
body.theme-cyber-matrix .card{
  position:relative;border-radius:4px!important;
  clip-path:polygon(0 0,calc(100% - 18px) 0,100% 18px,100% 100%,18px 100%,0 calc(100% - 18px));
  background:linear-gradient(160deg,rgba(5,22,27,.97),rgba(2,10,13,.98))!important;
  border:1px solid rgba(0,245,212,.20)!important;
  box-shadow:0 16px 50px rgba(0,0,0,.34)!important;
}
body.theme-cyber-matrix .card::before{
  content:"";position:absolute;left:0;top:0;width:42%;height:1px;
  background:linear-gradient(90deg,var(--primary),transparent);
  box-shadow:0 0 14px var(--primary);
}
body.theme-cyber-matrix .card::after{
  content:"";position:absolute;right:0;bottom:0;width:32%;height:1px;
  background:linear-gradient(90deg,transparent,var(--accent));
}
body.theme-cyber-matrix .btn{
  border-radius:2px!important;text-transform:uppercase!important;letter-spacing:.08em!important;
  clip-path:polygon(0 0,calc(100% - 9px) 0,100% 9px,100% 100%,9px 100%,0 calc(100% - 9px));
}
body.theme-cyber-matrix .btn-primary{
  background:#00f5d4!important;color:#00100d!important;box-shadow:0 0 22px rgba(0,245,212,.16)!important;
}
body.theme-cyber-matrix .icon{
  border-radius:2px!important;border:1px solid rgba(0,245,212,.35)!important;
  background:rgba(0,245,212,.055)!important;
}
body.theme-cyber-matrix .chip,
body.theme-cyber-matrix .badge,
body.theme-cyber-matrix .eyebrow{border-radius:3px!important;text-transform:uppercase!important}
body.theme-cyber-matrix .image-text{border-radius:4px!important;clip-path:polygon(0 0,calc(100% - 24px) 0,100% 24px,100% 100%,24px 100%,0 calc(100% - 24px))}

/* ================================================================
 4) AURORA STUDIO — premium soft, modern rounded editorial
 ================================================================= */
body.theme-aurora-studio{
  --primary:#55e6b8;--secondary:#67e8f9;--accent:#8b9cff;
  --bg:#061316;--surface:#0c2428;--text:#f1fffc;--radius:28px;
  background:
    radial-gradient(ellipse at 10% 5%,rgba(85,230,184,.16),transparent 32%),
    radial-gradient(ellipse at 91% 18%,rgba(103,232,249,.13),transparent 34%),
    radial-gradient(ellipse at 52% 86%,rgba(139,156,255,.10),transparent 36%),
    #061316!important;
}
body.theme-aurora-studio .nav{
  background:rgba(6,19,22,.74)!important;border-bottom-color:rgba(255,255,255,.07)!important;
  backdrop-filter:blur(24px) saturate(1.25)!important;
}
body.theme-aurora-studio .links{
  gap:4px!important;padding:4px!important;border-radius:999px!important;
  background:rgba(255,255,255,.025)!important;border:1px solid rgba(255,255,255,.06)!important;
}
body.theme-aurora-studio .links a{
  border-radius:999px!important;padding:8px 12px!important;
}
body.theme-aurora-studio .links a.active{
  color:#041511!important;background:linear-gradient(110deg,var(--primary),var(--secondary))!important;
}
body.theme-aurora-studio .page-hero{
  padding-top:122px!important;padding-bottom:82px!important;
}
body.theme-aurora-studio .page-hero .container{
  position:relative;max-width:980px!important;
}
body.theme-aurora-studio .page-hero .container::before{
  content:"";position:absolute;inset:-55px -8vw;z-index:-1;
  background:radial-gradient(ellipse at center,rgba(85,230,184,.10),transparent 64%);
  filter:blur(18px);
}
body.theme-aurora-studio .page-hero h1,
body.theme-aurora-studio .project-hero h1,
body.theme-aurora-studio .profile-hero h1{
  font-size:clamp(44px,6vw,80px)!important;letter-spacing:-.055em!important;
}
body.theme-aurora-studio main>section:not(.block-hero):nth-of-type(even){
  background:linear-gradient(100deg,rgba(85,230,184,.028),rgba(103,232,249,.015),rgba(139,156,255,.028))!important;
}
body.theme-aurora-studio .card{
  border-radius:28px!important;
  background:linear-gradient(145deg,rgba(14,42,45,.82),rgba(7,27,31,.88))!important;
  border:1px solid rgba(207,250,241,.085)!important;
  box-shadow:0 22px 60px rgba(0,0,0,.19),inset 0 1px rgba(255,255,255,.025)!important;
}
body.theme-aurora-studio .card:hover{
  box-shadow:0 30px 80px rgba(0,0,0,.23),0 0 45px rgba(85,230,184,.045)!important;
}
body.theme-aurora-studio .section-title h2{
  font-size:clamp(34px,4.5vw,58px)!important;letter-spacing:-.055em!important;
}
body.theme-aurora-studio .section-title p{font-size:16px!important}
body.theme-aurora-studio .btn{
  border-radius:999px!important;padding-left:24px!important;padding-right:24px!important;
}
body.theme-aurora-studio .btn-primary{
  color:#041612!important;background:linear-gradient(110deg,var(--primary),var(--secondary))!important;
}
body.theme-aurora-studio .eyebrow,
body.theme-aurora-studio .badge{
  border-radius:999px!important;background:rgba(85,230,184,.06)!important;
}
body.theme-aurora-studio .image-text{
  border-radius:34px!important;background:rgba(255,255,255,.024)!important;
}
body.theme-aurora-studio .image-panel{min-height:460px!important}
body.theme-aurora-studio .icon{
  border-radius:18px!important;
  background:linear-gradient(145deg,rgba(85,230,184,.12),rgba(103,232,249,.07))!important;
}

/* ================================================================
 5) EXECUTIVE BLUE — premium professional / corporate technology
 ================================================================= */
body.theme-executive-blue{
  --primary:#4f8cff;--secondary:#4fd1ff;--accent:#9ab7ff;
  --bg:#07101e;--surface:#0d1a2d;--text:#f5f8ff;--radius:16px;
  background:
    radial-gradient(circle at 90% 0,rgba(79,140,255,.13),transparent 28%),
    linear-gradient(160deg,#07101e,#081426 58%,#050b15)!important;
}
body.theme-executive-blue .nav{
  background:rgba(7,16,30,.95)!important;
  border-bottom:1px solid rgba(79,140,255,.16)!important;
  box-shadow:0 10px 34px rgba(0,0,0,.20)!important;
}
body.theme-executive-blue .brand{
  padding-right:22px!important;border-right:1px solid rgba(148,163,184,.14)!important;
}
body.theme-executive-blue .links{gap:4px!important}
body.theme-executive-blue .links a{
  padding:9px 11px!important;border-radius:8px!important;font-weight:600!important;
}
body.theme-executive-blue .links a.active{
  background:rgba(79,140,255,.10)!important;color:#a9c7ff!important;
}
body.theme-executive-blue .page-hero{
  text-align:left!important;padding:94px 0 64px!important;
  border-bottom:1px solid rgba(79,140,255,.08);
}
body.theme-executive-blue .page-hero .container{
  max-width:1180px!important;
}
body.theme-executive-blue .page-hero .eyebrow{
  border:0!important;background:none!important;padding-left:0!important;color:#7fb4ff!important;
}
body.theme-executive-blue .page-hero h1,
body.theme-executive-blue .project-hero h1,
body.theme-executive-blue .profile-hero h1{
  max-width:920px!important;
  background:none!important;-webkit-text-fill-color:initial!important;color:#f7faff!important;
  font-size:clamp(42px,5.4vw,72px)!important;letter-spacing:-.04em!important;
}
body.theme-executive-blue .section-title{text-align:left!important;margin-left:0!important}
body.theme-executive-blue .section-title h2{
  font-size:clamp(30px,3.7vw,48px)!important;letter-spacing:-.035em!important;
}
body.theme-executive-blue .card{
  border-radius:16px!important;
  background:linear-gradient(145deg,#0d1b30,#091525)!important;
  border:1px solid rgba(119,159,218,.13)!important;
  box-shadow:0 16px 44px rgba(0,0,0,.18)!important;
}
body.theme-executive-blue .card:hover{
  border-color:rgba(79,140,255,.29)!important;
  box-shadow:0 22px 60px rgba(0,0,0,.22)!important;
}
body.theme-executive-blue .feature-card,
body.theme-executive-blue .stat{
  border-top:3px solid rgba(79,140,255,.52)!important;
}
body.theme-executive-blue .btn{
  border-radius:9px!important;
}
body.theme-executive-blue .btn-primary{
  color:white!important;background:#2769df!important;
  box-shadow:0 10px 24px rgba(39,105,223,.18)!important;
}
body.theme-executive-blue .btn-ghost{
  background:#0b182a!important;border-color:rgba(119,159,218,.18)!important;
}
body.theme-executive-blue .image-text{
  border-radius:18px!important;background:#0a1728!important;border-color:rgba(119,159,218,.12)!important;
}
body.theme-executive-blue .icon{
  border-radius:10px!important;background:rgba(79,140,255,.10)!important;color:#77a9ff!important;
}

/* ================================================================
 THEME-SPECIFIC HOME HERO COMPOSITIONS (non-Mars only)
 Keep CMS text editable; preserve the actual hero image/assets.
 ================================================================= */
body.theme-command-deck .block-hero .hero-grid>div:first-child{
  left:6.5%!important;top:20%!important;width:50%!important;
  padding:26px 28px!important;
  border-left:2px solid rgba(52,217,255,.60)!important;
  background:linear-gradient(90deg,rgba(2,8,18,.56),rgba(2,8,18,.02))!important;
}
body.theme-command-deck .block-hero .hero-grid>div:first-child::after{
  content:"LIVE MISSION FEED";position:absolute;left:28px;bottom:-22px;
  color:rgba(255,155,66,.70);font:800 8px/1 Inter,sans-serif;letter-spacing:.17em;
}
body.theme-galaxy-atelier .block-hero .hero-grid>div:first-child{
  left:6.2%!important;top:18%!important;width:49%!important;
  padding:28px 30px!important;border-radius:28px!important;
  background:linear-gradient(145deg,rgba(9,10,31,.46),rgba(14,17,47,.20))!important;
  border:1px solid rgba(255,255,255,.08)!important;
  backdrop-filter:blur(9px)!important;-webkit-backdrop-filter:blur(9px)!important;
}
body.theme-cyber-matrix .block-hero .hero-grid>div:first-child{
  left:6.6%!important;top:19%!important;width:51%!important;
  padding:25px 28px!important;
  border-left:2px solid var(--primary)!important;border-bottom:1px solid rgba(0,245,212,.16)!important;
  background:linear-gradient(90deg,rgba(1,8,10,.67),rgba(1,8,10,.04))!important;
  clip-path:polygon(0 0,calc(100% - 20px) 0,100% 20px,100% 100%,0 100%)!important;
}
body.theme-cyber-matrix .block-hero .block-title{text-transform:uppercase!important}
body.theme-aurora-studio .block-hero .hero-grid>div:first-child{
  left:6.6%!important;top:19%!important;width:52%!important;
  padding:28px 32px!important;border-radius:30px!important;
  background:radial-gradient(ellipse at 25% 50%,rgba(3,18,20,.58),rgba(3,18,20,.08) 72%,transparent)!important;
}
body.theme-executive-blue .block-hero .hero-grid>div:first-child{
  left:6.4%!important;top:20%!important;width:51%!important;
  padding:25px 28px!important;
  border-left:4px solid rgba(79,140,255,.80)!important;
  background:linear-gradient(90deg,rgba(4,13,28,.62),rgba(4,13,28,.02))!important;
}
body:is(.theme-command-deck,.theme-galaxy-atelier,.theme-cyber-matrix,.theme-aurora-studio,.theme-executive-blue)
.block-hero .hero-grid>div:first-child::before{
  /* neutralize old hard hero panel and use theme-specific composition above */
  box-shadow:none!important;
}

/* Hero image treatment differs by theme, creating genuinely different mood. */
body.theme-command-deck .block-hero .tb-v115-hero-bg{filter:saturate(1.10) contrast(1.08) brightness(.84) hue-rotate(-6deg)!important}
body.theme-galaxy-atelier .block-hero .tb-v115-hero-bg{filter:saturate(1.25) brightness(.82) hue-rotate(22deg)!important}
body.theme-cyber-matrix .block-hero .tb-v115-hero-bg{filter:saturate(1.38) contrast(1.10) brightness(.70) hue-rotate(72deg)!important}
body.theme-aurora-studio .block-hero .tb-v115-hero-bg{filter:saturate(1.08) brightness(.82) hue-rotate(108deg)!important}
body.theme-executive-blue .block-hero .tb-v115-hero-bg{filter:saturate(.82) contrast(1.07) brightness(.76) hue-rotate(18deg)!important}

/* ================================================================
 V13 MOTION / DECORATION SYSTEM
 ================================================================= */
#tb13-scene{position:fixed;inset:0;overflow:hidden;pointer-events:none;z-index:-1}
#tb13-scene i{position:absolute;display:block;pointer-events:none}
#tb13-scene .particle{width:3px;height:3px;border-radius:50%;background:var(--primary);box-shadow:0 0 12px var(--primary);opacity:.55;animation:tb13Rise var(--d,12s) linear infinite}
#tb13-scene .beam{height:1px;width:220px;background:linear-gradient(90deg,transparent,var(--primary),transparent);opacity:.13;animation:tb13Beam var(--d,10s) linear infinite}
#tb13-scene .blob{width:38vw;height:38vw;border-radius:50%;filter:blur(100px);opacity:.065;animation:tb13Blob var(--d,14s) ease-in-out infinite alternate}
#tb13-scene .ring{width:160px;height:160px;border:1px solid color-mix(in srgb,var(--primary) 18%,transparent);border-radius:50%;opacity:.45;animation:tb13Ring var(--d,16s) ease-in-out infinite alternate}
body.theme-galaxy-atelier #tb13-scene .blob{opacity:.10}
body.theme-aurora-studio #tb13-scene .blob{opacity:.12}
body.theme-executive-blue #tb13-scene .particle{opacity:.25}
body.theme-executive-blue #tb13-scene .beam{opacity:.06}

/* text entrances */
.tb13-reveal{opacity:0;transform:translateY(20px);transition:opacity .72s ease,transform .72s cubic-bezier(.2,.7,.2,1)}
.tb13-reveal.tb13-in{opacity:1;transform:none}
body.tb13-text-fx .section-title h2,
body.tb13-text-fx .page-hero h1{
  animation:tb13TitleBreath calc(5.5s / var(--tb-v13-speed,1)) ease-in-out infinite alternate;
}
body.theme-cyber-matrix.tb13-text-fx .section-title h2,
body.theme-cyber-matrix.tb13-text-fx .page-hero h1{
  animation:tb13CyberText calc(4.6s / var(--tb-v13-speed,1)) steps(2,end) infinite;
}
body.tb13-icon-fx .feature-card .icon,
body.tb13-icon-fx .competition-logo.placeholder,
body.tb13-icon-fx .project-visual{
  animation:tb13IconFloat calc(4.5s / var(--tb-v13-speed,1)) ease-in-out infinite;
}

/* animated button highlight */
body.tb13-button-fx .btn{overflow:hidden;position:relative}
body.tb13-button-fx .btn::after{
  content:"";position:absolute;top:-50%;bottom:-50%;width:28%;left:-55%;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.30),transparent);
  transform:skewX(-18deg);animation:tb13ButtonSweep calc(5.2s / var(--tb-v13-speed,1)) ease-in-out infinite;
}

/* mobile keeps unique style but reduces heavy decorative motion */
@media(max-width:900px){
  body.theme-galaxy-atelier .builder-block.block-cards .grid.cols-3>.card:first-child{grid-column:auto}
  body.theme-galaxy-atelier section:not(.block-hero):not(.compact){width:min(100% - 12px,1320px)!important;border-radius:26px!important}
  body.theme-command-deck .nav-inner::after{display:none}
}
@media(max-width:700px){
  body.theme-galaxy-atelier .nav{top:5px!important;width:calc(100% - 10px)!important;border-radius:16px!important}
  body.theme-command-deck .page-hero .container,
  body.theme-command-deck .project-hero .container,
  body.theme-command-deck .profile-hero .container{padding:25px 20px!important}
  body:is(.theme-command-deck,.theme-galaxy-atelier,.theme-cyber-matrix,.theme-aurora-studio,.theme-executive-blue)
  .block-hero .hero-grid>div:first-child{
    left:6%!important;top:17%!important;width:70%!important;padding:14px 15px!important;
  }
  body.tb13-mobile-light #tb13-scene .beam,
  body.tb13-mobile-light #tb13-scene .ring,
  body.tb13-mobile-light #tb13-scene .blob{display:none!important}
  body.tb13-mobile-light.tb13-icon-fx .feature-card .icon{animation:none!important}
}
body.motion-off #tb13-scene,
body.motion-off .tb13-reveal,
body.motion-off.tb13-text-fx .section-title h2,
body.motion-off.tb13-icon-fx .feature-card .icon,
body.motion-off.tb13-button-fx .btn::after{
  animation:none!important;transition:none!important;opacity:1!important;transform:none!important;
}

@keyframes tb13Rise{0%{transform:translate3d(0,105vh,0);opacity:0}12%{opacity:.6}88%{opacity:.45}100%{transform:translate3d(var(--dx,30px),-10vh,0);opacity:0}}
@keyframes tb13Beam{from{transform:translate3d(-30vw,-20vh,0) rotate(28deg)}to{transform:translate3d(130vw,85vh,0) rotate(28deg)}}
@keyframes tb13Blob{from{transform:translate3d(-6%,0,0) scale(.94)}to{transform:translate3d(10%,8%,0) scale(1.10)}}
@keyframes tb13Ring{from{transform:translate3d(-15px,10px,0) scale(.92)}to{transform:translate3d(25px,-22px,0) scale(1.08)}}
@keyframes tb13TitleBreath{from{text-shadow:0 0 0 transparent}to{text-shadow:0 0 calc(24px * var(--tb-v13-glow,.7)) color-mix(in srgb,var(--primary) 22%,transparent)}}
@keyframes tb13CyberText{0%,94%,100%{transform:none;text-shadow:4px 0 rgba(241,91,181,.12),-4px 0 rgba(0,187,249,.12)}95%{transform:translateX(1px);text-shadow:7px 0 rgba(241,91,181,.28),-6px 0 rgba(0,187,249,.25)}}
@keyframes tb13IconFloat{50%{transform:translateY(-7px) rotate(2deg)}}
@keyframes tb13ButtonSweep{0%,72%{left:-55%;opacity:0}78%{opacity:1}92%{left:135%;opacity:1}100%{left:135%;opacity:0}}

