/* RESET BÁSICO */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =========================================
   BASE / BODY / FUNDO
   ========================================= */

body{
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background:
    radial-gradient(circle at top, #050608 0, #020308 40%, #010103 100%);
  color: #f9fafb;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Fundo com glow + neve caindo */
body::before{
  content: '';
  position: fixed;
  inset: 0;
  background:
    /* glows azuis suaves */
    radial-gradient(circle at 20% 0%, rgba(37,99,235,0.22) 0, transparent 55%),
    radial-gradient(circle at 80% 100%, rgba(59,130,246,0.12) 0, transparent 60%),

    /* flocos de neve em diferentes tamanhos */
    radial-gradient(2px 2px at 10px 10px, rgba(255,255,255,0.75) 0, transparent 55%),
    radial-gradient(2.2px 2.2px at 120px 40px, rgba(255,255,255,0.55) 0, transparent 55%),
    radial-gradient(1.6px 1.6px at 60px 140px, rgba(255,255,255,0.45) 0, transparent 55%),
    radial-gradient(2px 2px at 180px 120px, rgba(255,255,255,0.65) 0, transparent 55%);
  background-size:
    100% 100%,
    100% 100%,
    180px 180px,
    220px 220px,
    260px 260px,
    300px 300px;
  animation: snow-fall 30s linear infinite;
  opacity: .22;
  z-index: -1;
  pointer-events: none;
}

@keyframes snow-fall{
  0%{
    background-position:
      0 0,
      0 0,
      0 0,
      0 0,
      0 0,
      0 0;
  }
  100%{
    background-position:
      0 0,
      0 0,
      0 600px,
      0 400px,
      0 500px,
      0 700px;
  }
}

/* =========================================
   BOTÕES SUPERIORES (DISCORD / INSTA / WHATSAPP)
   ========================================= */

.top-buttons{
  position: absolute;
  top: 18px;
  right: 18px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  z-index: 30;
}

.top-btn{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(15,23,42,.88);
  border: 1px solid rgba(74,124,255,.4);
  font-size: 12px;
  font-weight: 600;
  color: #f9fafb;
  text-decoration: none;
  letter-spacing: .03em;
  text-transform: none;
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition:
    background .18s ease,
    transform .18s ease,
    box-shadow .18s ease,
    color .18s ease,
    border-color .18s ease;
}

.top-btn svg{
  display: block;
  width: 18px;
  height: 18px;
  fill: #ffffff; /* ÍCONES BRANCOS */
}

.top-btn:hover{
  background: linear-gradient(135deg,#4A7CFF,#2055E8);
  color: #ffffff;
  border-color: #4A7CFF;
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(32,85,232,.45);
}

/* =========================================
   HERO / TOPO DA PÁGINA
   ========================================= */

.hero{
  padding: 60px 16px 18px;
  text-align: center;
  position: relative;
}

.hero-inner{
  max-width: 980px;
  margin: 0 auto;
}

.hero-badge{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(13,18,31,0.9);
  border: 1px solid rgba(51,81,255,0.3);
  color: #ececec;
  margin-bottom: 10px;
}

/* LOGO DENTRO DO BADGE */
.hero-badge-logo{
  width: 16px;
  height: 16px;
  object-fit: contain;
  border-radius: 4px;
  display: block;
}

.hero-title{
  font-size: clamp(2rem,4vw,2.7rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 6px;
  background: linear-gradient(
    135deg,
    #8CB1FF 0,
    #4A7CFF 35%,
    #2055E8 70%,
    #153AA1 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub{
  font-size: .98rem;
  color: #e5e7eb;
  max-width: 640px;
  margin: 0 auto 4px;
}

.hero-sub-small{
  font-size: .82rem;
  color: #9ca3af;
  max-width: 640px;
  margin: 0 auto;
}

/* =========================================
   CONTAINER PRINCIPAL
   ========================================= */

.page-container{
  max-width: 980px;
  margin: 0 auto 40px;
  padding: 0 16px 100px; /* espaço pro rodapé fixo */
}

/* =========================================
   CARD PRINCIPAL (EXTRATOR)
   ========================================= */

.fe-card{
  background: rgba(15,23,42,.96);
  border-radius: 20px;
  padding: 20px 20px 18px;
  border: 1px solid rgba(148,163,184,.35);
  box-shadow: 0 20px 45px rgba(0,0,0,.8);
}

/* HEADER DO CARD */

.fe-header-row{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.fe-header-left{
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #e5e7eb;
}

.fe-header-icon{
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: radial-gradient(circle at 25% 25%, #aed0ff, #4A7CFF);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111827;
  font-size: 13px;
  box-shadow: 0 0 0 1px rgba(0,0,0,.45);
}

.fe-header-right{
  font-size: 11px;
  color: #e8bf20;
  border-radius: 999px;
  border: 1px solid rgba(212, 230, 11, 0.7);
  padding: 6px 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  white-space: nowrap;
}

/* GRID PRINCIPAL */

.fe-main-grid{
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
  align-items: flex-start;
}

.fe-label{
  font-size: 13px;
  color: #e5e7eb;
  font-weight: 500;
  margin-bottom: 6px;
  display: block;
}

/* =========================================
   ÁREA DO VÍDEO / DROPZONE
   ========================================= */

.fe-video-shell{
  background: #020617;
  border-radius: 16px;
  border: 1px solid #1f2937;
  padding: 12px;
}

.fe-dropzone{
  border-radius: 12px;
  border: 1px dashed #4b5563;
  background: linear-gradient(135deg,rgba(15,23,42,.9),rgba(15,23,42,.98));
  padding: 26px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  cursor: pointer;
  transition:
    border-color .18s ease,
    background .18s ease,
    transform .18s ease;
}

.fe-dropzone:hover{
  border-color: #2055e8;
  background:
    radial-gradient(circle at 0 0,rgba(74,124,255,.23),transparent 55%),
    rgba(15,23,42,1);
  transform: translateY(-1px);
}

.fe-drop-title{
  font-size: .95rem;
  font-weight: 500;
  color: #e5e7eb;
}

.fe-drop-sub{
  font-size: .8rem;
  color: #9ca3af;
}

.fe-drop-btn{
  margin-top: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg,#4A7CFF,#2055E8);
  color: #fff;
  font-size: .86rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(32,85,232,.45);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.fe-drop-btn span.icon{
  font-size: .9rem;
}

.fe-drop-input{
  display: none;
}

video.fe-video{
  width: 100%;
  max-height: 480px;
  border-radius: 12px;
  background: #000;
  display: block;
}

.fe-hidden{
  display: none !important;
}

.fe-time-inline{
  margin-top: 8px;
  font-size: 12px;
  color: #9ca3af;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

/* =========================================
   COLUNA DIREITA / CONTROLES
   ========================================= */

.fe-right-col{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fe-row{
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.fe-row-tight{
  align-items: center;
}

.fe-row-center{
  justify-content: center;
  margin-top: 8px;
}

.fe-grow{
  flex: 1 1 180px;
}

.fe-input-text,
.fe-input-number{
  width: 100%;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid #374151;
  background: #020617;
  color: #e5e7eb;
  font-size: 14px;
  outline: none;
}

.fe-input-text:focus,
.fe-input-number:focus{
  border-color: #4A7CFF;
  box-shadow: 0 0 0 1px rgba(32,85,232,.6);
}

.fe-helper-text{
  font-size: 11px;
  color: #9ca3af;
  margin-top: 3px;
}

.fe-mini-label{
  font-size: 11px;
  color: #9ca3af;
  margin-top: 2px;
}

/* BOTÕES DE AÇÃO */

.fe-btn-primary{
  background: linear-gradient(135deg,#4A7CFF,#2055E8);
  color: #fff;
  border: none;
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(32,85,232,.45);
  white-space: nowrap;
  transition:
    transform .16s ease,
    box-shadow .16s ease,
    background .16s ease;
}

.fe-btn-primary:hover{
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(32,85,232,.65);
}

.fe-btn-primary:disabled{
  opacity: .45;
  cursor: default;
  box-shadow: none;
  transform: none;
}

.fe-btn-secondary{
  background: rgba(15,23,42,1);
  color: #e8bf20;
  border-radius: 999px;
  border: 1px solid #a68c24;
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background .16s ease,
    color .16s ease,
    transform .16s ease;
}

.fe-btn-secondary:hover{
  background: linear-gradient(135deg,#4A7CFF,#2055E8);
  color: #fff;
  transform: translateY(-1px);
}

.fe-btn-outline{
  background: transparent;
  border: 1px solid rgba(148,163,184,.8);
  color: #e5e7eb;
  box-shadow: none;
}

.fe-btn-outline:hover{
  border-color: #4A7CFF;
  color: #fff;
  box-shadow: 0 10px 25px rgba(15,23,42,.9);
  background: radial-gradient(circle at 0 0,rgba(32,85,232,.25),transparent 55%);
}

/* STATUS */

.fe-status-row{
  margin-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #e5e7eb;
}

/* =========================================
   GALERIA / FRAMES GERADOS
   ========================================= */

.fe-gallery{
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(160px,260px));
  gap: 14px;
  justify-content: flex-start;
}

.fe-frame-card{
  background: #020617;
  border-radius: 12px;
  border: 1px solid #1f2937;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.fe-frame-card img{
  width: 100%;
  max-height: 420px;
  object-fit: contain;
  border-radius: 8px;
  display: block;
}

.fe-frame-info{
  display: flex;
  justify-content: space-between;
  gap: 6px;
  align-items: center;
  font-size: 11px;
  color: #9ca3af;
}

.fe-frame-info a{
  font-size: 11px;
  color: #4A7CFF;
  text-decoration: none;
  font-weight: 600;
}

.fe-frame-info a:hover{
  text-decoration: underline;
}

/* =========================================
   SEÇÃO DICAS DE USO
   ========================================= */

.tools-section{
  max-width: 980px;
  margin: 26px auto 0;
  padding: 0 16px;
}

.section-header{
  text-align: center;
  margin-bottom: 16px;
}

.section-header .badge{
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(15,23,42,.9);
  border: 1px solid rgba(148,163,184,.6);
  color: #e5e7eb;
  margin-bottom: 6px;
}

.hero-title-style{
  font-size: clamp(1.3rem,3vw,1.6rem);
  font-weight: 700;
  margin-bottom: 6px;
}

.section-header p{
  font-size: .92rem;
  color: #d4d4d8;
  max-width: 640px;
  margin: 0 auto;
}

/* =========================================
   RODAPÉ FIXO SOBREPOSTO
   ========================================= */

.site-footer{
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  background: rgba(5,7,12,0.82);
  backdrop-filter: blur(6px);
  border-top: 1px solid rgba(74,124,255,0.22);
  box-shadow: 0 -6px 22px rgba(0,0,0,0.65);
  z-index: 9999;
}

.footer-left{
  color: #d4d4d8;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .3px;
}

.footer-right{
  display: flex;
  align-items: center;
  height: 100%;
}

.footer-right a{
  display: flex;
  align-items: center;
  height: 100%;
}

.footer-right img{
  height: 80px;
  object-fit: contain;
  display: block;
  opacity: .90;
  transition: .2s ease;
}

.footer-right img:hover{
  opacity: 1;
  transform: scale(1.05);
}

/* =========================================
   RESPONSIVO
   ========================================= */

@media (max-width: 880px){
  .fe-main-grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px){
  .hero{
    padding-top: 64px;
  }

  .top-buttons{
    top: 12px;
    right: 10px;
    gap: 6px;
    flex-wrap: wrap;
  }

  .top-btn{
    padding: 5px 10px;
    font-size: 11px;
  }

  .fe-card{
    padding: 18px 14px 16px;
  }

  .fe-video-shell{
    padding: 10px;
  }

  .fe-dropzone{
    padding: 22px 14px;
  }

  .fe-gallery{
    grid-template-columns: repeat(auto-fit,minmax(150px,1fr));
  }

  .footer-right img{
    height: 34px;
  }
}

/* =========================================
   ★★★ EFEITO GLOW QUE SEGUE O MOUSE (OPÇÃO C)
   ========================================= */

#cursor-glow{
  position: fixed;
  top: 0;
  left: 0;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(64,116,255,0.24), rgba(64,116,255,0.08), transparent 70%);
  filter: blur(55px);
  pointer-events: none;
  z-index: 999999; /* por cima de tudo */
  transform: translate(-50%, -50%);
  opacity: 0.9;
  transition: opacity .3s;
}

/* ESTILO QUANDO ARRASTA POR CIMA */
.fe-dropzone.drag-over{
  border-color: #4A7CFF;
  background: rgba(15,23,42,0.75);
  transform: scale(1.02);
}

/* BOTÃO REMOVER VÍDEO */
#fe-remove-video-btn{
  margin-top: 10px;
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 600;
  color: #f87171;
  background: rgba(30,30,30,0.6);
  border: 1px solid rgba(248,113,113,0.4);
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: .18s ease;
}

#fe-remove-video-btn:hover{
  background: rgba(248,113,113,0.15);
  border-color: rgba(248,113,113,0.8);
  transform: translateY(-1px);
}
