:root {
  --bg: #000000;
  --primary: #39ff14;
  --secondary: #00ffff;
  --accent: #ffd700;
  --danger: #ff0040;
  --text: #ffffff;
  --text-strong: #f7f7f7;
  --text-muted: #d4d4d4;
  --text-dark: #000000;
  --panel: #0b0b0b;
  --border: #1b1b1b;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text-strong);
  font-family: "Share Tech Mono", monospace;
  line-height: 1.55;
}

body {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background-image:
    radial-gradient(circle at 20% 10%, rgba(57, 255, 20, 0.08), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 255, 255, 0.08), transparent 45%);
}

.mode-toggle {
  position: fixed;
  top: 10px;
  right: 10px;
  z-index: 30;
  border: 1px solid var(--accent);
  background: rgba(0, 0, 0, 0.82);
  color: var(--accent);
  font: inherit;
  font-weight: 700;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
}

.mode-toggle:hover,
.mode-toggle:focus {
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.45);
  outline: none;
}

.scanlines {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1;
  background: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.02) 1px,
    transparent 2px,
    transparent 4px
  );
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 1;
  opacity: 0.015;
  background: repeating-radial-gradient(circle at 10% 10%, #fff 0 1px, transparent 1px 4px);
}

.section {
  position: relative;
  z-index: 2;
  width: min(92%, 680px);
  margin: 1.1rem auto;
}

.panel {
  background: linear-gradient(180deg, rgba(11, 11, 11, 0.97), rgba(3, 3, 3, 0.99));
  border: 2px double var(--primary);
  padding: 1.35rem;
  box-shadow: 0 0 10px rgba(57, 255, 20, 0.22);
}

.checker {
  border-image: repeating-linear-gradient(
    45deg,
    var(--primary) 0 8px,
    var(--bg) 8px 16px,
    var(--secondary) 16px 24px,
    var(--bg) 24px 32px
  ) 1;
}

.hero {
  text-align: center;
  padding-top: 1.6rem;
}

.tag {
  color: var(--accent);
  letter-spacing: 0.15em;
  margin-bottom: 0.3rem;
}

h1,
h2,
h3 {
  font-family: "Anton", "Impact", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0.2rem 0 0.8rem;
}

h1 {
  font-size: clamp(2rem, 9vw, 4.2rem);
  line-height: 0.95;
  color: var(--primary);
  text-shadow:
    0 0 2px rgba(57, 255, 20, 0.8),
    0 0 7px rgba(57, 255, 20, 0.55);
}

h2 {
  font-size: clamp(1.2rem, 4vw, 2rem);
  color: var(--secondary);
  text-shadow: 0 0 4px rgba(0, 255, 255, 0.55);
}

.glitch {
  position: relative;
  animation: flicker 5s infinite;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  width: 100%;
  overflow: hidden;
}

.glitch::before {
  color: var(--danger);
  clip-path: inset(0 0 55% 0);
  transform: translate(1px, -1px);
  opacity: 0.45;
}

.glitch::after {
  color: var(--secondary);
  clip-path: inset(45% 0 0 0);
  transform: translate(-1px, 1px);
  opacity: 0.4;
}

.hammer {
  display: inline-block;
  margin: 0.4rem auto;
  color: var(--accent);
  text-shadow: 0 0 4px rgba(255, 215, 0, 0.75);
  animation: hammer-spin 8s linear infinite;
}

.slogan {
  color: var(--danger);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-shadow: 0 0 3px rgba(255, 0, 64, 0.5);
}

.pulse {
  animation: pulse 1.35s infinite;
}

.cta,
.link-btn {
  display: inline-block;
  border: 2px dashed var(--primary);
  color: var(--text-dark);
  text-decoration: none;
  background: var(--primary);
  padding: 0.9rem 1rem;
  min-height: 52px;
  font-weight: 700;
  margin-top: 0.8rem;
  box-shadow: 0 0 8px rgba(57, 255, 20, 0.45);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cta:hover,
.link-btn:hover,
.cta:focus,
.link-btn:focus {
  transform: translateY(-2px);
  box-shadow: 0 0 12px rgba(57, 255, 20, 0.75);
  outline: none;
}

.ghost {
  background: transparent;
  color: #b7ffff;
  border-color: var(--secondary);
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.32);
}

.danger {
  background: var(--danger);
  border-color: var(--danger);
}

.link-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.mix-grid,
.mix-list {
  display: grid;
  gap: 1rem;
}

.mix-carousel {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.55rem;
  align-items: center;
}

.carousel-viewport {
  overflow: hidden;
  border: 1px dashed var(--secondary);
  box-shadow: inset 0 0 8px rgba(0, 255, 255, 0.18);
  background: rgba(2, 6, 8, 0.75);
}

.carousel-track {
  display: flex;
  transition: transform 0.28s ease;
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  margin: 0;
  border: 0;
  background: transparent;
}

.carousel-nav {
  min-width: 46px;
  min-height: 46px;
  border: 2px dashed var(--secondary);
  background: rgba(0, 0, 0, 0.9);
  color: var(--secondary);
  cursor: pointer;
  font: inherit;
  font-size: 1.25rem;
  font-weight: 700;
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.28);
}

.carousel-nav:hover,
.carousel-nav:focus {
  outline: none;
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.55);
}

.carousel-dots {
  margin-top: 0.55rem;
  display: flex;
  gap: 0.45rem;
  justify-content: center;
  flex-wrap: wrap;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid var(--secondary);
  background: rgba(0, 255, 255, 0.16);
  cursor: pointer;
}

.carousel-dot.active {
  background: var(--secondary);
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.6);
}

.mix-card {
  border: 1px dashed var(--secondary);
  padding: 1rem;
  background: rgba(9, 9, 9, 0.72);
}

.mix-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.toggle-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.4rem;
  margin: 0.35rem 0;
}

.toggle-grid label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.status-pill {
  display: inline-block;
  padding: 0.1rem 0.45rem;
  margin-right: 0.35rem;
  border: 1px solid var(--secondary);
  color: #d8ffff;
  font-size: 0.82rem;
}

.track-editor {
  margin: 0.35rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.track-item {
  border: 1px dashed var(--accent);
  padding: 0.55rem 0.65rem;
  background: rgba(255, 215, 0, 0.08);
  cursor: move;
}

.track-item.dragging {
  opacity: 0.45;
}

.tracklist {
  padding-left: 1.2rem;
}

.muted {
  color: var(--text-muted);
}

.events {
  padding-left: 1.2rem;
  line-height: 1.65;
}

.booking-form {
  display: grid;
  gap: 0.65rem;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #7be8ea;
  background: #0a0a0a;
  color: var(--text-strong);
  font: inherit;
  padding: 0.8rem;
  min-height: 48px;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.controls {
  display: grid;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}

.photo-placeholder {
  min-height: 130px;
  border: 1px dashed var(--accent);
  display: grid;
  place-items: center;
  color: var(--accent);
  background: rgba(255, 215, 0, 0.06);
}

.top-nav {
  display: flex;
  gap: 1rem;
}

.top-nav a,
footer a,
p a {
  color: var(--accent);
}

.footer {
  text-align: center;
  padding-bottom: 2rem;
}

.quick-actions {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  padding: 0.55rem;
  background: rgba(0, 0, 0, 0.9);
  border-top: 1px solid rgba(57, 255, 20, 0.45);
  backdrop-filter: blur(4px);
}

.quick-actions a {
  display: grid;
  place-items: center;
  min-height: 50px;
  text-decoration: none;
  font-weight: 700;
  color: var(--text-dark);
  background: var(--primary);
  border: 1px solid #0f0f0f;
  box-shadow: 0 0 8px rgba(57, 255, 20, 0.35);
}

.quick-actions a:nth-child(2) {
  background: var(--secondary);
}

.quick-actions a:nth-child(3) {
  background: var(--accent);
}

body.pit-mode {
  --text-strong: #ffffff;
  --text-muted: #ececec;
}

body.pit-mode .panel {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(255, 215, 0, 0.32), 0 0 12px rgba(255, 215, 0, 0.22);
}

body.pit-mode h1 {
  letter-spacing: 0.11em;
  text-shadow:
    0 0 2px rgba(57, 255, 20, 0.95),
    0 0 10px rgba(57, 255, 20, 0.75);
}

body.pit-mode h2 {
  letter-spacing: 0.1em;
  color: var(--accent);
  text-shadow: 0 0 5px rgba(255, 215, 0, 0.55);
}

body.pit-mode .slogan {
  font-size: 1.1em;
}

body.pit-mode .cta,
body.pit-mode .link-btn {
  border-style: double;
}

body.pit-mode .quick-actions a {
  box-shadow: 0 0 12px rgba(57, 255, 20, 0.5);
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    text-shadow: 0 0 6px var(--danger), 0 0 14px var(--danger);
  }
  50% {
    opacity: 0.7;
    text-shadow: 0 0 2px var(--danger), 0 0 7px var(--danger);
  }
}

@keyframes flicker {
  0%,
  19%,
  21%,
  23%,
  80%,
  100% {
    opacity: 1;
  }
  20%,
  22%,
  79% {
    opacity: 0.82;
  }
}

@keyframes hammer-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (min-width: 720px) {
  .section {
    width: min(92%, 980px);
  }

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

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

  .controls {
    grid-template-columns: 180px 1fr;
    align-items: end;
    column-gap: 1rem;
  }

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

@media (max-width: 719px) {
  .section {
    width: min(94%, 680px);
    margin: 1rem auto;
  }

  .panel {
    border-width: 2px;
    padding: 1.05rem;
    box-shadow: 0 0 0 1px rgba(57, 255, 20, 0.2), 0 0 10px rgba(57, 255, 20, 0.2);
  }

  body {
    padding-bottom: 74px;
  }

  .quick-actions {
    display: grid;
  }

  .mode-toggle {
    top: auto;
    right: 8px;
    bottom: 84px;
    padding: 0.5rem 0.72rem;
  }

  .top-nav {
    flex-wrap: wrap;
    row-gap: 0.5rem;
  }

  .mix-carousel {
    grid-template-columns: 1fr;
  }

  .carousel-nav {
    min-height: 42px;
  }

  .carousel-nav.prev,
  .carousel-nav.next {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
