.quests-container {
  padding: 15px;
  position: relative;
  overflow-y: auto;
  height: 100%;
  box-sizing: border-box;
}

.quests-header {
  margin-bottom: 25px;
  border-left: 3px solid #00d4ff;
  padding-left: 15px;
}

.glitch-text {
  font-size: 1.2rem;
  letter-spacing: 2px;
  color: #fff;
  text-transform: uppercase;
  margin: 0;
  font-weight: 900;
}

.header-line {
  height: 1px;
  background: linear-gradient(90deg, #00d4ff, transparent);
  margin-top: 5px;
  width: 200px;
}

.quests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 15px;
  position: relative;
  z-index: 2;
}

.quest-card {
  background: rgba(10, 15, 24, 0.95) !important;
  border: 1px solid #1a2638 !important;
  border-radius: 2px !important;
  padding: 20px !important;
  transition: border-color 0.3s ease;
}

/* Стан готовності - міняємо бордер на Cyan замість фіолетового */
.quest-card.ready {
  border-color: #00ff88 !important; /* Зеленуватий акцент для готових квестів */
  box-shadow: inset 0 0 10px rgba(0, 255, 136, 0.05);
}

.quest-main h3 {
  margin: 0 0 10px 0;
  font-size: 1rem;
  color: #00d4ff;
  text-transform: uppercase;
}

.quest-description {
  font-size: 11px;
  color: #4a5d75;
  line-height: 1.4;
  margin-bottom: 15px;
}

.section-label {
  font-size: 8px;
  color: #4a5d75;
  margin: 15px 0 8px 0;
  letter-spacing: 1px;
  font-weight: 900;
  text-transform: uppercase;
}

.objective-item {
  margin-bottom: 12px;
}

.objective-info {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  margin-bottom: 4px;
  color: #fff;
}

.objective-progress-track {
  height: 3px;
  background: #05080c;
  border: 1px solid #1a2638;
}

.objective-progress-fill {
  height: 100%;
  background: #00d4ff;
  box-shadow: 0 0 5px rgba(0, 212, 255, 0.3);
  transition: width 0.5s ease;
}

.rewards-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.reward-pill {
  padding: 4px 8px;
  background: rgba(0, 0, 0, 0.4);
  border-left: 2px solid #00d4ff;
  font-size: 10px;
  color: #fff;
  font-family: "Space Mono", monospace;
}

.reward-pill.credits {
  border-left-color: #00ff88;
  color: #00ff88;
}

.reward-pill.xp {
  border-left-color: #00d4ff;
}

.claim-btn {
  width: 100%;
  margin-top: 20px;
  background: #00ff88;
  border: none;
  color: #000;
  padding: 10px;
  cursor: pointer;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.2s;
}

.claim-btn:hover {
  background: #00cc6e;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 255, 136, 0.2);
}

.no-quests {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px;
  color: #4a5d75;
  border: 1px dashed #1a2638;
}

.no-quests i {
  font-size: 2rem;
  margin-bottom: 10px;
  display: block;
}

.quest-tabs-nav {
  display: flex;
  gap: 20px;
  margin-top: 15px;
}

.nav-btn {
  background: transparent;
  border: none;
  color: #4a5d75;
  font-family: "Space Mono", monospace;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1px;
  cursor: pointer;
  padding: 5px 0;
  position: relative;
  transition: color 0.3s;
  text-transform: uppercase;
}

.nav-btn.active {
  color: #00d4ff;
}

.nav-btn.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #00d4ff;
  box-shadow: 0 0 8px #00d4ff;
}

.completed-stamp {
  margin-top: 20px;
  padding: 10px;
  border: 1px solid #00ff88;
  color: #00ff88;
  text-align: center;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 2px;
  background: rgba(0, 255, 136, 0.05);
}

.quest-card.completed {
  opacity: 0.7;
  border-color: #1a2638 !important;
}
