/* style.css – Glassmorphism, dark theme, subtle micro‑animations */

/* Global reset & typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  height: 100%;
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #0d0d0d, #1a1a2e);
  color: #e0e0e0;
  overflow: hidden;
}

header {
  position: absolute;
  top: 0;
  width: 100%;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(20, 20, 30, 0.6);
  backdrop-filter: blur(10px);
}
header h1 {
  font-size: 1.8rem;
  font-weight: 600;
}
.primary-btn {
  background: linear-gradient(45deg, #ff7e5f, #feb47b);
  border: none;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}
.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 126, 95, 0.4);
}

/* Map container */
.map-container {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

/* AR canvas – full screen overlay */
.ar-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hidden { display: none; }

/* Auth modal – glassy overlay */
.auth-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.auth-card {
  background: rgba(30,30,45,0.9);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  color: #e0e0e0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.7);
  animation: fadeIn 0.3s ease-out;
}

.reward-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.reward-card {
  background: rgba(30,30,45,0.9);
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  color: #e0e0e0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.7);
  animation: fadeIn 0.3s ease-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.clue-panel {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(30, 30, 45, 0.7);
  backdrop-filter: blur(12px);
  padding: 1.5rem;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  animation: slideUp 0.4s ease-out;
}
@keyframes slideUp {
  from { opacity: 0; transform: translate(-50%, 100%); }
  to { opacity: 1; transform: translate(-50%, 0); }
}
.clue-panel h2 { margin-bottom: 0.5rem; }
.clue-panel p { margin-bottom: 1rem; }
#answer-input {
  width: 100%;
  padding: 0.5rem;
  border-radius: 6px;
  border: 1px solid #555;
  background: rgba(20,20,30,0.6);
  color: #e0e0e0;
  margin-bottom: 0.8rem;
}
.secondary-btn { background: #555; color: #fff; }
