/* ===== ROOT & GLOBAL ===== */

:root {
  --bg-main: #0b0b0b;
  --bg-surface: #151515;
  --bg-alt: #1d1d1d;

  --paper: #f2efe9;
  --ink-main: #f2efe9;
  --ink-muted: #a19c90;

  --accent-red: #ff1a1a;
  --accent-yellow: #efff21;
  --accent-grey: #323232;

  --border-soft: #343434;

  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.9);

  --riot-red: #ff1a1a;
  --riot-yellow: #efff21;

  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Rubik Dirt", "Bangers", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background:
    radial-gradient(circle at top left, #262626 0, transparent 55%),
    radial-gradient(circle at bottom right, #141414 0, transparent 50%),
    #050505;
  color: var(--ink-main);
}

.ev-demo-note{
  display:block;
  margin-top:0.5rem;
  font-size:0.85rem;
  opacity:0.7;
}

/* PAGE WRAP */

.page {
  min-height: 100vh;
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 20px 40px;
}

/* Slight grain over the whole page */
.page-crossfire::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  mix-blend-mode: soft-light;
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.05) 1px,
      transparent 1px,
      transparent 3px
    );
  z-index: -1;
}

/* ===== NAV ===== */

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  margin-bottom: 32px;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 16px;
  z-index: 20;
}

.nav-riot {
  background:
    repeating-linear-gradient(
      -8deg,
      #050505,
      #050505 4px,
      #0b0b0b 4px,
      #0b0b0b 8px
    );
  border-image: repeating-linear-gradient(
      90deg,
      var(--accent-red) 0,
      var(--accent-red) 20px,
      var(--accent-yellow) 20px,
      var(--accent-yellow) 40px
    ) 1;
}

.nav-riot::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  mix-blend-mode: screen;
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.12),
      rgba(255, 255, 255, 0.12) 1px,
      transparent 1px,
      transparent 4px
    );
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.ev-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  flex: 0 0 auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.site-name {
  font-family: "Anton", system-ui, sans-serif;
  letter-spacing: 0.18em;
  font-size: 1.05rem;
  text-transform: uppercase;
}

.template-label {
  font-size: 0.78rem;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-link {
  font-size: 0.8rem;
  text-decoration: none;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  position: relative;
  padding-bottom: 2px;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 3px;
  background:
    repeating-linear-gradient(
      -45deg,
      var(--accent-red),
      var(--accent-red) 6px,
      var(--accent-yellow) 6px,
      var(--accent-yellow) 12px
    );
  transition: width 0.18s ease-out;
}

.nav-link:hover {
  color: var(--ink-main);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Right side of nav: socials + CTA */

.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-socials {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.7);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-main);
  background: rgba(0, 0, 0, 0.85);
  transition: background 0.14s ease-out, transform 0.14s ease-out;
}

.nav-social-link:hover {
  background: var(--accent-red);
  color: #0b0b0b;
  transform: translateY(-1px);
}

.nav-cta {
  display: flex;
  align-items: center;
}

/* ===== BUTTONS ===== */

.btn-primary,
.btn-secondary {
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  cursor: pointer;
  border-radius: 0;
  padding: 0.6em 1.4em;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn-primary.btn-riot {
  background: var(--accent-red);
  color: #0b0b0b;
  border-color: #0b0b0b;
  box-shadow: var(--shadow-soft);
}

.btn-primary.btn-riot::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(239, 255, 33, 0.4),
      rgba(239, 255, 33, 0.4) 3px,
      transparent 3px,
      transparent 6px
    );
  mix-blend-mode: screen;
  transition: opacity 0.16s ease-out;
}

.btn-primary.btn-riot:hover::after {
  opacity: 1;
}

.btn-primary.btn-riot:hover {
  animation: btn-glitch 0.18s linear 1;
}

.btn-secondary {
  border-color: var(--accent-grey);
  background: transparent;
  color: var(--ink-main);
  margin-left: 10px;
}

.btn-outline-riot {
  border-color: var(--paper);
  background: transparent;
}

.btn-secondary:hover,
.btn-outline-riot:hover {
  background: rgba(242, 239, 233, 0.06);
}

/* Glitch animation */
@keyframes btn-glitch {
  0% {
    transform: translate(0, 0);
  }
  30% {
    transform: translate(-1px, 1px);
  }
  60% {
    transform: translate(2px, -1px);
  }
  100% {
    transform: translate(0, 0);
  }
}

/* ===== SECTION BASE ===== */

.section {
  padding: 36px 0;
}

.section-riot {
  position: relative;
}

.section-riot::before {
  content: "";
  position: absolute;
  left: -14px;
  top: 24px;
  width: 42px;
  height: 2px;
  background:
    repeating-linear-gradient(
      90deg,
      var(--accent-red),
      var(--accent-red) 10px,
      var(--accent-yellow) 10px,
      var(--accent-yellow) 20px
    );
}

/* ===== HERO ===== */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.5fr);
  gap: 32px;
  align-items: center;
}

.hero-riot {
  border-top: 2px solid rgba(255, 255, 255, 0.18);
  padding-top: 24px;
}

/* Hero art - zine style */

.hero-art-wrap {
  position: relative;
}

.hero-zine-wrap {
  transform: rotate(-2deg);
}

.hero-art-shadow {
  position: absolute;
  inset: 10px -18px -16px 18px;
  background: radial-gradient(circle at bottom, rgba(0, 0, 0, 0.95), transparent 55%);
  filter: blur(10px);
  z-index: -2;
}

.hero-zine-shadow {
  filter: blur(18px);
}

.hero-art {
  position: relative;
  width: 100%;
  max-width: 340px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.hero-zine {
  background: var(--paper);
  border: 2px solid #111;
  box-shadow: var(--shadow-soft);
}

/* torn edges */

.hero-zine-torn {
  position: absolute;
  left: -20%;
  width: 140%;
  height: 18px;
  background:
    repeating-linear-gradient(
      -45deg,
      #111,
      #111 3px,
      var(--paper) 3px,
      var(--paper) 7px
    );
  mix-blend-mode: multiply;
}

.hero-zine-torn-top {
  top: -6px;
}

.hero-zine-torn-bottom {
  bottom: -8px;
}

/* tape corners */

.hero-zine-tape {
  position: absolute;
  width: 60px;
  height: 16px;
  background: rgba(242, 239, 233, 0.92);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.7);
  opacity: 0.9;
}

.hero-zine-tape-left {
  top: -12px;
  left: 12px;
  transform: rotate(-15deg);
}

.hero-zine-tape-right {
  bottom: -12px;
  right: 6px;
  transform: rotate(11deg);
}

/* tagline + badges */

.hero-tagline {
  position: absolute;
  top: 12px;
  left: 14px;
  padding: 3px 10px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.hero-tagline-riot {
  background: #0b0b0b;
  color: var(--paper);
  border: 1px solid #0b0b0b;
}

.hero-art-top {
  position: absolute;
  top: 14px;
  right: 12px;
  display: flex;
  gap: 6px;
}

.hero-badge {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 2px 8px 3px;
}

.hero-badge-riot {
  background: transparent;
  border: 1px solid #111;
  color: #111;
}

.hero-badge-riot.alt {
  background: var(--accent-yellow);
  border-color: #111;
}

/* title */

.hero-art-title {
  position: absolute;
  left: 14px;
  bottom: 72px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-art-title span {
  font-family: "Anton", system-ui, sans-serif;
  font-size: 2.4rem;
  letter-spacing: 0.16em;
}

.hero-art-title-riot span {
  color: #111;
}

.hero-art-title-riot .outline {
  color: transparent;
  -webkit-text-stroke: 1px #111;
  text-stroke: 1px #111;
}

/* bottom copy */

.hero-art-footer {
  position: absolute;
  bottom: 12px;
  left: 14px;
  right: 14px;
  display: flex;
  flex-direction: column;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.hero-art-footer-riot {
  color: #111;
}

/* stamp */

.hero-zine-stamp {
  position: absolute;
  right: -32px;
  bottom: 34%;
  padding: 4px 16px;
  border: 2px solid #111;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  transform: rotate(10deg);
  background: rgba(11, 11, 11, 0.85);
  color: var(--paper);
}

/* Hero text */

.hero-title {
  font-family: var(--font-display);
  font-size: 2.4rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 10px;
  line-height: 1.04;
}

.hero-title-riot {
  color: var(--ink-main);
  -webkit-text-stroke: 0;
  text-shadow:
    1px 1px 0 #0b0b0f,
    2px 2px 0 rgba(0, 0, 0, 0.28);
}

.hero-subtitle {
  margin: 0 0 18px;
  font-size: 0.98rem;
  color: var(--ink-muted);
  max-width: 34rem;
}

.hero-subtitle-riot {
  color: var(--ink-main);
  line-height: 1.6;
  opacity: 0.88;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.hero-note {
  margin: 0;
  font-size: 0.86rem;
  color: var(--ink-muted);
}

.hero-text {
  max-width: 640px;
}

.hero-actions-riot .btn-secondary {
  border-color: var(--border-soft);
  color: var(--ink-muted);
  box-shadow: none;
  opacity: 0.78;
}

.hero-actions-riot .btn-secondary:hover {
  opacity: 1;
  background: rgba(242, 239, 233, 0.06);
}

.hero-micro {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 6px;
}

.zine-heading {
  font-family: var(--font-display);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ===== GLITCH TEXT (RED base + YELLOW flicker only) ===== */

.glitch {
  position: relative;
  display: inline-block;
  isolation: isolate;
  color: var(--riot-red);
  letter-spacing: 0.02em;
  text-shadow: none;
  --glitch-offset-x: 1px;
  --glitch-offset-y: 0px;
  --glitch-speed: 3s;
}

.glitch::before {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  color: var(--riot-yellow);
  text-shadow: none;
  mix-blend-mode: normal;
  opacity: 0.22;
  transform: translate(calc(var(--glitch-offset-x) * -1), calc(var(--glitch-offset-y) * -1));
  will-change: transform, clip-path, opacity;
  animation: glitch-slice-a var(--glitch-speed) steps(1, end) infinite;
}

.glitch::after {
  content: none;
}

.hero-title-riot .glitch {
  text-shadow: none;
}

.hero-title-riot:hover .glitch,
.glitch.is-hover-burst,
.glitch.is-burst {
  --glitch-offset-x: 2px;
  --glitch-offset-y: 1px;
  --glitch-speed: 1.1s;
}

.hero-title-riot:hover .glitch::before,
.glitch.is-hover-burst::before,
.glitch.is-burst::before {
  opacity: 0.55;
}

.glitch.is-burst {
  --glitch-offset-x: 3px;
  --glitch-offset-y: 1px;
  --glitch-speed: 0.7s;
}

@keyframes glitch-slice-a {
  0%, 76%, 100% {
    clip-path: inset(0 0 0 0);
    transform: translate(calc(var(--glitch-offset-x) * -1), calc(var(--glitch-offset-y) * -1));
  }
  78% {
    clip-path: inset(10% 0 62% 0);
    transform: translate(calc(var(--glitch-offset-x) * -1 - 1px), calc(var(--glitch-offset-y) * -1 - 1px));
  }
  82% {
    clip-path: inset(68% 0 8% 0);
    transform: translate(calc(var(--glitch-offset-x) * -1 + 2px), calc(var(--glitch-offset-y) * -1));
  }
  86% {
    clip-path: inset(34% 0 36% 0);
    transform: translate(calc(var(--glitch-offset-x) * -1 - 1px), calc(var(--glitch-offset-y) * -1 + 1px));
  }
}

@media (prefers-reduced-motion: reduce) {
  .glitch::before {
    animation: none !important;
    clip-path: inset(0 0 0 0);
    transform: translate(-1px, 0);
    opacity: 0.18;
  }
}

/* ===== PAPER / ZINE CARD EFFECTS ===== */

.zine-card {
  position: relative;
}

.zine-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.18),
    rgba(0, 0, 0, 0.18) 1px,
    transparent 1px,
    transparent 3px
  );
  opacity: 0.2;
  mix-blend-mode: multiply;
}

.zine-card::after {
  content: "";
  position: absolute;
  inset: -6px;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(214, 40, 40, 0.2),
      rgba(214, 40, 40, 0.2) 12px,
      rgba(239, 255, 33, 0.2) 12px,
      rgba(239, 255, 33, 0.2) 16px,
      transparent 16px,
      transparent 26px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(0, 0, 0, 0),
      rgba(0, 0, 0, 0) 10px,
      rgba(242, 239, 233, 0.08) 10px,
      rgba(242, 239, 233, 0.08) 14px
    );
  opacity: 0;
  mix-blend-mode: screen;
  clip-path: inset(0 0 0 0);
}

.zine-card.is-burst::after {
  opacity: 0.45;
  animation: zine-burst-slice 0.22s steps(1, end) infinite;
}

@keyframes zine-burst-slice {
  0% {
    clip-path: inset(0 0 0 0);
    transform: translate(0, 0) skewX(0deg);
  }
  40% {
    clip-path: inset(12% 0 64% 0);
    transform: translate(-2px, -1px) skewX(-2deg);
  }
  70% {
    clip-path: inset(60% 0 10% 0);
    transform: translate(2px, 1px) skewX(2deg);
  }
  100% {
    clip-path: inset(0 0 0 0);
    transform: translate(0, 0) skewX(0deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .zine-card.is-burst::after {
    animation: none !important;
  }
}

/* ===== PLAYLIST SECTION ===== */

.playlist {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  border-top: 1px dashed rgba(255, 255, 255, 0.2);
  padding-top: 28px;
  margin-top: -8px;
}

.visual {
  display: none;
}

.visual-wrapper {
  display: grid;
  grid-area: 1/1;
  block-size: 100%;
  filter: grayscale(1);
}

.visual .img,
.visual-placeholder {
  grid-area: 1/1;
  display: block;
  inline-size: 100%;
  object-fit: cover;
  block-size: 220px;
  object-position: center top;
}

.effect-overlay {
  grid-area: 1/1;
  mix-blend-mode: screen;
}

.effect-image {
  opacity: 0;
}

/* audio controls */

.controls {
  grid-area: 1/1;
  padding: 12px;
  place-self: end flex-start;
}

.audio-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  border: 2px solid var(--paper);
  background: rgba(0, 0, 0, 0.9);
  color: var(--paper);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3), var(--shadow-soft);
}

.audio-btn .icon-group {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.audio-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background:
    repeating-linear-gradient(
      -45deg,
      rgba(239, 255, 33, 0.4),
      rgba(239, 255, 33, 0.4) 3px,
      transparent 3px,
      transparent 6px
    );
  mix-blend-mode: screen;
  transition: opacity 0.16s ease-out;
}

.audio-btn:hover::before {
  opacity: 1;
}

/* playlist content */

.content {
  inline-size: 100%;
  display: block;
  background-color: #050505;
}

.playlist-content .content-wrapper {
  display: grid;
  gap: 22px;
  padding-block: 20px;
  padding-inline: 20px;
  justify-items: stretch;
}

.playlist-header {
  display: grid;
  gap: 8px;
  text-align: left;
}

.playlist-tag {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: #0b0b0b;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  color: var(--paper);
}

.headline-1 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin: 0;
  max-inline-size: 24ch;
}

.playlist-meta {
  display: grid;
  gap: 10px;
}

.playlist-tagline {
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.playlist-tagline span {
  color: var(--accent-yellow);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
}

.playlist-note {
  margin: 0;
  max-width: 40rem;
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.5;
}

.playlist-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.playlist-actions .btn-secondary {
  margin-left: 0;
}

.btn-compact {
  font-size: 0.72rem;
  padding: 0.5em 1.2em;
  letter-spacing: 0.18em;
}

.playlist-tracks {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.playlist-tracks li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: 6px;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.track-title {
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.track-time {
  color: var(--ink-muted);
  font-size: 0.8rem;
}

/* ===== SECTION HEADERS ===== */

.section-header {
  max-width: 640px;
  margin-bottom: 22px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.section-title-riot {
  position: relative;
}

.section-title-riot::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 40%;
  height: 3px;
  background:
    repeating-linear-gradient(
      -45deg,
      var(--accent-red),
      var(--accent-red) 6px,
      transparent 6px,
      transparent 12px
    );
}

.section-subtitle {
  margin: 0;
  font-size: 0.94rem;
  color: var(--ink-muted);
}

/* ===== FEATURES ===== */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  border-radius: 0;
  padding: 14px 14px 16px;
}

.feature-card-riot {
  background:
    linear-gradient(
      135deg,
      rgba(214, 40, 40, 0.1),
      rgba(0, 0, 0, 0.96)
    );
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.9);
  position: relative;
  overflow: hidden;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out;
}

.feature-card-riot::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  mix-blend-mode: soft-light;
  background-image:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.16),
      rgba(255, 255, 255, 0.16) 1px,
      transparent 1px,
      transparent 3px
    );
}

.feature-card-riot:hover {
  transform: translateY(-2px) skewX(-0.5deg);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.9);
}

.feature-title {
  font-family: var(--font-display);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin: 0 0 8px;
}

.feature-text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

/* ===== STRIP ===== */

.strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.strip-riot {
  border-top: 1px dashed rgba(255, 255, 255, 0.25);
  padding-top: 18px;
}

.strip-item {
  padding: 10px 12px;
  border-radius: 0;
}

.strip-item-riot {
  border: 1px solid rgba(255, 255, 255, 0.24);
  background:
    linear-gradient(
      120deg,
      rgba(214, 40, 40, 0.16),
      rgba(11, 11, 11, 0.96) 55%
    ),
    repeating-linear-gradient(
      120deg,
      rgba(239, 255, 33, 0.12),
      rgba(239, 255, 33, 0.12) 6px,
      transparent 6px,
      transparent 14px
    );
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.9);
  position: relative;
  overflow: hidden;
}

.strip-item-riot::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  mix-blend-mode: soft-light;
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.2),
      rgba(255, 255, 255, 0.2) 1px,
      transparent 1px,
      transparent 3px
    );
}

.strip-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}

.strip-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 2px 7px;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.strip-label-live {
  background: var(--accent-red);
  color: #0b0b0b;
}

.strip-label-drop {
  background: var(--accent-yellow);
  color: #0b0b0b;
}

.strip-label-video {
  background: var(--paper);
  color: #111;
}

.strip-date {
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.strip-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.96rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ===== PROJECT GRID ===== */

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.project-card {
  border-radius: 0;
  overflow: hidden;
}

.project-card-riot {
  background: #101010;
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.95);
  position: relative;
}

.project-art {
  height: 110px;
  position: relative;
}

/* Different poster feels per project */

.project-art-riot {
  background-color: #111;
}

.project-art-a {
  background:
    linear-gradient(135deg, var(--accent-red), #111 60%, #000);
}

.project-art-b {
  background:
    linear-gradient(135deg, var(--accent-yellow), #161616 60%, #000);
}

.project-art-c {
  background:
    radial-gradient(circle at center, rgba(214, 40, 40, 0.95), #000 55%),
    repeating-linear-gradient(
      135deg,
      rgba(239, 255, 33, 0.6),
      rgba(239, 255, 33, 0.6) 6px,
      transparent 6px,
      transparent 16px
    );
}

.project-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.2),
      rgba(255, 255, 255, 0.2) 1px,
      transparent 1px,
      transparent 3px
    );
  opacity: 0.28;
  mix-blend-mode: soft-light;
}

/* subtle skew hover */

.project-card-riot:hover {
  transform: translateY(-3px) skewX(-1deg);
  transition: transform 0.12s ease-out;
}

.project-body {
  padding: 10px 12px 14px;
}

.project-title {
  margin: 0 0 4px;
  font-family: var(--font-display);
  font-size: 0.96rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-meta {
  margin: 0;
  font-size: 0.86rem;
  color: var(--ink-muted);
}

/* ===== PROJECT IMAGERY ===== */

.project-galleries {
  display: grid;
  gap: 20px;
}

.project-group {
  position: relative;
  padding: 18px 16px 16px;
  background:
    linear-gradient(
      145deg,
      rgba(255, 26, 26, 0.12),
      rgba(0, 0, 0, 0.94)
    );
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  isolation: isolate;
}

.project-group::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      -8deg,
      rgba(239, 255, 33, 0.1),
      rgba(239, 255, 33, 0.1) 6px,
      transparent 6px,
      transparent 12px
    );
  opacity: 0.2;
  z-index: 0;
}

.project-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.project-group-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-group-text {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.riot-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  position: relative;
  z-index: 1;
}

.riot-frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 2px solid transparent;
  border-image: linear-gradient(135deg, var(--accent-red), var(--accent-yellow)) 1;
  background:
    linear-gradient(
      135deg,
      rgba(0, 0, 0, 0.96),
      rgba(255, 255, 255, 0.02)
    );
  box-shadow: var(--shadow-soft);
}

.riot-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 26, 26, 0.2), transparent 42%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0.72));
  mix-blend-mode: multiply;
  pointer-events: none;
}

.riot-frame::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px dashed rgba(255, 255, 255, 0.24);
  opacity: 0.75;
  pointer-events: none;
}

.riot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: contrast(1.05) brightness(0.9) saturate(1.05);
  transition: transform 0.2s ease-out;
}

.riot-frame:hover .riot-img {
  transform: scale(1.05);
}

.riot-img-tag {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 5px 12px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  background: rgba(0, 0, 0, 0.8);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-main);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.65);
}

/* ===== SPLIT ABOUT ===== */

.section-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.5fr);
  gap: 24px;
}

.split-right-riot {
  position: relative;
}

.split-right-riot::before {
  content: "DIY / NO POLISH";
  position: absolute;
  top: -16px;
  right: 0;
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  padding: 2px 10px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  background: #0b0b0b;
}

.body-text {
  margin: 0 0 10px;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

/* ===== DEMO CONTACT ===== */

.demo-contact {
  position: relative;
  padding: 32px 0 16px;
}

.demo-contact::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 0;
  bottom: 0;
  width: 26px;
  background:
    repeating-linear-gradient(
      -45deg,
      var(--accent-red),
      var(--accent-red) 6px,
      transparent 6px,
      transparent 12px
    );
  opacity: 0.6;
}

.demo-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 18px;
  position: relative;
}

.demo-form-card,
.demo-info-card {
  position: relative;
  padding: 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  isolation: isolate;
}

.demo-form-card {
  background:
    linear-gradient(
      145deg,
      rgba(255, 26, 26, 0.14),
      rgba(0, 0, 0, 0.96)
    );
}

.demo-info-card {
  background:
    linear-gradient(
      145deg,
      rgba(239, 255, 33, 0.12),
      rgba(0, 0, 0, 0.94)
    );
}

.demo-form-card::after,
.demo-info-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.08) 1px,
      transparent 1px,
      transparent 4px
    );
  opacity: 0.28;
  pointer-events: none;
  z-index: 0;
}

.demo-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.demo-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.demo-field input,
.demo-field textarea {
  width: 100%;
  padding: 12px;
  background: #0b0b0b;
  border: 1px solid var(--border-soft);
  color: var(--ink-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.demo-field textarea {
  resize: vertical;
  min-height: 140px;
}

.demo-field input:focus,
.demo-field textarea:focus {
  outline: none;
  border-color: var(--accent-red);
  box-shadow:
    0 0 0 2px rgba(255, 26, 26, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.demo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.demo-btn-ghost {
  border-style: dashed;
  opacity: 0.88;
}

.demo-hint {
  margin: 6px 0 0;
  color: var(--ink-muted);
  position: relative;
  z-index: 1;
}

.demo-info-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.demo-pill {
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(0, 0, 0, 0.85);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-main);
}

.demo-info-body {
  display: grid;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.demo-info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border: 1px dashed rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.4);
}

.demo-info-label {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.demo-info-value {
  font-size: 0.96rem;
  font-weight: 600;
}

/* ===== CTA ===== */

.section-cta {
  padding: 40px 0 32px;
}

.section-cta-riot {
  position: relative;
}

.section-cta-riot::before {
  content: "";
  position: absolute;
  left: -10px;
  top: 0;
  width: 36px;
  height: 52px;
  background:
    repeating-linear-gradient(
      -45deg,
      var(--accent-yellow),
      var(--accent-yellow) 6px,
      transparent 6px,
      transparent 12px
    );
  opacity: 0.8;
}

.cta-inner {
  border-radius: 0;
  padding: 22px 20px 20px;
}

.cta-inner-riot {
  background:
    linear-gradient(
      145deg,
      rgba(214, 40, 40, 0.28),
      rgba(0, 0, 0, 0.96)
    );
  border: 2px solid rgba(255, 255, 255, 0.36);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.cta-inner-riot::after {
  content: "SERIOUS INQUIRIES ONLY";
  position: absolute;
  right: -64px;
  bottom: 12px;
  padding: 3px 18px;
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.85);
  transform: rotate(8deg);
  background: rgba(0, 0, 0, 0.9);
}

.cta-actions {
  margin-top: 16px;
  margin-bottom: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cta-note {
  font-size: 0.86rem;
  color: var(--ink-muted);
}

/* ===== FOOTER ===== */

.footer {
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  margin-top: 24px;
}

.footer-riot {
  border-top-style: dashed;
}

.footer-text {
  font-size: 0.8rem;
  color: var(--ink-muted);
  text-align: center;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 900px) {
  .nav {
    gap: 10px;
  }

  .nav-links {
    display: none; /* mobile menu later */
  }

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

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

  .hero-art {
    max-width: 280px;
  }

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

  .visual .img {
    block-size: 260px;
  }

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

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

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

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

  .nav-right {
    gap: 8px;
  }

  .nav-social-link {
    width: 24px;
    height: 24px;
  }

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

  .project-group-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .page {
    padding: 18px 14px 32px;
  }

  .section-riot::before {
    display: none;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .feature-grid,
  .strip,
  .project-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-zine-wrap {
    transform: none;
  }

  .hero-zine-stamp {
    right: -40px;
    bottom: 30%;
  }

.section-cta-riot::before {
    display: none;
  }

  .playlist {
    border-top: none;
  }

  .demo-contact::before {
    display: none;
  }

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

/* ===== RIOT PLAYER DEMO ===== */

.riot-player {
  max-width: 900px;
  width: 100%;
  margin: 0;
}

.riot-player .rp-shell {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 18px;
  background: var(--bg-surface);
  box-shadow: var(--shadow-soft);
  padding: 16px;
}

.riot-player .rp-left {
  display: flex;
  flex-direction: column;
}

.riot-player .rp-cover {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  background-image: url("../../assets/img/demo-image-1.webp");
  background-size: cover;
  background-position: center;
  border: 1px solid var(--accent-red);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.riot-player .rp-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.34) 80%),
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.08) 1px,
      transparent 1px,
      transparent 3px
    );
  mix-blend-mode: soft-light;
  opacity: 0.32;
}

.riot-player .rp-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.riot-player .rp-btn {
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid var(--accent-red);
  background: #0c0c0c;
  color: var(--paper);
  display: inline-grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

/* Riot player button hover “stripe overlay” like the main CTA */
.riot-player .rp-btn {
  position: relative;
  overflow: hidden;
}

.riot-player .rp-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background: repeating-linear-gradient(
    -45deg,
    rgba(239, 255, 33, 0.28),
    rgba(239, 255, 33, 0.28) 3px,
    transparent 3px,
    transparent 7px
  );
  mix-blend-mode: screen;
  transition: opacity 0.16s ease-out;
}

.riot-player .rp-btn:hover::before {
  opacity: 1;
}

.riot-player .rp-btn.rp-play {
  border-color: var(--riot-yellow);
  background:
    radial-gradient(circle at 32% 28%, rgba(239, 255, 33, 0.14), transparent 60%),
    #0c0c0c;
}

.riot-player .rp-btn svg {
  width: 22px;
  height: 22px;
}

.riot-player .rp-btn.rp-play {
  width: 68px;
  height: 68px;
  border-color: var(--accent-yellow);
  background:
    radial-gradient(circle at 32% 28%, rgba(239, 255, 33, 0.2), transparent 55%),
    #0c0c0c;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.55);
}

.riot-player .rp-btn:hover {
  transform: translateY(-2px);
  border-color: var(--accent-yellow);
}

.riot-player .rp-btn:active {
  transform: translateY(0);
}

.riot-player .rp-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #0f0f0f;
  border: 1px solid var(--accent-grey);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  padding: 14px 12px;
}

.riot-player .rp-meta {
  display: grid;
  gap: 4px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.riot-player .rp-title {
  color: var(--accent-yellow);
  font-weight: 700;
  font-size: 1rem;
}

.riot-player .rp-sub {
  color: var(--paper);
  font-size: 0.82rem;
  opacity: 0.9;
}

.riot-player .rp-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.riot-player .rp-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 12px;
  background: #111;
  border: 1px solid var(--accent-grey);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.riot-player .rp-row .rp-nr {
  font-weight: 700;
  color: var(--accent-yellow);
  letter-spacing: 0.08em;
}

.riot-player .rp-row .rp-name {
  font-weight: 600;
  color: var(--paper);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.riot-player .rp-row .rp-time {
  font-variant-numeric: tabular-nums;
  color: var(--ink-muted);
  font-weight: 600;
}

.riot-player .rp-row.is-active {
  border-color: var(--accent-red);
  background: linear-gradient(180deg, rgba(214, 40, 40, 0.12), rgba(11, 11, 11, 0.96));
}

.riot-player audio {
  display: none;
}

.demo-visual-only {
  pointer-events: none;
  cursor: default;
}

@media (max-width: 720px) {
  .riot-player .rp-shell {
    grid-template-columns: 1fr;
  }
}

/* EV nav badge (scoped) */
.ev-navhome{
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.ev-navhome__badge{
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: .4px;

  background: var(--ev-brand-purple-soft);
  border: 1px solid var(--ev-brand-purple-border);
  color: var(--ev-brand-purple);
  box-shadow: 0 0 0 transparent;
}

.ev-navhome:hover .ev-navhome__badge{
  background: var(--ev-brand-purple-soft);
  border-color: var(--ev-brand-purple-border);
  box-shadow: 0 0 24px rgba(164, 155, 255, 0.35);
}

:root{
  --ev-brand-purple: #a49bff;
  --ev-brand-purple-soft: rgba(164, 155, 255, 0.16);
  --ev-brand-purple-border: rgba(164, 155, 255, 0.35);
}

.ev-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;

  padding: 1rem 1.5rem;
  margin-top: 4rem;

  font-size: 0.85rem;
  opacity: 0.8;

  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ev-footer__logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #7c4dff;
  color: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  font-weight: 600;
  text-decoration: none;
}

.ev-footer__center {
  text-align: center;
  opacity: 0.7;
}

.ev-footer__cta {
  text-decoration: none;
  font-weight: 500;
  opacity: 0.9;
}

.ev-footer__cta:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .ev-footer {
    flex-direction: column;
    text-align: center;
  }
}

.ev-copyright {
  text-align: center;
  margin-top: 0.75rem;
  margin-bottom: 1.25rem;
  font-size: 0.75rem;
  opacity: 0.5;
}

.demo-safe-link { cursor: pointer; }

.btn-template-primary {
  /* inherits base riot button styling */
}

.btn-template-secondary {
  opacity: 0.85;
}

.btn-template-secondary:hover {
  opacity: 1;
}


/* Footer layout */
.site-footer {
  margin-top: 60px;
  padding: 20px 22px;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
  flex-wrap: wrap;
}

.footer-left,
.footer-center,
.footer-right {
  color: var(--muted, var(--ink-muted, rgba(255, 255, 255, 0.78)));
  font-size: 0.95rem;
  line-height: 1.4;
}

.footer-left {
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 700;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-right a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.footer-right a:hover {
  color: var(--text, var(--ink-main, #ffffff));
}

@media (max-width: 720px) {
  .footer-inner {
    justify-content: center;
    text-align: center;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    width: 100%;
    justify-content: center;
  }

  .footer-right {
    justify-content: center;
  }
}

