/* ==========================================================================
   AI CASINO SYSTEM DESIGN STYLESHEET
   ========================================================================== */

:root {
  /* HSL Palette */
  --bg-darker: hsl(220, 15%, 5%);
  --bg-dark: hsl(220, 12%, 8%);
  --cabinet-base: hsl(220, 10%, 14%);
  --cabinet-highlight: hsl(220, 10%, 25%);
  --chrome-light: hsl(0, 0%, 90%);
  --chrome-dark: hsl(0, 0%, 20%);
  
  /* Nixie / Glowing Colors */
  --color-amber: hsl(24, 100%, 50%);
  --color-amber-dim: hsl(24, 80%, 20%);
  --color-green: hsl(145, 100%, 45%);
  --color-red: hsl(0, 100%, 50%);
  --color-cream: hsl(45, 20%, 96%);

  /* Animation Timings */
  --spring-transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);

  /* Casino background video tuning */
  --casino-bg-video-opacity: 0.62;
  --casino-bg-overlay-opacity: 0.82;
}

/* Reset and Layout Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #070606;
  color: var(--color-cream);
  font-family: 'Outfit', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

.casino-bg-video-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: #070606;
}

.casino-bg-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  opacity: var(--casino-bg-video-opacity);
  filter: saturate(1.08) contrast(1.06);
}

.casino-bg-overlay {
  position: absolute;
  inset: 0;
  opacity: var(--casino-bg-overlay-opacity);
  background:
    radial-gradient(circle at 50% 18%, rgba(7, 6, 6, 0.22), rgba(7, 6, 6, 0.7) 48%, rgba(7, 6, 6, 0.95) 100%),
    linear-gradient(180deg, rgba(7, 6, 6, 0.36), rgba(7, 6, 6, 0.86));
}

/* Ambient glow points */
.ambient-glow {
  display: none;
}

.orange-glow {
  top: 10%;
  right: 15%;
  width: 500px;
  height: 500px;
  background-color: var(--color-amber);
}

.green-glow {
  bottom: 10%;
  left: 10%;
  width: 600px;
  height: 600px;
  background-color: var(--color-green);
}

/* Viewport Wrapper */
.viewport-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Console Header Bar */
.console-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 15px;
  margin-top: 10px;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-accent {
  font-size: 1.5rem;
  color: var(--color-amber);
  animation: pulse 2s ease-in-out infinite;
}

.console-header h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.divider {
  opacity: 0.3;
  font-weight: 300;
}

.system-status {
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.header-status-group {
  display: flex;
  align-items: center;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.4);
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.led-light {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  box-shadow: 0 0 8px currentColor;
}

.led-green {
  background-color: var(--color-green);
  color: var(--color-green);
}

.led-amber {
  background-color: var(--color-amber);
  color: var(--color-amber);
}

.led-orange {
  background-color: hsl(35, 100%, 50%);
  color: hsl(35, 100%, 50%);
}

.led-red {
  background-color: var(--color-red);
  color: var(--color-red);
}

.status-text {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 1px;
}

/* --------------------------------------------------------------------------
   Physical Cabinet Styles (Tactile Borders & Skeuomorphism)
   -------------------------------------------------------------------------- */

.cabinet-panel {
  background: linear-gradient(135deg, #cc583b, #9c3e26); /* Premium Claude orange/clay robot body */
  border: 4px solid #7a2e1b;
  box-shadow: 
    inset 2px 2px 0 rgba(255, 255, 255, 0.2),
    inset -2px -2px 0 rgba(0, 0, 0, 0.45),
    0 20px 45px rgba(0, 0, 0, 0.7);
  border-radius: 24px; /* Soft rounded clay feel */
  position: relative;
  overflow: hidden;
}

.panel-header {
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.panel-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--color-cream);
}

.panel-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  opacity: 0.4;
}

/* Centered Console Layout */
.console-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 20px auto;
}


/* /* --------------------------------------------------------------------------
   3D Canvas Wrapper & Control Panel Layout
   -------------------------------------------------------------------------- */

.panel-center {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.robot-3d-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.canvas-container {
  width: 100%;
  height: 548px;
  background: transparent;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

#robot-3d-scene {
  width: 100%;
  height: 100%;
  display: block;
}

.skill-prize-badge {
  position: absolute;
  left: 50%;
  bottom: 5px;
  z-index: 5;
  width: min(210px, 48%);
  min-height: 44px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  background:
    linear-gradient(180deg, rgba(255, 247, 225, 0.1), transparent 28%),
    radial-gradient(circle at 50% 0%, rgba(242, 166, 90, 0.28), transparent 62%),
    linear-gradient(180deg, #21140d, #070606);
  border: 2px solid rgba(242, 166, 90, 0.88);
  border-radius: 9px 9px 5px 5px;
  box-shadow:
    inset 0 1px 0 rgba(255, 247, 225, 0.18),
    inset 0 -4px 10px rgba(0, 0, 0, 0.48),
    0 0 18px rgba(242, 166, 90, 0.22),
    0 10px 18px rgba(0, 0, 0, 0.46);
  color: #fff4df;
  font-family: 'JetBrains Mono', monospace;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 2px;
  line-height: 1;
  text-align: center;
  text-shadow:
    0 0 8px rgba(242, 166, 90, 0.84),
    0 2px 1px rgba(0, 0, 0, 0.82);
  pointer-events: none;
}

.operator-feed-card {
  position: absolute;
  right: 28px;
  bottom: calc(100% + 14px);
  width: 128px;
  z-index: 6;
  pointer-events: none;
}

.operator-feed-frame {
  position: relative;
  aspect-ratio: 1.6 / 1;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.operator-feed-frame::before {
  content: none;
}

.operator-feed-frame::after {
  content: none;
}

.operator-feed-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 56%;
  mix-blend-mode: lighten;
  filter: saturate(1.18) contrast(2.15) brightness(0.92) drop-shadow(0 8px 10px rgba(0, 0, 0, 0.35));
}

/* Control Deck Panel (Matches the robot bottom style) */
.control-deck {
  width: calc(100% - 44px);
  display: grid;
  grid-template-columns: 106px minmax(160px, 1fr) 102px;
  align-items: center;
  gap: 11px;
  margin-top: 28px;
  padding: 10px 12px;
  min-height: 72px;
  background:
    radial-gradient(circle at 50% -30%, rgba(242, 166, 90, 0.1), transparent 42%),
    linear-gradient(180deg, rgba(24, 28, 31, 0.98), rgba(8, 10, 12, 0.98));
  border: 2px solid #7a2e1b;
  border-radius: 16px;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -5px 14px rgba(0, 0, 0, 0.44),
    0 18px 34px rgba(0, 0, 0, 0.64);
  overflow: hidden;
  position: relative;
}

.control-deck::before {
  content: '';
  position: absolute;
  inset: 0 16px auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(242, 166, 90, 0.62), transparent);
  opacity: 0.42;
  pointer-events: none;
}

.control-deck::after {
  content: '';
  position: absolute;
  inset: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 11px;
  pointer-events: none;
}

/* Nixie Tube Credit Counter */
.nixie-box {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 123, 0, 0.16), transparent 58%),
    linear-gradient(180deg, #030303, #080604 58%, #020202);
  border: 1px solid rgba(242, 166, 90, 0.18);
  box-shadow:
    inset 0 2px 12px rgba(0, 0, 0, 0.92),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05),
    0 0 0 4px rgba(0, 0, 0, 0.28);
  border-radius: 6px;
  padding: 7px 7px 6px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.nixie-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.42rem;
  letter-spacing: 1.3px;
  opacity: 0.58;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.nixie-digits {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1.34rem;
  font-weight: bold;
  letter-spacing: 2px;
  color: var(--color-amber-dim);
  text-shadow: 0 0 2px rgba(255, 123, 0, 0.1);
  transition: all 0.3s ease;
}

.nixie-digits.active {
  color: var(--color-amber);
  text-shadow: 
    0 0 4px rgba(255, 123, 0, 0.5),
    0 0 10px rgba(255, 123, 0, 0.9);
}

/* Engage Trigger Button */
.action-btn {
  background:
    linear-gradient(180deg, #050607, #14171a);
  border: 1px solid rgba(0, 0, 0, 0.95);
  border-radius: 7px;
  padding: 4px;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 8px 16px rgba(0,0,0,0.36);
  outline: none;
  position: relative;
  z-index: 1;
}

.btn-face {
  display: block;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent 18%),
    linear-gradient(to bottom, hsl(24, 100%, 46%), hsl(24, 100%, 31%));
  border: 1px solid hsl(24, 100%, 52%);
  border-radius: 4px;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.7px;
  padding: 10px 10px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.5);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    inset 0 -2px 0 rgba(0, 0, 0, 0.32),
    0 0 16px rgba(255, 123, 0, 0.13);
  transition: background 0.2s, transform 0.1s;
}

.action-btn:hover:not(:disabled) .btn-face {
  background: linear-gradient(to bottom, hsl(24, 100%, 50%), hsl(24, 100%, 40%));
}

.action-btn:active:not(:disabled) {
  transform: translateY(2px);
  box-shadow: 0 2px 3px rgba(0,0,0,0.4);
}

.action-btn:active:not(:disabled) .btn-face {
  background: linear-gradient(to bottom, hsl(24, 100%, 35%), hsl(24, 100%, 30%));
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
}

.action-btn:disabled {
  cursor: not-allowed;
  opacity: 1;
}

.action-btn:disabled .btn-face {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 20%),
    linear-gradient(180deg, #25282b, #17191c);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(247, 246, 243, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 -2px 0 rgba(0, 0, 0, 0.34);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.8);
}

/* Audio Toggle Switch */
.audio-switch-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 7px 7px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(0, 0, 0, 0.24));
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 6px 14px rgba(0, 0, 0, 0.24);
  position: relative;
  z-index: 1;
}

.toggle-switch {
  width: 44px;
  height: 22px;
  background: #111;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 11px;
  position: relative;
  cursor: pointer;
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.8);
}

.switch-knob {
  width: 16px;
  height: 16px;
  background: linear-gradient(135deg, #ccc, #888);
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.4), inset 1px 1px 0 rgba(255,255,255,0.2);
  transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.toggle-switch.active {
  background: var(--color-green);
  box-shadow: inset 0 2px 5px rgba(0,0,0,0.5), 0 0 10px rgba(0, 230, 118, 0.4);
}

.toggle-switch.active .switch-knob {
  transform: translateX(22px);
  background: linear-gradient(135deg, #fff, #bbb);
}

/* --------------------------------------------------------------------------
   Testimonial Drawer Section
   -------------------------------------------------------------------------- */

.testimonial-section {
  width: 100%;
  overflow: visible;
}

.visitor-pass-form {
  display: grid;
  grid-template-columns: minmax(190px, 0.8fr) 1.6fr;
  align-items: center;
  gap: 16px;
  margin: 16px 18px 14px;
  padding: 14px 16px;
  background:
    radial-gradient(circle at 0% 50%, rgba(242, 166, 90, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(14, 18, 20, 0.96), rgba(5, 6, 7, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-left-color: rgba(242, 166, 90, 0.76);
  border-radius: 10px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 12px 24px rgba(0, 0, 0, 0.28);
}

.visitor-pass-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: 'Space Grotesk', sans-serif;
  letter-spacing: 1px;
}

.visitor-pass-copy span,
.visitor-pass-note {
  color: rgba(247, 246, 243, 0.58);
  font-size: 0.72rem;
  font-weight: 700;
}

.visitor-pass-copy strong {
  color: var(--color-cream);
  font-size: 1.08rem;
  line-height: 1;
}

.visitor-pass-note {
  color: rgba(247, 246, 243, 0.54);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.5px;
}

.visitor-pass-fields {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
}

.visitor-pass-fields input {
  min-width: 0;
  background: #090b0d;
  border: 1px solid hsl(220, 8%, 20%);
  border-radius: 4px;
  padding: 11px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--color-cream);
  outline: none;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
}

.visitor-pass-fields input:focus {
  border-color: var(--color-amber);
  box-shadow:
    inset 0 2px 4px rgba(0,0,0,0.5),
    0 0 8px rgba(255, 123, 0, 0.25);
}

.visitor-pass-btn {
  background: #111;
  border: 1px solid rgba(255, 123, 0, 0.48);
  border-radius: 4px;
  color: var(--color-cream);
  cursor: pointer;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 0 14px;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.visitor-pass-btn:hover:not(:disabled) {
  background: rgba(255, 123, 0, 0.16);
  border-color: var(--color-amber);
}

.visitor-pass-btn:active:not(:disabled) {
  transform: translateY(1px);
}

.visitor-pass-btn:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.reward-mode-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 10px 18px;
  background: rgba(0, 0, 0, 0.18);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.reward-mode-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  color: rgba(247, 246, 243, 0.78);
}

.reward-mode-scale {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  color: rgba(247, 246, 243, 0.62);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.8px;
}

.reward-mode-scale span {
  border: 1px solid rgba(242, 166, 90, 0.28);
  border-radius: 999px;
  padding: 3px 7px;
  background: rgba(0, 0, 0, 0.18);
}

.tab-selector {
  display: flex;
  gap: 1px;
  background: rgba(0, 0, 0, 0.34);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.tab-btn {
  flex: 1;
  background: rgba(91, 32, 22, 0.34);
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--color-cream);
  opacity: 0.64;
  padding: 16px 16px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: background 0.2s, opacity 0.2s, color 0.2s;
  text-align: left;
}

.tab-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: grid;
  place-items: center;
  color: rgba(255, 244, 223, 0.94);
  background: linear-gradient(180deg, #1b1411, #060504);
  border: 1px solid rgba(242, 166, 90, 0.55);
  border-radius: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 0 0 1px rgba(0, 0, 0, 0.45),
    0 8px 16px rgba(0, 0, 0, 0.22);
}

.tab-icon svg {
  width: 28px;
  height: 28px;
  overflow: visible;
  filter: drop-shadow(0 0 6px rgba(242, 166, 90, 0.36));
}

.icon-panel {
  fill: rgba(242, 166, 90, 0.2);
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linejoin: round;
}

.icon-line {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-cutout {
  fill: currentColor;
}

.tab-copy {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.tab-copy > span:last-child {
  white-space: nowrap;
}

.tab-btn:hover {
  opacity: 0.82;
  background: rgba(0, 0, 0, 0.14);
}

.tab-btn.active {
  opacity: 1;
  background:
    linear-gradient(180deg, rgba(255, 123, 0, 0.12), rgba(0, 0, 0, 0.16)),
    rgba(128, 54, 36, 0.58);
  box-shadow:
    inset 0 3px 0 var(--color-amber),
    inset 0 -1px 0 rgba(255, 255, 255, 0.12);
}

.tab-btn.active .tab-icon {
  color: #fff4df;
  border-color: var(--color-amber);
  background:
    radial-gradient(circle at 50% 35%, rgba(242, 166, 90, 0.28), transparent 56%),
    linear-gradient(180deg, #241710, #070504);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 0 14px rgba(242, 166, 90, 0.22),
    0 8px 18px rgba(0, 0, 0, 0.32);
}

.tab-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  font-weight: bold;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2px 6px;
  border-radius: 10px;
}

.premium-badge {
  border-color: var(--color-amber);
  color: var(--color-amber);
  background: rgba(255, 123, 0, 0.1);
}

.tab-content {
  padding: 24px;
}

.tab-content.hidden {
  display: none !important;
}

/* Form inputs styling */
.testimonial-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.input-group label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--color-cream);
  opacity: 0.6;
}

.input-group input,
.input-group textarea,
.input-group select {
  background: #090b0d;
  border: 1px solid hsl(220, 8%, 20%);
  border-radius: 4px;
  padding: 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  color: var(--color-cream);
  outline: none;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.input-group select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(247, 246, 243, 0.8) 50%),
    linear-gradient(135deg, rgba(247, 246, 243, 0.8) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.quote-consent {
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: rgba(247, 246, 243, 0.76);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.6px;
  line-height: 1.35;
}

.quote-consent input {
  width: 16px;
  height: 16px;
  accent-color: var(--color-amber);
  flex: 0 0 auto;
}

.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {
  border-color: var(--color-amber);
  box-shadow: 
    inset 0 2px 4px rgba(0,0,0,0.5),
    0 0 8px rgba(255, 123, 0, 0.25);
}

.engage-btn {
  background: #000;
  border: 1px solid rgba(255,255,255,0.05);
  padding: 3px;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.engage-btn-face {
  display: block;
  background: linear-gradient(to bottom, hsl(145, 100%, 35%), hsl(145, 100%, 25%));
  border: 1px solid var(--color-green);
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: bold;
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  text-align: center;
  padding: 14px;
  border-radius: 3px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: background 0.2s;
}

.engage-btn:hover .engage-btn-face {
  background: linear-gradient(to bottom, hsl(145, 100%, 40%), hsl(145, 100%, 30%));
}

.engage-btn:active {
  transform: translateY(2px);
}

.engage-btn:active .engage-btn-face {
  background: linear-gradient(to bottom, hsl(145, 100%, 25%), hsl(145, 100%, 20%));
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
}

/* --------------------------------------------------------------------------
   Optical Video Capture Grid & Camera styling
   -------------------------------------------------------------------------- */

.video-grid {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 20px;
}

.optical-feed-box {
  background: #000;
  border: 2px solid hsl(220, 8%, 15%);
  border-radius: 6px;
  height: 240px;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: inset 0 5px 15px rgba(0, 0, 0, 0.9);
}

.feed-grid-mask {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
  z-index: 3;
}

.feed-overlay {
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  display: flex;
  justify-content: space-between;
  z-index: 4;
}

.feed-status {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  background: rgba(0, 0, 0, 0.8);
  padding: 4px 8px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--color-red);
  display: flex;
  align-items: center;
  gap: 6px;
}

.feed-status.recording {
  color: var(--color-green);
}

.feed-status.recording::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--color-green);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--color-green);
  animation: led-blink 1s step-start infinite;
}

.feed-timer {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  background: rgba(0, 0, 0, 0.8);
  padding: 4px 8px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  letter-spacing: 0.5px;
}

#webcam-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  display: none;
}

.feed-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.3);
  z-index: 2;
  text-align: center;
}

.lens-aperture {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  position: relative;
}

.lens-aperture::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.feed-placeholder p {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 1px;
}

.optical-controls {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}

.opt-btn {
  background: #111;
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--color-cream);
  padding: 12px;
  border-radius: 4px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s, border-color 0.2s;
}

.opt-btn:hover:not(:disabled) {
  background: #181c20;
  border-color: rgba(255,255,255,0.2);
}

.opt-btn:disabled {
  opacity: 1;
  cursor: not-allowed;
  background: rgba(17, 17, 17, 0.92);
  border-color: rgba(255, 255, 255, 0.14);
  color: rgba(247, 246, 243, 0.58);
  text-shadow: none;
}

.btn-record:disabled {
  background: rgba(126, 48, 34, 0.64);
  border-color: rgba(255, 205, 181, 0.38);
  color: rgba(255, 242, 236, 0.9);
}

.btn-record {
  background: rgba(255, 0, 0, 0.05);
  border-color: rgba(255, 0, 0, 0.2);
  color: hsl(0, 100%, 70%);
}

.btn-record:hover:not(:disabled) {
  background: rgba(255, 0, 0, 0.15);
  border-color: var(--color-red);
}

.btn-record.recording-active {
  background: var(--color-red);
  color: #fff;
  border-color: var(--color-red);
  box-shadow: 0 0 12px rgba(255,0,0,0.5);
  animation: led-blink 1s step-start infinite;
}

.opt-separator {
  text-align: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  opacity: 0.3;
  letter-spacing: 1px;
  margin: 4px 0;
}

.btn-upload-label {
  display: block;
}

.headshot-upload-label {
  width: min(100%, 320px);
  min-width: 0;
  border-color: rgba(242, 166, 90, 0.36);
}

.headshot-status {
  color: rgba(247, 246, 243, 0.6);
  margin-top: 2px;
  font-size: 0.78rem;
  line-height: 1.35;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.48);
}

.headshot-status.has-file {
  color: #fff;
  font-weight: 700;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.28), 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* --------------------------------------------------------------------------
   Premium Skill Cartridge Readout Modal (Unlock Reveal)
   -------------------------------------------------------------------------- */

.skill-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.skill-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.skill-modal {
  width: 100%;
  max-width: 480px;
  transform: translateY(40px) scale(0.95);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.skill-modal-overlay.active .skill-modal {
  transform: translateY(0) scale(1);
}

.close-modal-btn {
  background: transparent;
  border: none;
  color: var(--color-cream);
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0.6;
}

.close-modal-btn:hover {
  opacity: 1;
}

.modal-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.cartridge-badge-lg {
  background: var(--color-amber);
  color: #000;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 2px;
  padding: 6px 16px;
  border-radius: 4px;
  box-shadow: 0 0 15px rgba(255, 123, 0, 0.5);
  margin-bottom: 8px;
}

.modal-body h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.modal-description {
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.8;
  max-width: 380px;
}

.delivery-note {
  max-width: 390px;
  color: rgba(247, 246, 243, 0.68);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  line-height: 1.5;
}

/* Monospace Terminal Code Box */
.terminal-box {
  width: 100%;
  background: #060809;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 6px;
  overflow: hidden;
  margin-top: 10px;
  text-align: left;
}

.terminal-header {
  background: rgba(0, 0, 0, 0.4);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.terminal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}

.terminal-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.6rem;
  opacity: 0.4;
  margin-left: 6px;
}

.terminal-body {
  padding: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.terminal-body .prompt {
  color: var(--color-amber);
}

.terminal-body .cmd {
  flex: 1;
  color: var(--color-cream);
  word-break: break-all;
}

.copy-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-cream);
  padding: 4px 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

.copy-btn.copied {
  background: var(--color-green);
  border-color: var(--color-green);
  color: #000;
}

.modal-actions {
  width: 100%;
  margin-top: 10px;
  display: grid;
  gap: 10px;
}

.modal-actions .opt-btn,
.modal-actions a.opt-btn {
  width: 100%;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.download-prize-btn {
  border-color: rgba(255, 123, 0, 0.82);
  background: linear-gradient(180deg, rgba(255, 123, 0, 0.95), rgba(180, 64, 0, 0.95));
  color: #fff;
  box-shadow: 0 0 22px rgba(255, 123, 0, 0.24);
}

.download-prize-btn:hover {
  box-shadow: 0 0 28px rgba(255, 123, 0, 0.36);
}

.download-prize-btn.disabled,
.copy-link-btn:disabled {
  opacity: 0.45;
  pointer-events: none;
  filter: grayscale(1);
}

/* Glow Text Utilities */
.text-nixie-glow {
  color: var(--color-amber);
  text-shadow: 0 0 5px rgba(255, 123, 0, 0.5);
  font-family: 'JetBrains Mono', monospace;
}

/* Animations */
@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.1); }
}

/* --------------------------------------------------------------------------
   Mobile Layout Adjustments
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .console-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .operator-feed-card {
    right: 18px;
    bottom: calc(100% + 10px);
    width: min(128px, 28vw);
  }
}

@media (max-width: 768px) {
  .viewport-wrapper {
    padding: 10px;
  }

  .console-header {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .header-status-group {
    width: 100%;
  }

  .status-indicator {
    width: 100%;
    justify-content: center;
  }

  .panel-center {
    padding-right: 0; /* Align slot cabinet centered */
    display: flex;
    flex-direction: column;
  }

  /* Lever position shift for mobile accessibility */
  .lever-assembly {
    position: relative;
    top: 0;
    right: 0;
    width: 100%;
    height: 90px;
    margin-top: 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
  }

  .lever-housing {
    position: relative;
    bottom: auto;
    left: auto;
  }

  .lever-arm {
    position: absolute;
    bottom: 20px;
    left: 50%;
    margin-left: -3px;
    height: 80px;
  }

  .lever-arm.pulling {
    /* Push forward on mobile instead of side pivot */
    transform: rotate(0deg) scaleY(0.4) translateY(20px);
  }

  .cabinet-controls {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .visitor-pass-form,
  .visitor-pass-fields {
    grid-template-columns: 1fr;
  }

  .reward-mode-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .reward-mode-scale {
    justify-content: flex-start;
  }

  .visitor-pass-btn {
    min-height: 42px;
  }

  .video-grid {
    grid-template-columns: 1fr;
  }

  .input-row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   ULTRA-PREMIUM SKEUOMORPHIC TEXTURES & ANIMATIONS
   ========================================================================== */

/* Diamond Knurled Grid Texture */
.knurled-grip {
  background-image: 
    linear-gradient(45deg, rgba(0, 0, 0, 0.5) 25%, transparent 25%), 
    linear-gradient(-45deg, rgba(0, 0, 0, 0.5) 25%, transparent 25%), 
    linear-gradient(45deg, transparent 75%, rgba(0, 0, 0, 0.5) 75%), 
    linear-gradient(-45deg, transparent 75%, rgba(0, 0, 0, 0.5) 75%);
  background-size: 6px 6px;
  background-position: 0 0, 0 3px, 3px -3px, -3px 0px;
  background-color: hsl(220, 8%, 12%);
  border: 1px solid #000;
  box-shadow: 
    inset 1px 1px 1px rgba(255, 255, 255, 0.04),
    inset -1px -1px 1px rgba(0, 0, 0, 0.4);
}

/* Nixie Gas Tube Filament Flicker */
@keyframes nixie-flicker {
  0%, 100% {
    text-shadow: 
      0 0 4px rgba(255, 123, 0, 0.6),
      0 0 12px rgba(255, 123, 0, 1),
      0 0 20px rgba(255, 123, 0, 0.5);
    opacity: 1;
  }
  48% { opacity: 1; }
  50% {
    text-shadow: 
      0 0 2px rgba(255, 123, 0, 0.3),
      0 0 7px rgba(255, 123, 0, 0.7);
    opacity: 0.88;
  }
  52% { opacity: 1; }
  85% { opacity: 1; }
  86% {
    text-shadow: 
      0 0 3px rgba(255, 123, 0, 0.45),
      0 0 9px rgba(255, 123, 0, 0.8);
    opacity: 0.93;
  }
  88% { opacity: 1; }
}

.nixie-digits.active {
  color: var(--color-amber);
  animation: nixie-flicker 5s infinite;
}

/* Cartridge 3D Tilt Transitions */
.skill-cartridge {
  transform-style: preserve-3d;
  perspective: 600px;
  transition: 
    transform 0.15s cubic-bezier(0.25, 1, 0.5, 1), 
    box-shadow 0.15s cubic-bezier(0.25, 1, 0.5, 1), 
    border-color 0.2s;
}

/* Proof Section and Grid Rack */
.proof-section {
  width: 100%;
}

.proof-section.cabinet-panel {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.05)),
    rgba(22, 24, 26, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(0, 0, 0, 0.28),
    0 22px 48px rgba(0, 0, 0, 0.55);
}

.proof-section .panel-header {
  background: rgba(7, 8, 9, 0.34);
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.skill-category-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.skill-filter-btn {
  background: rgba(0, 0, 0, 0.26);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(247, 246, 243, 0.72);
  border-radius: 999px;
  padding: 7px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s, transform 0.2s;
}

.skill-filter-btn:hover,
.skill-filter-btn.active {
  background: rgba(255, 123, 0, 0.16);
  border-color: rgba(255, 123, 0, 0.55);
  color: var(--color-cream);
  transform: translateY(-1px);
}

.rack {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
  justify-content: stretch;
  padding: 4px 0 12px;
}

.proof-cart {
  min-width: 0;
  height: 132px;
  perspective: 800px;
  color: var(--color-cream);
  animation: flip-reveal-in 0.42s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.proof-cart.is-hidden {
  display: none;
}

.pc-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.proof-cart:hover .pc-card-inner,
.proof-cart:focus-within .pc-card-inner,
.proof-cart.is-flipped .pc-card-inner {
  transform: rotateY(180deg);
}

.pc-card-front,
.pc-card-back {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  backface-visibility: hidden;
  overflow: hidden;
  border-radius: 8px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(247, 246, 243, 0.13), rgba(247, 246, 243, 0.07));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 12px 24px rgba(0, 0, 0, 0.2);
}

.pc-card-back {
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(18, 20, 22, 0.96), rgba(7, 8, 9, 0.96));
  border-color: rgba(255, 123, 0, 0.22);
  transform: rotateY(180deg);
}

.proof-cart .pc-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: rgb(218, 244, 237);
  text-align: center;
  letter-spacing: 1px;
  line-height: 1.18;
  margin: 0;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.42);
}

.proof-cart .pc-category {
  align-self: center;
  color: rgba(255, 189, 68, 0.9);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 12px;
}

.proof-cart .pc-back-label {
  color: rgba(255, 189, 68, 0.84);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.proof-cart .pc-quote {
  font-size: 13px;
  color: var(--color-cream);
  opacity: 0.88;
  line-height: 1.45;
  margin: 8px 0;
}

.proof-cart .pc-by {
  font-size: 11px;
  color: rgba(255, 189, 68, 0.78);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: .05em;
  margin-top: 4px;
}

@media (max-width: 1100px) {
  .rack {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .rack {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .rack {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

@keyframes flip-reveal-in {
  0% {
    opacity: 0;
    transform: scale(0.86);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
