/* ========================================
   NOW YOU SEE IT — Style v2
   CdV influence: raw, brutalist touches
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-bg: #0a0a0a;
  --color-surface: #111111;
  --color-surface-raised: #1a1a1a;
  --color-border: rgba(255, 255, 255, 0.06);
  --color-text: #e8e4df;
  --color-text-muted: #7a7570;
  --color-accent: #e8c547;
  --color-accent-glow: rgba(232, 197, 71, 0.25);
  --color-pink: #e84393;
  --color-green: #00b894;
  --color-red: #cc3333;

  --font-body: 'Space Grotesk', system-ui, sans-serif;
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-typewriter: 'Special Elite', 'Courier New', monospace;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;

  --max-width: 600px;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Subtle noise texture overlay */
.bg-noise {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

main {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px 20px 40px;
}

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

/* ========================================
   FLICKER ELEMENTS — collage fragments
   ======================================== */
.flicker-layer {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  overflow: hidden;
}

.flicker-el {
  position: absolute;
  opacity: 0;
  filter: contrast(1.2) brightness(1.1);
  mix-blend-mode: screen;
  will-change: opacity;
  transition: none;
}

.flicker-el.flash {
  opacity: 0.35;
}

/* Position each flicker element at different spots */
.flicker-1 { top: 10%; left: 5%; width: 120px; }
.flicker-2 { bottom: 15%; right: 5%; width: 100px; }
.flicker-3 { top: 30%; right: 10%; width: 140px; }
.flicker-4 { bottom: 40%; left: 8%; width: 90px; }
.flicker-5 { top: 55%; right: 3%; width: 110px; }
.flicker-6 { top: 75%; left: 15%; width: 70px; }

/* ========================================
   EYE ANIMATION
   ======================================== */
.eye-container {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.eye {
  position: relative;
  width: 60px;
  height: 40px;
}

.eye-svg {
  width: 60px;
  height: 40px;
  color: var(--color-text);
}

.eye-lid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--color-bg);
  transform-origin: top center;
  animation: blink 4s ease-in-out infinite;
  z-index: 2;
}

@keyframes blink {
  0%, 90%, 100% { transform: scaleY(0); }
  95% { transform: scaleY(1); }
}

/* ========================================
   HERO / TITLE
   ======================================== */
.hero {
  text-align: center;
  margin-bottom: 40px;
}

.title {
  font-family: var(--font-display);
  font-size: clamp(48px, 14vw, 80px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
}

.title-now {
  color: var(--color-accent);
  text-shadow: 0 0 30px var(--color-accent-glow);
}

.title-you {
  color: var(--color-text);
}

.title-see {
  color: var(--color-pink);
  text-shadow: 0 0 30px rgba(232, 67, 147, 0.3);
}

.title-it {
  color: var(--color-green);
  text-shadow: 0 0 30px rgba(0, 184, 148, 0.3);
}

.tagline {
  font-size: 13px;
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
  max-width: 340px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ========================================
   ARTWORK
   ======================================== */
.artwork-section {
  margin-bottom: 48px;
}

.artwork-frame {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow:
    0 0 60px rgba(232, 197, 71, 0.05),
    0 4px 30px rgba(0, 0, 0, 0.4);
  transition: box-shadow 0.4s ease;
}

.artwork-frame:hover {
  box-shadow:
    0 0 80px rgba(232, 197, 71, 0.1),
    0 4px 40px rgba(0, 0, 0, 0.5);
}

.artwork-img {
  display: block;
  width: 100%;
  height: auto;
}

/* ========================================
   INFO CARD
   ======================================== */
.info-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  margin-bottom: 40px;
}

.info-date {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 16px;
}

.date-label {
  color: var(--color-text-muted);
  font-size: 14px;
  letter-spacing: 0.3em;
}

.date-text {
  font-family: var(--font-display);
  font-size: clamp(22px, 5vw, 28px);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-text);
}

.info-desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 400px;
  margin: 0 auto;
}

/* ========================================
   TICKETS BUTTON
   ======================================== */
.tickets-section {
  text-align: center;
  margin-bottom: 48px;
}

.ticket-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-accent);
  color: #0a0a0a;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 30px var(--color-accent-glow);
}

.ticket-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 0 50px var(--color-accent-glow), 0 0 80px rgba(232, 197, 71, 0.12);
}

.ticket-btn:active {
  transform: scale(0.98);
}

.ticket-eye {
  font-size: 18px;
}

/* ========================================
   LINEUP (hidden by default)
   ======================================== */
.lineup-section {
  margin-bottom: 48px;
}

.lineup-section[hidden] {
  display: none;
}

.lineup-title {
  text-align: center;
  font-size: 26px;
  margin-bottom: 24px;
  color: var(--color-text);
  letter-spacing: 0.15em;
}

.lineup-grid {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lineup-slot {
  display: grid;
  grid-template-columns: 55px 1fr auto;
  align-items: baseline;
  gap: 14px;
  padding: 12px 14px;
  background: var(--color-surface);
  border-radius: var(--radius-sm);
  transition: background 0.2s ease;
}

.lineup-slot:hover {
  background: var(--color-surface-raised);
}

.slot-time {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
}

.slot-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
}

.slot-genre {
  font-size: 11px;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  text-align: right;
}

/* ========================================
   DETAILS — typewriter font, raw/brutalist
   ======================================== */
.details-section {
  margin-bottom: 48px;
}

.details-title {
  text-align: center;
  font-family: var(--font-typewriter);
  font-size: 28px;
  margin-bottom: 24px;
  color: var(--color-text);
  letter-spacing: 0.02em;
  text-transform: lowercase;
}

.details-content {
  background: var(--color-surface);
  border-left: 3px solid var(--color-accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 24px 20px;
}

.details-content p {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 12px;
}

.details-content p:last-child {
  margin-bottom: 0;
}

/* ========================================
   TICKETS BOTTOM
   ======================================== */
.tickets-bottom {
  margin-bottom: 36px;
}

/* ========================================
   SIGN UP SECTION
   ======================================== */
.signup-section {
  text-align: center;
  margin-bottom: 48px;
  padding: 24px 16px;
}

.signup-text {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 14px;
  letter-spacing: 0.03em;
}

.signup-btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text);
  border: 1px solid var(--color-text-muted);
  padding: 10px 24px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.signup-btn:hover {
  border-color: var(--color-text);
  background: rgba(255, 255, 255, 0.04);
  color: var(--color-text);
}

/* ========================================
   ACKNOWLEDGEMENT
   ======================================== */
.acknowledgement {
  text-align: center;
  padding: 20px 16px;
  margin-bottom: 20px;
}

.acknowledgement p {
  font-size: 11px;
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 420px;
  margin: 0 auto;
  opacity: 0.6;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 20px 20px 36px;
  border-top: 1px solid var(--color-border);
}

.footer-text {
  font-size: 11px;
  color: var(--color-text-muted);
  letter-spacing: 0.12em;
  margin-bottom: 6px;
}

.footer-attribution {
  font-size: 10px;
  color: var(--color-text-muted);
  opacity: 0.4;
  text-decoration: none;
  transition: opacity 0.2s;
}

.footer-attribution:hover {
  opacity: 0.7;
}

/* ========================================
   SCROLL REVEAL
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 480px) {
  main {
    padding: 40px 16px 32px;
  }

  .title {
    font-size: clamp(40px, 14vw, 64px);
    gap: 4px 10px;
  }

  .lineup-slot {
    grid-template-columns: 48px 1fr;
    gap: 6px;
  }

  .slot-genre {
    grid-column: 1 / -1;
    text-align: left;
    padding-left: 48px;
    margin-top: -4px;
  }

  .info-card {
    padding: 22px 14px;
  }

  .ticket-btn {
    padding: 12px 24px;
    font-size: 13px;
  }

  .flicker-1 { width: 80px; }
  .flicker-2 { width: 70px; }
  .flicker-3 { width: 90px; }
  .flicker-4 { width: 60px; }
  .flicker-5 { width: 70px; }
  .flicker-6 { width: 50px; }
}

/* ========================================
   REDUCED MOTION
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .eye-lid {
    animation: none;
    transform: scaleY(0);
  }

  .flicker-el {
    display: none;
  }

  html {
    scroll-behavior: auto;
  }
}
