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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-user-select: none;
  user-select: none;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #0c111c;
  font-family: 'Poppins', sans-serif;
  color: #f1f5f9;
}

#canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

/* Reticle / Crosshair for First-Person walk mode */
#crosshair {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  pointer-events: none;
  z-index: 10;
  transition: all 0.2s ease;
}

#crosshair::before, #crosshair::after {
  content: '';
  position: absolute;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
}

#crosshair::before {
  top: 4px;
  left: 0;
  width: 10px;
  height: 2px;
}

#crosshair::after {
  top: 0;
  left: 4px;
  width: 2px;
  height: 10px;
}

#crosshair.interactable {
  transform: translate(-50%, -50%) scale(1.6);
}

#crosshair.interactable::before, #crosshair.interactable::after {
  background: #ffaa00;
  box-shadow: 0 0 8px #ff9900;
}

/* UI Overlay */
#ui-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 20;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px 20px;
}

/* Header & Title */
.header-bar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: auto;
}

.title-container {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(30, 41, 59, 0.75));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 215, 0, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), inset 0 0 12px rgba(255, 180, 0, 0.1);
  border-radius: 14px;
  padding: 12px 20px;
  display: flex;
  flex-direction: column;
}

.title-badge {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #f59e0b;
  font-weight: 600;
  margin-bottom: 2px;
}

.title-main {
  font-family: 'Cinzel', serif;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 1px;
  background: linear-gradient(90deg, #fff7ed, #fed7aa, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.title-subtitle {
  font-size: 12px;
  color: #94a3b8;
  letter-spacing: 0.5px;
}

/* Top Right Controls (Time, Audio, Fullscreen) */
.top-controls {
  display: flex;
  gap: 10px;
  align-items: center;
}

.pill-btn {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e2e8f0;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.pill-btn:hover {
  background: rgba(30, 41, 59, 0.95);
  border-color: #f59e0b;
  color: #fbbf24;
  transform: translateY(-1px);
}

.pill-btn.active {
  background: linear-gradient(135deg, #d97706, #b45309);
  border-color: #f59e0b;
  color: #fff;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.5);
}

/* Compass & Orientation */
#compass-container {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  padding: 6px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  font-weight: 600;
  color: #cbd5e1;
}

#compass-rose {
  width: 22px;
  height: 22px;
  transition: transform 0.1s linear;
}

/* Interaction prompt */
#interaction-hint {
  position: absolute;
  top: 55%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid #f59e0b;
  box-shadow: 0 4px 20px rgba(0,0,0,0.6);
  color: #fef08a;
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  white-space: nowrap;
}

#interaction-hint.visible {
  opacity: 1;
}

/* Bottom Bar: Mode Selector & Hotspots */
.bottom-bar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  pointer-events: auto;
}

/* Dedicated Bottom Nandi Darshan Dock Widget */
.bottom-nandi-dock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.94), rgba(24, 24, 27, 0.92));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(245, 158, 11, 0.65);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 24px rgba(245, 158, 11, 0.25);
  padding: 8px 16px;
  border-radius: 20px;
  max-width: 95vw;
  width: fit-content;
  pointer-events: auto;
  transition: all 0.3s ease;
}

.bottom-nandi-dock:hover {
  border-color: #fbbf24;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7), 0 0 30px rgba(245, 158, 11, 0.4);
}

.dock-left {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.dock-nandi-avatar {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #f59e0b;
  position: relative;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.dock-nandi-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.dock-left:hover .dock-nandi-avatar img {
  transform: scale(1.08);
}

.dock-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  background: #b91c1c;
  color: #fff;
  font-size: 8px;
  font-weight: 800;
  padding: 1px 4px;
  border-radius: 4px 0 0 0;
  letter-spacing: 0.5px;
}

.dock-nandi-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dock-nandi-title {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dock-om {
  font-size: 11px;
  color: #f59e0b;
  font-weight: 700;
}

.dock-name {
  font-family: 'Cinzel', serif;
  font-size: 14px;
  font-weight: 700;
  color: #fef08a;
  letter-spacing: 0.5px;
}

.dock-sub {
  font-size: 11px;
  color: #94a3b8;
  white-space: nowrap;
}

.dock-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.dock-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #e2e8f0;
  padding: 7px 12px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  transition: all 0.22s ease;
}

.dock-btn:hover {
  background: rgba(245, 158, 11, 0.2);
  border-color: #f59e0b;
  color: #fef08a;
  transform: translateY(-1px);
}

.dock-btn.primary {
  background: linear-gradient(135deg, #d97706, #b45309);
  border-color: #f59e0b;
  color: #fff;
  box-shadow: 0 3px 12px rgba(245, 158, 11, 0.4);
}

.dock-btn.primary:hover {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.6);
  transform: translateY(-1px);
}

.dock-btn.active {
  background: linear-gradient(135deg, #10b981, #047857);
  border-color: #34d399;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.6);
}

.hotspots-row {
  display: flex;
  gap: 8px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 12px;
  border-radius: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  max-width: 95vw;
  overflow-x: auto;
}

.hotspot-btn {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.hotspot-btn:hover {
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.08);
}

.hotspot-btn.active {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.3), rgba(217, 119, 6, 0.4));
  color: #fef08a;
  border: 1px solid rgba(245, 158, 11, 0.5);
}

/* Primary Action Bar */
.action-bar {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.action-btn {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.95));
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 215, 0, 0.3);
  color: #f8fafc;
  padding: 10px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transition: all 0.25s ease;
}

.action-btn:hover {
  background: linear-gradient(135deg, rgba(51, 65, 85, 0.95), rgba(30, 41, 59, 1));
  border-color: #f59e0b;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}

.action-btn.primary {
  background: linear-gradient(135deg, #d97706, #b45309);
  border: 1px solid #f59e0b;
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.action-btn.primary:hover {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.6);
}

/* Instructions card */
#controls-guide {
  position: absolute;
  bottom: 90px;
  left: 20px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 12px;
  color: #cbd5e1;
  pointer-events: auto;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
  max-width: 280px;
  transition: opacity 0.3s ease;
}

#controls-guide .guide-title {
  font-weight: 700;
  color: #f59e0b;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#controls-guide .close-guide {
  cursor: pointer;
  color: #94a3b8;
  font-size: 14px;
}

#controls-guide ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

#controls-guide li span {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 11px;
  color: #fef08a;
}

/* Mobile Virtual Joysticks */
#mobile-controls {
  position: absolute;
  bottom: 80px;
  left: 0;
  width: 100%;
  display: none;
  justify-content: space-between;
  padding: 0 30px;
  pointer-events: none;
  z-index: 30;
}

.joystick-zone {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 2px dashed rgba(255, 255, 255, 0.3);
  position: relative;
  pointer-events: auto;
  touch-action: none;
}

.joystick-knob {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(circle, #f59e0b, #b45309);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  pointer-events: none;
}

.joystick-label {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
}

/* Modals & Popups */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.modal-content {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border: 1px solid rgba(255, 215, 0, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(245, 158, 11, 0.2);
  border-radius: 16px;
  padding: 24px 28px;
  max-width: 500px;
  width: 90%;
  color: #f8fafc;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 12px;
}

.modal-header h3 {
  font-family: 'Cinzel', serif;
  color: #fef08a;
  font-size: 20px;
}

.modal-close {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #cbd5e1;
  cursor: pointer;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.modal-close:hover {
  background: #dc2626;
  border-color: #ef4444;
  color: #fff;
  transform: rotate(90deg) scale(1.1);
  box-shadow: 0 0 12px rgba(220, 38, 38, 0.6);
}

.modal-body {
  font-size: 14px;
  line-height: 1.6;
  color: #cbd5e1;
}

.modal-body p {
  margin-bottom: 12px;
}

.modal-body strong {
  color: #fef08a;
}

/* Nandi Darshan Floating HUD Card */
.nandi-card {
  position: absolute;
  right: 24px;
  bottom: 120px;
  background: linear-gradient(135deg, rgba(24, 24, 27, 0.95), rgba(15, 23, 42, 0.9));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(245, 158, 11, 0.6);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6), 0 0 20px rgba(245, 158, 11, 0.2);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 380px;
  pointer-events: auto;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 25;
}

.nandi-card.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.nandi-card.sanctum-card {
  border-color: rgba(251, 191, 36, 0.9);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.7), 0 0 25px rgba(245, 158, 11, 0.35);
}

.gold-thumb {
  border-color: #fbbf24;
  box-shadow: 0 0 15px rgba(251, 191, 36, 0.6);
}

.gold-btn {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  box-shadow: 0 2px 10px rgba(245, 158, 11, 0.4);
}

.gold-btn:hover {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.nandi-card-thumb {
  width: 76px;
  height: 76px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #f59e0b;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.nandi-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nandi-card-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.nandi-badge {
  font-size: 10px;
  color: #f59e0b;
  font-weight: 700;
  letter-spacing: 1px;
}

.nandi-card-content h4 {
  font-family: 'Cinzel', serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.nandi-card-content p {
  font-size: 11px;
  color: #94a3b8;
  line-height: 1.3;
}

.nandi-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}

.nandi-btn {
  background: linear-gradient(135deg, #d97706, #b45309);
  border: none;
  color: #fff;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.nandi-btn:hover {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  transform: translateY(-1px);
}

.nandi-btn.secondary {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.nandi-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.nandi-card-close {
  position: absolute;
  top: 8px;
  right: 10px;
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 14px;
}

.nandi-card-close:hover {
  color: #fff;
}

/* Real Nandi Photo Gallery Modal */
.nandi-modal-content {
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
}

.nandi-gallery-main {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #090d16;
  border: 1px solid rgba(245, 158, 11, 0.3);
  margin-bottom: 12px;
  text-align: center;
}

#nandi-main-img {
  width: 100%;
  max-height: 380px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.nandi-caption {
  padding: 10px 14px;
  font-size: 12px;
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.9);
  text-align: left;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nandi-thumbs-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.nandi-thumb {
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  background: #0f172a;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.2s;
}

.nandi-thumb img {
  width: 100%;
  height: 64px;
  object-fit: cover;
}

.nandi-thumb span {
  font-size: 10px;
  font-weight: 600;
  padding: 4px;
  color: #94a3b8;
  text-align: center;
  white-space: nowrap;
}

.nandi-thumb:hover {
  border-color: #f59e0b;
  transform: translateY(-2px);
}

.nandi-thumb.active {
  border-color: #f59e0b;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.5);
}

.nandi-thumb.active span {
  color: #fef08a;
}

.nandi-prarthana {
  background: rgba(245, 158, 11, 0.1);
  border: 1px dashed rgba(245, 158, 11, 0.4);
  padding: 10px 14px;
  border-radius: 10px;
  text-align: center;
  color: #fef08a;
  font-size: 13px;
  line-height: 1.5;
}

/* Compact Minimum Sizing for Real Photo Gallery Modals ("in a minimum size and have a cancel icon") */
.photo-modal {
  max-width: 490px;
  width: 92%;
  max-height: 82vh;
  overflow-y: auto;
  padding: 18px 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(24, 24, 27, 0.98));
  border: 1.5px solid rgba(245, 158, 11, 0.65);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 30px rgba(245, 158, 11, 0.3);
  position: relative;
}

.photo-modal.gold-border-modal {
  border-color: rgba(251, 191, 36, 0.85);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 35px rgba(251, 191, 36, 0.4);
}

.photo-gallery-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.photo-hero-view {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #090d16;
  border: 1.5px solid rgba(245, 158, 11, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.photo-hero-view img {
  width: 100%;
  max-height: 240px;
  height: auto;
  object-fit: contain;
  display: block;
  background: #050810;
  margin: 0 auto;
}

/* Prominent Cancel Icon Button on Top-Right of Real Image ("have a cancle icon") */
.hero-cancel-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.88);
  border: 1.5px solid rgba(245, 158, 11, 0.85);
  color: #f8fafc;
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 15;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.7);
  transition: all 0.25s ease;
}

.hero-cancel-btn:hover {
  background: #dc2626;
  border-color: #ef4444;
  color: #fff;
  transform: rotate(90deg) scale(1.15);
  box-shadow: 0 0 16px rgba(220, 38, 38, 0.8);
}

.photo-caption {
  padding: 8px 12px;
  font-size: 11.5px;
  line-height: 1.4;
  color: #cbd5e1;
  background: rgba(15, 23, 42, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.photo-thumbnails-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.thumb-item {
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  background: #0f172a;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.2s ease;
}

.thumb-item img {
  width: 100%;
  height: 48px;
  object-fit: cover;
  display: block;
}

.thumb-item span {
  font-size: 9.5px;
  font-weight: 600;
  padding: 3px 2px;
  color: #94a3b8;
  text-align: center;
  white-space: nowrap;
}

.thumb-item:hover {
  border-color: #f59e0b;
  transform: translateY(-2px);
}

.thumb-item.active {
  border-color: #f59e0b;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.6);
}

.thumb-item.active span {
  color: #fef08a;
}

/* Bhim Shila Darshan Card (placed on bottom-left to prevent overlap) */
.nandi-card.bhim-card {
  left: 24px;
  right: auto;
  border-color: rgba(245, 158, 11, 0.8);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.7), 0 0 25px rgba(245, 158, 11, 0.35);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .title-main {
    font-size: 18px;
  }
  .title-subtitle {
    display: none;
  }
  .header-bar {
    gap: 8px;
  }
  .top-controls {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .pill-btn span.label-text {
    display: none;
  }
  #controls-guide {
    display: none;
  }
  #mobile-controls {
    display: flex;
  }
  .action-btn span.btn-text {
    display: none;
  }
  .action-btn {
    padding: 10px 14px;
  }
  .bottom-nandi-dock {
    padding: 6px 10px;
    gap: 8px;
    border-radius: 16px;
  }
  .dock-nandi-avatar {
    width: 42px;
    height: 42px;
  }
  .dock-sub {
    display: none;
  }
  .dock-name {
    font-size: 12px;
  }
  .dock-btn {
    padding: 5px 8px;
    font-size: 11px;
  }
}

