@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Roboto:wght@300;400;500&display=swap");

body {
  font-family: "Roboto", sans-serif;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #e2e8f0;
  min-height: 100vh;
}

.orbitron {
  font-family: "Orbitron", sans-serif;
}

.glow-text {
  text-shadow: 0 0 8px rgba(59, 130, 246, 0.7);
}

.glow-box {
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

.input-glow:focus {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5);
}

.cyber-border {
  position: relative;
  border: 1px solid transparent;
}

.cyber-border::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0.5rem;
  padding: 2px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.pulse-animation {
  animation: pulse 2s infinite;
}

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

.terminal-text {
  font-family: "Courier New", monospace;
  background-color: rgba(30, 41, 59, 0.7);
  border-left: 3px solid #3b82f6;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal-content {
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  border: 2px solid #3b82f6;
  border-radius: 1rem;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
}

.form-feedback {
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.unsupported-icon { color: #f97316; animation: pulse 1.5s infinite; }
.info-icon { color: #3b82f6; }
.cooldown-timer { font-family: "Orbitron", monospace; font-weight: 700; }

.warning-box {
  background: rgba(255, 165, 0, 0.1);
  border-left: 4px solid #f97316;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
}

.warning-title {
  color: #f97316;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.warning-list { list-style-type: none; padding: 0; margin: 0; }
.warning-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #e2e8f0;
}
.warning-list i { width: 1.25rem; color: #f97316; }

.search-results {
  max-height: 400px;
  overflow-y: auto;
  border-radius: 0.5rem;
  background: rgba(30, 41, 59, 0.5);
  margin-top: 1rem;
}

.result-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  border-bottom: 1px solid rgba(71, 85, 105, 0.5);
  transition: background 0.2s;
  cursor: pointer;
}
.result-item:hover { background: rgba(51, 65, 85, 0.5); }

.result-img {
  width: 120px;
  height: 45px;
  object-fit: cover;
  border-radius: 0.25rem;
  background: #1e293b;
}

.result-info { flex: 1; }
.result-info strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}
.result-sub {
  font-size: 0.75rem;
  color: #94a3b8;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.badge {
  font-size: 0.65rem;
  padding: 0.15rem 0.5rem;
  border-radius: 0.25rem;
  font-weight: 600;
  text-transform: uppercase;
}

.badge-game { background: rgba(52, 211, 153, 0.2); color: #34d399; }
.badge-dlc { background: rgba(251, 191, 36, 0.2); color: #fbbf24; }
.badge-software { background: rgba(167, 139, 250, 0.2); color: #a78bfa; }
.badge-depot { background: rgba(59, 130, 246, 0.2); color: #3b82f6; }

.no-results {
  text-align: center;
  color: #94a3b8;
  padding: 2rem;
}

.hidden { display: none !important; }

.lua-suggestion {
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid #34d399;
  border-radius: 0.5rem;
  padding: 1rem;
  margin-top: 1rem;
  text-align: center;
}

.accordion-button { transition: all 0.3s ease; }
.accordion-button i { transition: transform 0.3s ease; }

.file-item {
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid #334155;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s;
}
.file-item:hover {
  background: rgba(51, 65, 85, 0.8);
  border-color: #3b82f6;
}
.file-info { display: flex; align-items: center; gap: 0.75rem; }
.file-icon { font-size: 1.25rem; }
.file-details { display: flex; flex-direction: column; }
.file-name { font-size: 0.85rem; font-weight: 500; }
.file-meta { font-size: 0.7rem; color: #94a3b8; }

.download-btn {
  background: #3b82f6;
  color: white;
  padding: 0.3rem 0.75rem;
  border-radius: 0.375rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s;
  cursor: pointer;
}
.download-btn:hover { background: #2563eb; }

.zip-btn {
  background: linear-gradient(135deg, #8b5cf6, #3b82f6);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: bold;
  transition: all 0.2s ease;
  cursor: pointer;
}
.zip-btn:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
}
.zip-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}