/* IMPORTAÇÃO DE FONTES FUTURISTAS (Google Fonts) */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;800;900&family=Share+Tech+Mono&family=Rajdhani:wght@500;600;700&display=swap');

/* CORES E VARIÁVEIS DO SISTEMA (TEMA CARROT / PEPEER) */
:root {
  --bg-color: #0b0604; /* preto terroso escuro */
  --panel-bg: rgba(22, 14, 10, 0.75); /* fundo dos painéis com efeito de vidro/blur */
  --panel-border: rgba(255, 122, 0, 0.22);
  --panel-border-glow: rgba(255, 122, 0, 0.08);
  
  --neon-orange: #ff7a00; /* Laranja Cenoura Principal */
  --neon-green: #2ecc71; /* Verde Folha de Destaque */
  --neon-purple: #ff9f43; /* Laranja Suave */
  
  --text-primary: #fbeee6; /* Texto Claro Quente */
  --text-secondary: #d5c3b9; /* Texto Secundário */
  --text-muted: #8e7d74;
  
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Rajdhani', sans-serif;
  --font-mono: 'Share Tech Mono', monospace;
  
  --glow-orange: 0 0 15px rgba(255, 122, 0, 0.45);
  --glow-green: 0 0 15px rgba(46, 204, 113, 0.45);
  --glow-purple: 0 0 15px rgba(255, 159, 67, 0.45);
}

/* RESET E CONFIGURAÇÕES GERAIS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background-color: var(--bg-color);
}

body {
  background-color: transparent;
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  font-size: 16px;
  letter-spacing: 0.5px;
}

/* CANVAS DE FUNDO DE PARTÍCULAS */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* CONTAINER PRINCIPAL E APP LAYOUT */
.app-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
  z-index: 1;
}

/* VÍDEO DE FUNDO SUTIL E DISCRETO */
#background-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -2;
  pointer-events: none;
  opacity: 0.22; /* opacidade um pouco mais visível de 22% */
  filter: saturate(1.1) brightness(0.55) contrast(110%); /* levemente mais claro */
}

/* CABEÇALHO FUTURISTA */
.cyber-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: var(--panel-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--panel-border);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.4), var(--panel-border-glow);
  border-radius: 12px;
  margin-bottom: 25px;
  position: relative;
  overflow: hidden;
}

/* Efeito de scan line no cabeçalho */
.cyber-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-orange), transparent);
  animation: scan-horizontal 4s linear infinite;
}

.header-logo {
  display: flex;
  flex-direction: column;
}

/* Efeito Glitch de Texto */
.glitch {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 2px;
  position: relative;
  text-shadow: 0 0 10px rgba(255, 122, 0, 0.5);
}

.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 2px;
  text-shadow: -1px 0 var(--neon-green);
  top: 0;
  color: #fff;
  background: transparent;
  overflow: hidden;
  clip: rect(0, 900px, 0, 0); 
  animation: glitch-anim 2s infinite linear alternate-reverse;
}

.sub-logo {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--neon-orange);
  margin-top: 4px;
  letter-spacing: 3px;
  text-shadow: 0 0 5px rgba(255, 122, 0, 0.3);
}


/* DENTRO DO GRID CYBER */
.cyber-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.col-span-2 {
  grid-column: span 2;
}

/* GLASSMORPHISM CARD DESIGN */
.cyber-card {
  background: var(--panel-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--panel-border);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5), var(--panel-border-glow);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out, border-color 0.3s ease;
}

/* Spotlight Glow reativo ao cursor do mouse */
.cyber-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle 250px at var(--mouse-x, -9999px) var(--mouse-y, -9999px), rgba(255, 122, 0, 0.15), transparent 80%);
  pointer-events: none;
  z-index: 0;
}

/* Conteúdo acima do pseudo-elemento de spotlight */
.cyber-card > * {
  position: relative;
  z-index: 2;
}

.cyber-card:hover {
  border-color: rgba(255, 122, 0, 0.45);
  box-shadow: 0 16px 45px 0 rgba(0, 0, 0, 0.65), 0 0 25px rgba(255, 122, 0, 0.15);
}

/* Header dos Cards */
.card-header {
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.02);
}

.card-header h2 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--neon-orange);
  text-shadow: 0 0 8px rgba(255, 122, 0, 0.2);
}

.card-icon {
  font-size: 1.1rem;
}

.card-body {
  padding: 20px;
  flex-grow: 1;
}

/* ESTRUTURAS DE CAMPOS DE ENTRADA (INPUTS) */
.input-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-group label {
  display: flex;
  flex-direction: column;
}

.label-text {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 1px;
}

.label-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
}

textarea, input[type="number"] {
  background: rgba(11, 6, 4, 0.7);
  border: 1px solid rgba(255, 122, 0, 0.15);
  border-radius: 6px;
  padding: 12px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.25s ease;
  width: 100%;
}

textarea {
  resize: vertical;
  min-height: 80px;
  line-height: 1.4;
}

textarea:focus, input:focus {
  border-color: var(--neon-orange);
  box-shadow: 0 0 10px rgba(255, 122, 0, 0.25), inset 0 0 8px rgba(255, 122, 0, 0.08);
  background: rgba(255, 122, 0, 0.03);
}

.input-row {
  display: flex;
  gap: 20px;
  align-items: center;
}

.width-50 {
  width: 50%;
}

.flex-end {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding-top: 15px;
}

/* SWITCH CYBER (BOTÃO DE ALTERNÂNCIA) */
.settings-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cyber-switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 22px;
}

.cyber-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.05);
  transition: .3s;
  border-radius: 34px;
  border: 1px solid rgba(255, 122, 0, 0.15);
}

.switch-slider::before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: var(--text-secondary);
  transition: .3s;
  border-radius: 50%;
}

input:checked + .switch-slider {
  background-color: rgba(255, 122, 0, 0.1);
  border-color: var(--neon-orange);
  box-shadow: 0 0 8px rgba(255, 122, 0, 0.3);
}

input:checked + .switch-slider::before {
  transform: translateX(24px);
  background-color: var(--neon-orange);
  box-shadow: 0 0 8px var(--neon-orange);
}

.toggle-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
}

/* QUANTITY CONTROLLER STYLE */
.quantity-controller {
  display: flex;
  align-items: center;
  background: rgba(11, 6, 4, 0.7);
  border: 1px solid var(--panel-border);
  border-radius: 6px;
  overflow: hidden;
  height: 42px;
  width: 100%;
}

.qty-btn {
  background: rgba(255, 122, 0, 0.08);
  color: var(--neon-orange);
  border: none;
  width: 40px;
  height: 100%;
  font-size: 1.2rem;
  font-family: var(--font-display);
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
}

.qty-btn:hover {
  background: var(--neon-orange);
  color: #000;
  box-shadow: var(--glow-orange);
}

.qty-btn:active {
  transform: scale(0.95);
}

.quantity-controller input[type="number"] {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-primary);
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: bold;
  height: 100%;
  width: 50px;
  margin: 0;
  padding: 0;
  -moz-appearance: textfield;
}

.quantity-controller input[type="number"]::-webkit-outer-spin-button,
.quantity-controller input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* PROMPT ACTIONS ROW */
.prompt-actions-row {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.prompt-actions-row .btn-small {
  padding: 6px 12px;
  font-size: 0.72rem;
  flex: 1;
  border-radius: 4px;
  background: rgba(255, 122, 0, 0.05);
  border: 1px solid rgba(255, 122, 0, 0.15);
  color: var(--text-secondary);
}

.prompt-actions-row .btn-small:hover {
  background: rgba(255, 122, 0, 0.18);
  border-color: var(--neon-orange);
  color: #fff;
  box-shadow: 0 0 10px rgba(255, 122, 0, 0.15);
}

/* BOTÕES ESTILIZADOS */
.btn {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 12px 24px;
  border-radius: 6px;
  cursor: pointer;
  outline: none;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  display: flex;
  justify-content: center;
  align-items: center;
  text-transform: uppercase;
}

.btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  box-shadow: none !important;
  border-color: rgba(255, 255, 255, 0.05) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  color: var(--text-muted) !important;
}

.btn-primary {
  background: linear-gradient(135deg, rgba(255, 122, 0, 0.2), rgba(46, 204, 113, 0.2));
  border: 1px solid var(--neon-orange);
  color: #fff;
}

.btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, rgba(255, 122, 0, 0.4), rgba(46, 204, 113, 0.4));
  box-shadow: var(--glow-orange), 0 0 25px rgba(46, 204, 113, 0.2);
  text-shadow: 0 0 5px #fff;
}

.btn-glow {
  position: relative;
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: -1px; left: -1px; right: -1px; bottom: -1px;
  border-radius: 6px;
  border: 1px solid var(--neon-orange);
  animation: button-glow-pulse 2s infinite;
  pointer-events: none;
}

.btn-warning {
  background: rgba(255, 159, 67, 0.08);
  border: 1px solid var(--neon-purple);
  color: var(--neon-purple);
}
.btn-warning:hover:not(:disabled) {
  background: rgba(255, 159, 67, 0.2);
  box-shadow: var(--glow-purple);
}

.btn-success {
  background: rgba(46, 204, 113, 0.08);
  border: 1px solid var(--neon-green);
  color: var(--neon-green);
}
.btn-success:hover:not(:disabled) {
  background: rgba(46, 204, 113, 0.2);
  box-shadow: var(--glow-green);
}

.btn-danger {
  background: rgba(231, 76, 60, 0.08);
  border: 1px solid #e74c3c;
  color: #e74c3c;
}
.btn-danger:hover:not(:disabled) {
  background: rgba(231, 76, 60, 0.2);
  box-shadow: 0 0 12px rgba(231, 76, 60, 0.3);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
}
.btn-secondary:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-small {
  padding: 6px 12px;
  font-size: 0.75rem;
}

.control-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 10px;
}

.btn-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}


/* Estilo do Scrollbar */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.02);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 122, 0, 0.2);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--neon-orange);
}

/* CONSOLE DE LOGS */
.flex-between {
  justify-content: space-between;
}
.flex-align {
  display: flex;
  align-items: center;
  gap: 10px;
}

.log-console-wrapper {
  padding: 15px;
  background: rgba(5, 3, 2, 0.9);
  border: 1px solid rgba(255, 122, 0, 0.05);
  border-radius: 8px;
  position: relative;
}

.log-console-wrapper::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 122, 0, 0.04), rgba(46, 204, 113, 0.01), rgba(255, 159, 67, 0.04));
  background-size: 100% 4px, 6px 100%;
  pointer-events: none;
  border-radius: 8px;
}

.log-console {
  height: 220px;
  overflow-y: auto;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.log-row {
  display: flex;
  gap: 8px;
  white-space: pre-wrap;
  word-break: break-all;
}

.log-time {
  color: var(--text-muted);
}

.log-tag {
  color: var(--neon-orange);
  font-weight: 700;
}

.log-row.info .log-msg {
  color: var(--text-primary);
}

.log-row.success .log-tag {
  color: var(--neon-green);
}
.log-row.success .log-msg {
  color: var(--neon-green);
}

.log-row.warn .log-tag {
  color: var(--neon-purple);
}
.log-row.warn .log-msg {
  color: var(--neon-purple);
}

.log-row.error .log-tag {
  color: #e74c3c;
}
.log-row.error .log-msg {
  color: #e74c3c;
  font-weight: bold;
}

/* MODAL DE RELATÓRIO FINAL */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(11, 6, 4, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: opacity 0.3s ease;
  overflow-y: auto;
  padding: 20px;
  box-sizing: border-box;
}

.modal-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.cyber-modal {
  background: var(--panel-bg);
  border: 2px solid var(--neon-orange);
  box-shadow: 0 0 30px rgba(255, 122, 0, 0.3);
  border-radius: 12px;
  width: 600px;
  max-width: 90%;
  overflow: hidden;
  animation: modal-slide-in 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.modal-header {
  background: rgba(255, 122, 0, 0.05);
  border-bottom: 1px solid rgba(255, 122, 0, 0.2);
  padding: 20px;
}

.modal-header h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--neon-orange);
  text-shadow: 0 0 10px rgba(255, 122, 0, 0.3);
  text-align: center;
}

.modal-body {
  padding: 25px;
}

.modal-intro {
  text-align: center;
  font-size: 0.95rem;
  margin-bottom: 25px;
  color: var(--text-secondary);
}

.modal-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 25px;
}

.modal-stats.three-cols {
  grid-template-columns: 1fr 1fr 1fr;
}

.modal-stat-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 122, 0, 0.05);
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--neon-orange);
  text-shadow: 0 0 10px rgba(255, 122, 0, 0.4);
}

.stat-name {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 5px;
}

.modal-errors h3 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: #fff;
  margin-bottom: 10px;
}

.errors-list {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 122, 0, 0.05);
  border-radius: 6px;
  max-height: 120px;
  overflow-y: auto;
  padding: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #e74c3c;
}

.modal-footer {
  padding: 15px 25px 25px;
  display: flex;
  justify-content: center;
}

/* ANIMAÇÕES GERAIS */
@keyframes scan-horizontal {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

@keyframes pulse-ring {
  0% { transform: scale(0.35); opacity: 1; }
  80%, 100% { transform: scale(1.6); opacity: 0; }
}

@keyframes button-glow-pulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.03); opacity: 0.2; }
}

@keyframes blink-soft {
  0% { opacity: 0.5; }
  100% { opacity: 1; }
}

@keyframes glitch-anim {
  0% { clip: rect(12px, 9999px, 85px, 0); }
  20% { clip: rect(34px, 9999px, 5px, 0); }
  40% { clip: rect(67px, 9999px, 98px, 0); }
  60% { clip: rect(10px, 9999px, 23px, 0); }
  80% { clip: rect(89px, 9999px, 54px, 0); }
  100% { clip: rect(4px, 9999px, 78px, 0); }
}

@keyframes modal-slide-in {
  0% { transform: translateY(20px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* RESPONSIVIDADE */
@media (max-width: 1024px) {
  .cyber-grid {
    grid-template-columns: 1fr;
  }
  .col-span-2 {
    grid-column: span 1;
  }
}

/* NOVOS ESTILOS - STUDIO ADVANCED CONTROL PANEL */

.logo-sub-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.header-tagline {
  font-family: var(--font-display);
  font-size: 0.72rem;
  color: var(--text-secondary);
  opacity: 0.85;
  letter-spacing: 1px;
  font-weight: 500;
  text-shadow: 0 0 5px rgba(255, 122, 0, 0.15);
}


.cyber-select-wrapper {
  position: relative;
  width: 100%;
}

.cyber-select-wrapper::after {
  content: '▼';
  font-size: 0.65rem;
  color: var(--neon-orange);
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.cyber-select-wrapper select {
  appearance: none;
  -webkit-appearance: none;
  background: rgba(11, 6, 4, 0.7);
  border: 1px solid rgba(255, 122, 0, 0.15);
  border-radius: 6px;
  padding: 12px 30px 12px 12px;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: bold;
  width: 100%;
  outline: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.cyber-select-wrapper select:focus {
  border-color: var(--neon-orange);
  box-shadow: 0 0 10px rgba(255, 122, 0, 0.25), inset 0 0 8px rgba(255, 122, 0, 0.08);
  background: rgba(255, 122, 0, 0.03);
}

.cyber-select-wrapper select option {
  background-color: #0b0604;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-weight: 600;
  padding: 12px;
}

.btn-group-toggle {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  width: 100%;
}

.btn-toggle {
  flex: 1;
  min-width: 70px;
  background: rgba(22, 14, 10, 0.4);
  border: 1px solid rgba(255, 122, 0, 0.15);
  color: var(--text-secondary);
  padding: 8px 10px;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  transition: all 0.25s ease;
}

.btn-toggle:hover {
  border-color: var(--neon-orange);
  color: #fff;
  background: rgba(255, 122, 0, 0.05);
}

.btn-toggle.active {
  background: linear-gradient(135deg, rgba(255, 122, 0, 0.3), rgba(46, 204, 113, 0.1));
  border-color: var(--neon-orange);
  color: #fff;
  box-shadow: var(--glow-orange);
  text-shadow: 0 0 4px #fff;
}

.image-upload-zone {
  background: rgba(11, 6, 4, 0.4);
  border: 1px dashed rgba(255, 122, 0, 0.25);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-upload-zone:hover, .image-upload-zone.dragover {
  border-color: var(--neon-orange);
  background: rgba(255, 122, 0, 0.05);
  box-shadow: inset 0 0 15px rgba(255, 122, 0, 0.08);
}

.upload-zone-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.upload-icon {
  font-size: 1.6rem;
  color: var(--neon-orange);
  text-shadow: 0 0 10px rgba(255, 122, 0, 0.3);
}

.upload-text {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.upload-zone-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.upload-zone-preview img {
  max-height: 100px;
  max-width: 100%;
  border-radius: 4px;
  border: 1px solid var(--neon-orange);
  box-shadow: 0 0 10px rgba(255, 122, 0, 0.2);
  object-fit: contain;
}

.flex-start-align {
  align-items: flex-start !important;
}

.hidden {
  display: none !important;
}

/* BARRA DE PROGRESSO FUTURISTA */
.progress-container {
  margin-top: 18px;
  background: rgba(22, 14, 10, 0.4);
  border: 1px solid rgba(255, 122, 0, 0.15);
  border-radius: 8px;
  padding: 12px;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.3);
  text-align: left;
}

.progress-layout {
  display: flex;
  gap: 15px;
  align-items: center;
}

/* Caixa da Silhueta de Vídeo */
.progress-silhouette-box {
  background: rgba(11, 6, 4, 0.9);
  border: 1px solid rgba(255, 122, 0, 0.3);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
}

/* Proporção 16:9 Landscape */
.progress-silhouette-box.landscape {
  width: 120px;
  height: 67.5px;
}

/* Proporção 9:16 Portrait */
.progress-silhouette-box.portrait {
  width: 60px;
  height: 106.6px;
}

/* Proporção 1:1 Square */
.progress-silhouette-box.square {
  width: 80px;
  height: 80px;
}

/* Indicador de Gravação REC */
.rec-dot-row {
  position: absolute;
  top: 5px;
  left: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 5;
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 0.5px;
  color: #ff3b30;
}

.rec-dot {
  width: 5px;
  height: 5px;
  background-color: #ff3b30;
  border-radius: 50%;
  animation: blink-soft 1s infinite alternate;
}

.rec-text {
  font-weight: bold;
}

/* Ícone SVG da Silhueta */
.silhouette-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40%;
  height: 40%;
  z-index: 2;
  transition: opacity 0.2s ease, transform 0.3s ease;
  opacity: 0.2; /* Começa sutil e vai clareando conforme o progresso avança */
  color: var(--neon-orange);
  filter: drop-shadow(0 0 5px rgba(255, 122, 0, 0.6));
}

.silhouette-svg {
  width: 100%;
  height: 100%;
}

/* Efeito de Linha de Scanline de cima para baixo */
.scanline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-orange), transparent);
  opacity: 0.4;
  animation: scan-vertical 2s linear infinite;
  z-index: 3;
  pointer-events: none;
}

/* Efeito de Estática Digital de TV antiga de fundo */
.static-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255,122,0,0.05) 10%, transparent 11%);
  background-size: 3px 3px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.8;
}

/* Caixa dos Detalhes (Lado Direito) */
.progress-details-box {
  flex-grow: 1;
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.progress-bar-bg {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.3);
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--neon-orange), var(--neon-purple));
  box-shadow: 0 0 8px var(--neon-orange);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border-radius: 4px;
}

@keyframes scan-vertical {
  0% { transform: translateY(0); }
  100% { transform: translateY(106px); }
}

/* ============================================================================
   ESTILOS EXCLUSIVOS DO MODAL DE VÍDEO GERADO (TEMA ESMERALDA / PEPEER)
   ============================================================================ */
.video-modal {
  border-color: var(--neon-green) !important;
  box-shadow: 0 0 30px rgba(46, 204, 113, 0.3) !important;
}

.header-emerald {
  background: rgba(46, 204, 113, 0.05) !important;
  border-bottom: 1px solid rgba(46, 204, 113, 0.2) !important;
}

.header-emerald h2 {
  color: var(--neon-green) !important;
  text-shadow: 0 0 10px rgba(46, 204, 113, 0.3) !important;
}

.generated-video-container {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(46, 204, 113, 0.2);
  background: #000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.generated-video-container.landscape {
  aspect-ratio: 16/9;
  max-width: 100%;
}

.generated-video-container.portrait {
  aspect-ratio: 9/16;
  max-width: 320px;
  margin: 0 auto;
}

.generated-video-container.square {
  aspect-ratio: 1/1;
  max-width: 400px;
  margin: 0 auto;
}

#generated-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.footer-video {
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.footer-video .btn {
  flex: 1;
  text-decoration: none;
}

.btn-success-glow {
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.2), rgba(255, 122, 0, 0.2)) !important;
  border: 1px solid var(--neon-green) !important;
  color: #fff !important;
}

.btn-success-glow:hover {
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.4), rgba(255, 122, 0, 0.4)) !important;
  box-shadow: var(--glow-green), 0 0 25px rgba(255, 122, 0, 0.2) !important;
  text-shadow: 0 0 5px #fff !important;
}

.btn-success-glow::after {
  border-color: var(--neon-green) !important;
}

/* ============================================================================
   ESTILOS DA TELA DE LOGIN E CADASTRO (login.html)
   ============================================================================ */
.auth-page {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

.auth-wrapper {
  width: 450px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 30px;
  z-index: 10;
}

.auth-logo {
  text-align: center;
}

.auth-logo .glitch {
  font-size: 2.8rem;
}

.auth-card {
  border-color: var(--panel-border);
}

.auth-tabs {
  display: flex;
  border-bottom: 1px solid rgba(255, 122, 0, 0.15);
  background: rgba(0, 0, 0, 0.2);
}

.tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
  text-align: center;
  border-bottom: 2px solid transparent;
}

.tab-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 122, 0, 0.02);
}

.tab-btn.active {
  color: var(--neon-orange);
  border-bottom-color: var(--neon-orange);
  background: rgba(255, 122, 0, 0.05);
  text-shadow: 0 0 8px rgba(255, 122, 0, 0.2);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.auth-form input {
  background: rgba(11, 6, 4, 0.7);
  border: 1px solid rgba(255, 122, 0, 0.15);
  border-radius: 6px;
  padding: 12px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.25s ease;
  width: 100%;
}

.auth-form input:focus {
  border-color: var(--neon-orange);
  box-shadow: 0 0 10px rgba(255, 122, 0, 0.25), inset 0 0 8px rgba(255, 122, 0, 0.08);
  background: rgba(255, 122, 0, 0.03);
}

.auth-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 20px 0;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 1px;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.auth-divider:not(:empty)::before {
  margin-right: .5em;
}

.auth-divider:not(:empty)::after {
  margin-left: .5em;
}

.btn-google {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 12px 24px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.btn-google:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.05);
}

.google-icon {
  flex-shrink: 0;
}

.auth-alert {
  padding: 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-family: var(--font-body);
  text-align: center;
  margin-bottom: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  animation: modal-slide-in 0.3s ease;
}

.auth-alert.error {
  background: rgba(231, 76, 60, 0.15);
  color: #e74c3c;
  border-color: rgba(231, 76, 60, 0.3);
}

.auth-alert.success {
  background: rgba(46, 204, 113, 0.15);
  color: var(--neon-green);
  border-color: rgba(46, 204, 113, 0.3);
}

.header-user-menu {
  display: flex;
  align-items: center;
  gap: 15px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
}

.user-welcome {
  color: var(--text-secondary);
}

.user-name-highlight {
  color: var(--neon-orange);
  text-shadow: 0 0 8px rgba(255, 122, 0, 0.2);
}

.btn-logout {
  background: rgba(231, 76, 60, 0.05);
  border: 1px solid rgba(231, 76, 60, 0.2);
  color: #e74c3c;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 0.72rem;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: var(--font-display);
  text-transform: uppercase;
}

.btn-logout:hover {
  background: rgba(231, 76, 60, 0.2);
  border-color: #e74c3c;
  box-shadow: 0 0 10px rgba(231, 76, 60, 0.2);
}

/* ============================================================================
   ESTILOS DA TABELA DE PREÇOS COMPARATIVA (MODAL DE PLANOS)
   ============================================================================ */

.btn-plans-trigger {
  background: linear-gradient(135deg, rgba(255, 122, 0, 0.1), rgba(46, 204, 113, 0.05));
  border: 1px solid var(--neon-orange);
  color: var(--neon-orange);
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 0.72rem;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
}

.btn-plans-trigger:hover {
  background: linear-gradient(135deg, rgba(255, 122, 0, 0.25), rgba(46, 204, 113, 0.1));
  box-shadow: 0 0 10px rgba(255, 122, 0, 0.25);
  text-shadow: 0 0 5px #fff;
  color: #fff;
}

.plans-modal-content {
  width: 1100px !important;
  max-width: 95% !important;
  border-color: var(--neon-orange);
  box-shadow: 0 0 35px rgba(255, 122, 0, 0.25);
}

.header-plans {
  border-bottom: 1px solid rgba(255, 122, 0, 0.15) !important;
  background: rgba(255, 122, 0, 0.02) !important;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.btn-close-x {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.25s ease;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.btn-close-x:hover {
  color: #e74c3c;
  text-shadow: 0 0 8px rgba(231, 76, 60, 0.5);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  padding: 10px 0;
}

@media (max-width: 1200px) {
  .plans-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .plans-grid {
    grid-template-columns: 1fr;
  }
}

.plan-card {
  --plan-color: var(--neon-orange);
  --plan-color-rgb: 255, 122, 0;

  background: rgba(15, 10, 8, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 25px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* Configuração de Cores Específicas por Plano */
.plan-spark {
  --plan-color: #00f0ff; /* Neon Blue */
  --plan-color-rgb: 0, 240, 255;
}

.plan-pulse {
  --plan-color: #2ecc71; /* Neon Green */
  --plan-color-rgb: 46, 204, 113;
}

.plan-boost {
  --plan-color: #ff7a00; /* Neon Orange */
  --plan-color-rgb: 255, 122, 0;
}

.plan-core {
  --plan-color: #e056fd; /* Neon Purple/Magenta */
  --plan-color-rgb: 224, 86, 253;
}

.plan-images {
  --plan-color: #ffd700; /* Neon Gold */
  --plan-color-rgb: 255, 215, 0;
}

/* Slider de Imagens Dinâmico no Plano */
.plan-slider-container {
  width: 100%;
  margin: 15px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 215, 0, 0.1);
  border-radius: 6px;
  padding: 10px;
  box-sizing: border-box;
}

.slider-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.slider-control-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 10px;
}

.slider-btn {
  background: rgba(255, 215, 0, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.2);
  color: #ffd700;
  width: 26px;
  height: 26px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  outline: none;
}

.slider-btn:hover {
  background: rgba(255, 215, 0, 0.2);
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
  color: #fff;
}

.slider-qty-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffd700;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

.plan-range-slider {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.08);
  outline: none;
  cursor: pointer;
  margin: 8px 0 4px;
}

.plan-range-slider::-webkit-slider-runnable-track {
  width: 100%;
  height: 4px;
}

.plan-range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffd700;
  border: 2px solid #0b0604;
  box-shadow: 0 0 8px #ffd700;
  margin-top: -4px; /* Centralizar no track */
  transition: transform 0.1s ease;
}

.plan-range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.25);
}

.plan-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle 120px at var(--mouse-x, -9999px) var(--mouse-y, -9999px), rgba(var(--plan-color-rgb), 0.08), transparent 80%);
  pointer-events: none;
  z-index: 1;
}

.plan-card:hover {
  transform: translateY(-5px);
  border-color: var(--plan-color);
  box-shadow: 0 8px 25px rgba(var(--plan-color-rgb), 0.22), 0 0 15px rgba(0, 0, 0, 0.5);
}

.plan-badge {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 2px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.03);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.plan-card:hover .plan-badge {
  color: var(--plan-color);
  border-color: rgba(var(--plan-color-rgb), 0.35);
  background: rgba(var(--plan-color-rgb), 0.05);
}

.plan-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 15px;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.plan-card:hover .plan-title {
  color: var(--plan-color);
  text-shadow: 0 0 8px rgba(var(--plan-color-rgb), 0.45);
}

.plan-price {
  margin-bottom: 25px;
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.plan-price .currency {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-right: 2px;
}

.plan-price .amount {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--plan-color);
  text-shadow: 0 0 10px rgba(var(--plan-color-rgb), 0.25);
  transition: all 0.3s ease;
}

.plan-card:hover .plan-price .amount {
  text-shadow: 0 0 15px rgba(var(--plan-color-rgb), 0.65);
}

.plan-price .period {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: 2px;
}

.plan-features {
  list-style: none;
  width: 100%;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.plan-features li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
  padding-bottom: 8px;
}

.plan-features li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.feat-icon {
  font-size: 0.95rem;
  flex-shrink: 0;
}

.btn-plans {
  width: 100% !important;
  font-size: 0.75rem !important;
  padding: 10px 15px !important;
  transition: all 0.3s ease !important;
}

.plan-card:hover .btn-plans {
  background: linear-gradient(135deg, rgba(var(--plan-color-rgb), 0.25), rgba(255, 122, 0, 0.1)) !important;
  border-color: var(--plan-color) !important;
  color: #fff !important;
  box-shadow: 0 0 15px rgba(var(--plan-color-rgb), 0.45) !important;
  text-shadow: 0 0 4px #fff;
}

/* DESTAQUE DO RECOMENDADO (PULSE) */
.plan-recommended {
  border-color: rgba(var(--plan-color-rgb), 0.3) !important;
  box-shadow: 0 4px 20px rgba(var(--plan-color-rgb), 0.12) !important;
  background: rgba(10, 18, 14, 0.6) !important;
}

.plan-recommended:hover {
  border-color: var(--plan-color) !important;
  box-shadow: 0 8px 30px rgba(var(--plan-color-rgb), 0.35), 0 0 15px rgba(0, 0, 0, 0.6) !important;
}

.plan-recommended .plan-title {
  color: var(--plan-color) !important;
  text-shadow: 0 0 8px rgba(var(--plan-color-rgb), 0.25);
}

.plan-recommended .badge-pulse {
  color: var(--plan-color) !important;
  background: rgba(var(--plan-color-rgb), 0.05) !important;
  border-color: rgba(var(--plan-color-rgb), 0.15) !important;
}

.popular-tag {
  position: absolute;
  top: 12px;
  right: -35px;
  background: linear-gradient(135deg, var(--plan-color), #27ae60);
  color: #000;
  font-family: var(--font-display);
  font-size: 0.52rem;
  font-weight: 900;
  padding: 4px 35px;
  transform: rotate(45deg);
  box-shadow: 0 2px 10px rgba(var(--plan-color-rgb), 0.3);
  letter-spacing: 0.5px;
}

/* RESPONSIVIDADE DOS PLANOS */
@media (max-width: 1200px) {
  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .plans-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================================
   ESTILOS DO MINI-JOGO CYBER HANGMAN // JOGO DE FORCA (DISTRAÇÃO)
   ============================================================================ */

.game-promo-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(22, 14, 10, 0.5);
  border: 1px dashed rgba(255, 122, 0, 0.35);
  border-radius: 8px;
  padding: 12px 18px;
  margin-top: 15px;
  animation: pulse-promo-border 2s infinite alternate ease-in-out;
  transition: all 0.3s ease;
}

@keyframes pulse-promo-border {
  0% { border-color: rgba(255, 122, 0, 0.25); box-shadow: 0 0 5px rgba(255, 122, 0, 0.05); }
  100% { border-color: rgba(255, 122, 0, 0.7); box-shadow: 0 0 12px rgba(255, 122, 0, 0.15); }
}

.promo-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.promo-icon {
  font-size: 1.5rem;
  animation: float-gamepad 1.5s infinite alternate ease-in-out;
}

@keyframes float-gamepad {
  0% { transform: translateY(0); }
  100% { transform: translateY(-4px); }
}

.promo-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.promo-title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--neon-orange);
  letter-spacing: 0.5px;
}

.promo-sub {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.btn-small {
  padding: 6px 12px;
  font-size: 0.75rem !important;
}

/* Modal do Jogo da Forca */
.hangman-game-content {
  width: 820px !important;
  max-width: 95% !important;
  border-color: var(--neon-green) !important;
  box-shadow: 0 0 35px rgba(46, 204, 113, 0.25) !important;
}

.header-game {
  border-bottom: 1px solid rgba(46, 204, 113, 0.15) !important;
  background: rgba(46, 204, 113, 0.02) !important;
}

.header-game h2 {
  color: var(--neon-green) !important;
  text-shadow: 0 0 8px rgba(46, 204, 113, 0.3) !important;
}

.game-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.game-area-wrapper {
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  padding: 20px;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
  position: relative;
}

/* Esquerda: Canvas */
.hangman-canvas-container {
  background: #050302;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(46, 204, 113, 0.25);
  box-shadow: inset 0 0 15px rgba(0,0,0,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 340px;
}

#hangman-canvas {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Direita: Detalhes do Jogo */
.game-details-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
  padding: 5px 0;
  height: 340px;
}

/* Palavra Secreta */
.word-display-container {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 6px;
  text-align: center;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
  margin-bottom: 10px;
  word-break: break-all;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Dica */
.tip-container {
  background: rgba(22, 14, 10, 0.3);
  border: 1px solid rgba(255, 122, 0, 0.1);
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 0.8rem;
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
}

.tip-label {
  font-family: var(--font-display);
  color: var(--neon-orange);
  font-weight: 700;
}

.tip-text {
  color: var(--text-secondary);
  font-weight: 500;
}

/* Teclado Virtual */
.keyboard-container {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 6px;
  width: 100%;
  margin-bottom: 15px;
}

.key-btn {
  background: rgba(22, 14, 10, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  border-radius: 4px;
  padding: 8px 0;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
  text-align: center;
  user-select: none;
}

.key-btn:hover:not(:disabled) {
  border-color: var(--neon-orange);
  color: #fff;
  background: rgba(255, 122, 0, 0.08);
  box-shadow: 0 0 8px rgba(255, 122, 0, 0.15);
}

.key-btn:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}

/* Estado de Erro/Acerto no teclado */
.key-btn.correct {
  background: rgba(46, 204, 113, 0.15) !important;
  border-color: var(--neon-green) !important;
  color: var(--neon-green) !important;
  box-shadow: 0 0 10px rgba(46, 204, 113, 0.25) !important;
  opacity: 1 !important;
  text-shadow: 0 0 4px var(--neon-green);
}

.key-btn.incorrect {
  background: rgba(231, 76, 60, 0.15) !important;
  border-color: #e74c3c !important;
  color: #e74c3c !important;
  box-shadow: 0 0 10px rgba(231, 76, 60, 0.15) !important;
  opacity: 0.6 !important;
}

/* HUD tentativas */
.attempts-info {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  text-align: right;
  color: var(--text-muted);
}

.text-orange {
  color: var(--neon-orange);
  text-shadow: 0 0 8px rgba(255, 122, 0, 0.3);
}

/* Overlay do Jogo */
.game-overlay-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 6, 4, 0.9);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
  border-radius: 8px;
}

.overlay-card {
  text-align: center;
  padding: 30px;
  max-width: 80%;
  animation: zoom-in-card 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes zoom-in-card {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.overlay-card h3 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--neon-orange);
  margin-bottom: 12px;
  text-shadow: 0 0 15px rgba(255, 122, 0, 0.4);
  letter-spacing: 2px;
}

.overlay-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 25px;
}

.overlay-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.game-controls-help {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.5px;
}

/* Sucesso do Vídeo Pronto */
.game-overlay-screen.success-state h3 {
  color: var(--neon-green) !important;
  text-shadow: 0 0 15px rgba(46, 204, 113, 0.5) !important;
}

.game-overlay-screen.success-state .overlay-actions .btn-primary {
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.3), rgba(0, 240, 255, 0.2)) !important;
  border-color: var(--neon-green) !important;
}

.game-overlay-screen.success-state .overlay-actions .btn-primary:hover {
  box-shadow: 0 0 15px rgba(46, 204, 113, 0.4) !important;
}

/* Responsividade do Jogo */
@media (max-width: 800px) {
  .game-area-wrapper {
    grid-template-columns: 1fr;
    height: auto;
  }
  .hangman-canvas-container {
    height: 240px;
  }
  .game-details-wrapper {
    height: auto;
  }
}

/* Console de Entrada de Letras (CLI) */
.cli-input-container {
  display: flex;
  align-items: center;
  background: rgba(5, 3, 2, 0.85);
  border: 1px solid rgba(255, 122, 0, 0.2);
  border-radius: 4px;
  padding: 8px 12px;
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.6);
  transition: all 0.3s ease;
}

.cli-input-container:focus-within {
  border-color: var(--neon-orange);
  box-shadow: 0 0 10px rgba(255, 122, 0, 0.25), inset 0 0 8px rgba(255, 122, 0, 0.1);
}

.cli-prompt {
  color: var(--neon-orange);
  margin-right: 8px;
  font-weight: bold;
  letter-spacing: 1px;
}

#game-text-input {
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: bold;
  outline: none;
  width: 100%;
  padding: 0;
  text-transform: uppercase;
  caret-color: var(--neon-orange);
}

#game-text-input::placeholder {
  color: rgba(255, 255, 255, 0.2);
}

/* ============================================================================
   ESTILOS DO CHECKOUT PIX SIMULADO FUTURISTA
   ============================================================================ */
.pix-checkout-content {
  width: 480px !important;
  max-width: 95% !important;
  border-color: var(--neon-orange) !important;
  box-shadow: 0 0 35px rgba(255, 122, 0, 0.25) !important;
}

.header-pix {
  border-bottom: 1px solid rgba(255, 122, 0, 0.15) !important;
  background: rgba(255, 122, 0, 0.02) !important;
}

.header-pix h2 {
  color: var(--neon-orange) !important;
  text-shadow: 0 0 8px rgba(255, 122, 0, 0.3) !important;
}

.pix-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  text-align: center;
}

.pix-summary {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 122, 0, 0.1);
  border-radius: 8px;
  padding: 12px 20px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
}

.pix-plan-name {
  font-family: var(--font-display);
  font-size: 0.8rem;
  color: var(--text-secondary);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.pix-price-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
}

.pix-currency {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-right: 3px;
  font-weight: 600;
}

.pix-amount {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--neon-orange);
  text-shadow: 0 0 10px rgba(255, 122, 0, 0.35);
}

.pix-period {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: 3px;
}

.pix-qr-container {
  position: relative;
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  border: 2px solid var(--neon-orange);
  box-shadow: 0 0 20px rgba(255, 122, 0, 0.2);
  width: 190px;
  height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pix-qr-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.pix-scanner-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--neon-orange);
  box-shadow: 0 0 8px var(--neon-orange);
  animation: scan-vertical-line 2s linear infinite;
  opacity: 0.7;
}

@keyframes scan-vertical-line {
  0% { top: 0%; }
  50% { top: 100%; }
  100% { top: 0%; }
}

.pix-status-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 5px;
}

.pix-pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--neon-green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--neon-green);
  animation: blink-soft 1s infinite alternate;
}

.pix-status-text {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--neon-green);
  letter-spacing: 1px;
}

.pix-timer-container {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.pix-timer-container strong {
  color: var(--text-primary);
  font-family: var(--font-mono);
}

.pix-copy-row {
  display: flex;
  gap: 8px;
  width: 100%;
}

.pix-copy-row input {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 8px 12px;
  color: var(--text-secondary);
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 122, 0, 0.15);
  border-radius: 4px;
  flex-grow: 1;
  text-overflow: ellipsis;
  outline: none;
}

.copy-feedback-toast {
  font-size: 0.75rem;
  color: var(--neon-green);
  font-weight: bold;
  text-align: left;
  margin-top: 4px;
  display: block;
}

.pix-actions {
  width: 100%;
  margin-top: 10px;
}

.pix-actions button {
  width: 100%;
}

/* ============================================================================
   ESTILOS DOS BOTÕES DE PREFERÊNCIA DE VOZ (MUTE / UNMUTE)
   ============================================================================ */
.header-controls {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.btn-voice-toggle {
  background: rgba(255, 122, 0, 0.08) !important;
  border: 1px solid rgba(255, 122, 0, 0.2) !important;
  color: var(--neon-orange) !important;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 12px !important;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-voice-toggle:hover {
  background: rgba(255, 122, 0, 0.18) !important;
  border-color: var(--neon-orange) !important;
  box-shadow: 0 0 10px rgba(255, 122, 0, 0.2);
}

.btn-voice-toggle.muted {
  background: rgba(255, 255, 255, 0.03) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: var(--text-muted) !important;
  text-shadow: none !important;
  box-shadow: none !important;
}

/* Estilos de voz específicos no cabeçalho verde da forca */
.header-game .btn-voice-toggle {
  background: rgba(46, 204, 113, 0.08) !important;
  border: 1px solid rgba(46, 204, 113, 0.2) !important;
  color: var(--neon-green) !important;
}

.header-game .btn-voice-toggle:hover {
  background: rgba(46, 204, 113, 0.18) !important;
  border-color: var(--neon-green) !important;
  box-shadow: 0 0 10px rgba(46, 204, 113, 0.2);
}

.header-game .btn-voice-toggle.muted {
  background: rgba(255, 255, 255, 0.03) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: var(--text-muted) !important;
  text-shadow: none !important;
  box-shadow: none !important;
}

/* ============================================================================
   ESTILOS DO SIMULADOR DE LOGIN DO GOOGLE
   ============================================================================ */
/* ============================================================================
   ESTILOS DO SIMULADOR DE LOGIN DO GOOGLE (TEMA SEGURO PEPEER)
   ============================================================================ */
.google-modal-card {
  background: var(--panel-bg) !important;
  color: var(--text-primary) !important;
  font-family: var(--font-body);
  width: 450px !important;
  max-width: 90% !important;
  border-radius: 12px !important;
  box-shadow: 0 0 30px rgba(255, 122, 0, 0.25) !important;
  border: 1px solid var(--neon-orange) !important;
  padding: 30px 25px !important;
  position: relative;
  text-align: center;
  box-sizing: border-box;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.google-logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

.google-brand {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--neon-orange);
  letter-spacing: 1px;
}

.google-title {
  font-family: var(--font-display);
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  color: #fff !important;
  margin-bottom: 6px !important;
  letter-spacing: 1.5px !important;
  text-shadow: 0 0 8px rgba(255, 122, 0, 0.3) !important;
}

.google-sub {
  font-size: 0.85rem !important;
  color: var(--text-secondary) !important;
  margin-bottom: 20px !important;
}

.google-flow-step {
  width: 100%;
}

.google-accounts-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 0 15px 0 !important;
  border: 1px solid rgba(255, 122, 0, 0.15) !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  background: rgba(0, 0, 0, 0.25);
}

.google-account-item {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 12px 15px !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
  border-bottom: 1px solid rgba(255, 122, 0, 0.1) !important;
  text-align: left !important;
}

.google-account-item:last-child {
  border-bottom: none !important;
}

.google-account-item:hover {
  background-color: rgba(255, 122, 0, 0.05) !important;
}

.google-avatar {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, var(--neon-orange), var(--neon-purple)) !important;
  color: #000000 !important;
  font-family: var(--font-display);
  font-weight: bold !important;
  font-size: 1.1rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  box-shadow: 0 0 8px rgba(255, 122, 0, 0.3);
}

.google-acc-info {
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
}

.google-acc-name {
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  color: var(--text-primary) !important;
}

.google-acc-email {
  font-size: 0.75rem !important;
  color: var(--text-muted) !important;
}

.google-link-btn {
  background: transparent !important;
  border: none !important;
  color: var(--neon-orange) !important;
  font-family: var(--font-display) !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  padding: 6px 12px !important;
  border-radius: 4px !important;
  outline: none !important;
  transition: all 0.25s ease !important;
}

.google-link-btn:hover {
  background-color: rgba(255, 122, 0, 0.08) !important;
  box-shadow: 0 0 8px rgba(255, 122, 0, 0.1);
}

/* Campos de entrada manual */
.google-input-group {
  margin-bottom: 12px !important;
}

.google-input-group input {
  font-family: var(--font-body) !important;
  font-size: 0.9rem !important;
  padding: 10px 12px !important;
  color: var(--text-primary) !important;
  background: rgba(11, 6, 4, 0.7) !important;
  border: 1px solid rgba(255, 122, 0, 0.15) !important;
  border-radius: 6px !important;
  outline: none !important;
  transition: all 0.25s ease !important;
  width: 100% !important;
}

.google-input-group input:focus {
  border-color: var(--neon-orange) !important;
  box-shadow: 0 0 10px rgba(255, 122, 0, 0.25), inset 0 0 8px rgba(255, 122, 0, 0.08) !important;
  background: rgba(255, 122, 0, 0.03) !important;
}

.google-actions-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-top: 20px !important;
  width: 100% !important;
}

.google-btn-flat {
  background: transparent !important;
  border: none !important;
  color: var(--text-secondary) !important;
  font-family: var(--font-display) !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  padding: 8px 15px !important;
  border-radius: 4px !important;
  outline: none !important;
  transition: all 0.25s ease !important;
}

.google-btn-flat:hover {
  background-color: rgba(255, 255, 255, 0.03) !important;
  color: #fff !important;
}

.google-btn-blue {
  background: linear-gradient(135deg, rgba(255, 122, 0, 0.3), rgba(46, 204, 113, 0.1)) !important;
  border: 1px solid var(--neon-orange) !important;
  color: #ffffff !important;
  font-family: var(--font-display) !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  padding: 8px 20px !important;
  border-radius: 4px !important;
  outline: none !important;
  box-shadow: var(--glow-orange) !important;
  transition: all 0.25s ease !important;
}

.google-btn-blue:hover {
  background: linear-gradient(135deg, rgba(255, 122, 0, 0.5), rgba(46, 204, 113, 0.2)) !important;
  box-shadow: 0 0 20px rgba(255, 122, 0, 0.4) !important;
}

/* Spinner e status */
.google-spinner-container {
  display: flex !important;
  justify-content: center !important;
  margin: 20px 0 !important;
}

.google-spinner {
  width: 32px !important;
  height: 32px !important;
  border: 3px solid rgba(255, 122, 0, 0.1) !important;
  border-radius: 50% !important;
  border-top-color: var(--neon-orange) !important;
  animation: spin 0.8s linear infinite !important;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.google-loading-text {
  font-family: var(--font-mono);
  font-size: 0.8rem !important;
  color: var(--neon-orange) !important;
  letter-spacing: 1px;
}

/* Botão fechar */
.google-close-x {
  position: absolute !important;
  top: 12px !important;
  right: 16px !important;
  background: transparent !important;
  border: none !important;
  color: var(--text-muted) !important;
  font-size: 1.1rem !important;
  cursor: pointer !important;
  outline: none !important;
  padding: 4px !important;
  transition: color 0.2s ease !important;
}

.google-close-x:hover {
  color: var(--neon-orange) !important;
}

/* Responsividade Geral no Celular (Otimização de Espaço e Performance) */
@media (max-width: 768px) {
  .app-container {
    padding: 10px 8px !important; /* Abre as laterais esquerda e direita da tela */
  }
  
  .cyber-header {
    padding: 12px 10px !important;
    margin-bottom: 15px !important;
  }
  
  /* Oculta o 'Olá, usuário' no celular para que caiba a logo e botões sem quebrar linha */
  .user-welcome {
    display: none !important;
  }
  
  .header-user-menu {
    gap: 6px !important;
  }

  /* Desativa backdrop-filter (efeito de blur) no celular. Isso reduz o consumo de GPU em 90%,
     acabando com a lentidão e atraso ao clicar em botões e rolar a página. */
  .cyber-header, .cyber-card, .modal-overlay, .plan-card {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background-color: rgba(18, 11, 8, 0.96) !important; /* Torna o fundo um pouco mais escuro/opaco para manter o contraste */
  }

  .cyber-card {
    border-radius: 8px !important;
  }

  .card-header {
    padding: 10px 12px !important;
  }

  .card-body {
    padding: 15px 10px !important;
  }

  .input-row {
    flex-direction: column !important;
    gap: 12px !important;
    align-items: stretch !important;
  }

  .width-50 {
    width: 100% !important;
  }

  /* Modais e Overlays */
  .modal-overlay {
    align-items: flex-start !important;
    padding: 10px 6px !important;
  }

  .cyber-modal {
    margin: 10px auto !important;
    max-width: 100% !important;
    width: 100% !important;
    border-radius: 8px !important;
  }

  .modal-body {
    padding: 15px 10px !important;
  }

  /* Grades e Listas */
  .plans-grid {
    gap: 12px !important;
    padding: 5px 0 !important;
  }

  .plan-card {
    padding: 20px 12px !important;
  }

  /* Ajustes do mini-jogo no celular */
  .game-area-wrapper {
    padding: 10px !important;
    gap: 15px !important;
  }

  .keyboard-container {
    gap: 4px !important;
  }

  .key-btn {
    padding: 6px 0 !important;
    font-size: 0.72rem !important;
  }

  .word-display-container {
    font-size: 1.6rem !important;
    letter-spacing: 4px !important;
    min-height: 40px !important;
  }
}

/* ============================================================================
   ESTILOS DO PAINEL DO ADMINISTRADOR (admin-view)
   ============================================================================ */
.header-admin {
  background: linear-gradient(135deg, rgba(255, 122, 0, 0.05), rgba(224, 86, 253, 0.02)) !important;
  border-bottom: 1px solid rgba(255, 122, 0, 0.25) !important;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .admin-stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.admin-stat-box {
  background: rgba(15, 10, 8, 0.6);
  border: 1px solid rgba(255, 122, 0, 0.15);
  border-radius: 8px;
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.admin-stat-box:hover {
  border-color: var(--neon-orange);
  box-shadow: 0 0 20px rgba(255, 122, 0, 0.15);
  transform: translateY(-2px);
}

.admin-stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--neon-orange);
  text-shadow: 0 0 10px rgba(255, 122, 0, 0.3);
}

.admin-stat-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.admin-table-container {
  background: rgba(11, 6, 4, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 20px;
}

.admin-table-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  flex-wrap: wrap;
  gap: 15px;
}

.admin-table-header-row h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 1px;
}

.admin-table-wrapper {
  overflow-x: auto;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.85rem;
}

.admin-table th,
.admin-table td {
  padding: 12px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-table th {
  background-color: rgba(255, 122, 0, 0.05);
  color: var(--neon-orange);
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-table tbody tr {
  background: rgba(11, 6, 4, 0.6);
  transition: background-color 0.2s ease;
}

.admin-table tbody tr:hover {
  background-color: rgba(255, 122, 0, 0.03);
}

.admin-table td {
  color: var(--text-secondary);
  font-family: var(--font-body);
}

.admin-table td code {
  background: rgba(0, 0, 0, 0.3);
  padding: 3px 6px;
  border-radius: 4px;
  border: 1px solid rgba(255, 122, 0, 0.1);
}

.btn-delete-user {
  background: rgba(231, 76, 60, 0.05) !important;
  border: 1px solid rgba(231, 76, 60, 0.3) !important;
  color: #e74c3c !important;
  cursor: pointer;
  transition: all 0.25s ease !important;
}

.btn-delete-user:hover {
  background: rgba(231, 76, 60, 0.2) !important;
  border-color: #e74c3c !important;
  box-shadow: 0 0 10px rgba(231, 76, 60, 0.3) !important;
}

/* Botão de Alternância do Administrador no Cabeçalho */
.btn-admin-panel {
  background: linear-gradient(135deg, rgba(255, 122, 0, 0.05), rgba(224, 86, 253, 0.05));
  border: 1px solid var(--neon-orange);
  color: var(--neon-orange);
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 0.72rem;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
}

.btn-admin-panel:hover {
  background: linear-gradient(135deg, rgba(255, 122, 0, 0.2), rgba(224, 86, 253, 0.15));
  box-shadow: 0 0 10px rgba(255, 122, 0, 0.25);
  text-shadow: 0 0 5px #fff;
  color: #fff;
}

/* Modal de Histórico */
.admin-history-content {
  width: 900px !important;
  max-width: 95% !important;
  border-color: var(--neon-orange) !important;
  box-shadow: 0 0 30px rgba(255, 122, 0, 0.2) !important;
}

.admin-history-body {
  max-height: 400px;
  overflow-y: auto;
  padding: 20px !important;
}

/* Badges de Planos no Painel Admin */
.badge-plan {
  padding: 3px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: bold;
  border: 1px solid transparent;
  display: inline-block;
  text-transform: uppercase;
}

.badge-plan.nenhum {
  background: rgba(255, 255, 255, 0.03) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: var(--text-muted, #7f8c8d) !important;
  text-shadow: none !important;
}

.badge-plan.spark {
  background: rgba(255, 122, 0, 0.08);
  border-color: rgba(255, 122, 0, 0.3);
  color: var(--neon-orange);
  text-shadow: 0 0 5px rgba(255, 122, 0, 0.3);
}

.badge-plan.pulse {
  background: rgba(46, 204, 113, 0.08);
  border-color: rgba(46, 204, 113, 0.3);
  color: var(--neon-green);
  text-shadow: 0 0 5px rgba(46, 204, 113, 0.3);
}

.badge-plan.boost {
  background: rgba(0, 240, 255, 0.08);
  border-color: rgba(0, 240, 255, 0.3);
  color: #00f0ff;
  text-shadow: 0 0 5px rgba(0, 240, 255, 0.3);
}

.badge-plan.core {
  background: rgba(224, 86, 253, 0.08);
  border-color: rgba(224, 86, 253, 0.3);
  color: #f1c40f; /* Cor dourada premium para o plano Core */
  text-shadow: 0 0 5px rgba(241, 196, 15, 0.3);
  animation: pulse-gold 2s infinite alternate;
}

.badge-plan.pixel\ pro, .badge-plan.pixel-pro {
  background: rgba(155, 89, 182, 0.08);
  border-color: rgba(155, 89, 182, 0.3);
  color: #9b59b6;
  text-shadow: 0 0 5px rgba(155, 89, 182, 0.3);
}

@keyframes pulse-gold {
  0% { box-shadow: 0 0 5px rgba(241, 196, 15, 0.1); }
  100% { box-shadow: 0 0 10px rgba(241, 196, 15, 0.3); }
}

/* ALTERNADOR DE MODO DE GERAÇÃO */
.generation-mode-selector {
  display: flex;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 122, 0, 0.15);
  border-radius: 8px;
  padding: 4px;
  margin-bottom: 20px;
}
.generation-mode-selector .mode-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: #888;
  padding: 10px;
  font-family: inherit;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.generation-mode-selector .mode-btn:hover {
  color: #fff;
  background: rgba(255, 122, 0, 0.05);
}
.generation-mode-selector .mode-btn.active {
  background: var(--neon-orange, #ff7a00);
  color: #fff;
  box-shadow: 0 0 10px rgba(255, 122, 0, 0.3);
}
.generation-mode-selector .mode-btn.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* PREMIUM REFERÊNCIA PREVIEW E EFEITOS */
.preview-cyber-frame {
  position: relative;
  width: 130px;
  height: 130px;
  background: #050302;
  border: 1px solid var(--neon-orange);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(255, 122, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.preview-cyber-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.preview-scanline {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--neon-orange);
  opacity: 0.5;
  animation: scan-vertical 1.5s linear infinite;
  pointer-events: none;
}
.preview-corners span {
  position: absolute;
  width: 8px;
  height: 8px;
  border: 2px solid var(--neon-orange);
  pointer-events: none;
}
.preview-corners .c-top-left { top: 2px; left: 2px; border-right: none; border-bottom: none; }
.preview-corners .c-top-right { top: 2px; right: 2px; border-left: none; border-bottom: none; }
.preview-corners .c-bottom-left { bottom: 2px; left: 2px; border-right: none; border-top: none; }
.preview-corners .c-bottom-right { bottom: 2px; right: 2px; border-left: none; border-top: none; }

.preview-info-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  margin-top: 5px;
}
.preview-filename {
  color: #fff;
  font-weight: bold;
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.preview-status {
  color: var(--neon-green);
  text-shadow: 0 0 5px rgba(46, 204, 113, 0.4);
  font-size: 0.65rem;
  letter-spacing: 0.5px;
}

.btn-remove-upload-premium {
  background: rgba(231, 76, 60, 0.1);
  border: 1px solid rgba(231, 76, 60, 0.3);
  color: #e74c3c;
  padding: 4px 10px;
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 5px;
}
.btn-remove-upload-premium:hover {
  background: rgba(231, 76, 60, 0.2);
  border-color: #e74c3c;
  box-shadow: 0 0 8px rgba(231, 76, 60, 0.2);
}

.btn-orange-glow {
  background: linear-gradient(135deg, var(--neon-orange), #ff9f43) !important;
  border-color: var(--neon-orange) !important;
  box-shadow: 0 0 15px rgba(255, 122, 0, 0.4) !important;
}
.btn-orange-glow:hover {
  box-shadow: 0 0 25px rgba(255, 122, 0, 0.6) !important;
}

