/* Trench Roarer Beats - dark industrial web theme */

:root {
  --bg: #07080b;
  --bg-deep: #020306;
  --panel: rgba(20, 14, 22, 0.88);
  --panel-strong: rgba(31, 15, 30, 0.94);
  --line: rgba(255, 93, 28, 0.22);
  --line-cold: rgba(57, 221, 255, 0.22);
  --text: #f8eef2;
  --muted: rgba(248, 238, 242, 0.72);
  --soft: rgba(248, 238, 242, 0.52);
  --ember: #ff6a22;
  --ember-strong: #ff8a3d;
  --magenta: #ff42d0;
  --violet: #9b5cff;
  --cyan: #39ddff;
  --gold: #ffdc6a;
  --danger: #ff4f70;
  --success: #7dffb2;
  --radius: 8px;
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.56);
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  padding-top: 72px;
  overflow-x: hidden;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    linear-gradient(90deg, rgba(255, 106, 34, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(57, 221, 255, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, rgba(255, 66, 208, 0.14), transparent 34%),
    linear-gradient(215deg, rgba(255, 106, 34, 0.16), transparent 42%),
    linear-gradient(180deg, var(--bg), #101116 48%, var(--bg-deep));
  background-size: 76px 76px, 76px 76px, auto, auto, auto;
  background-attachment: fixed;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 6px),
    linear-gradient(90deg, rgba(255, 106, 34, 0.07), transparent 34%, rgba(57, 221, 255, 0.05));
  opacity: 0.7;
}

img {
  display: block;
  max-width: 100%;
}

p,
h1,
h2,
h3,
li,
summary {
  overflow-wrap: break-word;
}

a {
  color: var(--text);
  text-decoration: none;
}

a:hover {
  color: #ffffff;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(57, 221, 255, 0.72);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 10000;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: #ffffff;
  color: #08080b;
  font-weight: 800;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 9999;
  border-bottom: 1px solid rgba(255, 106, 34, 0.18);
  background: rgba(8, 5, 10, 0.86);
  backdrop-filter: blur(14px);
}

.nav__wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
  color: var(--text);
}

.brand__mark {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  overflow: hidden;
  border: 1px solid rgba(255, 106, 34, 0.34);
  border-radius: var(--radius);
  background: #150d17;
  box-shadow: 0 0 24px rgba(255, 66, 208, 0.18);
}

.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand__name {
  color: var(--ember-strong);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.1;
  white-space: nowrap;
}

.brand__tag {
  display: block;
  margin-top: 2px;
  color: var(--soft);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav__links,
.nav__auth {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav__links a,
.nav__auth a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
}

.nav__links a:hover,
.nav__links a[aria-current="page"] {
  border-color: rgba(57, 221, 255, 0.16);
  background: rgba(57, 221, 255, 0.06);
  color: #ffffff;
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border: 1px solid rgba(255, 106, 34, 0.28);
  border-radius: var(--radius);
  background: rgba(20, 14, 22, 0.8);
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
}

.mobileMenu {
  display: none;
  padding: 10px 0 16px;
  border-top: 1px solid rgba(255, 106, 34, 0.16);
}

.mobileMenu.is-open {
  display: grid;
  gap: 6px;
}

.mobileMenu a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 9px 2px;
  color: var(--muted);
  font-weight: 800;
}

.mobileMenu__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 8px;
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.82rem 1.05rem;
  border: 1px solid rgba(255, 106, 34, 0.44);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(255, 66, 208, 0.38), rgba(255, 106, 34, 0.42)),
    #26101f;
  color: #ffffff;
  font-weight: 850;
  line-height: 1;
  max-width: 100%;
  text-align: center;
  box-shadow: 0 0 24px rgba(255, 66, 208, 0.22), 0 0 44px rgba(57, 221, 255, 0.09);
  transition: transform 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease;
}

.btn:hover {
  transform: translateY(-1px);
  border-color: rgba(57, 221, 255, 0.46);
  box-shadow: 0 0 30px rgba(255, 66, 208, 0.3), 0 0 56px rgba(255, 106, 34, 0.18);
}

.btn--ghost {
  background: rgba(8, 5, 10, 0.68);
  border-color: rgba(57, 221, 255, 0.28);
  box-shadow: none;
}

.btn--small {
  min-height: 36px;
  padding: 0.58rem 0.76rem;
  font-size: 0.86rem;
}

.badge,
.pill,
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  border: 1px solid rgba(255, 106, 34, 0.3);
  border-radius: 999px;
  background: rgba(255, 106, 34, 0.09);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.15;
}

.badge {
  padding: 0.45rem 0.72rem;
}

.pill,
.status-badge {
  padding: 0.38rem 0.64rem;
  color: var(--muted);
}

.status-badge--good {
  border-color: rgba(125, 255, 178, 0.35);
  background: rgba(125, 255, 178, 0.1);
  color: var(--success);
}

.status-badge--warn {
  border-color: rgba(255, 220, 106, 0.38);
  background: rgba(255, 220, 106, 0.1);
  color: var(--gold);
}

.status-badge--bad {
  border-color: rgba(255, 79, 112, 0.38);
  background: rgba(255, 79, 112, 0.1);
  color: var(--danger);
}

.section {
  padding: 58px 0;
}

.section--tight {
  padding: 36px 0;
}

.hero {
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  padding: 44px 0 58px;
  border-bottom: 1px solid rgba(255, 106, 34, 0.16);
}

.hero__wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 34px;
  align-items: center;
}

.hero__wrap > * {
  min-width: 0;
}

.hero__left {
  min-width: 0;
}

.hero__title {
  margin: 16px 0 14px;
  max-width: 12ch;
  color: var(--ember-strong);
  font-size: 4.25rem;
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 0 26px rgba(255, 106, 34, 0.22);
}

.hero__subtitle {
  display: block;
  margin-top: 14px;
  max-width: 56ch;
  color: var(--text);
  font-size: 1.12rem;
  font-weight: 760;
  line-height: 1.45;
  text-transform: none;
}

.hero__copy {
  max-width: 64ch;
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 1rem;
}

.hero__cta,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero__proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.mini-stat {
  min-height: 126px;
  padding: 15px;
  border: 1px solid rgba(255, 106, 34, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(35, 15, 31, 0.88), rgba(11, 8, 13, 0.82));
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34);
}

.kicker {
  margin: 0 0 8px;
  color: var(--soft);
  font-size: 0.76rem;
  font-weight: 820;
  letter-spacing: 0;
  text-transform: uppercase;
}

.mini-stat h3,
.tile h3,
.priceBox h3,
details summary {
  margin: 0 0 8px;
  color: var(--ember-strong);
  font-size: 1.08rem;
  line-height: 1.25;
}

.mini-stat p,
.tile p,
details p,
.small {
  margin: 0;
  color: var(--muted);
}

.hero__art {
  position: relative;
  min-width: 0;
  min-height: 456px;
  display: grid;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 106, 34, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(42, 15, 36, 0.86), rgba(7, 8, 11, 0.92)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 7px);
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(57, 221, 255, 0.06);
}

.hero__art::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 36%;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent, rgba(255, 106, 34, 0.12)),
    repeating-linear-gradient(90deg, rgba(57, 221, 255, 0.14) 0 1px, transparent 1px 68px);
}

.hero__logo {
  width: min(620px, 94%);
  margin: 0 auto;
  filter: drop-shadow(0 0 18px rgba(255, 66, 208, 0.22)) drop-shadow(0 0 28px rgba(255, 106, 34, 0.18));
}

.hero__plate {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  z-index: 1;
}

.section__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.h2 {
  margin: 0;
  color: var(--ember-strong);
  font-size: 2rem;
  line-height: 1.1;
  letter-spacing: 0;
}

.lead {
  max-width: 70ch;
  margin: 8px 0 0;
  color: var(--muted);
}

.grid-3,
.grid-2 {
  display: grid;
  gap: 14px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tile,
.card,
.priceBox,
details {
  border: 1px solid rgba(255, 106, 34, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(32, 15, 30, 0.9), rgba(9, 8, 12, 0.85)),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 9px);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.34);
}

.tile,
.card,
.priceBox {
  padding: 18px;
}

.tile {
  position: relative;
  overflow: hidden;
}

.tile--accent {
  border-color: rgba(57, 221, 255, 0.24);
}

.release__cover {
  aspect-ratio: 349 / 149;
  margin-bottom: 14px;
  overflow: hidden;
  border: 1px solid rgba(57, 221, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(8, 5, 10, 0.72);
}

.release__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.release__meta,
.pricing__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-top: 14px;
}

.player {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 18px;
}

.player__bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}

.meter {
  height: 10px;
  overflow: hidden;
  border: 1px solid rgba(57, 221, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.meter span {
  display: block;
  width: 42%;
  height: 100%;
  background: linear-gradient(90deg, var(--magenta), var(--ember), var(--cyan));
}

.pricing {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 14px;
  align-items: stretch;
}

.priceBox {
  border-color: rgba(255, 220, 106, 0.24);
  background:
    linear-gradient(180deg, rgba(44, 20, 27, 0.92), rgba(10, 8, 12, 0.9)),
    repeating-linear-gradient(90deg, rgba(255, 220, 106, 0.03) 0 1px, transparent 1px 56px);
}

.price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 14px 0 10px;
}

.price__num {
  color: #ffffff;
  font-size: 4rem;
  font-weight: 950;
  line-height: 1;
}

.price__per {
  color: var(--muted);
  font-weight: 850;
}

.list {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.list li {
  margin: 8px 0;
}

.catalog-panel {
  display: grid;
  align-content: center;
  gap: 14px;
  min-height: 100%;
}

.catalog-panel__logo {
  width: min(360px, 100%);
  margin: 0 auto;
  border: 1px solid rgba(57, 221, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(7, 8, 11, 0.52);
}

details {
  padding: 14px 16px;
}

summary {
  cursor: pointer;
  font-weight: 850;
}

summary::marker {
  color: var(--cyan);
}

footer {
  margin-top: 24px;
  padding: 36px 0 56px;
  border-top: 1px solid rgba(255, 106, 34, 0.16);
  background: rgba(2, 3, 6, 0.38);
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 18px;
  align-items: start;
}

.small {
  font-size: 0.82rem;
}

.wallpaper-preview {
  position: relative;
  min-width: 0;
  display: grid;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(255, 106, 34, 0.28);
  border-radius: var(--radius);
  background: #09080d;
  box-shadow: var(--shadow);
}

.wallpaper-preview img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.wallpaper-preview__label {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.download-grid .tile {
  min-height: 150px;
}

.form-shell {
  width: min(720px, calc(100% - 40px));
  margin: 0 auto;
}

.form-card {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field label {
  color: var(--text);
  font-weight: 820;
}

.input {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(57, 221, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(2, 3, 6, 0.72);
  color: var(--text);
  padding: 10px 12px;
}

.input::placeholder {
  color: rgba(248, 238, 242, 0.42);
}

.notice,
.alert {
  padding: 14px 16px;
  border-radius: var(--radius);
  color: var(--muted);
}

.notice {
  border: 1px solid rgba(57, 221, 255, 0.24);
  background: rgba(57, 221, 255, 0.07);
}

.alert {
  border: 1px solid rgba(255, 79, 112, 0.34);
  background: rgba(255, 79, 112, 0.09);
}

.dashboard {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 14px;
}

.track-list {
  display: grid;
  gap: 12px;
}

.track-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.75fr);
  gap: 14px;
  align-items: center;
}

.track-card audio {
  width: 100%;
}

.table-wrap {
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

.table th,
.table td {
  padding: 10px;
  border-bottom: 1px solid rgba(255, 106, 34, 0.14);
  text-align: left;
  color: var(--muted);
}

.table th {
  color: var(--text);
  font-size: 0.84rem;
  text-transform: uppercase;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1100px) {
  .nav__links {
    display: none;
  }

  .burger {
    display: grid;
    margin-left: auto;
    border-color: rgba(57, 221, 255, 0.38);
    background: rgba(22, 10, 22, 0.96);
    box-shadow: 0 0 18px rgba(57, 221, 255, 0.14);
  }
}

@media (max-width: 980px) {
  body {
    padding-top: 70px;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }

  .hero__wrap,
  .pricing,
  .footer__grid,
  .dashboard,
  .track-card {
    grid-template-columns: 1fr;
  }

  .hero__title {
    max-width: 13ch;
    font-size: 3.2rem;
  }

  .hero__proof,
  .grid-3,
  .grid-2,
  .player {
    grid-template-columns: 1fr;
  }

  .section__head {
    align-items: start;
    flex-direction: column;
  }

  .hero__art {
    min-height: 330px;
  }
}

@media (max-width: 620px) {
  .container,
  .form-shell {
    width: min(calc(100% - 28px), var(--container));
  }

  .brand {
    gap: 9px;
  }

  .brand__mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .brand__name {
    max-width: 230px;
    white-space: normal;
    font-size: 0.92rem;
  }

  .brand__tag {
    font-size: 0.68rem;
  }

  .nav__auth {
    display: none;
  }

  .hero__title {
    max-width: 100%;
    font-size: 2.45rem;
  }

  .hero__subtitle {
    font-size: 1rem;
  }

  .hero__cta .btn,
  .cta-row .btn {
    width: 100%;
  }

  .player__bar {
    grid-template-columns: 1fr;
  }

  .price__num {
    font-size: 3.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
