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

html, body {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  overflow: hidden;
  background: #080808;
}

body {
  background-image: url('assets/noise_bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-blend-mode: multiply;
  background-color: #080808;
}

.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 150px 150px;
  animation: grainShift 0.15s steps(1) infinite;
}

.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 3px,
    rgba(0,0,0,0.18) 3px,
    rgba(0,0,0,0.18) 4px
  );
}

.glitch-line {
  position: fixed;
  left: 0;
  width: 100%;
  height: 1px;
  pointer-events: none;
  z-index: 98;
  animation: glitchLine 8s ease-in-out infinite;
}
.gl1 {
  top: 52vh;
  background: linear-gradient(90deg, transparent 0%, #ff2d78 30%, #00e5ff 60%, transparent 100%);
  opacity: 0.3;
}
.gl2 {
  top: 26vh;
  background: linear-gradient(90deg, transparent 10%, #c8ff00 50%, transparent 90%);
  opacity: 0.2;
  animation-delay: 1.5s;
}

.frag {
  position: fixed;
  pointer-events: none;
  z-index: 10;
  line-height: 1.1;
  will-change: transform;
}

/* --- MAIN FRAGMENTS --- */

.f-afters {
  top: 8vh;
  left: 5vw;
  font-size: clamp(3.5rem, 10vw, 9rem);
  font-family: Georgia, serif;
  color: #ff2d78;
  font-weight: 900;
  transform: rotate(-4deg);
  letter-spacing: -0.02em;
  text-shadow: 0 0 20px #ff2d78, 0 0 60px rgba(255,45,120,0.27), 0 0 120px rgba(255,45,120,0.13);
  animation: flickerBig 4s ease-in-out infinite;
}

.f-four {
  top: 6vh;
  left: 72vw;
  font-size: clamp(4rem, 14vw, 12rem);
  font-family: "Courier New", Courier, monospace;
  color: #c8ff00;
  font-weight: 900;
  transform: rotate(6deg);
  opacity: 0.95;
  text-shadow: 0 0 15px #c8ff00, 0 0 50px rgba(200,255,0,0.33), 0 0 100px rgba(200,255,0,0.13);
  animation: flickerMed 5.5s ease-in-out infinite 0.8s;
}

.f-owner {
  top: 18vh;
  left: 28vw;
  font-size: clamp(1rem, 3.2vw, 2.6rem);
  font-family: Georgia, serif;
  color: #e0e0e0;
  font-style: italic;
  transform: rotate(-2deg);
  max-width: 55vw;
  text-shadow: 0 0 25px rgba(224,224,224,0.3);
  animation: floatDrift 9s ease-in-out infinite;
}

.f-microcelebrity {
  top: 55vh;
  left: 1vw;
  font-size: clamp(0.55rem, 1.1vw, 0.95rem);
  font-family: "Courier New", Courier, monospace;
  color: #a855f7;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  transform: rotate(90deg) translateX(-100%);
  transform-origin: left top;
  text-shadow: 0 0 12px #a855f7, 0 0 30px rgba(168,85,247,0.27);
  animation: flickerSub 6s ease-in-out infinite 2s;
}

.f-cundle {
  top: 38vh;
  left: 48vw;
  font-size: clamp(2.2rem, 6.5vw, 5.5rem);
  font-family: Arial, sans-serif;
  color: #00e5ff;
  font-weight: 900;
  transform: rotate(3deg);
  text-shadow: 0 0 18px #00e5ff, 0 0 55px rgba(0,229,255,0.27);
  animation: floatDrift 11s ease-in-out infinite 1.5s;
}

.f-list {
  top: 55vh;
  left: 14vw;
  font-size: clamp(2.8rem, 8vw, 7rem);
  font-family: Georgia, serif;
  color: #ff9900;
  font-weight: 700;
  transform: rotate(-7deg);
  text-shadow: 0 0 30px rgba(255,153,0,0.4);
  animation: flickerMed 7s ease-in-out infinite 3s;
}

.f-security {
  top: 47vh;
  left: 60vw;
  font-size: clamp(0.75rem, 1.8vw, 1.5rem);
  font-family: "Courier New", Courier, monospace;
  color: #c8ff00;
  letter-spacing: 0.08em;
  transform: rotate(-1.5deg);
  text-shadow: 0 0 10px rgba(200,255,0,0.4);
  animation: flickerSub 8s ease-in-out infinite 0.5s;
}

.f-yerba {
  top: 72vh;
  left: 50vw;
  font-size: clamp(0.6rem, 1.3vw, 1.05rem);
  font-family: "Courier New", Courier, monospace;
  color: #ffffff;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  transform: rotate(1.5deg);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 14px;
  text-shadow: 0 0 8px rgba(255,255,255,0.3);
  animation: floatDrift 13s ease-in-out infinite 2.5s;
}

.f-badmouth {
  bottom: 6vh;
  left: 50%;
  transform: translateX(-50%) rotate(-1deg);
  font-size: clamp(0.85rem, 2.2vw, 1.75rem);
  font-family: Georgia, serif;
  color: #ff2d78;
  font-style: italic;
  white-space: nowrap;
  text-align: center;
  text-shadow: 0 0 20px rgba(255,45,120,0.53), 0 0 40px rgba(255,45,120,0.2);
  animation: flickerMed 6s ease-in-out infinite 1s;
}

/* --- NOISE FRAGMENTS --- */

.f-noise1 {
  top: 22vh;
  left: 70vw;
  font-size: clamp(0.5rem, 1vw, 0.85rem);
  font-family: "Courier New", Courier, monospace;
  color: #a855f7;
  opacity: 0.5;
  transform: rotate(-15deg);
  letter-spacing: 0.1em;
  line-height: 1.8;
}

.f-noise2 {
  top: 62vh;
  left: 78vw;
  font-size: clamp(0.4rem, 0.9vw, 0.75rem);
  font-family: "Courier New", Courier, monospace;
  color: #00e5ff;
  opacity: 0.4;
  transform: rotate(10deg);
  line-height: 1.8;
}

.f-noise3 {
  top: 14vh;
  left: 55vw;
  font-size: clamp(0.45rem, 0.85vw, 0.7rem);
  font-family: Arial, sans-serif;
  color: #ff9900;
  opacity: 0.35;
  transform: rotate(-8deg);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.8;
}

.f-noise4 {
  top: 80vh;
  left: 6vw;
  font-size: clamp(0.4rem, 0.9vw, 0.75rem);
  font-family: "Courier New", Courier, monospace;
  color: #ff2d78;
  opacity: 0.45;
  transform: rotate(4deg);
  letter-spacing: 0.05em;
  line-height: 1.8;
}

.f-noreentry {
  top: 42vh;
  left: 5vw;
  font-size: clamp(0.7rem, 1.5vw, 1.2rem);
  font-family: "Courier New", Courier, monospace;
  color: #c8ff00;
  opacity: 0.7;
  transform: rotate(-3deg);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.f-dash {
  top: 88vh;
  left: 38vw;
  font-size: clamp(0.45rem, 0.8vw, 0.65rem);
  font-family: "Courier New", Courier, monospace;
  color: #a855f7;
  opacity: 0.55;
  transform: rotate(-2deg);
  letter-spacing: 0.3em;
}

/* --- DOTS --- */
.dot {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 50;
  animation: pulse 2.5s ease-in-out infinite;
}
.dot1 {
  top: 35vh;
  left: 88vw;
  width: 8px;
  height: 8px;
  background: #ff2d78;
  box-shadow: 0 0 16px 4px #ff2d78;
  opacity: 0.8;
  animation-duration: 2.1s;
}
.dot2 {
  top: 68vh;
  left: 3vw;
  width: 6px;
  height: 6px;
  background: #00e5ff;
  box-shadow: 0 0 14px 3px #00e5ff;
  opacity: 0.7;
  animation-duration: 3.3s;
  animation-delay: 0.7s;
}
.dot3 {
  top: 12vh;
  left: 42vw;
  width: 5px;
  height: 5px;
  background: #c8ff00;
  box-shadow: 0 0 12px 3px #c8ff00;
  opacity: 0.6;
  animation-duration: 2.7s;
  animation-delay: 1.2s;
}

/* --- NEW FRAGMENTS --- */

/* Disgruntled Trans DJ portrait card */
.f-dj {
  top: 28vh;
  left: 3vw;
  transform: rotate(-3deg);
  filter: drop-shadow(0 0 12px #ff2d78) drop-shadow(0 0 24px rgba(168,85,247,0.5));
  animation: floatDrift 12s ease-in-out infinite 0.5s;
}

/* Big Black — Security portrait card */
.f-bigblack {
  top: 30vh;
  right: 4vw;
  transform: rotate(2.5deg);
  filter: drop-shadow(0 0 12px #00e5ff) drop-shadow(0 0 28px rgba(200,255,0,0.4));
  animation: floatDrift 14s ease-in-out infinite 2s;
}

/* $100 entrance fee */
.f-entrance {
  top: 75vh;
  left: 34vw;
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-family: "Courier New", Courier, monospace;
  color: #c8ff00;
  font-weight: 900;
  transform: rotate(4deg);
  letter-spacing: -0.02em;
  text-shadow: 0 0 18px #c8ff00, 0 0 50px rgba(200,255,0,0.4), 0 0 100px rgba(200,255,0,0.15);
  animation: flickerBig 6.5s ease-in-out infinite 1.8s;
}

/* --- ANIMATIONS --- */

@keyframes grainShift {
  0%   { background-position: 0 0; }
  20%  { background-position: -30px 15px; }
  40%  { background-position: 20px -10px; }
  60%  { background-position: -15px 25px; }
  80%  { background-position: 10px -20px; }
  100% { background-position: 0 0; }
}

@keyframes flickerBig {
  0%,100% { opacity: 1; }
  3%       { opacity: 0.85; }
  6%       { opacity: 1; }
  50%      { opacity: 0.97; }
  53%      { opacity: 0.7; }
  56%      { opacity: 1; }
  78%      { opacity: 0.92; }
  80%      { opacity: 1; }
}

@keyframes flickerMed {
  0%,100% { opacity: 0.95; }
  15%     { opacity: 0.75; }
  17%     { opacity: 0.95; }
  60%     { opacity: 0.88; }
  62%     { opacity: 0.95; }
}

@keyframes flickerSub {
  0%,100% { opacity: 0.8; }
  20%     { opacity: 0.5; }
  22%     { opacity: 0.8; }
  70%     { opacity: 0.65; }
  72%     { opacity: 0.8; }
}

@keyframes floatDrift {
  0%   { transform: translateY(0px); }
  33%  { transform: translateY(-6px); }
  66%  { transform: translateY(4px); }
  100% { transform: translateY(0px); }
}

@keyframes glitchLine {
  0%,90%,100% { opacity: 0.25; transform: scaleX(1); }
  92%         { opacity: 0.8; transform: scaleX(1.02) translateX(-1%); }
  94%         { opacity: 0.1; }
  96%         { opacity: 0.6; transform: scaleX(0.98) translateX(0.5%); }
  98%         { opacity: 0.25; }
}

@keyframes pulse {
  0%,100% { opacity: 0.8; transform: scale(1); }
  50%     { opacity: 0.3; transform: scale(1.6); }
}

/* Mobile */
@media (max-width: 600px) {
  .f-microcelebrity {
    top: 3vh;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.55rem;
    letter-spacing: 0.12em;
  }
  .f-badmouth {
    font-size: 0.75rem;
    white-space: normal;
    left: 5%;
    transform: translateX(0%) rotate(-1deg);
    width: 90vw;
  }
  .f-yerba {
    left: 30vw;
  }
  .f-dj {
    left: 1vw;
    top: 55vh;
    transform: rotate(-2deg) scale(0.75);
    transform-origin: left top;
  }
  .f-bigblack {
    right: 1vw;
    top: 55vh;
    transform: rotate(2deg) scale(0.75);
    transform-origin: right top;
  }
  .f-entrance {
    left: 30vw;
    top: 82vh;
    font-size: 2rem;
  }
}
