/*
Theme Name: inthemix-2026
Theme URI: https://inthemix.ch
Author: mixmasters.ch
Description: Dark neon DJ platform theme for inthemix.ch
Version: 1.0.0
Text Domain: inthemix-2026
*/

:root {
  --neon-cyan:  #00ffff;
  --neon-pink:  #ff00ff;
  --neon-lime:  #aaff00;
  --dark-bg:    #050508;
  --dark-card:  #0d0d14;
  --dark-border:#1a1a2e;
  --text-main:  #e0e0f0;
  --text-muted: #7070a0;
  --nav-h:      70px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--dark-bg);
  color: var(--text-main);
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  line-height: 1.65;
  min-height: 100vh;
}

a { color: var(--neon-cyan); text-decoration: none; transition: color .2s; }
a:hover { color: var(--neon-pink); }

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

h1,h2,h3,h4,h5,h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.02em;
}

/* ── NEON UTILS ── */
.neon-text {
  color: var(--neon-cyan);
  text-shadow: 0 0 8px var(--neon-cyan), 0 0 20px rgba(0,255,255,.4);
}
.neon-pink { color: var(--neon-pink); text-shadow: 0 0 8px var(--neon-pink), 0 0 20px rgba(255,0,255,.4); }

/* ── HEADER ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(5,5,8,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--dark-border);
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 24px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
}

.site-logo {
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -.04em;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}
.site-logo span { color: var(--neon-cyan); }

/* ── NAV ── */
.main-nav ul { display: flex; list-style: none; gap: 32px; }
.main-nav a {
  color: var(--text-muted);
  font-size: .85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  transition: color .2s;
}
.main-nav a:hover,
.main-nav .current-menu-item > a { color: var(--neon-cyan); }

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  margin: 5px 0;
  transition: .3s;
}

/* ── PAGE WRAP ── */
.page-wrap {
  padding-top: var(--nav-h);
  min-height: 100vh;
}

/* ── HERO ── */
.hero {
  position: relative;
  height: 90vh;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a0014 0%, #00001a 50%, #001414 100%);
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 30% 60%, rgba(0,255,255,.08) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 70% 40%, rgba(255,0,255,.07) 0%, transparent 70%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,255,255,.015) 2px,
    rgba(0,255,255,.015) 4px
  );
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; padding: 0 20px; }

.hero-eyebrow {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--neon-cyan);
  margin-bottom: 16px;
  opacity: .8;
}

.hero-title {
  font-size: clamp(3rem, 9vw, 7rem);
  font-weight: 900;
  letter-spacing: -.04em;
  color: #fff;
  margin-bottom: 20px;
  text-shadow: 0 0 40px rgba(0,255,255,.15);
}

.hero-title em {
  font-style: normal;
  color: var(--neon-cyan);
  text-shadow: 0 0 20px var(--neon-cyan), 0 0 60px rgba(0,255,255,.4);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 36px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 700;
  font-size: .9rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  transition: all .25s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--neon-cyan);
  color: #000;
}
.btn-primary:hover {
  background: #fff;
  color: #000;
  box-shadow: 0 0 20px var(--neon-cyan);
}

.btn-outline {
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  background: transparent;
}
.btn-outline:hover {
  background: var(--neon-cyan);
  color: #000;
  box-shadow: 0 0 20px var(--neon-cyan);
}

/* ── SECTIONS ── */
.section { padding: 80px 24px; }
.section-inner { max-width: 1280px; margin: 0 auto; }

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 12px;
}
.section-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 900;
  letter-spacing: -.03em;
}
.section-title::before {
  content: '//';
  color: var(--neon-cyan);
  margin-right: 10px;
  font-size: .8em;
  opacity: .7;
}
.section-link {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--neon-cyan);
  opacity: .7;
  transition: opacity .2s;
}
.section-link:hover { opacity: 1; color: var(--neon-cyan); }

/* ── GRID ── */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

/* ── CARDS ── */
.card {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.card:hover {
  border-color: var(--neon-cyan);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,255,255,.1);
}

.card-thumb {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #0a0a14;
}
.card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-thumb img { transform: scale(1.05); }

.card-thumb-wide {
  aspect-ratio: 16/9;
}

.card-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0d0d20, #0a141a);
  font-size: 3rem;
  color: var(--neon-cyan);
  opacity: .3;
}

.card-type-badge {
  position: absolute;
  top: 10px; left: 10px;
  background: rgba(0,0,0,.7);
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
}

.card-body { padding: 16px; }
.card-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.3;
}
.card-title a { color: var(--text-main); }
.card-title a:hover { color: var(--neon-cyan); }
.card-meta {
  font-size: .78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.card-meta .dot::before { content: '·'; }

/* ── PODCAST CARD ── */
.podcast-card .card-thumb { aspect-ratio: 1/1; }

/* ── ARTIST CARD ── */
.artist-card .card-thumb { aspect-ratio: 1/1; border-radius: 8px 8px 0 0; }
.artist-card:hover .card-thumb img {
  filter: brightness(1.1) saturate(1.2);
}

/* ── EVENT CARD ── */
.event-card { display: flex; gap: 0; }
.event-card .event-date-box {
  min-width: 70px;
  background: linear-gradient(180deg, var(--neon-cyan) 0%, #006666 100%);
  color: #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 8px;
  font-weight: 900;
}
.event-date-box .day { font-size: 2rem; line-height: 1; }
.event-date-box .month { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; }
.event-card .card-body { flex: 1; }

/* ── EMBED WRAPPER ── */
.embed-wrap {
  position: relative;
  background: #0a0a14;
  border-radius: 8px;
  overflow: hidden;
  margin: 24px 0;
}
.embed-wrap iframe {
  width: 100%;
  border: none;
  display: block;
}

/* ── ARCHIVE HEADER ── */
.archive-header {
  background: linear-gradient(180deg, #0a0014 0%, var(--dark-bg) 100%);
  padding: 80px 24px 60px;
  text-align: center;
  border-bottom: 1px solid var(--dark-border);
}
.archive-header h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 12px;
}
.archive-header p { color: var(--text-muted); max-width: 480px; margin: 0 auto; }

/* ── SINGLE POST ── */
.single-wrap { max-width: 900px; margin: 0 auto; padding: 60px 24px; }
.single-header { margin-bottom: 40px; }
.single-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  margin: 16px 0 12px;
}
.single-meta { display: flex; flex-wrap: wrap; gap: 16px; color: var(--text-muted); font-size: .85rem; }
.single-meta strong { color: var(--text-main); }
.single-thumbnail { margin-bottom: 32px; border-radius: 8px; overflow: hidden; }
.single-content { color: var(--text-main); line-height: 1.8; }
.single-content p { margin-bottom: 16px; }

/* ── ARTIST PROFILE ── */
.artist-profile { display: grid; grid-template-columns: 280px 1fr; gap: 48px; align-items: start; }
.artist-avatar { border-radius: 8px; overflow: hidden; }
.artist-avatar img { width: 100%; }
.artist-bio h1 { font-size: 2.5rem; margin-bottom: 8px; }
.artist-bio .genre-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 16px 0; }
.genre-tag {
  background: rgba(0,255,255,.1);
  border: 1px solid rgba(0,255,255,.3);
  color: var(--neon-cyan);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .05em;
}

/* ── EVENT DETAIL ── */
.event-detail-grid { display: grid; grid-template-columns: 1fr 300px; gap: 48px; }
.event-info-box {
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-radius: 8px;
  padding: 28px;
}
.event-info-box h3 { color: var(--neon-cyan); font-size: .75rem; text-transform: uppercase; letter-spacing: .15em; margin-bottom: 20px; }
.event-info-row { display: flex; gap: 12px; margin-bottom: 16px; align-items: flex-start; }
.event-info-row .icon { color: var(--neon-cyan); font-size: 1rem; margin-top: 2px; }
.event-info-row .label { font-size: .8rem; color: var(--text-muted); }
.event-info-row .value { font-weight: 600; font-size: .95rem; }

/* ── PAGINATION ── */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 48px 0;
  flex-wrap: wrap;
}
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--dark-border);
  border-radius: 4px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: all .2s;
}
.pagination a:hover { border-color: var(--neon-cyan); color: var(--neon-cyan); }
.pagination .current { border-color: var(--neon-cyan); color: var(--neon-cyan); background: rgba(0,255,255,.08); }

/* ── FOOTER ── */
.site-footer {
  background: var(--dark-card);
  border-top: 1px solid var(--dark-border);
  padding: 60px 24px 30px;
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .site-logo { margin-bottom: 16px; font-size: 1.3rem; }
.footer-brand p { color: var(--text-muted); font-size: .88rem; max-width: 280px; }
.footer-col h4 {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--neon-cyan);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-muted); font-size: .9rem; }
.footer-col a:hover { color: var(--text-main); }
.footer-bottom {
  border-top: 1px solid var(--dark-border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--text-muted);
  font-size: .8rem;
}

/* ── SEARCH ── */
.search-form {
  display: flex;
  gap: 0;
  max-width: 500px;
}
.search-form input {
  flex: 1;
  background: var(--dark-card);
  border: 1px solid var(--dark-border);
  border-right: none;
  border-radius: 4px 0 0 4px;
  color: var(--text-main);
  padding: 10px 16px;
  font-size: .9rem;
  outline: none;
}
.search-form input:focus { border-color: var(--neon-cyan); }
.search-form button {
  background: var(--neon-cyan);
  color: #000;
  border: none;
  border-radius: 0 4px 4px 0;
  padding: 10px 20px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s;
}
.search-form button:hover { background: #fff; }

/* ── 404 ── */
.error-404 { text-align: center; padding: 120px 24px; }
.error-404 .code { font-size: 8rem; font-weight: 900; color: var(--neon-cyan); opacity: .2; line-height: 1; }
.error-404 h2 { font-size: 2rem; margin-bottom: 16px; }
.error-404 p { color: var(--text-muted); margin-bottom: 32px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .artist-profile { grid-template-columns: 220px 1fr; gap: 32px; }
  .event-detail-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1/-1; }
}

@media (max-width: 768px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .artist-profile { grid-template-columns: 1fr; }
  .artist-avatar { max-width: 220px; }
  .footer-top { grid-template-columns: 1fr; }

  .main-nav { display: none; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--dark-border); }
  .menu-toggle { display: block; }

  .site-header { flex-direction: column; height: auto; padding: 12px 20px; }
  .header-inner { flex-wrap: wrap; }
  .main-nav { width: 100%; }

  .hero { height: 70vh; }
  .hero-title { font-size: 2.8rem; }
}
