* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Space Mono', monospace;
  background: #1a0a0a;
  color: #e0e0e0;
  overflow: hidden;
  height: 100vh;
  user-select: none;
}

#main-menu {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: radial-gradient(circle at 50% 50%, #2a0505 0%, #0a0000 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5000;
  transition: opacity 0.5s;
}

.menu-content {
  text-align: center;
  background: rgba(0,0,0,0.6);
  padding: 40px;
  border: 4px solid #8b0000;
  border-radius: 8px;
  box-shadow: 0 0 50px rgba(139,0,0,0.4);
}

.title-container {
  margin-bottom: 30px;
}

.menu-content h1 {
  font-size: 72px;
  color: #d4af37;
  letter-spacing: 12px;
  margin-bottom: 5px;
  text-shadow: 
    0 0 20px rgba(212, 175, 55, 0.5),
    0 4px 8px rgba(0,0,0,0.8);
  animation: title-glow 3s ease-in-out infinite;
}

@keyframes title-glow {
  0%, 100% { text-shadow: 0 0 20px rgba(212, 175, 55, 0.5), 0 4px 8px rgba(0,0,0,0.8); }
  50% { text-shadow: 0 0 40px rgba(212, 175, 55, 0.8), 0 4px 8px rgba(0,0,0,0.8); }
}

.title-subtitle {
  color: #888;
  font-size: 12px;
  letter-spacing: 4px;
}

.menu-emblem {
  font-size: 80px;
  color: #d4af37;
  margin-bottom: 40px;
  animation: pulse-emblem 3s infinite;
}

@keyframes pulse-emblem {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; }
}

.menu-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.menu-btn {
  padding: 16px 40px;
  font-size: 18px;
  font-weight: bold;
  font-family: 'Space Mono', monospace;
  background: linear-gradient(180deg, #4a0000 0%, #2a0000 100%);
  color: #d4af37;
  border: 2px solid #d4af37;
  cursor: pointer;
  transition: all 0.3s;
  letter-spacing: 2px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  position: relative;
  overflow: hidden;
}

.menu-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(212, 175, 55, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.5s, height 0.5s;
}

.menu-btn:hover::before {
  width: 300%;
  height: 300%;
}

.menu-btn:hover {
  background: linear-gradient(180deg, #8b0000 0%, #4a0000 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.quit-btn {
  background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
  border-color: #666;
  color: #ccc;
}

.quit-btn:hover {
  background: linear-gradient(180deg, #3a3a3a 0%, #2a2a2a 100%);
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.85" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
  opacity: 0.04;
  pointer-events: none;
  z-index: 9999;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at center, transparent 0%, rgba(0,0,0,0.8) 100%),
    linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%);
  background-size: 100% 100%, 100% 4px;
  pointer-events: none;
  z-index: 9998;
  transition: opacity 0.3s;
}

body.no-vignette::after {
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%);
  background-size: 100% 4px;
}

#game-container {
  display: flex;
  flex-direction: column;
  height: 100vh;
  max-width: 100vw;
  background: linear-gradient(180deg, #1f0808 0%, #0a0000 100%);
}

#booth-area {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-template-rows: auto 1fr;
  gap: 12px;
  padding: 12px;
  overflow: hidden;
}

#person-display {
  grid-column: 1;
  grid-row: 1 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: linear-gradient(135deg, #2a1111 0%, #140505 100%);
  border: 3px solid #2a2a2a;
  border-radius: 6px;
  padding: 15px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.5), 0 4px 15px rgba(0,0,0,0.7);
}

#booth-window {
  width: 100%;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 40%, #3a3a3a 0%, #111 100%);
  border: 4px solid #222;
  border-top-color: #111;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 0 40px rgba(0,0,0,0.9), 0 2px 10px rgba(0,0,0,0.5);
}

#shutter {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    180deg,
    #2a2a2a,
    #2a2a2a 15px,
    #1a1a1a 15px,
    #1a1a1a 18px
  );
  border-bottom: 8px solid #111;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
  box-shadow: 0 10px 20px rgba(0,0,0,0.8);
}

#shutter.closed {
  transform: translateY(0);
}

#booth-window::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(90deg, transparent 48%, rgba(255,255,255,0.03) 49%, rgba(255,255,255,0.03) 51%, transparent 52%),
    linear-gradient(0deg, transparent 48%, rgba(255,255,255,0.03) 49%, rgba(255,255,255,0.03) 51%, transparent 52%);
  background-size: 50% 50%;
  pointer-events: none;
  z-index: 1;
}

#person-image {
  max-width: 85%;
  max-height: 100%;
  height: auto;
  image-rendering: pixelated;
  transform: translateY(15%);
  transition: opacity 0.3s ease;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.6));
  object-fit: contain;
  object-position: center top;
}

#person-name {
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  color: #aaa;
  margin-top: 12px;
  padding: 8px 12px;
  background: rgba(0,0,0,0.4);
  border-radius: 4px;
  letter-spacing: 1px;
}

#dialogue-box {
  grid-column: 2;
  grid-row: 1;
  background: linear-gradient(135deg, #2a1111 0%, #140505 100%);
  border: 3px solid #2a2a2a;
  border-radius: 6px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 2px 10px rgba(0,0,0,0.5), 0 4px 15px rgba(0,0,0,0.7);
  position: relative;
  min-height: 100px;
}

.speaker-grill {
  width: 60px;
  height: 20px;
  background: repeating-linear-gradient(
    90deg,
    #0a0a0a 0px,
    #0a0a0a 2px,
    #1a1a1a 2px,
    #1a1a1a 4px
  );
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.8);
}

#dialogue-text {
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
  color: #ddd;
  font-weight: 400;
}

#desk-area {
  grid-column: 2;
  grid-row: 2;
  background: radial-gradient(circle at 50% 100%, #3a3228 0%, #1f1b18 100%);
  border: 2px solid #4a4035;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 10px 30px rgba(0,0,0,0.8), 0 5px 20px rgba(0,0,0,0.7);
}

.desk-surface {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 2px,
      rgba(0,0,0,0.03) 2px,
      rgba(0,0,0,0.03) 4px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(0,0,0,0.03) 2px,
      rgba(0,0,0,0.03) 4px
    );
  opacity: 0.3;
}

#stamp-area {
  position: absolute;
  bottom: 15px;
  right: 15px;
  display: flex;
  gap: 10px;
  z-index: 5;
  pointer-events: none;
}

.stamp {
  padding: 8px 16px;
  font-size: 18px;
  font-weight: bold;
  border: 3px solid;
  border-radius: 4px;
  opacity: 0.4;
  transform: rotate(-5deg);
  letter-spacing: 2px;
}

.approved-stamp {
  color: #2d5016;
  border-color: #2d5016;
  background: rgba(45, 80, 22, 0.1);
}

.denied-stamp {
  color: #8b0000;
  border-color: #8b0000;
  background: rgba(139, 0, 0, 0.1);
}

.document {
  position: absolute;
  color: #1a1a1a;
  border: 1px solid rgba(0,0,0,0.2);
  border-radius: 4px;
  padding: 18px;
  font-size: 13px;
  box-shadow: 
    0 8px 24px rgba(0,0,0,0.4),
    0 2px 6px rgba(0,0,0,0.3),
    inset 0 1px 1px rgba(255,255,255,0.6);
  cursor: grab;
  user-select: none;
  z-index: 10;
  min-width: 260px;
  transition: opacity 0.3s ease-out, transform 0.3s ease-out, filter 0.3s;
  will-change: transform;
  filter: drop-shadow(0 10px 15px rgba(0,0,0,0.5));
}

.document-id {
  background: 
    linear-gradient(135deg, #d4e8f5 0%, #c4d8e8 100%),
    repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(0,0,0,0.02) 10px, rgba(0,0,0,0.02) 20px);
  border-color: #6b8ba8;
}

.document-permit {
  background: 
    linear-gradient(135deg, #f5e8d4 0%, #e8d8c4 100%),
    repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(139,115,85,0.03) 10px, rgba(139,115,85,0.03) 20px);
  border-color: #8b7355;
}

.document-papers {
  background: 
    linear-gradient(135deg, #e8f5d4 0%, #d8e8c4 100%),
    repeating-linear-gradient(90deg, transparent, transparent 15px, rgba(85,139,75,0.03) 15px, rgba(85,139,75,0.03) 30px);
  border-color: #75a855;
}

.document:hover {
  box-shadow: 
    0 6px 16px rgba(0,0,0,0.35),
    0 2px 6px rgba(0,0,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.3);
}

.document.dragging {
  z-index: 100;
  cursor: grabbing;
  box-shadow: 
    0 16px 40px rgba(0,0,0,0.6),
    0 6px 16px rgba(0,0,0,0.5),
    inset 0 1px 0 rgba(255,255,255,0.3);
  filter: brightness(1.05);
}

.doc-indicator {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(76, 175, 80, 0.9);
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  animation: checkPop 0.3s ease-out;
}

@keyframes checkPop {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.document h3 {
  font-size: 14px;
  margin-bottom: 12px;
  text-align: center;
  border-bottom: 2px solid #8b7355;
  padding-bottom: 8px;
  letter-spacing: 1.2px;
  font-weight: bold;
  color: #1a1a1a;
}

.doc-content {
  line-height: 1.8;
}

.doc-content p {
  margin: 8px 0;
  word-wrap: break-word;
  font-size: 13px;
}

.doc-content strong {
  color: #000;
  font-weight: bold;
  display: inline-block;
  min-width: 100px;
}

.doc-footer {
  font-size: 10px !important;
  margin-top: 10px !important;
  color: #555 !important;
  border-top: 1px solid #d0d0b8;
  padding-top: 8px;
}

.doc-photo-container {
  width: 80px;
  height: 90px;
  margin: 10px auto;
  position: relative;
  background: #d0d0b8;
  border: 2px solid #8b7355;
  padding: 4px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

.id-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  image-rendering: pixelated;
  filter: contrast(1.1) brightness(0.95);
}

.photo-stamp {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.8);
  color: #fff;
  font-size: 8px;
  padding: 2px 6px;
  border-radius: 2px;
  font-weight: bold;
  white-space: nowrap;
  text-shadow: none;
}

.union-badge {
  background: linear-gradient(135deg, #2d5016 0%, #4d7028 100%);
  color: #fff !important;
  text-align: center !important;
  padding: 8px !important;
  margin: 12px 0 !important;
  border-radius: 4px;
  font-weight: bold !important;
  letter-spacing: 1px;
  box-shadow: 0 2px 6px rgba(45, 80, 22, 0.4);
  border: 2px solid #3d6020;
}

.violation-highlight {
  background: rgba(255, 0, 0, 0.15);
  padding: 2px 4px;
  border-radius: 2px;
}

#controls {
  background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
  padding: 12px;
  border-top: 3px solid #2a2a2a;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.5);
}

#document-tray {
  margin-bottom: 8px;
}

.putback-btn {
  width: 100%;
  padding: 10px;
  font-size: 13px;
  font-weight: bold;
  background: linear-gradient(180deg, #4a4a3a 0%, #3a3a2a 100%);
  color: #fff;
  border: 2px solid #5a5a4a;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

.putback-btn:hover {
  background: linear-gradient(180deg, #5a5a4a 0%, #4a4a3a 100%);
  transform: translateY(-2px);
}

#action-buttons {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.action-btn {
  padding: 12px 8px;
  font-size: 11px;
  font-weight: bold;
  background: linear-gradient(180deg, #2d2d2d 0%, #1a1a1a 100%);
  color: #ccc;
  border: 1px solid #444;
  border-top-color: #555;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.action-btn:hover {
  background: linear-gradient(180deg, #383838 0%, #242424 100%);
  color: #fff;
  border-color: #555;
  border-top-color: #666;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.15);
}

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

.btn-icon {
  width: 20px;
  height: 20px;
  margin-bottom: 2px;
}

#decision-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.decision-btn {
  padding: 16px 10px;
  font-size: 14px;
  font-weight: bold;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.6);
  letter-spacing: 1px;
  font-family: 'Space Mono', monospace;
}

.approve {
  background: linear-gradient(180deg, #2e4a18 0%, #1e330f 100%);
  color: #a4d67c;
  border: 2px solid #416b22;
}

.approve:hover {
  background: linear-gradient(180deg, #3a5c1e 0%, #254013 100%);
  color: #c0f296;
  transform: translateY(-2px);
}

.deny {
  background: linear-gradient(180deg, #8b4513 0%, #5c2e0b 100%);
  color: #ffdab9;
  border: 2px solid #a0522d;
}

.deny:hover {
  background: linear-gradient(180deg, #a0522d 0%, #70380e 100%);
  color: #ffe4c4;
  transform: translateY(-2px);
}

.detain {
  background: linear-gradient(180deg, #7a1515 0%, #520b0b 100%);
  color: #ffaaaa;
  border: 2px solid #9e1a1a;
}

.detain:hover {
  background: linear-gradient(180deg, #9e1a1a 0%, #6b0e0e 100%);
  color: #ffcccc;
  transform: translateY(-2px);
}

.decision-btn:active {
  transform: translateY(0);
}

#status-bar {
  display: flex;
  justify-content: space-around;
  background: linear-gradient(180deg, #0d0d0d 0%, #000 100%);
  padding: 12px;
  border-top: 3px solid #2a2a2a;
  box-shadow: 0 -4px 15px rgba(0,0,0,0.8);
}

.status-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.status-label {
  font-size: 10px;
  color: #666;
  letter-spacing: 1px;
}

.status-value {
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  transition: transform 0.2s, color 0.2s;
}

.warnings-status {
  border-left: 2px solid #2a2a2a;
  padding-left: 15px;
}

.warning-value {
  color: #ff9800;
}

#inspection-results {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
}

.modal-content, .inspection-content {
  background: linear-gradient(135deg, #222 0%, #111 100%);
  border: 1px solid #444;
  border-top-color: #555;
  border-radius: 8px;
  padding: 35px;
  text-align: center;
  max-width: 85%;
  box-shadow: 0 20px 50px rgba(0,0,0,0.9), inset 0 1px 0 rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
}

.modal-content::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
}

#inspection-title {
  font-size: 26px;
  margin-bottom: 18px;
  letter-spacing: 2px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

#stamp-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

#stamp-visual {
  font-size: 80px;
  font-weight: bold;
  border: 8px solid;
  padding: 20px 40px;
  border-radius: 10px;
  transform: scale(2) rotate(-15deg);
  opacity: 0;
  letter-spacing: 8px;
}

.stamp-anim-approve {
  color: #4CAF50;
  border-color: #4CAF50;
  animation: stamp-hit 0.8s forwards;
}

.stamp-anim-deny {
  color: #ff9800;
  border-color: #ff9800;
  animation: stamp-hit 0.8s forwards;
}

.stamp-anim-detain {
  color: #f44336;
  border-color: #f44336;
  animation: stamp-hit 0.8s forwards;
}

@keyframes stamp-hit {
  0% { transform: scale(3) rotate(0deg); opacity: 0; }
  20% { transform: scale(1) rotate(-15deg); opacity: 1; }
  80% { transform: scale(1) rotate(-15deg); opacity: 1; }
  100% { transform: scale(1) rotate(-15deg); opacity: 0; }
}

#citation-container {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1500;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  cursor: pointer;
}

.citation-slip {
  background: #e8d8c4;
  color: #1a1a1a;
  width: 300px;
  padding: 20px;
  border: 1px solid #8b7355;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
  box-shadow: 0 -5px 20px rgba(0,0,0,0.5);
  position: relative;
  bottom: -500px;
  transition: bottom 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  font-family: 'Space Mono', monospace;
  text-align: center;
}

.citation-header {
  font-size: 12px;
  font-weight: bold;
  border-bottom: 2px solid #1a1a1a;
  padding-bottom: 5px;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.citation-title {
  font-size: 18px;
  color: #8b0000;
  font-weight: bold;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.citation-body {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 20px;
  min-height: 60px;
}

.citation-penalty {
  font-size: 14px;
  font-weight: bold;
  color: #8b0000;
  margin-bottom: 10px;
}

.citation-warning {
  font-size: 12px;
  color: #555;
  border-top: 1px dashed #1a1a1a;
  padding-top: 10px;
}

#inspection-items {
  margin-bottom: 25px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 50vh;
  overflow-y: auto;
}

.inspection-item {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid #3a3a3a;
  border-radius: 6px;
  padding: 14px 18px;
  font-size: 15px;
  color: #ddd;
  font-weight: 500;
  text-align: left;
  letter-spacing: 0.5px;
}

.inspection-item.contraband-item {
  background: rgba(255, 50, 50, 0.15);
  border-color: #c50000;
  color: #ff6b6b;
  font-weight: bold;
  animation: pulse-red 1.5s ease-in-out infinite;
}

@keyframes pulse-red {
  0%, 100% {
    box-shadow: 0 0 0 rgba(197, 0, 0, 0.4);
  }
  50% {
    box-shadow: 0 0 15px rgba(197, 0, 0, 0.6);
  }
}

#next-person-btn, #close-inspection {
  padding: 14px 35px;
  font-size: 15px;
  font-weight: bold;
  background: linear-gradient(180deg, #3a3a3a 0%, #2a2a2a 100%);
  color: #fff;
  border: 2px solid #4a4a4a;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

#next-person-btn:hover, #close-inspection:hover {
  background: linear-gradient(180deg, #4a4a4a 0%, #3a3a3a 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.5);
}

#search-minigame {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
}

.minigame-content {
  background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
  border: 3px solid #3a3a3a;
  border-radius: 8px;
  padding: 25px;
  text-align: center;
  max-width: 90%;
  width: 500px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.8);
}

#minigame-title {
  font-size: 22px;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

#minigame-instruction {
  font-size: 13px;
  color: #aaa;
  margin-bottom: 20px;
}

.minigame-area {
  width: 100%;
  height: 300px;
  background: rgba(0,0,0,0.3);
  border: 2px solid #3a3a3a;
  border-radius: 6px;
  margin-bottom: 20px;
  position: relative;
  overflow-y: auto;
}

.bag-search {
  background: 
    radial-gradient(circle at 30% 40%, rgba(60,40,20,0.3) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(40,30,20,0.3) 0%, transparent 50%),
    rgba(20,15,10,0.5);
}

.person-search {
  background: 
    radial-gradient(ellipse at center, rgba(80,60,60,0.2) 0%, transparent 60%),
    rgba(30,25,25,0.5);
}

.search-spot {
  position: absolute;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s;
}

.search-spot.found {
  background: rgba(76,175,80,0.3);
  border: 2px solid #4CAF50;
  color: #4CAF50;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
}

.found-item {
  background: rgba(255,255,255,0.1);
  border: 2px solid #3a3a3a;
  border-radius: 4px;
  padding: 8px 12px;
  margin: 5px;
  font-size: 13px;
  color: #ddd;
  display: inline-block;
}

.found-item.contraband-item {
  background: rgba(255,50,50,0.2);
  border-color: #c50000;
  color: #ff6b6b;
  font-weight: bold;
}

#finish-search {
  padding: 12px 30px;
  font-size: 14px;
  font-weight: bold;
  background: linear-gradient(180deg, #3a3a3a 0%, #2a2a2a 100%);
  color: #fff;
  border: 2px solid #4a4a4a;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

#finish-search:hover {
  background: linear-gradient(180deg, #4a4a4a 0%, #3a3a3a 100%);
  transform: translateY(-2px);
}

#question-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
}

#question-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.question-btn {
  padding: 14px 20px;
  font-size: 14px;
  font-weight: bold;
  background: linear-gradient(180deg, #3a3a3a 0%, #2a2a2a 100%);
  color: #fff;
  border: 2px solid #4a4a4a;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
}

.question-btn:hover {
  background: linear-gradient(180deg, #4a4a4a 0%, #3a3a3a 100%);
  transform: translateX(5px);
}

#close-questions {
  padding: 12px 30px;
  font-size: 14px;
  font-weight: bold;
  background: linear-gradient(180deg, #3a3a3a 0%, #2a2a2a 100%);
  color: #fff;
  border: 2px solid #4a4a4a;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

#close-questions:hover {
  background: linear-gradient(180deg, #4a4a4a 0%, #3a3a3a 100%);
  transform: translateY(-2px);
}

#cabinet-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(4px);
}

.cabinet-content {
  max-width: 700px;
  width: 90%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.filing-cabinet-visual {
  width: 100%;
  background: linear-gradient(135deg, #4a4a4a 0%, #3a3a3a 100%);
  border: 4px solid #5a5a5a;
  border-radius: 8px;
  padding: 15px;
  box-shadow: inset 0 4px 20px rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cabinet-drawer {
  background: linear-gradient(180deg, #5a5a5a 0%, #4a4a4a 100%);
  border: 3px solid #6a6a6a;
  border-radius: 6px;
  padding: 15px;
  cursor: pointer;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 8px rgba(0,0,0,0.4);
}

.cabinet-drawer:hover {
  transform: translateX(10px);
  border-color: #7a7a7a;
  box-shadow: 0 6px 15px rgba(0,0,0,0.5);
}

.cabinet-drawer.active {
  background: linear-gradient(180deg, #6a6a6a 0%, #5a5a5a 100%);
  transform: translateX(15px);
  border-color: #8a8a8a;
}

.drawer-label {
  font-size: 14px;
  font-weight: bold;
  color: #fff;
  letter-spacing: 2px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.drawer-handle {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 8px;
  background: linear-gradient(90deg, #2a2a2a 0%, #1a1a1a 100%);
  border-radius: 4px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.8);
}

#cabinet-info {
  max-height: 400px;
  overflow-y: auto;
  margin-bottom: 20px;
}

.cabinet-entries {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cabinet-entry {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid #3a3a3a;
  border-radius: 4px;
  padding: 12px;
  font-size: 13px;
  line-height: 1.6;
  color: #ddd;
}

.cabinet-entry strong {
  color: #fff;
  display: block;
  margin-bottom: 4px;
}

#close-cabinet {
  padding: 12px 30px;
  font-size: 14px;
  font-weight: bold;
  background: linear-gradient(180deg, #3a3a3a 0%, #2a2a2a 100%);
  color: #fff;
  border: 2px solid #4a4a4a;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
}

#close-cabinet:hover {
  background: linear-gradient(180deg, #4a4a4a 0%, #3a3a3a 100%);
  transform: translateY(-2px);
}

.bag-search-game {
  background: 
    radial-gradient(circle at 30% 40%, rgba(30,20,10,0.4) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(20,15,10,0.4) 0%, transparent 50%),
    #0a0806;
  position: relative;
  box-shadow: inset 0 0 30px rgba(0,0,0,0.8);
}

.bag-item {
  position: absolute;
  width: 60px;
  height: 60px;
  background: transparent;
  border: none;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.5s ease-out;
  font-size: 24px;
  font-weight: bold;
  color: transparent;
  text-shadow: none;
}

.bag-item::after {
  content: '';
  position: absolute;
  width: 150%;
  height: 150%;
  top: -25%;
  left: -25%;
  background: radial-gradient(circle, rgba(200, 200, 255, 0.15) 0%, transparent 60%);
  border-radius: 50%;
  opacity: 0;
  animation: pulse-hint-bag 3s infinite;
  pointer-events: none;
  z-index: 1;
}

.bag-item.found::after {
  display: none;
}

.bag-item.found {
  background: rgba(76, 175, 80, 0.4);
  border-color: #4CAF50;
  cursor: default;
  font-size: 11px;
  text-align: center;
  padding: 4px;
  line-height: 1.2;
}

.bag-item.decoy {
  background: rgba(80, 60, 60, 0.5);
  border-color: rgba(100, 80, 80, 0.8);
}

.bag-item.decoy-item::after {
  content: '';
  position: absolute;
  width: 150%;
  height: 150%;
  top: -25%;
  left: -25%;
  background: radial-gradient(circle, rgba(150, 150, 200, 0.15) 0%, transparent 60%);
  border-radius: 50%;
  opacity: 0;
  animation: pulse-hint-bag 3s infinite;
  pointer-events: none;
  z-index: 1;
}

.patdown-game {
  background: 
    radial-gradient(ellipse at center, rgba(40,30,30,0.4) 0%, transparent 60%),
    #110a0a;
  box-shadow: inset 0 0 30px rgba(0,0,0,0.8);
}

.body-silhouette {
  width: 80%;
  height: 90%;
  margin: 5% auto;
  background: 
    radial-gradient(ellipse at 50% 20%, rgba(100,80,80,0.3) 0%, transparent 15%),
    radial-gradient(ellipse at 50% 50%, rgba(100,80,80,0.2) 0%, transparent 40%),
    radial-gradient(ellipse at 30% 70%, rgba(100,80,80,0.2) 0%, transparent 20%),
    radial-gradient(ellipse at 70% 70%, rgba(100,80,80,0.2) 0%, transparent 20%);
  border: 3px solid rgba(150, 130, 130, 0.3);
  border-radius: 50% 50% 40% 40%;
  position: relative;
  cursor: crosshair;
}

.hidden-spot {
  position: absolute;
  width: 20px;
  height: 20px;
  background: transparent;
  border: none;
  border-radius: 50%;
  pointer-events: none;
  transition: all 0.3s;
}

.hidden-spot::before {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 200, 100, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0;
  animation: pulse-hint 2s infinite;
  pointer-events: none;
}

.hidden-spot.revealed::before {
  display: none;
}

@keyframes pulse-hint {
  0%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}

@keyframes pulse-hint-bag {
  0%, 100% { opacity: 0; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

.hidden-spot.revealed {
  width: auto;
  height: auto;
  background: rgba(255, 200, 100, 0.3);
  border-color: #ff9800;
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: bold;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

#inspector-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(6px);
}

.inspector-content {
  max-width: 500px;
  width: 90%;
}

.inspector-window {
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
  background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
  border: 4px solid #3a3a3a;
  border-radius: 8px;
  padding: 10px;
  box-shadow: inset 0 0 30px rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

#inspector-image {
  max-width: 100%;
  max-height: 100%;
  image-rendering: pixelated;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.6));
}

.inspector-dialogue {
  background: rgba(0,0,0,0.4);
  border: 2px solid #3a3a3a;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 20px;
}

#inspector-text {
  font-size: 14px;
  line-height: 1.8;
  text-align: center;
  color: #ddd;
}

#inspector-continue {
  padding: 14px 35px;
  font-size: 15px;
  font-weight: bold;
  background: linear-gradient(180deg, #3a3a3a 0%, #2a2a2a 100%);
  color: #fff;
  border: 2px solid #4a4a4a;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  width: 100%;
}

#inspector-continue:hover {
  background: linear-gradient(180deg, #4a4a4a 0%, #3a3a3a 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.5);
}

#gameover-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.98);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  backdrop-filter: blur(8px);
}

.gameover-content {
  max-width: 500px;
  width: 90%;
  animation: shake 0.5s;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-10px); }
  20%, 40%, 60%, 80% { transform: translateX(10px); }
}

#gameover-text {
  line-height: 1.8;
  white-space: pre-line;
}

#restart-btn {
  padding: 14px 35px;
  font-size: 15px;
  font-weight: bold;
  background: linear-gradient(180deg, #c50000 0%, #8b0000 100%);
  color: #fff;
  border: 2px solid #ff0000;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 10px rgba(197, 0, 0, 0.4);
  width: 100%;
}

#restart-btn:hover {
  background: linear-gradient(180deg, #ff0000 0%, #c50000 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 0, 0, 0.5);
}

#rules-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(6px);
}

.rules-content {
  max-width: 550px;
  width: 90%;
}

.soldier-window {
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
  background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
  border: 4px solid #3a3a3a;
  border-radius: 8px;
  padding: 10px;
  box-shadow: inset 0 0 30px rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

#soldier-image {
  max-width: 100%;
  max-height: 100%;
  image-rendering: pixelated;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.6));
}

.rules-dialogue {
  background: rgba(0,0,0,0.4);
  border: 2px solid #3a3a3a;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 20px;
}

#rules-text {
  font-size: 14px;
  line-height: 1.8;
  text-align: center;
  color: #ddd;
  white-space: pre-line;
}

#rules-continue {
  padding: 14px 35px;
  font-size: 15px;
  font-weight: bold;
  background: linear-gradient(180deg, #3d6020 0%, #2d5016 100%);
  color: #fff;
  border: 2px solid #4d7028;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  width: 100%;
}

#rules-continue:hover {
  background: linear-gradient(180deg, #4d7028 0%, #3d6020 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(61, 96, 32, 0.5);
}

.document, .person-image {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#settings-menu, #extras-menu, #pause-menu {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5000;
  backdrop-filter: blur(8px);
}

.settings-section {
  margin: 20px 0;
  padding: 20px;
  background: rgba(0,0,0,0.3);
  border: 1px solid #444;
  border-radius: 4px;
}

.settings-section h3 {
  font-size: 16px;
  color: #d4af37;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.setting-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 15px 0;
  font-size: 14px;
}

.setting-item label {
  flex: 1;
  color: #ccc;
}

.setting-item input[type="range"] {
  flex: 2;
  height: 4px;
  background: #444;
  border-radius: 2px;
  outline: none;
}

.setting-item input[type="range"]::-webkit-slider-thumb {
  width: 16px;
  height: 16px;
  background: #d4af37;
  cursor: pointer;
  border-radius: 50%;
}

.setting-item input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.stats-display {
  background: rgba(0,0,0,0.3);
  border: 1px solid #444;
  border-radius: 4px;
  padding: 20px;
  margin: 20px 0;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #333;
  font-size: 14px;
}

.stat-row:last-child {
  border-bottom: none;
}

.credits {
  margin: 30px 0;
  padding: 20px;
  background: rgba(0,0,0,0.2);
  border: 1px solid #333;
  border-radius: 4px;
  text-align: center;
}

.credits h3 {
  color: #d4af37;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.credits p {
  font-size: 13px;
  color: #888;
  margin: 8px 0;
}

.pause-stats {
  margin: 30px 0;
  padding: 25px;
  background: rgba(0,0,0,0.3);
  border: 1px solid #444;
  border-radius: 4px;
  font-size: 18px;
}

.pause-stats p {
  margin: 12px 0;
  color: #ccc;
}

.pause-stats span {
  color: #d4af37;
  font-weight: bold;
}

#tutorial-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 6000;
  backdrop-filter: blur(10px);
}

.tutorial-content {
  max-width: 600px;
  width: 90%;
  background: linear-gradient(135deg, #222 0%, #111 100%);
  border: 3px solid #d4af37;
  border-radius: 8px;
  padding: 35px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.9);
}

.tutorial-inspector {
  width: 200px;
  height: 200px;
  margin: 0 auto 20px;
  background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
  border: 4px solid #3a3a3a;
  border-radius: 8px;
  padding: 10px;
  box-shadow: inset 0 0 30px rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
}

#tutorial-inspector-img {
  max-width: 100%;
  max-height: 100%;
  image-rendering: pixelated;
}

.tutorial-dialogue {
  background: rgba(0,0,0,0.4);
  border: 2px solid #3a3a3a;
  border-radius: 6px;
  padding: 25px;
  margin-bottom: 25px;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#tutorial-text {
  font-size: 15px;
  line-height: 1.8;
  color: #ddd;
}

.tutorial-highlight {
  position: fixed;
  border: 4px solid #d4af37;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
  pointer-events: none;
  z-index: 5999;
  border-radius: 8px;
  animation: highlight-pulse 2s infinite;
  display: none;
}

@keyframes highlight-pulse {
  0%, 100% { box-shadow: 0 0 30px rgba(212, 175, 55, 0.6); }
  50% { box-shadow: 0 0 50px rgba(212, 175, 55, 1); }
}

.tutorial-highlighted {
  position: relative;
  z-index: 6001;
}

#particles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9990;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  animation: particle-float 1s ease-out forwards;
  pointer-events: none;
}

@keyframes particle-float {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(calc(var(--vx) * 100px), calc(var(--vy) * 100px)) scale(0);
    opacity: 0;
  }
}

.screen-shake {
  animation: shake-anim 0.5s;
}

@keyframes shake-anim {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-8px); }
  20%, 40%, 60%, 80% { transform: translateX(8px); }
}



#full-shutter {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    180deg,
    #2a2a2a,
    #2a2a2a 15px,
    #1a1a1a 15px,
    #1a1a1a 18px
  );
  border-bottom: 8px solid #111;
  transform: translateY(-100%);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10000;
  pointer-events: none;
  box-shadow: 0 10px 40px rgba(0,0,0,0.9);
}

#full-shutter.closing {
  transform: translateY(0);
}

.pamphlet-content {
  max-width: 600px;
  width: 90%;
}

.pamphlet-paper {
  background: linear-gradient(135deg, #f5e8d4 0%, #e8d8c4 100%);
  border: 3px solid #8b7355;
  border-radius: 6px;
  padding: 25px;
  margin: 20px 0;
  color: #1a1a1a;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.pamphlet-header {
  font-size: 11px;
  font-weight: bold;
  text-align: center;
  border-bottom: 2px solid #8b7355;
  padding-bottom: 8px;
  margin-bottom: 15px;
  letter-spacing: 1.5px;
}

.pamphlet-title {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  color: #8b0000;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.pamphlet-text {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
  white-space: pre-line;
}

.pamphlet-footer {
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  border-top: 2px solid #8b7355;
  padding-top: 10px;
  color: #8b0000;
  letter-spacing: 1px;
}

#pamphlet-continue {
  padding: 14px 35px;
  font-size: 15px;
  font-weight: bold;
  background: linear-gradient(180deg, #3d6020 0%, #2d5016 100%);
  color: #fff;
  border: 2px solid #4d7028;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  width: 100%;
}

#pamphlet-continue:hover {
  background: linear-gradient(180deg, #4d7028 0%, #3d6020 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(61, 96, 32, 0.5);
}

@media (max-width: 768px) {
  #booth-area {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto 1fr;
  }
  
  .menu-content h1 {
    font-size: 48px;
    letter-spacing: 8px;
  }
  
  .menu-btn {
    font-size: 16px;
    padding: 14px 30px;
  }
  
  #person-display {
    grid-column: 1;
    grid-row: 1;
    min-height: 180px;
  }
  
  #booth-window {
    min-height: 140px;
  }
  
  #dialogue-box {
    grid-column: 1;
    grid-row: 2;
    min-height: 80px;
  }
  
  #desk-area {
    grid-column: 1;
    grid-row: 3;
  }
  
  #action-buttons {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .action-btn {
    font-size: 10px;
    padding: 10px 4px;
  }
  
  .btn-icon {
    font-size: 16px;
  }
  
  .document {
    min-width: 220px;
    font-size: 12px;
    padding: 14px;
  }
  
  .document h3 {
    font-size: 13px;
  }
  
  .doc-content p {
    font-size: 12px;
  }
  
  .minigame-area {
    height: 250px;
  }
  
  .warnings-status {
    border-left: none;
    padding-left: 0;
    border-top: 2px solid #2a2a2a;
    padding-top: 8px;
    margin-top: 8px;
  }
  
  #status-bar {
    flex-wrap: wrap;
  }
  
  .status-item {
    flex: 1;
    min-width: 80px;
  }
}