@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* Color Design System */
:root {
  --bg-dark: #06050b;
  --bg-card: rgba(18, 17, 28, 0.45);
  --bg-card-hover: rgba(28, 26, 42, 0.6);
  --border-light: rgba(255, 255, 255, 0.08);
  --border-glow-green: rgba(173, 255, 47, 0.2);
  --border-glow-purple: rgba(168, 85, 247, 0.2);

  --lime: #adff2f;
  --lime-glow: rgba(173, 255, 47, 0.4);
  --lime-glow-intense: 0 0 15px rgba(173, 255, 47, 0.6), 0 0 30px rgba(173, 255, 47, 0.3);
  --purple: #a855f7;
  --purple-glow: rgba(168, 85, 247, 0.4);
  --purple-glow-intense: 0 0 15px rgba(168, 85, 247, 0.6), 0 0 30px rgba(168, 85, 247, 0.3);
  --blue: #3b82f6;
  --orange: #f97316;

  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-dark: #0f172a;

  --font-title: 'Outfit', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Global Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: radial-gradient(circle at 50% -10%, #150f33 0%, #07060b 60%, #030305 100%);
  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
  height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
}

body::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 30px 30px;
  background-position: center;
  z-index: -1;
  pointer-events: none;
}

/* Scrollbar styles */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
  background: #27272a;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #3f3f46;
}

/* Typography Utility */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

/* VC Demo Navigation Header */
.demo-header {
  height: 65px;
  background: rgba(7, 7, 9, 0.85);
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  backdrop-filter: blur(12px);
  z-index: 100;
  position: relative;
}

.demo-title-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.demo-title-container .badge {
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid var(--purple);
  color: var(--purple);
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 9999px;
  font-weight: 600;
  letter-spacing: 0.05em;
  animation: pulse-border 2s infinite;
}

.demo-nav {
  display: flex;
  background: rgba(255, 255, 255, 0.03);
  padding: 4px;
  border-radius: 30px;
  border: 1px solid var(--border-light);
}

.demo-nav-item {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.demo-nav-item:hover {
  color: var(--text-primary);
}

.demo-nav-item.active {
  background: var(--lime);
  color: var(--text-dark);
  box-shadow: 0 0 15px var(--lime-glow);
}

.demo-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--lime);
  animation: pulse-dot 1.5s infinite;
}

/* Workspace Layout Split */
.workspace-wrapper {
  display: flex;
  flex: 1;
  overflow: hidden;
  position: relative;
}

.workspace-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(173, 255, 47, 0.04) 0%, transparent 60%),
    radial-gradient(circle at 80% 70%, rgba(168, 85, 247, 0.05) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  animation: ambientAura 25s infinite alternate ease-in-out;
}

@keyframes ambientAura {
  0% {
    opacity: 0.8;
    transform: scale(1) translate(0px, 0px);
  }
  50% {
    opacity: 1;
    transform: scale(1.08) translate(15px, -15px);
  }
  100% {
    opacity: 0.8;
    transform: scale(1) translate(0px, 0px);
  }
}

/* Left panel (Workspace views) */
.workspace-left {
  flex: 1;
  padding: 36px 40px;
  overflow-y: auto;
  position: relative;
  z-index: 1;
}

.workspace-view {
  display: none;
  animation: fadeIn 0.4s ease-out forwards;
  max-width: 1100px;
  margin: 0 auto;
}

.workspace-view.active {
  display: block;
}

/* Right panel (Simulator shell container) */
.workspace-right {
  width: 440px;
  border-left: 1px solid var(--border-light);
  background:
    radial-gradient(circle at top right, rgba(168, 85, 247, 0.1) 0%, transparent 60%),
    radial-gradient(circle at bottom left, rgba(173, 255, 47, 0.03) 0%, transparent 60%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

/* Background Grid Details */
.workspace-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    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;
  z-index: 0;
  pointer-events: none;
}

/* iPhone Device Simulator Mockup */
.iphone-simulator {
  position: relative;
  width: 375px;
  height: 770px;
  background: #000000;
  border-radius: 55px;
  /* Premium metallic titanium finish + dual-layered inner borders + high-contrast shadows */
  box-shadow:
    0 0 0 2px #4b4b52,
    /* Sleek outer titanium metallic bezel ring */ 0 0 0 6px #2d2d30,
    /* Inner dark bezel buffer */ 0 0 0 12px #18181b,
    /* Main outer physical frame */ 0 25px 55px -12px rgba(0, 0, 0, 0.9),
    /* Ambient neon glow */ 0 0 35px rgba(173, 255, 47, 0.03),
    0 0 55px rgba(168, 85, 247, 0.02);
  border: 4px solid #09090b;
  overflow: hidden;
  z-index: 10;
  transform: scale(0.95);
  transition: var(--transition-bounce);
  animation: phoneNeonBreathe 8s infinite alternate ease-in-out;
}

@keyframes phoneNeonBreathe {
  0% {
    box-shadow:
      0 0 0 2px #4b4b52,
      0 0 0 6px #2d2d30,
      0 0 0 12px #18181b,
      0 25px 50px -12px rgba(0, 0, 0, 0.85),
      0 0 35px rgba(173, 255, 47, 0.03),
      0 0 55px rgba(168, 85, 247, 0.02);
  }
  100% {
    box-shadow:
      0 0 0 2px #5a5a63,
      0 0 0 6px #333336,
      0 0 0 12px #1c1c1f,
      0 28px 55px -10px rgba(0, 0, 0, 0.9),
      0 0 45px rgba(173, 255, 47, 0.08),
      0 0 75px rgba(168, 85, 247, 0.06);
  }
}

/* Glass reflection edge line */
.iphone-simulator::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1.5px;
  background: linear-gradient(
    to bottom,
    transparent 5%,
    rgba(255, 255, 255, 0.15) 20%,
    rgba(255, 255, 255, 0.02) 60%,
    transparent 95%
  );
  z-index: 999;
  pointer-events: none;
}

/* Glass reflection shine across phone screen */
.iphone-simulator::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(255, 255, 255, 0.02) 25%,
    rgba(255, 255, 255, 0) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 1000;
  pointer-events: none;
  border-radius: 51px; /* Slightly inset to fit perfectly inside the bezel */
}

/* Notch / Dynamic Island */
.iphone-island {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #000000;
  border-radius: 20px;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
}

.iphone-island::after {
  content: '';
  width: 8px;
  height: 8px;
  background: #111827;
  border-radius: 50%;
  box-shadow: inset 0 0 3px rgba(255, 255, 255, 0.4);
}

/* iOS Status Bar */
.iphone-status-bar {
  height: 48px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 32px 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-primary);
  z-index: 998;
  position: absolute;
  top: 0;
  width: 100%;
  pointer-events: none;
}

.iphone-status-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Simulated App Screen Viewport */
.iphone-screen {
  width: 100%;
  height: 100%;
  padding-top: 48px;
  padding-bottom: 74px; /* Space for home indicator and tab-bar */
  background: #0b0b0c;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Simulated iOS Home Indicator */
.iphone-home-indicator {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 130px;
  height: 5px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 10px;
  z-index: 999;
}

/* App Simulator Tab Bar */
.iphone-tab-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 74px;
  background: rgba(11, 11, 12, 0.95);
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 10px 14px;
  z-index: 99;
}

.iphone-tab-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.65rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
  width: 60px;
  height: 100%;
  gap: 4px;
  background: transparent;
  border: none;
}

.iphone-tab-item svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  transition: var(--transition-smooth);
}

.iphone-tab-item.active {
  color: var(--lime);
}

.iphone-tab-item.active svg {
  filter: drop-shadow(0 0 5px var(--lime-glow));
}

/* Reusable UI Components */

/* Snatch Logo Component */
.snatch-logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.s-logo-box {
  position: relative;
  width: 32px;
  height: 32px;
  background: #0a0915;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  color: #ffffff; /* White letter S */
  font-weight: 800;
  font-size: 1.3rem;
  line-height: 1;
  padding-top: 1px;
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.8),
    0 0 15px rgba(173, 255, 47, 0.3);
  z-index: 1;
}

.s-logo-box::after {
  content: '';
  position: absolute;
  inset: -1.5px;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--lime), var(--purple));
  z-index: -1;
  box-shadow: 0 0 10px rgba(173, 255, 47, 0.25);
}

.snatch-logo-text {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  line-height: 0.9;
}

.snatch-logo-subtext {
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  margin-top: 1px;
}

.snatch-logo-subtext span.lime-txt {
  color: var(--lime);
}

/* Glass Card */
.glass-card {
  background: rgba(18, 17, 28, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 24px;
  backdrop-filter: blur(24px) saturate(130%);
  -webkit-backdrop-filter: blur(24px) saturate(130%);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.05),
    0 10px 30px -10px rgba(0, 0, 0, 0.5);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.04), transparent);
  transform: skewX(-25deg);
  transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
  z-index: 1;
}

.glass-card.purple-glow::before {
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.08), transparent);
}

.glass-card.lime-glow::before {
  background: linear-gradient(90deg, transparent, rgba(173, 255, 47, 0.08), transparent);
}

.glass-card:hover::before {
  left: 150%;
}

.glass-card:hover {
  background: rgba(28, 26, 42, 0.6);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.1),
    0 15px 40px -8px rgba(0, 0, 0, 0.7);
}

.glass-card.purple-glow {
  border-color: rgba(168, 85, 247, 0.25);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.05),
    0 0 30px rgba(168, 85, 247, 0.03);
}

.glass-card.purple-glow:hover {
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.1),
    0 0 25px rgba(168, 85, 247, 0.15),
    0 15px 40px -8px rgba(0, 0, 0, 0.7);
}

.glass-card.lime-glow {
  border-color: rgba(173, 255, 47, 0.25);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.05),
    0 0 30px rgba(173, 255, 47, 0.03);
}

.glass-card.lime-glow:hover {
  border-color: rgba(173, 255, 47, 0.5);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.1),
    0 0 25px rgba(173, 255, 47, 0.15),
    0 15px 40px -8px rgba(0, 0, 0, 0.7);
}

/* Neon Button */
.neon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: var(--text-primary);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 12px 24px;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition-bounce);
  border: 1px solid var(--border-light);
  letter-spacing: -0.01em;
}

.neon-btn.lime {
  background: var(--lime);
  color: var(--text-dark);
  border: none;
  box-shadow: 0 4px 15px rgba(173, 255, 47, 0.3);
}

.neon-btn.lime:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px var(--lime-glow);
}

.neon-btn.lime:active {
  transform: translateY(1px);
}

.neon-btn.purple {
  background: var(--purple);
  color: var(--text-primary);
  border: none;
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
}

.neon-btn.purple:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px var(--purple-glow);
}

.neon-btn.outline-green {
  border: 1.5px solid var(--lime);
  color: var(--lime);
  background: rgba(173, 255, 47, 0.05);
}

.neon-btn.outline-green:hover {
  background: rgba(173, 255, 47, 0.15);
  box-shadow: 0 0 15px var(--lime-glow);
  transform: translateY(-1px);
}

.neon-btn.outline-purple {
  border: 1.5px solid var(--purple);
  color: var(--purple);
  background: rgba(168, 85, 247, 0.05);
}

.neon-btn.outline-purple:hover {
  background: rgba(168, 85, 247, 0.15);
  box-shadow: 0 0 15px var(--purple-glow);
  transform: translateY(-1px);
}

/* Stat Card */
.stat-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.stat-value {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--text-primary);
}

.stat-sub {
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.stat-sub.positive {
  color: var(--lime);
}

.stat-sub.negative {
  color: #ef4444;
}

/* Sparkline simulator */
.sparkline {
  width: 100%;
  height: 30px;
  margin-top: 4px;
}

/* Campaign Studio Details Dashboard Style */
.studio-title-area {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.studio-title-heading {
  font-size: 1.8rem;
  font-family: var(--font-title);
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.studio-grid {
  display: grid;
  grid-template-columns: 320px 1fr 300px;
  gap: 20px;
  margin-bottom: 24px;
}

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

.studio-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Form Styles */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.form-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
  transition: var(--transition-smooth);
}

.form-input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.2);
}

.form-select {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  cursor: pointer;
}

.slider-container {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.slider-input {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  background: #1f1f23;
  height: 6px;
  border-radius: 3px;
  outline: none;
}

.slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--lime);
  cursor: pointer;
  box-shadow: 0 0 8px var(--lime-glow);
  transition: transform 0.1s;
}

.slider-input::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.slider-val {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  width: 55px;
  text-align: center;
  color: var(--lime);
}

/* Map Frame Component */
.map-frame {
  width: 100%;
  height: 290px;
  background: #0b0b0d;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.map-label {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 10;
}

.map-label .green-dot {
  width: 6px;
  height: 6px;
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 5px var(--lime);
}

/* Interactive SVG Map elements */
.svg-map {
  width: 100%;
  height: 100%;
}

.map-street {
  stroke: #1b1b22;
  stroke-width: 3px;
  fill: none;
  stroke-linecap: round;
}

.map-street.major {
  stroke: #252530;
  stroke-width: 5px;
}

.map-geofence {
  fill: rgba(173, 255, 47, 0.06);
  stroke: var(--lime);
  stroke-width: 1.5px;
  stroke-dasharray: 4 3;
  animation: geofence-pulse 3s infinite ease-in-out;
  transform-origin: center;
}

.map-path {
  stroke: var(--purple);
  stroke-width: 2px;
  stroke-dasharray: 5 4;
  fill: none;
}

.map-pin {
  fill: #ffffff;
  stroke: var(--lime);
  stroke-width: 3px;
  filter: drop-shadow(0 0 6px var(--lime));
}

.map-player-dot {
  fill: var(--purple);
  stroke: #ffffff;
  stroke-width: 1.5px;
  filter: drop-shadow(0 0 6px var(--purple));
  animation: player-pulse 1.5s infinite;
}

/* Campaign Studio Details List */
.reward-preview-card {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.reward-preview-img-box {
  width: 48px;
  height: 48px;
  background: #18181f;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.reward-preview-info {
  flex: 1;
}

.reward-preview-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.reward-preview-subtitle {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.reward-preview-edit {
  font-size: 0.75rem;
  color: var(--text-secondary);
  cursor: pointer;
  text-decoration: underline;
}

.reward-preview-edit:hover {
  color: var(--lime);
}

/* Table Style */
.studio-table-container {
  overflow-x: auto;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  background: var(--bg-card);
  backdrop-filter: blur(16px);
}

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

.studio-table th {
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-light);
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

.studio-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-primary);
  vertical-align: middle;
}

.studio-table tr:last-child td {
  border-bottom: none;
}

.studio-table tr:hover td {
  background: rgba(255, 255, 255, 0.01);
}

.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.03em;
  padding: 4px 10px;
  border-radius: 30px;
}

.badge-status.draft {
  background: rgba(249, 115, 22, 0.1);
  color: var(--orange);
  border: 1px solid rgba(249, 115, 22, 0.2);
}

.badge-status.active {
  background: rgba(173, 255, 47, 0.1);
  color: var(--lime);
  border: 1px solid rgba(173, 255, 47, 0.2);
}

.badge-status.scheduled {
  background: rgba(168, 85, 247, 0.1);
  color: var(--purple);
  border: 1px solid rgba(168, 85, 247, 0.2);
}

.table-drop-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.table-drop-img {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #18181f;
  border: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
}

.table-drop-title {
  font-weight: 600;
}

.table-drop-sub {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

/* Holographic Rotating SVG Elements */
.holo-visual-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  perspective: 1000px;
}

.hologram-effect {
  position: absolute;
  width: 180px;
  height: 180px;
  background: radial-gradient(
    circle,
    rgba(173, 255, 47, 0.15) 0%,
    rgba(168, 85, 247, 0.04) 60%,
    transparent 100%
  );
  filter: blur(12px);
  animation: float 4s infinite ease-in-out;
  pointer-events: none;
}

.hologram-effect.purple-theme {
  background: radial-gradient(
    circle,
    rgba(168, 85, 247, 0.18) 0%,
    rgba(173, 255, 47, 0.04) 60%,
    transparent 100%
  );
}

/* Holographic vertical projection cone */
.hologram-effect::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 140px;
  height: 220px;
  margin-left: -70px;
  margin-top: -80px;
  background:
    repeating-linear-gradient(
      to right,
      transparent,
      transparent 8px,
      rgba(173, 255, 47, 0.08) 8px,
      rgba(173, 255, 47, 0.08) 10px
    ),
    linear-gradient(
      to top,
      rgba(173, 255, 47, 0.28) 0%,
      rgba(173, 255, 47, 0.05) 50%,
      transparent 100%
    );
  clip-path: polygon(15% 0%, 85% 0%, 100% 100%, 0% 100%);
  filter: blur(3px);
  opacity: 0.75;
  pointer-events: none;
  animation: hologram-beam-pulse 4s infinite ease-in-out;
  z-index: -1;
}

.hologram-effect.purple-theme::before {
  background:
    repeating-linear-gradient(
      to right,
      transparent,
      transparent 8px,
      rgba(168, 85, 247, 0.08) 8px,
      rgba(168, 85, 247, 0.08) 10px
    ),
    linear-gradient(
      to top,
      rgba(168, 85, 247, 0.35) 0%,
      rgba(168, 85, 247, 0.05) 50%,
      transparent 100%
    );
}

/* Hologram Base Projector Plate (glow emitter on map) */
.hologram-effect::after {
  content: '';
  position: absolute;
  bottom: -22px;
  left: 50%;
  width: 90px;
  height: 18px;
  margin-left: -45px;
  background: radial-gradient(
    ellipse at center,
    rgba(173, 255, 47, 0.9) 0%,
    rgba(173, 255, 47, 0.3) 30%,
    transparent 65%
  );
  border: 1px solid rgba(173, 255, 47, 0.4);
  box-shadow:
    0 0 15px rgba(173, 255, 47, 0.6),
    inset 0 0 8px rgba(173, 255, 47, 0.4);
  border-radius: 50%;
  filter: blur(1.5px);
  pointer-events: none;
  animation: hologram-beam-pulse 4s infinite ease-in-out;
  z-index: -1;
}

.hologram-effect.purple-theme::after {
  background: radial-gradient(
    ellipse at center,
    rgba(168, 85, 247, 0.9) 0%,
    rgba(168, 85, 247, 0.3) 30%,
    transparent 65%
  );
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow:
    0 0 15px rgba(168, 85, 247, 0.6),
    inset 0 0 8px rgba(168, 85, 247, 0.4);
}

@keyframes hologram-beam-pulse {
  0%,
  100% {
    opacity: 0.55;
    transform: scaleX(0.95) scaleY(0.98);
  }
  50% {
    opacity: 0.85;
    transform: scaleX(1.05) scaleY(1.02);
  }
}

.holo-svg-wrapper {
  animation:
    float 4s infinite ease-in-out,
    rotateY 12s infinite linear;
  transform-style: preserve-3d;
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

.holo-svg {
  transform-style: preserve-3d;
  filter: drop-shadow(0 0 14px rgba(173, 255, 47, 0.6)) drop-shadow(0 0 4px var(--lime))
    drop-shadow(0 0 1px rgba(255, 255, 255, 0.8));
  transition:
    transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 0.25s ease-out;
}

.holo-svg.purple-theme {
  filter: drop-shadow(0 0 14px rgba(168, 85, 247, 0.6)) drop-shadow(0 0 4px var(--purple))
    drop-shadow(0 0 1px rgba(255, 255, 255, 0.8));
}

/* Hologram Particle Emitters */
.hologram-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

/* Inner Third gyroscopic orbit ring, tilted on a different axis */
.hologram-particles::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90px;
  height: 90px;
  margin-top: -45px;
  margin-left: -45px;
  border-radius: 50%;
  border: 1px dotted var(--lime);
  opacity: 0.5;
  box-shadow: 0 0 8px rgba(173, 255, 47, 0.3);
  transform: rotateX(45deg) rotateY(45deg);
  animation: spin-orbit-3 10s infinite linear;
  pointer-events: none;
  z-index: 0;
}

.holo-visual-container:has(.purple-theme) .hologram-particles::before {
  border-color: var(--purple);
  box-shadow: 0 0 8px rgba(168, 85, 247, 0.3);
}

.particle {
  position: absolute;
  bottom: 10px;
  width: 4px;
  height: 4px;
  background: var(--lime);
  border-radius: 50%;
  opacity: 0;
  box-shadow: 0 0 8px var(--lime);
  animation: rise-and-fade 3s infinite linear;
}

.particle:nth-child(even) {
  animation-name: rise-and-fade-alt;
}

.particle:nth-child(1) {
  left: 25%;
  animation-delay: 0s;
  animation-duration: 2.8s;
}
.particle:nth-child(2) {
  left: 45%;
  animation-delay: 0.6s;
  animation-duration: 3.2s;
  width: 3px;
  height: 3px;
}
.particle:nth-child(3) {
  left: 65%;
  animation-delay: 1.2s;
  animation-duration: 2.5s;
}
.particle:nth-child(4) {
  left: 80%;
  animation-delay: 1.8s;
  animation-duration: 3s;
  width: 2px;
  height: 2px;
}
.particle:nth-child(5) {
  left: 55%;
  animation-delay: 2.4s;
  animation-duration: 2.7s;
}

.holo-visual-container:has(.purple-theme) .particle {
  background: var(--purple);
  box-shadow: 0 0 8px var(--purple);
}

@keyframes rise-and-fade {
  0% {
    transform: translateY(0) translateX(0) scale(0.5);
    opacity: 0;
  }
  15% {
    opacity: 0.8;
  }
  50% {
    transform: translateY(-70px) translateX(6px) scale(0.9);
  }
  85% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-160px) translateX(-8px) scale(1.3);
    opacity: 0;
  }
}

@keyframes rise-and-fade-alt {
  0% {
    transform: translateY(0) translateX(0) scale(0.5);
    opacity: 0;
  }
  15% {
    opacity: 0.8;
  }
  50% {
    transform: translateY(-70px) translateX(-6px) scale(0.9);
  }
  85% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-160px) translateX(8px) scale(1.3);
    opacity: 0;
  }
}

/* 3D Gyroscopic Orbit Rings */
.holo-visual-container::before,
.holo-visual-container::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px dashed var(--lime);
  opacity: 0.55;
  box-shadow: 0 0 10px rgba(173, 255, 47, 0.2);
  pointer-events: none;
  transform-style: preserve-3d;
}

/* Orbit Ring 1: outer tilted ring */
.holo-visual-container::before {
  width: 170px;
  height: 170px;
  animation:
    spin-orbit-1 12s infinite linear,
    orbit-glow 3s infinite ease-in-out;
}

/* Orbit Ring 2: inner opposite tilted ring */
.holo-visual-container::after {
  width: 120px;
  height: 120px;
  border: 1px solid var(--lime);
  opacity: 0.35;
  animation:
    spin-orbit-2 8s infinite linear,
    orbit-glow-alt 4s infinite ease-in-out;
}

.holo-visual-container:has(.purple-theme)::before {
  border-color: var(--purple);
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.2);
  animation:
    spin-orbit-1 12s infinite linear,
    orbit-glow-purple 3s infinite ease-in-out;
}

.holo-visual-container:has(.purple-theme)::after {
  border-color: var(--purple);
  border-style: solid;
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.2);
  animation:
    spin-orbit-2 8s infinite linear,
    orbit-glow-purple-alt 4s infinite ease-in-out;
}

@keyframes orbit-glow {
  0%,
  100% {
    box-shadow: 0 0 8px rgba(173, 255, 47, 0.15);
    opacity: 0.45;
  }
  50% {
    box-shadow: 0 0 16px rgba(173, 255, 47, 0.45);
    opacity: 0.7;
  }
}

@keyframes orbit-glow-alt {
  0%,
  100% {
    box-shadow: 0 0 6px rgba(173, 255, 47, 0.1);
    opacity: 0.25;
  }
  50% {
    box-shadow: 0 0 12px rgba(173, 255, 47, 0.35);
    opacity: 0.55;
  }
}

@keyframes orbit-glow-purple {
  0%,
  100% {
    box-shadow: 0 0 8px rgba(168, 85, 247, 0.15);
    opacity: 0.45;
  }
  50% {
    box-shadow: 0 0 16px rgba(168, 85, 247, 0.45);
    opacity: 0.7;
  }
}

@keyframes orbit-glow-purple-alt {
  0%,
  100% {
    box-shadow: 0 0 6px rgba(168, 85, 247, 0.1);
    opacity: 0.25;
  }
  50% {
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.35);
    opacity: 0.55;
  }
}

@keyframes spin-orbit-1 {
  0% {
    transform: rotateX(70deg) rotateY(15deg) rotateZ(0deg);
  }
  100% {
    transform: rotateX(70deg) rotateY(15deg) rotateZ(360deg);
  }
}

@keyframes spin-orbit-2 {
  0% {
    transform: rotateX(65deg) rotateY(-25deg) rotateZ(360deg);
  }
  100% {
    transform: rotateX(65deg) rotateY(-25deg) rotateZ(0deg);
  }
}

@keyframes spin-orbit-3 {
  0% {
    transform: rotateX(45deg) rotateY(45deg) rotateZ(0deg);
  }
  100% {
    transform: rotateX(45deg) rotateY(45deg) rotateZ(-360deg);
  }
}

/* Mobile Screen Specific Views */
.iphone-view {
  position: absolute;
  inset: 0;
  padding: 48px 16px 74px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.iphone-view.active {
  opacity: 1;
  pointer-events: auto;
}

/* Header inside Phone */
.phone-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  margin-bottom: 12px;
  z-index: 20;
}

.phone-header-title {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-primary);
}

.phone-back-btn,
.phone-action-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-light);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.phone-back-btn:hover,
.phone-action-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Camera Overlay Visuals (Sponsored Hunt, Quick Hunt, Snatch Mode) */
.camera-viewfinder {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-size: cover;
  background-position: center;
  transition: background-image 0.5s ease;
  overflow: hidden;
}

.camera-viewfinder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    transparent 25%,
    rgba(0, 0, 0, 0.4) 65%,
    rgba(0, 0, 0, 0.85) 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* Diagonal scanning lines across viewfinder */
.camera-viewfinder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%);
  background-size: 100% 4px;
  z-index: 2;
  pointer-events: none;
  opacity: 0.15;
}

/* Grid Overlay on camera */
.camera-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 33.33% 33.33%;
  z-index: 2;
  pointer-events: none;
}

/* Viewfinder reticle in the center */
.camera-grid-lines::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

/* Viewfinder Snapchat corner brackets + HUD Telemetry Overlay */
.camera-grid-lines::before {
  content: 'REC  [●]  60fps\A SYS  AR.v2.9\A LAT  40.7259 N\A LON  74.0048 W';
  white-space: pre;
  font-family: monospace;
  font-size: 0.52rem;
  font-weight: 500;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.45);
  padding: 6px 8px;
  letter-spacing: 0.05em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
  position: absolute;
  inset: 16px;
  background:
    linear-gradient(to right, rgba(255, 255, 255, 0.3) 2px, transparent 2px) 0 0,
    linear-gradient(to bottom, rgba(255, 255, 255, 0.3) 2px, transparent 2px) 0 0,
    linear-gradient(to left, rgba(255, 255, 255, 0.3) 2px, transparent 2px) 100% 0,
    linear-gradient(to bottom, rgba(255, 255, 255, 0.3) 2px, transparent 2px) 100% 0,
    linear-gradient(to right, rgba(255, 255, 255, 0.3) 2px, transparent 2px) 0 100%,
    linear-gradient(to top, rgba(255, 255, 255, 0.3) 2px, transparent 2px) 0 100%,
    linear-gradient(to left, rgba(255, 255, 255, 0.3) 2px, transparent 2px) 100% 100%,
    linear-gradient(to top, rgba(255, 255, 255, 0.3) 2px, transparent 2px) 100% 100%;
  background-repeat: no-repeat;
  background-size: 12px 12px;
  pointer-events: none;
  animation: hud-flicker 10s infinite;
}

@keyframes hud-flicker {
  0%,
  100% {
    opacity: 0.95;
  }
  45% {
    opacity: 0.95;
  }
  48% {
    opacity: 0.5;
  }
  50% {
    opacity: 0.95;
  }
  52% {
    opacity: 0.7;
  }
  54% {
    opacity: 0.95;
  }
  85% {
    opacity: 0.95;
  }
  88% {
    opacity: 0.45;
  }
  90% {
    opacity: 0.95;
  }
}

/* Radar scan animation on viewfinder with bright glowing sweep ray */
.radar-overlay {
  position: absolute;
  inset: -50%;
  z-index: 2;
  pointer-events: none;
  background: conic-gradient(
    from 0deg,
    var(--lime) 0deg,
    rgba(173, 255, 47, 0.15) 2deg,
    rgba(173, 255, 47, 0.02) 90deg,
    transparent 180deg
  );
  animation: radar-sweep 6s infinite linear;
}

.radar-overlay.purple-theme {
  background: conic-gradient(
    from 0deg,
    var(--purple) 0deg,
    rgba(168, 85, 247, 0.18) 2deg,
    rgba(168, 85, 247, 0.02) 90deg,
    transparent 180deg
  );
}

/* Camera Sidebar Tools (Snapchat-style vertical sidebar) */
.camera-sidebar {
  position: absolute;
  top: 105px;
  right: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 25;
  pointer-events: auto;
}

.camera-sidebar-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(10, 10, 12, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  transition: var(--transition-bounce);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.camera-sidebar-btn:hover {
  background: rgba(10, 10, 12, 0.9);
  transform: scale(1.12);
  border-color: var(--lime);
  color: var(--lime);
  box-shadow: 0 0 10px var(--lime-glow);
}

.camera-sidebar-btn.purple-theme:hover {
  border-color: var(--purple);
  color: var(--purple);
  box-shadow: 0 0 10px var(--purple-glow);
}

.camera-sidebar-btn svg {
  transition: transform 0.3s ease;
}

.camera-sidebar-btn:hover svg {
  transform: rotate(15deg);
}

/* iPhone camera shutter row */
.phone-shutter-row {
  position: absolute;
  bottom: 84px;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  z-index: 20;
  pointer-events: auto;
}

.shutter-sub-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 15, 20, 0.65);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.25),
    inset 0 0 5px rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition-bounce);
}

.shutter-sub-btn:hover {
  background: rgba(15, 15, 20, 0.95);
  transform: scale(1.1) rotate(5deg);
  border-color: var(--lime);
  color: var(--lime);
  box-shadow: 0 0 15px var(--lime-glow);
}

.shutter-sub-btn.purple-theme:hover {
  border-color: var(--purple);
  color: var(--purple);
  box-shadow: 0 0 15px var(--purple-glow);
}

.shutter-btn-outer {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 5px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  cursor: pointer;
  transition: var(--transition-bounce);
  box-shadow:
    0 0 20px rgba(255, 255, 255, 0.35),
    inset 0 0 10px rgba(255, 255, 255, 0.25);
  position: relative;
}

.shutter-btn-inner {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #ffffff;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

/* Pulsing neon activation ring on active shutter */
.shutter-btn-outer::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid var(--lime);
  opacity: 0;
  transition: var(--transition-smooth);
  pointer-events: none;
}

/* When the camera drop is active/unlocked, make the outer shutter ring pulse */
.shutter-btn-outer:not(.locked)::before {
  opacity: 0.6;
  animation: pulse-shutter-ring 2s infinite cubic-bezier(0.25, 0, 0, 1);
}

@keyframes pulse-shutter-ring {
  0% {
    transform: scale(0.9);
    opacity: 0.7;
  }
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

.shutter-btn-outer:hover {
  transform: scale(1.06);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.85);
}

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

.shutter-btn-outer.active .shutter-btn-inner {
  background: var(--lime);
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.4);
}

/* Map preview pill bottom left of camera view */
.camera-map-preview {
  position: absolute;
  bottom: 170px;
  left: 16px;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #0b0b0c;
  border: 2px solid var(--lime);
  box-shadow: 0 0 15px var(--lime-glow);
  z-index: 20;
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.camera-map-preview:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px var(--lime);
}

/* Radar ping inside preview map */
.radar-ping {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  background: var(--lime);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.radar-ping::after {
  content: '';
  position: absolute;
  top: -12px;
  left: -12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--lime);
  animation: radar-expand 1.5s infinite linear;
}

/* Clue overlay widget */
.camera-clue-pill {
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(18, 18, 22, 0.8);
  backdrop-filter: blur(12px);
  border: 1.5px solid var(--border-light);
  border-radius: 12px;
  padding: 10px 16px;
  text-align: center;
  z-index: 20;
  font-size: 0.75rem;
  max-width: 85%;
  width: max-content;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.camera-clue-pill.purple-theme {
  border-color: var(--border-glow-purple);
}

/* Slider button for approach / snatched */
.snatch-slider-btn {
  position: absolute;
  bottom: 170px;
  left: 16px;
  right: 16px;
  height: 52px;
  background: rgba(173, 255, 47, 0.1);
  border: 1.5px solid var(--lime);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  cursor: pointer;
  overflow: hidden;
  font-family: var(--font-title);
  font-weight: 800;
  color: var(--lime);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  box-shadow: 0 0 20px rgba(173, 255, 47, 0.15);
  animation: pulse-button-border 2.5s infinite;
}

.snatch-slider-btn.purple-theme {
  background: rgba(168, 85, 247, 0.1);
  border-color: var(--purple);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.15);
  background-image: linear-gradient(90deg, var(--lime) 0%, var(--purple) 100%);
  color: var(--text-dark);
  border: none;
}

.snatch-slider-btn::after {
  content: ' >>';
  animation: arrow-slide 1.5s infinite;
}

/* Snatched Success Overlay Modal */
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

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

.success-modal {
  background: #121216;
  border: 1.5px solid var(--border-glow-purple);
  box-shadow: 0 0 35px rgba(168, 85, 247, 0.3);
  border-radius: 24px;
  width: 100%;
  padding: 24px;
  text-align: center;
  animation: scaleUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.modal-check {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(173, 255, 47, 0.1);
  border: 2px solid var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: var(--lime);
}

.modal-title {
  font-family: var(--font-title);
  color: var(--lime);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.modal-card-reward {
  background: radial-gradient(circle at top, #1e1a2b, #0e0d12);
  border: 1px solid rgba(168, 85, 247, 0.3);
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.1);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 18px;
  position: relative;
}

.modal-card-reward .brand-logo-box {
  width: 60px;
  height: 60px;
  margin: 0 auto 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-card-value {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.1rem;
}

.modal-code-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
}

.modal-code-label {
  font-size: 0.6rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: left;
}

.modal-code-val {
  font-family: monospace;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--lime);
}

.copy-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 4px;
}

.copy-btn:hover {
  color: var(--text-primary);
}

/* User App Wallet View Styles */
.wallet-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 0 4px;
}

.wallet-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.wallet-badge-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.wallet-badge-pill span {
  color: var(--lime);
}

.reward-card-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wallet-reward-card {
  background: radial-gradient(ellipse at top left, rgba(30, 26, 43, 0.95), rgba(14, 13, 18, 0.95));
  border: 1.5px solid rgba(168, 85, 247, 0.15);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-smooth);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.wallet-reward-card.green-theme {
  background: radial-gradient(ellipse at top left, rgba(22, 34, 18, 0.95), rgba(11, 12, 10, 0.95));
  border-color: rgba(173, 255, 47, 0.15);
}

.wallet-reward-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.wallet-reward-card.active-item {
  border-color: var(--lime);
  box-shadow: 0 0 15px rgba(173, 255, 47, 0.15);
}

.wallet-reward-card.active-item.purple-theme {
  border-color: var(--purple);
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.15);
}

.wallet-card-logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wallet-card-logo {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}

.wallet-card-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.85rem;
}

.wallet-card-desc {
  font-size: 0.7rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.wallet-card-tag {
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 6px;
  border-radius: 4px;
  margin-top: 4px;
  width: fit-content;
}

.wallet-card-tag.new {
  background: var(--lime);
  color: var(--text-dark);
}

.wallet-card-tag.ready {
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid var(--border-light);
  color: var(--text-secondary);
}

.wallet-card-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.wallet-card-value {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-primary);
}

/* User App Profile View Styles */
.profile-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 0 4px;
}

.profile-avatar-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.profile-avatar-box {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  position: relative;
}

.profile-avatar-box img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--purple);
}

.profile-avatar-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--purple);
  border: 2px solid #0b0b0c;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-avatar-info {
  flex: 1;
}

.profile-name {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.1rem;
}

.profile-level-label {
  font-size: 0.75rem;
  color: var(--lime);
  font-weight: 600;
  margin-top: 2px;
}

.profile-xp-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.65rem;
  color: var(--text-secondary);
  margin-top: 6px;
  font-weight: 500;
}

.xp-bar-outer {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  margin-top: 4px;
  overflow: hidden;
}

.xp-bar-inner {
  height: 100%;
  background: var(--purple);
  border-radius: 4px;
}

.profile-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

.profile-stat-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.profile-stat-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.65rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.profile-stat-header svg {
  width: 14px;
  height: 14px;
}

.profile-stat-val {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-primary);
}

.profile-influence-box {
  background: rgba(168, 85, 247, 0.04);
  border: 1px solid var(--border-glow-purple);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.profile-influence-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.profile-influence-val {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.15rem;
  color: #ffffff;
}

.profile-badges-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.profile-section-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.85rem;
}

.profile-view-all {
  font-size: 0.7rem;
  color: var(--text-secondary);
  text-decoration: underline;
  cursor: pointer;
}

.profile-badges-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 20px;
}

.profile-badge-item {
  flex: 1;
  background: rgba(255, 255, 255, 0.01);
  border: 1.5px solid var(--border-light);
  border-radius: 12px;
  padding: 12px 6px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.profile-badge-item:hover {
  background: rgba(255, 255, 255, 0.03);
  transform: translateY(-2px);
}

.profile-badge-item.active-badge-green {
  border-color: var(--border-glow-green);
}

.profile-badge-item.active-badge-purple {
  border-color: var(--border-glow-purple);
}

.profile-badge-item.active-badge-orange {
  border-color: rgba(249, 115, 22, 0.25);
}

.profile-badge-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-badge-name {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-secondary);
}

/* User App Leaderboard View Styles */
.leaderboard-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 16px;
}

.leaderboard-tab-item {
  flex: 1;
  text-align: center;
  padding: 10px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--text-secondary);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: var(--transition-smooth);
}

.leaderboard-tab-item.active {
  color: var(--lime);
  border-bottom-color: var(--lime);
}

.leaderboard-rank-card {
  background: radial-gradient(
    ellipse at top right,
    rgba(168, 85, 247, 0.15),
    rgba(18, 18, 22, 0.6)
  );
  border: 1px solid rgba(168, 85, 247, 0.35);
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.08);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.leaderboard-rank-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.leaderboard-rank-num {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--lime);
}

.leaderboard-rank-desc {
  font-size: 0.75rem;
  font-weight: 600;
}

.leaderboard-rank-sub {
  font-size: 0.65rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.leaderboard-rank-score {
  text-align: right;
}

.leaderboard-rank-score-label {
  font-size: 0.6rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.leaderboard-rank-score-val {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1rem;
  color: #ffffff;
  margin-top: 2px;
}

.leaderboard-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.leaderboard-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 0.75rem;
}

.leaderboard-list-item.active-user {
  background: rgba(173, 255, 47, 0.05);
  border-color: var(--lime);
  color: var(--lime);
  font-weight: 700;
}

.leaderboard-list-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.leaderboard-list-num {
  font-weight: 700;
  width: 14px;
  color: var(--text-secondary);
}

.leaderboard-list-item.active-user .leaderboard-list-num {
  color: var(--lime);
}

.leaderboard-list-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-light);
}

.leaderboard-list-item.active-user .leaderboard-list-avatar {
  border-color: var(--lime);
}

.leaderboard-list-val {
  font-family: var(--font-title);
  font-weight: 700;
}

.leaderboard-impact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 16px;
}

.leaderboard-legend-path {
  background: rgba(173, 255, 47, 0.03);
  border: 1px solid var(--border-glow-green);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.legend-path-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.8rem;
  color: #ffffff;
}

.legend-path-desc {
  font-size: 0.68rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.legend-path-link {
  font-size: 0.68rem;
  color: var(--lime);
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: underline;
  margin-top: 8px;
  display: inline-block;
  cursor: pointer;
}

/* Abilities view (Snatch Mode screen 3) */
.ability-pts-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.ability-pts-left {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.ability-pts-val {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-primary);
}

.ability-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  flex: 1;
  overflow-y: auto;
}

.ability-item {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid var(--border-light);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.ability-item:hover {
  background: rgba(255, 255, 255, 0.03);
}

.ability-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ability-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(173, 255, 47, 0.05);
  border: 1.5px solid var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lime);
}

.ability-item-name {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.8rem;
}

.ability-item-desc {
  font-size: 0.65rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.ability-item-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.ability-item-level {
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.ability-item-status {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--lime);
}

/* VC Demo Home Screen Styles */
.overview-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
}

@media (max-width: 900px) {
  .overview-layout {
    grid-template-columns: 1fr;
  }
}

.overview-heading {
  font-size: 2.5rem;
  font-family: var(--font-title);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
}

.overview-heading span.gradient-txt {
  background: linear-gradient(135deg, var(--lime) 30%, var(--purple) 80%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.overview-lead {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.overview-features-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.overview-feature-item {
  display: flex;
  gap: 16px;
}

.overview-feature-num {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--purple);
}

.overview-feature-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 4px;
}

.overview-feature-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.overview-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.story-card {
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
}

/* Animations */
@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

@keyframes rotateY {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleUp {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes geofence-pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.5;
  }
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
}

@keyframes player-pulse {
  0% {
    filter: drop-shadow(0 0 2px var(--purple));
  }
  50% {
    filter: drop-shadow(0 0 10px var(--purple-glow));
  }
  100% {
    filter: drop-shadow(0 0 2px var(--purple));
  }
}

@keyframes radar-sweep {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes radar-expand {
  0% {
    transform: scale(0.2);
    opacity: 1;
  }
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}

@keyframes pulse-border {
  0% {
    border-color: rgba(168, 85, 247, 0.4);
  }
  50% {
    border-color: rgba(168, 85, 247, 1);
  }
  100% {
    border-color: rgba(168, 85, 247, 0.4);
  }
}

@keyframes pulse-dot {
  0% {
    box-shadow: 0 0 5px var(--lime);
  }
  50% {
    box-shadow: 0 0 15px var(--lime);
  }
  100% {
    box-shadow: 0 0 5px var(--lime);
  }
}

@keyframes pulse-button-border {
  0% {
    box-shadow: 0 0 10px rgba(173, 255, 47, 0.1);
  }
  50% {
    box-shadow: 0 0 25px rgba(173, 255, 47, 0.35);
  }
  100% {
    box-shadow: 0 0 10px rgba(173, 255, 47, 0.1);
  }
}

@keyframes arrow-slide {
  0% {
    transform: translateX(0);
    opacity: 0.4;
  }
  50% {
    transform: translateX(4px);
    opacity: 1;
  }
  100% {
    transform: translateX(0);
    opacity: 0.4;
  }
}

@keyframes camera-flash {
  0% {
    background: rgba(255, 255, 255, 0);
  }
  10% {
    background: rgba(255, 255, 255, 1);
  }
  100% {
    background: rgba(255, 255, 255, 0);
  }
}

.camera-flash-active {
  animation: camera-flash 0.3s ease-out forwards;
  position: absolute;
  inset: 0;
  z-index: 99;
  pointer-events: none;
}

/* Guide box for steps */
.guide-box {
  background: rgba(168, 85, 247, 0.05);
  border: 1px dashed rgba(168, 85, 247, 0.4);
  border-radius: 12px;
  padding: 16px;
  margin-top: 24px;
}

.guide-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.82rem;
}

.guide-step:last-child {
  margin-bottom: 0;
}

.guide-num {
  background: var(--purple);
  color: #fff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.guide-text {
  color: var(--text-secondary);
  line-height: 1.4;
}

.guide-text span.highlight {
  color: var(--text-primary);
  font-weight: 600;
}
.guide-text span.lime-txt {
  color: var(--lime);
  font-weight: 600;
}
.guide-text span.purple-txt {
  color: var(--purple);
  font-weight: 600;
}

/* Quick Hunt Prominent Shutter Sub-Button */
#phone-quick-hunt-trigger {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(18, 18, 22, 0.95), rgba(168, 85, 247, 0.9)) padding-box,
    linear-gradient(135deg, var(--lime), var(--purple)) border-box;
  border: 2px solid transparent;
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--lime);
  cursor: pointer;
  box-shadow:
    0 0 15px rgba(173, 255, 47, 0.4),
    inset 0 0 8px rgba(168, 85, 247, 0.3);
  animation: pulse-glow-lightning 2s infinite alternate ease-in-out;
  transition: var(--transition-smooth);
}

#phone-quick-hunt-trigger:hover {
  transform: scale(1.15) rotate(15deg);
  box-shadow:
    0 0 25px rgba(173, 255, 47, 0.8),
    0 0 15px rgba(168, 85, 247, 0.6);
  color: #ffffff;
}

#phone-quick-hunt-trigger svg {
  filter: drop-shadow(0 0 4px var(--lime-glow));
  transition: var(--transition-smooth);
}

@keyframes pulse-glow-lightning {
  0% {
    transform: scale(1);
    box-shadow:
      0 0 10px rgba(173, 255, 47, 0.4),
      inset 0 0 4px rgba(168, 85, 247, 0.2);
  }
  100% {
    transform: scale(1.08);
    box-shadow:
      0 0 20px rgba(173, 255, 47, 0.7),
      0 0 12px rgba(168, 85, 247, 0.5);
  }
}

/* Profile Abilities Shortcut Card */
.profile-abilities-card {
  background: linear-gradient(135deg, rgba(57, 255, 20, 0.08) 0%, rgba(168, 85, 247, 0.08) 100%);
  border: 1px dashed var(--lime);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
  margin-bottom: 15px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.profile-abilities-card:hover {
  border-style: solid;
  box-shadow: 0 0 15px rgba(173, 255, 47, 0.25);
  transform: translateY(-2px);
}

.profile-abilities-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* ==========================================
   RESPONSIVE DESIGN & MOBILE OPTIMIZATIONS
   ========================================== */

/* Responsive Grids */
.responsive-grid {
  display: grid;
  gap: 20px;
}
.three-col-grid {
  grid-template-columns: repeat(3, 1fr);
}
.two-col-grid {
  grid-template-columns: 1fr 1fr;
}
.two-one-grid {
  grid-template-columns: 1.2fr 0.8fr;
}
.two-one-half-grid {
  grid-template-columns: 1.15fr 0.85fr;
}

@media (max-width: 1199px) {
  body {
    height: auto;
    min-height: 100vh;
    overflow-y: auto;
  }
  .workspace-wrapper {
    flex-direction: column;
    overflow: visible;
  }
  .workspace-left {
    flex: none;
    width: 100%;
    overflow-y: visible;
    padding: 30px 24px;
  }
  .workspace-right {
    width: 100%;
    border-left: none;
    border-top: 1px solid var(--border-light);
    background: radial-gradient(circle at center, rgba(168, 85, 247, 0.08) 0%, transparent 70%);
    padding: 40px 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    --phone-scale: 0.85;
    height: calc(820px * var(--phone-scale));
    min-height: 0;
  }
  .iphone-simulator {
    transform: scale(var(--phone-scale)) !important;
    transform-origin: center center;
    margin: 0 auto;
    transition: transform 0.3s ease;
  }
  /* Grid conversions */
  .three-col-grid {
    grid-template-columns: 1fr 1fr;
  }
  .two-one-grid,
  .two-one-half-grid {
    grid-template-columns: 1fr;
  }
  /* Table scroll container enforcement */
  .studio-table {
    min-width: 800px;
  }
}

@media (max-width: 767px) {
  .demo-header {
    height: auto;
    flex-direction: column;
    align-items: center;
    padding: 16px;
    gap: 12px;
    text-align: center;
  }
  .demo-title-container {
    width: 100%;
    justify-content: center;
  }
  .demo-status {
    width: 100%;
    justify-content: center;
    font-size: 0.75rem;
  }

  /* Horizontal scroll navigation pills */
  .demo-nav {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    border-radius: 12px;
    padding: 6px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .demo-nav::-webkit-scrollbar {
    display: none;
  }
  .demo-nav-item {
    flex: 0 0 auto;
    padding: 8px 14px;
    font-size: 0.8rem;
  }

  /* Left panel adjustment */
  .workspace-left {
    padding: 24px 16px;
  }

  /* Dynamic phone scaling based on screen width */
  .workspace-right {
    --phone-scale: calc(min(0.85, (100vw - 32px) / 410));
    height: calc(820px * var(--phone-scale));
    padding: 20px 0;
  }
  .iphone-simulator {
    transform: scale(var(--phone-scale)) !important;
  }

  /* Grid conversions to single-column */
  .three-col-grid,
  .two-col-grid {
    grid-template-columns: 1fr !important;
  }
  .profile-stats-grid,
  .leaderboard-impact-section {
    grid-template-columns: 1fr !important;
  }
  .demo-prompt-card {
    flex-direction: column;
    align-items: stretch !important;
    gap: 12px;
  }

  /* Text and spacing adjustments */
  .overview-heading {
    font-size: 1.8rem;
    line-height: 1.2;
  }
  .overview-lead {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }

  /* Studio adjustments */
  .studio-title-area {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
