/* ==========================================
   PISHKEY MUSIC - HOME STYLESHEET
   ==========================================
   Stili specifici della home page (mappa Pishkeyland,
   overlay artista, manifesto, records). Estratti dal
   blocco <style> inline che era dentro index.html. */

:root {
  --bg:          #0d0a12;
  --bg-stage:    #352F55;
  --bg-shadow:   #24141b;
  --chalk:       #EFEFF2;
  --accent:      #B45A8D;
  --accent-glow: rgba(180, 90, 141, 0.35);

  /* Per-artist accent colors as fallbacks
  --fay:    #769BCE;
  --kosta:  #3395FF;
  --alina:  #D32F2F;
  --uncle:  #C43350;
  --george: #6A5B9C;
  --extinct: #E2C88F; */

  --font-display: 'Cormorant Garamond', serif;
  --font-head:    'Archivo Narrow', sans-serif;
  --font-body:    'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--chalk);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

/* ════════════════════════════
   NAV
════════════════════════════ */
nav {
  position: fixed;
  top: 0; width: 100%;
  z-index: 500;
  padding: 1.25rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(to bottom, rgba(13,10,18,0.98) 0%, transparent 100%);
  pointer-events: none;
}
nav > * { pointer-events: all; }

.logo img {
  height: 54px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}
.nav-links a {
  font-family: var(--font-head);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.6;
  transition: opacity 0.3s, color 0.3s;
}
.nav-links a:hover { opacity: 1; color: var(--accent); }

/* ════════════════════════════
   HERO — THE MAP
════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 10vh;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 20%, rgba(53,47,85,0.7) 0%, transparent 70%),
    radial-gradient(ellipse 100% 100% at 50% 100%, rgba(36,20,27,0.8) 0%, transparent 60%),
    var(--bg);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 55%, rgba(180,90,141,0.07) 0%, transparent 45%),
    radial-gradient(circle at 78% 45%, rgba(91,163,201,0.05) 0%, transparent 45%);
  pointer-events: none;
}

.hero-head {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-bottom: 2.5rem;
  animation: fadeUp 1s cubic-bezier(0.16,1,0.3,1) both;
}

.hero-kicker {
  display: block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.8rem;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(4rem, 15vw, 11rem);
  font-weight: 500;
  text-transform: none;
  letter-spacing: -0.02em;
  line-height: 0.85;
}

.hero-title em {
  display: inline-block;
  transform: scaleY(1.15);
  transform-origin: bottom;
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  color: #a36181;
}

.hero-sub {
  margin-top: 3rem;
  font-size: 1rem;
  opacity: 0.45;
  font-weight: 300;
  letter-spacing: 0.06em;
}

.map-wrap {
  position: relative;
  width: 100%;
  max-width: 1080px;
  padding: 0 1rem;
  z-index: 2;
  animation: fadeUp 1.1s 0.25s cubic-bezier(0.16,1,0.3,1) both;
}

.map-img {
  width: 100%;
  height: auto;
  display: block;
  filter:
    drop-shadow(0 0 80px rgba(180,90,141,0.18))
    drop-shadow(0 30px 60px rgba(0,0,0,0.85));
  animation: float 7s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-10px); }
}

/* Hotspots */
.hotspot {
  position: absolute;
  width: 36px;
  height: 36px;
  cursor: pointer;
  transform: translate(-50%, -50%);
  z-index: 10;
  background: transparent;
  border: none;
  border-radius: 50%;
}

.hotspot-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid var(--hs-clr, var(--accent));
  animation: pulse 2.8s ease-out infinite;
}
.hotspot-pulse:nth-child(2) { animation-delay: 0.9s; }

.hotspot-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--hs-clr, var(--accent));
  box-shadow: 0 0 14px var(--hs-clr, var(--accent));
  transition: transform 0.3s, box-shadow 0.3s;
}

.hotspot:hover .hotspot-core {
  transform: translate(-50%, -50%) scale(1.6);
  box-shadow: 0 0 28px var(--hs-clr, var(--accent));
}

.hotspot-tip {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: var(--font-head);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(13,10,18,0.95);
  padding: 6px 14px;
  border: 1px solid var(--hs-clr, var(--accent));
  color: var(--hs-clr, var(--accent));
  border-radius: 2px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
  transform: translateX(-50%) translateY(6px);
}

.hotspot-tip::after {
  content: '';
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--hs-clr, var(--accent));
}

.hotspot:hover .hotspot-tip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@keyframes pulse {
  0%   { transform: scale(1);   opacity: 0.9; }
  100% { transform: scale(2.8); opacity: 0; }
}

.hs-fay    { top: 25%; left: 50.5%; --hs-clr: var(--fay);    }
.hs-kosta  { top: 75%; left: 38%; --hs-clr: var(--kosta);  }
.hs-alina  { top: 74%; left: 55%; --hs-clr: var(--alina);  }
.hs-uncle  { top: 49%; left: 26%; --hs-clr: var(--uncle);  }
.hs-george { top: 46%; left: 50%; --hs-clr: var(--george); }
.hs-extinct { top: 30%; left: 65%; --hs-clr: var(--extinct); }

.map-hint {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: 1.8rem;
  margin-bottom: 4rem;
  font-family: var(--font-head);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.28;
  animation: fadeUp 1.2s 0.5s cubic-bezier(0.16,1,0.3,1) both;
}

/* ════════════════════════════
   MANIFESTO
════════════════════════════ */
.manifesto {
  padding: 8rem 2rem 6rem;
  text-align: center;
}

.eyebrow {
  display: block;
  font-family: var(--font-head);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2rem;
}

.manifesto h2 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  max-width: 820px;
  margin: 0 auto 2.5rem;
}
.manifesto h2 em { font-style: italic; color: var(--accent); }

.manifesto-lead {
  font-size: 1.15rem;
  opacity: 0.65;
  max-width: 580px;
  margin: 0 auto 1rem;
  line-height: 1.85;
  font-weight: 300;
}

.world-quote {
  margin: 4rem auto 6rem;
  max-width: 800px;
}

.world-quote p {
  font-family: var(--font-display) !important;
  color: var(--chalk) !important;
  font-size: clamp(1.5rem, 3vw, 2.2rem) !important;
  line-height: 1.4 !important;
  margin-bottom: 2.5rem !important;
  opacity: 1 !important;
  text-align: center;
}

.manifesto-line {
  font-size: 1.8rem !important;
  opacity: 0.7 !important;
  margin-bottom: 0.5rem !important;
}

.manifesto-subline.highlight {
  font-size: 2.8rem !important;
  margin-bottom: 4rem !important;
}

.manifesto-subline.highlight em {
  color: #a36181 !important;
  font-style: italic;
  font-weight: 700;
  display: inline-block;
  transform: scaleY(1.15);
  transform-origin: bottom;
}

.manifesto-laugh {
  font-family: var(--font-head) !important;
  color: #a36181 !important;
  font-weight: 700 !important;
  font-size: 3.5rem !important;
  letter-spacing: -0.02em !important;
  margin-top: 4rem !important;
  margin-bottom: 1rem !important;
  text-transform: uppercase;
}

.manifesto-signature {
  font-family: var(--font-head) !important;
  color: var(--chalk) !important;
  font-size: 0.9rem !important;
  opacity: 0.4 !important;
  text-transform: capitalize;
}

/* ════════════════════════════
   RECORDS
════════════════════════════ */
.releases-section {
  padding: 4rem 2rem 8rem;
  max-width: 1080px;
  margin: 0 auto;
}

.sec-head {
  display: block;
  text-align: center;
  margin-bottom: 4rem;
}

.sec-head h2 {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1;
  margin: 0 auto;
}

.zone-label {
  font-family: var(--font-head);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--zone-clr, var(--accent));
  margin: 4rem 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.zone-label::after {
  content: '';
  flex-grow: 1;
  height: 1px;
  background: var(--zone-clr, var(--accent));
  opacity: 0.2;
}

.releases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.r-card {
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-shadow);
  border: 1px solid rgba(255,255,255,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.r-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}

/* ════════════════════════════
   ARTIST OVERLAY PANELS
════════════════════════════ */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: stretch;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.ov-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7,5,11,0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ov-panel {
  position: relative;
  z-index: 1;
  width: min(660px, 100%);
  margin-left: auto;
  background: var(--bg-shadow);
  overflow-y: auto;
  padding: 5rem 3.5rem 4rem;
  transform: translateX(50px);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  border-left: 1px solid rgba(255,255,255,0.05);
}

.overlay.is-open .ov-panel {
  transform: translateX(0);
}

.ov-close {
  position: absolute;
  top: 2rem; right: 2rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--chalk);
  width: 42px; height: 42px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s, background 0.3s;
  z-index: 2;
}
.ov-close:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.07); }

.ov-portrait {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  object-position: bottom center;
  display: block;
  margin: 0 auto 2rem;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.6));
  -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
}

.ov-zone-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ov-clr, var(--accent));
  border: 1px solid var(--ov-clr, var(--accent));
  padding: 5px 14px;
  border-radius: 2px;
  margin-bottom: 2rem;
}

.ov-name {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 0.95;
  margin-bottom: 2.5rem;
}

.ov-lore {
  font-size: 1rem;
  line-height: 1.9;
  opacity: 0.72;
  padding-bottom: 2.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-weight: 300;
}
.ov-lore strong { font-weight: 500; opacity: 1; color: var(--chalk); }
.ov-lore em { font-style: italic; }

.ov-tracks-label {
  font-family: var(--font-head);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.35;
  margin-bottom: 1.25rem;
}

.ov-full-link {
  display: block;
  text-align: center;
  margin-top: 2.5rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--chalk);
  text-decoration: none;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 2rem;
  transition: opacity 0.3s;
}
.ov-full-link:hover { opacity: 0.7; }

/* ════════════════════════════
   FOOTER & ANIMATIONS
════════════════════════════ */
footer {
  background: #0a0810;
  padding: 3rem 2.5rem;
  text-align: center;
  font-family: var(--font-head);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.3;
  border-top: 1px solid rgba(255,255,255,0.04);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .hero { padding-top: 22vh !important; }
  .hero-title { font-size: 3.8rem; }
  .releases-grid { grid-template-columns: 1fr; }
  .ov-panel { padding: 4rem 1.75rem 3rem; }
}
