/* ============================================================
   TECHNO-MADI — technomadi.com
   Dark EDM artist hub
   ============================================================ */

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

:root {
  --bg: #050507;
  --bg2: #0a0a0f;
  --bg3: #0f0f18;
  --purple: #9b30ff;
  --purple-dim: #7a20e0;
  --blue: #00d4ff;
  --blue-dim: #0099cc;
  --red: #ff2060;
  --white: #ffffff;
  --gray: #888899;
  --gray-light: #bbbbcc;
  --border: rgba(155, 48, 255, 0.2);
  --glow-purple: 0 0 20px rgba(155, 48, 255, 0.5), 0 0 60px rgba(155, 48, 255, 0.2);
  --glow-blue: 0 0 20px rgba(0, 212, 255, 0.5), 0 0 60px rgba(0, 212, 255, 0.2);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0;
  transition: background 0.3s, backdrop-filter 0.3s;
}

.nav.scrolled {
  background: rgba(5, 5, 7, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 2px;
  color: var(--white);
}

.nav-logo span { color: var(--purple); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 36px;
  align-items: center;
}

.nav-links a {
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-light);
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--white); }

.nav-cta {
  background: var(--purple) !important;
  color: var(--white) !important;
  padding: 8px 20px !important;
  border-radius: 2px;
  transition: box-shadow 0.3s, background 0.2s !important;
}

.nav-cta:hover {
  background: var(--purple-dim) !important;
  box-shadow: var(--glow-purple) !important;
}

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-menu {
  position: fixed;
  top: 0; right: -100%;
  width: 280px;
  height: 100vh;
  background: rgba(10, 10, 15, 0.98);
  backdrop-filter: blur(20px);
  border-left: 1px solid var(--border);
  z-index: 200;
  transition: right 0.3s ease;
  padding: 80px 40px;
}

.mobile-menu.open { right: 0; }

.mobile-menu ul { list-style: none; }

.mobile-menu li { margin-bottom: 24px; }

.mobile-menu a {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  letter-spacing: 3px;
  color: var(--gray-light);
  transition: color 0.2s;
}

.mobile-menu a:hover { color: var(--purple); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: brightness(0.55) saturate(0.8);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(5,5,7,0.85) 0%,
    rgba(5,5,7,0.5) 50%,
    rgba(5,5,7,0.2) 100%
  );
}

.scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.03) 2px,
    rgba(0,0,0,0.03) 4px
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 120px 40px 80px;
  max-width: 700px;
}

.hero-tag {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 20px;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(80px, 14vw, 160px);
  line-height: 0.9;
  letter-spacing: 4px;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-title .dash { color: var(--purple); }

.hero-sub {
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px;
  font-weight: 300;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gray-light);
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============================================================
   GLITCH EFFECT
   ============================================================ */
.glitch {
  position: relative;
  display: inline-block;
}

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

.glitch::before {
  color: var(--blue);
  animation: glitch1 3s infinite;
  clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
  transform: translate(-2px);
  opacity: 0.7;
}

.glitch::after {
  color: var(--red);
  animation: glitch2 3s infinite;
  clip-path: polygon(0 65%, 100% 65%, 100% 100%, 0 100%);
  transform: translate(2px);
  opacity: 0.7;
}

@keyframes glitch1 {
  0%, 90%, 100% { transform: translate(-2px); }
  91% { transform: translate(2px); }
  93% { transform: translate(-4px); }
  95% { transform: translate(4px); }
}

@keyframes glitch2 {
  0%, 90%, 100% { transform: translate(2px); }
  91% { transform: translate(-2px); }
  93% { transform: translate(4px); }
  95% { transform: translate(-4px); }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--purple);
  color: var(--white);
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 32px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.3s, transform 0.2s;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}

.btn-primary svg { width: 18px; height: 18px; }

.btn-primary:hover {
  background: var(--purple-dim);
  box-shadow: var(--glow-purple);
  transform: translateY(-2px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--white);
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 32px;
  border: 1px solid rgba(255,255,255,0.3);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, box-shadow 0.3s, transform 0.2s;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}

.btn-ghost:hover {
  border-color: var(--purple);
  color: var(--purple);
  box-shadow: var(--glow-purple);
  transform: translateY(-2px);
}

/* ============================================================
   HERO SCROLL INDICATOR
   ============================================================ */
.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.hero-scroll span {
  font-family: 'Rajdhani', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  color: var(--gray);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--purple), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ============================================================
   TICKER
   ============================================================ */
.ticker-wrap {
  background: var(--purple);
  overflow: hidden;
  padding: 12px 0;
  position: relative;
}

.ticker-track {
  display: inline-flex;
  gap: 32px;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  letter-spacing: 3px;
  color: var(--white);
}

.tick-sep { color: rgba(255,255,255,0.5); }

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
  padding: 100px 0;
}

.section-dark {
  background: var(--bg2);
}

.section-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(42px, 6vw, 72px);
  letter-spacing: 2px;
  line-height: 1;
  color: var(--white);
  margin-bottom: 20px;
}

.section-title em {
  color: var(--purple);
  font-style: normal;
}

.section-sub {
  font-size: 17px;
  color: var(--gray-light);
  max-width: 560px;
  margin-bottom: 60px;
}

/* ============================================================
   STREAM GRID
   ============================================================ */
.stream-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.stream-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg2);
  border: 1px solid var(--border);
  padding: 24px;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.2s;
  position: relative;
  overflow: hidden;
}

.stream-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px;
  height: 100%;
  background: var(--purple);
  transform: scaleY(0);
  transition: transform 0.3s;
}

.stream-card:hover {
  border-color: var(--purple);
  box-shadow: var(--glow-purple);
  transform: translateX(4px);
}

.stream-card:hover::before {
  transform: scaleY(1);
}

.stream-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.stream-icon svg { width: 24px; height: 24px; }

.spotify { background: #1DB954; }
.apple { background: #fc3c44; }
.youtube { background: #FF0000; }
.amazon { background: #FF9900; color: #000; }
.tidal { background: #000000; border: 1px solid #333; }
.soundcloud { background: #FF5500; }

.stream-name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--white);
}

.stream-action {
  font-size: 13px;
  color: var(--purple);
  margin-top: 2px;
  transition: letter-spacing 0.2s;
}

.stream-card:hover .stream-action {
  letter-spacing: 2px;
}

/* ============================================================
   FESTIVAL BREAK
   ============================================================ */
.festival-break {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.fb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.4) saturate(1.2);
}

.fb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, var(--bg) 0%, transparent 20%, transparent 80%, var(--bg) 100%);
}

.fb-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 2;
  padding: 40px;
}

.fb-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
}

.fb-quote {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  letter-spacing: 2px;
  color: var(--white);
  max-width: 700px;
  text-shadow: 0 0 60px rgba(155, 48, 255, 0.6);
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
}

.about-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  border: 1px solid var(--border);
}

.about-img-border {
  position: absolute;
  top: 16px;
  left: 16px;
  right: -16px;
  bottom: -16px;
  border: 1px solid var(--purple);
  z-index: -1;
  opacity: 0.4;
}

.about-text p {
  color: var(--gray-light);
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 40px;
  letter-spacing: 2px;
  color: var(--purple);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray);
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto;
  gap: 16px;
}

.gi-hero { grid-row: 1 / 3; }
.gi-festival { grid-column: 2; }
.gi-gallery { grid-column: 2; }

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.3s;
}

.gi-hero img { min-height: 600px; object-position: center top; }
.gi-festival img { height: 280px; object-position: center 30%; }
.gi-gallery img { height: 280px; object-position: center 20%; }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(155, 48, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-overlay span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 4px;
  color: var(--white);
}

.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(0.7);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* ============================================================
   SHOWS
   ============================================================ */
.shows-placeholder {
  text-align: center;
  padding: 80px 40px;
  border: 1px solid var(--border);
  background: var(--bg2);
}

.shows-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  color: var(--purple);
}

.shows-icon svg { width: 100%; height: 100%; }

.shows-placeholder p {
  color: var(--gray-light);
  font-size: 18px;
  margin-bottom: 32px;
  line-height: 1.7;
}

/* ============================================================
   EMAIL SIGNUP
   ============================================================ */
.signup-section {
  background: var(--bg3);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.signup-inner {
  max-width: 700px;
  text-align: center;
  margin: 0 auto;
}

.signup-form {
  margin-top: 40px;
}

.form-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.form-row input {
  flex: 1;
  min-width: 200px;
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 14px 20px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}

.form-row input:focus {
  border-color: var(--purple);
}

.form-row input::placeholder { color: var(--gray); }

.signup-success {
  margin-top: 20px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  letter-spacing: 2px;
  color: var(--purple);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 60px 0 40px;
  text-align: center;
}

.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  letter-spacing: 4px;
  margin-bottom: 32px;
}

.footer-logo span { color: var(--purple); }

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 32px;
}

.social-link {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  transition: border-color 0.2s, color 0.2s, box-shadow 0.3s;
}

.social-link svg { width: 18px; height: 18px; }

.social-link:hover {
  border-color: var(--purple);
  color: var(--purple);
  box-shadow: var(--glow-purple);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.footer-links a {
  font-family: 'Rajdhani', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--purple); }

.footer-copy {
  font-size: 13px;
  color: #444455;
  letter-spacing: 1px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .nav-inner { padding: 18px 24px; }

  .hero-content { padding: 100px 24px 60px; }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-img-wrap { max-width: 400px; }

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

  .gi-hero, .gi-festival, .gi-gallery { grid-column: 1; grid-row: auto; }
  .gi-hero img { min-height: 400px; }
  .gi-festival img, .gi-gallery img { height: 240px; }

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

  .about-stats { gap: 24px; }
}

@media (max-width: 600px) {
  .section { padding: 72px 0; }

  .form-row {
    flex-direction: column;
  }

  .form-row input { min-width: unset; width: 100%; }

  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }

  .hero-title { font-size: clamp(64px, 18vw, 120px); }

  .footer-links { gap: 16px; }
}
