html, body { font-family: 'Montserrat', sans-serif; }
body {
  background:
    radial-gradient(ellipse at 20% -10%, rgba(255,31,61,0.18), transparent 55%),
    radial-gradient(ellipse at 80% 10%, rgba(122,0,16,0.35), transparent 60%),
    linear-gradient(180deg,#0a0203 0%, #050102 100%);
  min-height: 100vh;
  color: #f5f5f5;
}

.glow-text { text-shadow: 0 0 14px rgba(255,31,61,0.55), 0 0 30px rgba(255,31,61,0.3); }
.btn-neon { position: relative; transition: all .25s ease; }
.btn-neon:hover { box-shadow: 0 0 18px rgba(255,31,61,0.7), 0 0 50px rgba(255,31,61,0.35); transform: translateY(-1px); }
.card { transition: all .3s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 0 22px rgba(255,31,61,0.55), 0 0 60px rgba(255,31,61,0.2); border-color: rgba(255,31,61,0.6); }
.nav-link { position: relative; }
.nav-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: linear-gradient(90deg, transparent, #ff1f3d, transparent); transform: scaleX(0); transition: transform .3s; }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.chip { transition: all .2s ease; }
.chip:hover { box-shadow: 0 0 12px rgba(255,31,61,0.5); border-color: #ff1f3d; color: #fff; }
.chip.active { background: linear-gradient(135deg, #7a0010, #ff1f3d); color: #fff; border-color: #ff1f3d; box-shadow: 0 0 14px rgba(255,31,61,0.6); }
.suggest { animation: slideDown .2s ease forwards; transform-origin: top; }
@keyframes slideDown { from { opacity: 0; transform: scaleY(.85); } to { opacity: 1; transform: scaleY(1); } }
.fade-in { animation: fadeIn .4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.icon-btn:hover { color: #ff1f3d; filter: drop-shadow(0 0 6px rgba(255,31,61,0.8)); }
.gradient-border { background: linear-gradient(#15080a, #15080a) padding-box, linear-gradient(135deg, #7a0010, #ff1f3d) border-box; border: 1px solid transparent; }
#adminModal .gradient-border { background: linear-gradient(#15080a, #15080a) padding-box, linear-gradient(135deg, rgba(122, 0, 16, 0.6), rgba(255, 31, 61, 0.2)) border-box !important; box-shadow: 0 0 35px rgba(122, 0, 16, 0.5), 0 0 75px rgba(122, 0, 16, 0.2) !important; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-thumb { background: #ff1f3d55; border-radius: 8px; }


#sortBtn.active {
    border: 1px solid #ff1f3d !important;
    box-shadow: 0 0 15px rgba(255, 31, 61, 0.4) !important;
}



.disclaimer-text {
  position: fixed;
  bottom: 15px;
  right: 20px;
  color: rgba(255, 255, 255, 0.3); 
  font-size: 10px;
  max-width: 300px;
  text-align: right;
  pointer-events: none; 
  transition: opacity 0.3s;
}

.disclaimer-text:hover {
  opacity: 0.8; 
}


input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    height: 18px;
    width: 18px;
    border-radius: 50%;
    background: #ff1f3d;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(255, 31, 61, 0.8);
    pointer-events: auto; 
}


.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6); 
  backdrop-filter: blur(8px);   
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-out;
}


.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}


.modal-content {
  background: #0a0203;
  border: 1px solid #7f1d1d;
  border-radius: 24px;
  padding: 30px;
  width: 90%;
  max-width: 500px;
  max-height: 80vh; 
  display: flex;
  flex-direction: column;
  overflow: hidden; 
  transform: scale(0.95);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}


#modalBody {
  flex: 1; 
  overflow-y: auto; 
  padding-right: 10px;
  scrollbar-width: thin;
  scrollbar-color: #ff1f3d #1a0508;
}


#modalBody::-webkit-scrollbar {
  width: 6px;
}
#modalBody::-webkit-scrollbar-thumb {
  background-color: #ff1f3d;
  border-radius: 10px;
}


.scroll-container {
  position: relative;
}

.scroll-container::before, .scroll-container::after {
  content: '';
  position: absolute;
  left: 0; right: 10px; height: 30px;
  pointer-events: none;
}
.scroll-container::before { top: 0; background: linear-gradient(to bottom, #0a0203, transparent); }
.scroll-container::after { bottom: 0; background: linear-gradient(to top, #0a0203, transparent); }

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1); 
}
.neon-border-hover {
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 31, 61, 0.3);
}

.neon-border-hover:hover {
  border-color: rgba(255, 31, 61, 0.8);
  box-shadow: 0 0 15px rgba(255, 31, 61, 0.5), inset 0 0 10px rgba(255, 31, 61, 0.2);
}