/* ===== FLOATING 3D VIDEO FRAME ===== */

.hero-visual{
  position:relative !important;
  width:min(680px,100%) !important;
  height:650px !important;
  margin:0 auto !important;
  display:block !important;
  perspective:1400px;
  overflow:visible !important;
}

.fp-video{
  position:absolute;
  left:50%;
  top:48%;
  width:285px;
  height:510px;
  transform:translate(-50%,-50%) rotate(-7deg);
  border-radius:36px;
  overflow:hidden;
  background:#08080d;
  border:1px solid rgba(255,255,255,.25);
  box-shadow:
    0 25px 70px rgba(0,0,0,.7),
    0 0 45px rgba(150,60,255,.35),
    0 0 25px rgba(0,210,255,.22);
  animation:fpVideoFloat 6s ease-in-out infinite;
  z-index:8;
}

.fp-video::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:36px;
  background:linear-gradient(135deg,#b65cff,transparent 40%,#19dfff);
  opacity:.75;
  pointer-events:none;
  z-index:5;
  padding:1px;
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask-composite:exclude;
}

.fp-screen{
  position:absolute;
  inset:0;
  background:
    linear-gradient(180deg,rgba(10,8,25,.1),rgba(0,0,0,.8)),
    linear-gradient(125deg,#252039,#99665d 48%,#111725);
}

.fp-screen::after{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle,transparent 25%,rgba(0,0,0,.65));
}

.fp-top{
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:58px;
  padding:20px;
  display:flex;
  justify-content:space-between;
  color:white;
  font-size:12px;
  letter-spacing:1px;
  z-index:4;
}

.fp-top span b{
  color:#a855f7;
}

.fp-person{
  position:absolute;
  left:50%;
  bottom:70px;
  width:72px;
  height:185px;
  transform:translateX(-50%);
  border-radius:35px 35px 8px 8px;
  background:linear-gradient(90deg,#050507,#2b2630,#050507);
  z-index:2;
}

.fp-person::before{
  content:"";
  position:absolute;
  width:46px;
  height:46px;
  left:50%;
  top:-32px;
  transform:translateX(-50%);
  border-radius:50%;
  background:#111015;
}

.fp-title{
  position:absolute;
  left:25px;
  bottom:125px;
  z-index:4;
  display:flex;
  flex-direction:column;
  line-height:.82;
  transform:rotate(-3deg);
  text-shadow:0 5px 20px #000;
}

.fp-title em{
  color:#fff;
  font:italic 32px Georgia,serif;
}

.fp-title strong{
  color:#fff;
  font:500 32px Georgia,serif;
}

.fp-title b{
  color:#a855f7;
  font:italic 34px Georgia,serif;
}

.fp-bottom{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:58px;
  padding:0 16px;
  display:flex;
  align-items:center;
  gap:10px;
  background:rgba(3,3,8,.85);
  z-index:6;
}

.fp-play{
  width:30px;
  height:30px;
  border:0;
  border-radius:50%;
  background:rgba(255,255,255,.13);
  color:white;
}

.fp-line{
  flex:1;
  height:3px;
  background:rgba(255,255,255,.2);
  border-radius:10px;
}

.fp-line span{
  display:block;
  width:52%;
  height:100%;
  background:linear-gradient(90deg,#a855f7,#22d3ee);
}

.fp-time{
  color:rgba(255,255,255,.6);
  font-size:9px;
}

.fp-card{
  position:absolute;
  z-index:12;
  display:flex;
  align-items:center;
  gap:10px;
  padding:13px 15px;
  min-width:145px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:15px;
  background:rgba(12,12,22,.7);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  box-shadow:0 18px 45px rgba(0,0,0,.35);
  animation:fpCardFloat 5s ease-in-out infinite;
}

.fp-card b{
  display:block;
  color:#fff;
  font-size:12px;
}

.fp-card small{
  display:block;
  margin-top:3px;
  color:rgba(255,255,255,.45);
  font-size:9px;
}

.fp-icon,
.fp-4k{
  width:35px;
  height:35px;
  display:grid;
  place-items:center;
  flex:none;
  border-radius:9px;
  color:#c28aff;
  background:rgba(150,70,255,.14);
  border:1px solid rgba(180,90,255,.3);
  font-size:11px;
  font-weight:700;
}

.fp-color-dot{
  width:32px;
  height:32px;
  flex:none;
  border-radius:50%;
  background:conic-gradient(
    #ff3b8d,
    #743cff,
    #00d9ff,
    #62ff8b,
    #ffd34d,
    #ff3b8d
  );
}

.fp-audio{
  left:0;
  top:29%;
  transform:rotate(-5deg);
}

.fp-quality{
  right:0;
  top:18%;
  transform:rotate(5deg);
  animation-delay:-1s;
}

.fp-color{
  right:-15px;
  top:58%;
  transform:rotate(4deg);
  animation-delay:-2s;
}

.fp-motion{
  left:-10px;
  top:67%;
  transform:rotate(-4deg);
  animation-delay:-3s;
}

.fp-software{
  position:absolute;
  z-index:11;
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  border-radius:13px;
  color:#d8b8ff;
  background:linear-gradient(145deg,#17102b,#32145e);
  border:1px solid rgba(180,100,255,.45);
  font-weight:800;
  box-shadow:0 10px 30px rgba(100,30,180,.3);
  animation:fpCardFloat 4.5s ease-in-out infinite;
}

.fp-pr{
  left:22%;
  top:57%;
}

.fp-ae{
  right:21%;
  top:70%;
  animation-delay:-2s;
}

.fp-orbit{
  position:absolute;
  left:50%;
  top:51%;
  width:560px;
  height:210px;
  border:1px solid rgba(125,65,255,.32);
  border-radius:50%;
  transform:translate(-50%,-50%) rotate(-14deg);
  z-index:1;
}

.fp-orbit.two{
  width:500px;
  height:160px;
  border-color:rgba(0,210,255,.27);
  transform:translate(-50%,-50%) rotate(22deg);
}

@keyframes fpVideoFloat{
  0%,100%{
    transform:translate(-50%,-50%) rotate(-7deg);
  }
  50%{
    transform:translate(-50%,-57%) rotate(-7deg);
  }
}

@keyframes fpCardFloat{
  0%,100%{
    margin-top:0;
  }
  50%{
    margin-top:-8px;
  }
}

@media(max-width:800px){
  .hero-visual{
    height:590px !important;
    transform:scale(.88);
    transform-origin:top center;
    margin-bottom:-65px !important;
  }
}

@media(max-width:600px){
  .hero-visual{
    height:520px !important;
    transform:scale(.72);
    transform-origin:top center;
    margin-bottom:-120px !important;
  }

  .fp-card{
    min-width:135px;
  }
}

@media(prefers-reduced-motion:reduce){
  .fp-video,
  .fp-card,
  .fp-software{
    animation:none !important;
  }
}
