:root {
  color-scheme: dark;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #8b0000 #050505;
}

*::-webkit-scrollbar {
  width: 10px;
}

*::-webkit-scrollbar-track {
  background: #050505;
}

*::-webkit-scrollbar-thumb {
  background: linear-gradient(#2b0505, #8b0000);
  border: 2px solid #050505;
}

body {
  overflow-x: hidden;
}

.noise-layer {
  position: absolute;
  inset: 0;
  opacity: .22;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(139, 0, 0, .22), transparent 28%),
    radial-gradient(circle at 78% 12%, rgba(255, 255, 255, .08), transparent 18%),
    linear-gradient(115deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: auto, auto, 9px 9px;
  mix-blend-mode: screen;
}

.vignette-layer {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, transparent 0, rgba(0, 0, 0, .45) 45%, #000 100%);
}

.city-silhouette {
  position: absolute;
  inset: auto 0 0;
  height: 44vh;
  background:
    linear-gradient(to top, #000 0 28%, transparent 28%),
    linear-gradient(90deg, transparent 0 4%, #080808 4% 8%, transparent 8% 12%, #070707 12% 18%, transparent 18% 22%, #090909 22% 28%, transparent 28% 31%, #060606 31% 39%, transparent 39% 45%, #080808 45% 51%, transparent 51% 56%, #070707 56% 63%, transparent 63% 66%, #090909 66% 74%, transparent 74% 78%, #070707 78% 84%, transparent 84% 90%, #080808 90% 96%, transparent 96%);
  opacity: .85;
  filter: blur(.2px);
}

.fog-layer {
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255, 255, 255, .1), transparent 30%),
    radial-gradient(ellipse at 70% 60%, rgba(139, 0, 0, .12), transparent 32%),
    radial-gradient(ellipse at 45% 35%, rgba(255, 255, 255, .08), transparent 26%);
  filter: blur(30px);
  animation: drift 22s linear infinite alternate;
}

.fog-two {
  opacity: .5;
  animation-duration: 34s;
  animation-direction: alternate-reverse;
}

@keyframes drift {
  from { transform: translate3d(-4%, 2%, 0) scale(1); }
  to { transform: translate3d(5%, -3%, 0) scale(1.08); }
}

.glitch-title {
  position: relative;
  text-shadow: 0 0 28px rgba(139, 0, 0, .55), 2px 2px 0 #230303;
}

.glitch-title::before,
.glitch-title::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .23;
}

.glitch-title::before {
  color: #cf1b1b;
  transform: translate(3px, -2px);
}

.glitch-title::after {
  color: #fff;
  transform: translate(-2px, 2px);
  clip-path: inset(68% 0 12% 0);
}

.nav-link {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: #b8b8b8;
  transition: color .2s ease, text-shadow .2s ease;
}

.nav-link:hover {
  color: #fff;
  text-shadow: 0 0 18px rgba(207, 27, 27, .75);
}

.brand-mark {
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  overflow: hidden;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(139, 0, 0, .5));
}

.mobile-link {
  display: block;
  padding: 12px 0;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #d5d5d5;
}

.nav-toggle {
  display: grid;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #fff;
}

.btn-red,
.btn-ghost,
.btn-danger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .12);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

.btn-red {
  background: linear-gradient(135deg, #8b0000, #2b0202);
  color: #fff;
  box-shadow: 0 0 30px rgba(139, 0, 0, .3);
}

.btn-ghost {
  background: rgba(255, 255, 255, .04);
  color: #fff;
}

.btn-danger {
  background: rgba(139, 0, 0, .18);
  color: #ffb4b4;
  border-color: rgba(139, 0, 0, .5);
}

.btn-red:hover,
.btn-ghost:hover,
.btn-danger:hover {
  transform: translateY(-2px);
  border-color: rgba(207, 27, 27, .8);
  box-shadow: 0 0 28px rgba(139, 0, 0, .35);
}

.glass-panel,
.release-card,
.auth-card,
.locked-panel {
  border: 1px solid rgba(255, 255, 255, .1);
  background: linear-gradient(145deg, rgba(18, 18, 18, .78), rgba(4, 4, 4, .8));
  backdrop-filter: blur(16px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

.release-card {
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.release-card:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 0, 0, .7);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .45), 0 0 30px rgba(139, 0, 0, .18);
}

.section-kicker {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: #cf1b1b;
}

.section-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(3.6rem, 7vw, 6.5rem);
  line-height: .9;
}

.input-dark,
.file-input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(0, 0, 0, .55);
  color: #fff;
  padding: 13px 14px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.input-dark:focus {
  border-color: rgba(207, 27, 27, .85);
  box-shadow: 0 0 0 3px rgba(139, 0, 0, .22);
}

.input-dark::placeholder {
  color: #666;
}

.file-input {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #b8b8b8;
}

.file-input input {
  max-width: 180px;
  font-size: 12px;
}

.check-row {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(0, 0, 0, .35);
  padding: 12px 14px;
  color: #d5d5d5;
}

.stat-pill {
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(0, 0, 0, .45);
  padding: 8px 11px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #b8b8b8;
}

.default-cover {
  background:
    radial-gradient(circle at 50% 20%, rgba(139, 0, 0, .42), transparent 24%),
    linear-gradient(145deg, #1a0505, #030303 58%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 9px);
}

.empty-feature {
  display: grid;
  min-height: 580px;
  place-items: center;
  border: 1px solid rgba(139, 0, 0, .35);
  background: rgba(0, 0, 0, .55);
  padding: 30px;
  text-align: center;
}

.hero-monolith {
  transform: rotate(1deg);
}

.toast {
  width: min(360px, calc(100vw - 32px));
  border: 1px solid;
  padding: 14px 16px;
  backdrop-filter: blur(12px);
  animation: toast-in .3s ease both;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-up {
  animation: fade-up .7s ease both;
}

.delay-150 {
  animation-delay: .15s;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .brand-mark {
    width: 52px;
    height: 52px;
  }

  .hero-monolith {
    transform: none;
  }

  .btn-red,
  .btn-ghost,
  .btn-danger {
    width: 100%;
  }
}
