:root {
  --primary: #ff007f;
  --bg: #000;
  --card-bg: rgba(10, 10, 10, 0.85);
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

body {
  background: var(--bg);
  color: white;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 20px;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

#lightningCanvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.container {
  width: 100%;
  max-width: 400px;
  padding: 25px;
  border: 1px solid var(--primary);
  border-radius: 25px;
  background: var(--card-bg);
  box-shadow: 0 0 30px rgba(255, 0, 127, 0.15);
  text-align: center;
  backdrop-filter: blur(6px);
}

h1 {
  color: var(--primary);
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 25px;
  text-shadow: 0 0 10px rgba(255, 0, 127, 0.4);
}

input[type="text"] {
  width: 100%;
  padding: 14px;
  background: #151515;
  border: 1px solid #333;
  border-radius: 12px;
  color: white;
  text-align: center;
  margin-bottom: 15px;
  font-size: 16px;
}

.btn-main {
  width: 100%;
  padding: 16px;
  background: var(--primary);
  border: none;
  border-radius: 12px;
  color: white;
  font-weight: bold;
  letter-spacing: 1px;
  cursor: pointer;
}

.btn-injetado {
  box-shadow: 0 0 15px var(--primary);
}

#panel-screen {
  display: none;
  text-align: left;
}

.option-card {
  background: rgba(17, 17, 17, 0.8);
  border: 1px solid #222;
  border-radius: 15px;
  padding: 12px 15px;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.info h3 {
  font-size: 14px;
  margin: 0;
}

.info p {
  font-size: 11px;
  margin-top: 3px;
  color: #666;
}

.switch {
  width: 42px;
  height: 22px;
  position: relative;
}

.switch input {
  display: none;
}

.slider {
  position: absolute;
  inset: 0;
  background: #333;
  border-radius: 30px;
  cursor: pointer;
  transition: .3s;
}

.slider::before {
  content: "";
  width: 16px;
  height: 16px;
  background: white;
  position: absolute;
  left: 3px;
  bottom: 3px;
  border-radius: 50%;
  transition: .3s;
}

input:checked + .slider {
  background: var(--primary);
}

input:checked + .slider::before {
  transform: translateX(20px);
}

#injection-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.95);
  border-radius: 23px;
  display: none;
  z-index: 10;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.spinner {
  width: 35px;
  height: 35px;
  border: 3px solid rgba(255,0,127,.2);
  border-left-color: var(--primary);
  border-radius: 50%;
  animation: spin .8s linear infinite;
  margin-bottom: 15px;
}

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

.footer-text {
  text-align: center;
  font-size: 10px;
  color: #444;
  margin-top: 15px;
  text-transform: uppercase;
}