@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@500;600;700&family=JetBrains+Mono:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --cyber-bg: #03070c;
  --cyber-surface: rgba(7, 15, 24, 0.86);
  --cyber-surface-2: rgba(10, 22, 34, 0.92);
  --cyber-emerald: #00f5a0;
  --cyber-cyan: #00d9f5;
  --cyber-red: #ff3b5c;
  --cyber-amber: #ffb020;
  --cyber-border: rgba(0, 217, 245, 0.28);
}

* {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  box-sizing: border-box;
}

*::-webkit-scrollbar {
  display: none;
}

body {
  margin: 0;
  padding: 0;
  color: #e2f1ff;
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 217, 245, 0.12), transparent 55%),
    radial-gradient(circle at 50% 100%, rgba(0, 245, 160, 0.08), transparent 50%),
    #020509;
  min-height: 100vh;
  overflow-x: hidden;
}

.font-cyber {
  font-family: 'Chakra Petch', sans-serif;
  letter-spacing: 0.06em;
}

.font-mono-tech {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
}

/* Mobile-only centered viewport shell across all screen sizes */
.mobile-shell {
  width: 100%;
  max-width: 438px;
  min-height: 100vh;
  margin: 0 auto;
  position: relative;
  overflow-x: hidden;
  background-color: var(--cyber-bg);
  box-shadow:
    0 0 80px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(0, 217, 245, 0.22);
}

/* Subtle tech grid + scanlines */
.cyber-grid-overlay {
  background-image:
    linear-gradient(rgba(0, 217, 245, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 217, 245, 0.05) 1px, transparent 1px);
  background-size: 26px 26px;
}

.cyber-scanlines {
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0px,
    rgba(255, 255, 255, 0) 2px,
    rgba(0, 245, 160, 0.025) 3px,
    rgba(0, 0, 0, 0.12) 4px
  );
}

/* Cyber Panel with HUD corner accents */
.cyber-card {
  position: relative;
  background: linear-gradient(165deg, rgba(10, 22, 34, 0.9) 0%, rgba(5, 11, 18, 0.95) 100%);
  border: 1px solid rgba(0, 217, 245, 0.26);
  border-radius: 14px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 12px 40px rgba(0, 0, 0, 0.65),
    inset 0 0 28px rgba(0, 217, 245, 0.06);
}

.cyber-card::before,
.cyber-card::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
}

.cyber-card::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid var(--cyber-emerald);
  border-left: 2px solid var(--cyber-emerald);
  border-top-left-radius: 14px;
}

.cyber-card::after {
  bottom: -1px;
  right: -1px;
  border-bottom: 2px solid var(--cyber-cyan);
  border-right: 2px solid var(--cyber-cyan);
  border-bottom-right-radius: 14px;
}

/* Terminal Input Styling */
.cyber-input-wrap {
  background: rgba(3, 9, 15, 0.85);
  border: 1px solid rgba(0, 217, 245, 0.28);
  border-radius: 10px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.cyber-input-wrap:focus-within {
  border-color: var(--cyber-emerald);
  background: rgba(5, 14, 22, 0.95);
  box-shadow: 0 0 0 3px rgba(0, 245, 160, 0.14), 0 0 18px rgba(0, 245, 160, 0.18);
}

.cyber-input-wrap.input-error {
  border-color: var(--cyber-red);
  box-shadow: 0 0 0 3px rgba(255, 59, 92, 0.16);
}

.cyber-input {
  background: transparent !important;
  color: #f0f9ff;
  outline: none;
}

.cyber-input::placeholder {
  color: rgba(148, 163, 184, 0.65);
}

.cyber-input:-webkit-autofill,
.cyber-input:-webkit-autofill:hover,
.cyber-input:-webkit-autofill:focus,
.cyber-input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px #040b12 inset !important;
  -webkit-text-fill-color: #f0f9ff !important;
}

/* Cyber Execute Button */
.btn-cyber-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #00f5a0 0%, #00d9f5 100%);
  color: #021017;
  font-weight: 800;
  letter-spacing: 0.06em;
  border-radius: 10px;
  box-shadow:
    0 0 24px rgba(0, 245, 160, 0.35),
    0 6px 18px rgba(0, 0, 0, 0.45);
  transition: transform 0.15s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.btn-cyber-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  animation: cyberSweep 3.2s infinite;
}

.btn-cyber-primary:hover:not(:disabled) {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow:
    0 0 32px rgba(0, 245, 160, 0.55),
    0 8px 22px rgba(0, 0, 0, 0.55);
}

.btn-cyber-primary:active:not(:disabled) {
  transform: translateY(0);
}

.btn-cyber-primary:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Agency Register CTA */
.btn-register-cta {
  background: linear-gradient(135deg, #ff8a00 0%, #ff2e54 100%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 0 24px rgba(255, 46, 84, 0.4);
  transition: transform 0.15s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.btn-register-cta:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(255, 138, 0, 0.55);
}

/* Radar animations */
@keyframes spinSlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes spinReverse {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

@keyframes cyberSweep {
  0% {
    left: -120%;
  }
  45%,
  100% {
    left: 160%;
  }
}

@keyframes modalPop {
  0% {
    opacity: 0;
    transform: scale(0.93) translateY(8px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.animate-spin-slow {
  animation: spinSlow 14s linear infinite;
}

.animate-spin-reverse {
  animation: spinReverse 9s linear infinite;
}

.animate-modal-pop {
  animation: modalPop 0.2s ease-out forwards;
}

/* Slot Jackpot Scanner Card (matching reference screenshot) */
.slot-card {
  position: relative;
  background:
    radial-gradient(circle at 78% 48%, rgba(0, 217, 245, 0.14), transparent 45%),
    linear-gradient(170deg, rgba(6, 15, 24, 0.94) 0%, rgba(2, 6, 12, 0.98) 100%);
  border: 1px solid rgba(0, 217, 245, 0.28);
  border-radius: 12px;
  padding: 10px 8px 9px;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.55);
}

.slot-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 245, 160, 0.65);
  box-shadow: 0 0 22px rgba(0, 245, 160, 0.2);
}

.slot-meter-frame {
  position: relative;
  flex: 1;
  height: 22px;
  background: rgba(18, 4, 12, 0.9);
  border: 1.5px solid #e11d48;
  border-radius: 4px 2px 6px 4px;
  padding: 4px 5px;
  display: flex;
  align-items: center;
  box-shadow: inset 0 0 8px rgba(225, 29, 72, 0.35), 0 0 8px rgba(225, 29, 72, 0.25);
}

.slot-meter-track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(80, 12, 32, 0.75);
  overflow: hidden;
}

.slot-meter-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #38bdf8 0%, #60a5fa 60%, #00f5a0 100%);
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.85);
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.slot-pct-box {
  position: relative;
  padding-left: 6px;
  padding-right: 2px;
  border-top: 1.5px solid #e11d48;
  border-right: 1.5px solid #e11d48;
  border-top-right-radius: 3px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  min-width: 52px;
}

.slot-pct-slashes {
  display: flex;
  gap: 3px;
  margin-top: 1px;
}

.slot-pct-slashes span {
  width: 9px;
  height: 4px;
  background: #f43f5e;
  transform: skewX(-28deg);
  display: block;
}

.filter-pill-active {
  background: linear-gradient(135deg, rgba(0, 245, 160, 0.22), rgba(0, 217, 245, 0.22));
  border-color: #00f5a0 !important;
  color: #ffffff !important;
  box-shadow: 0 0 12px rgba(0, 245, 160, 0.25);
}

