/* =====================================================================
   MOTEL TRANSYLVANIA — Industrial theme overrides
   Loaded LAST. Non-destructive: only restyles, never changes structure.
   Palette: toxic green on deep black, matching the band artwork.
   ===================================================================== */

:root {
  --toxic: #9be300;          /* acid/lime green from the cover art */
  --toxic-bright: #b6ff14;
  --toxic-dim: #5f8c00;
  --ink: #0a0a0b;            /* deep black base */
  --ink-2: #121214;          /* slightly lifted panel */
  --hairline: rgba(155, 227, 0, 0.22);
  --glow: 0 0 18px rgba(155, 227, 0, 0.45);
}

/* ---- Base canvas: deeper black + subtle vignette for atmosphere ---- */
.dark-version {
  background: #0a0a0b;
  background-image:
    radial-gradient(120% 80% at 50% -10%, rgba(155,227,0,0.06) 0%, rgba(10,10,11,0) 55%);
  background-attachment: fixed;
}
.dark-version .latest-album.dark { background-color: transparent; }
.inverse-color { background-color: var(--ink-2); }

::selection { background: var(--toxic); color: #000; }

/* Industrial scrollbar */
* { scrollbar-color: var(--toxic-dim) #0a0a0b; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0a0a0b; }
::-webkit-scrollbar-thumb { background: var(--toxic-dim); border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: var(--toxic); }

/* ---- Headings: white text + toxic underline with glow ---- */
.dark-version h2.title { color: #fff; letter-spacing: 1px; }
.dark-version h2.title:after,
.dark-version h2.title.inverse:after {
  background: var(--toxic);
  height: 4px;
  box-shadow: var(--glow);
}

/* ---- Navigation: legible light links + animated toxic underline ----
   Fixes the bug where nav links were black (#000) over a dark hero.    */
#jHeader { transition: background-color .3s ease, box-shadow .3s ease; }
.dark-version .navbar-default .navbar-nav > li > a {
  color: #f2f2f2 !important;
  font-family: 'Cousine', monospace;
  font-weight: 700;
  letter-spacing: 2px;
  position: relative;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6);
}
.dark-version .navbar-default .navbar-nav > li > a:after {
  content: "";
  position: absolute;
  left: 15px; right: 15px; bottom: 8px;
  height: 2px;
  background: var(--toxic);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .25s ease;
}
.dark-version .navbar-default .navbar-nav > li > a:hover:after,
.dark-version .navbar-default .navbar-nav > li.active > a:after { transform: scaleX(1); }
.dark-version .navbar-default .navbar-nav > li.active > a { color: var(--toxic) !important; }

/* Header background once scrolled/fixed: dark glass + toxic hairline */
#jHeader.overflow,
#jHeader.fixed {
  background-color: rgba(10,10,11,0.82) !important;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hairline);
}
/* Burger icon bars -> toxic on interaction */
.navbar-default .navbar-toggle .icon-bar { background-color: #fff; }
.navbar-default .navbar-toggle:hover .icon-bar,
.navbar-default .navbar-toggle:focus .icon-bar { background-color: var(--toxic) !important; }

/* ---- Buttons: outlined -> toxic fill on hover ---- */
.dark-version .btn.square {
  color: var(--toxic);
  border: 2px solid var(--toxic) !important;
  background-color: transparent;
  letter-spacing: 2px;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.dark-version .btn.square:hover,
.dark-version .btn.square:focus {
  background-color: var(--toxic);
  color: #050505;
  box-shadow: var(--glow);
}

/* ---- Section rhythm: thin toxic separators ---- */
.dark-version .last-media { border-top: 2px solid var(--toxic); }
.dark-version .biography { border-top: 1px solid var(--hairline); }
.dark-version .contact { border-top: 1px solid var(--hairline); }

/* ---- Media embeds: framed + lift on hover ---- */
.latest-album iframe,
.last-media .thumbnail.video iframe {
  border: 1px solid var(--hairline);
  box-shadow: 0 8px 30px rgba(0,0,0,0.55);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.last-media .thumbnail.video iframe:hover {
  transform: translateY(-4px);
  border-color: var(--toxic);
  box-shadow: 0 12px 40px rgba(0,0,0,0.65), var(--glow);
}

/* Merch / gallery thumbnails: toxic edge + zoom on hover */
.last-media .thumbnail.image a {
  display: block;
  border: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease;
}
.last-media .thumbnail.image img { transition: transform .4s ease; display: block; width: 100%; }
.last-media .thumbnail.image a:hover { border-color: var(--toxic); box-shadow: var(--glow); }
.last-media .thumbnail.image a:hover img { transform: scale(1.06); }

/* ---- Social icons: glow + lift ---- */
.row.social a {
  display: inline-block;
  transition: transform .2s ease, filter .2s ease;
}
.row.social a:hover {
  transform: translateY(-4px) scale(1.08);
  filter: drop-shadow(0 0 10px rgba(155,227,0,0.7));
}

/* ---- Carousel indicators: toxic active dot ---- */
.carousel-indicators .active { background-color: var(--toxic) !important; border-color: var(--toxic) !important; }
.carousel-indicators li { border-color: rgba(255,255,255,0.6); }

/* ---- Contact links ---- */
.contact .email a, .contact .title-follow { transition: color .2s ease; }
.contact .email a:hover { color: var(--toxic); text-shadow: 0 0 8px rgba(155,227,0,0.5); }
.contact .title-follow { color: #fff; letter-spacing: 3px; }
.contact hr { border-color: var(--hairline); }

/* ---- Footer ---- */
footer {
  background-color: #050506 !important;
  border-top: 2px solid var(--toxic);
}
footer .copy, footer .menu-footer li a { font-family: 'Cousine', monospace; letter-spacing: 1px; }
footer .menu-footer li a:hover { color: var(--toxic); }

/* ---- Loader: keep the heartbeat, add a toxic halo behind the logo ---- */
.logo-heartbeat {
  position: relative;
  padding: 40px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(155,227,0,0.18) 0%, rgba(155,227,0,0) 70%);
  animation: toxicPulse 3s infinite ease-in-out;
}
@keyframes toxicPulse {
  0%, 50%, 100% { box-shadow: 0 0 0 rgba(155,227,0,0); }
  25%, 75% { box-shadow: 0 0 60px rgba(155,227,0,0.25); }
}

/* ---- Biography copy: keep the cyber/mono feel, improve readability ---- */
.dark-version .biography-description p.cousine {
  color: #d7d7d7;
  line-height: 1.9;
}
.dark-version .biography-description .title.inverse { color: #fff; }

/* =====================================================================
   LIVE DATES
   ===================================================================== */
.live-dates { padding-bottom: 20px; }
.tourlist { list-style: none; margin: 0 auto; padding: 0; max-width: 860px; border-top: 1px solid var(--hairline); }
.tour-row {
  display: flex; align-items: center; gap: 20px;
  padding: 20px 6px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background-color .2s ease, padding-left .2s ease;
}
.tour-row:hover { background: rgba(155,227,0,0.05); padding-left: 14px; }
.tour-row--soldout { opacity: 0.55; }
.t-date {
  flex: 0 0 64px; text-align: center; line-height: 1;
  font-family: 'Anton', sans-serif; color: #fff;
}
.t-day { display: block; font-size: 30px; }
.t-mon { display: block; font-size: 12px; letter-spacing: 1px; color: var(--toxic); margin-top: 4px; }
.t-place { flex: 1 1 auto; min-width: 0; }
.t-city {
  display: block; font-family: 'Anton', sans-serif; font-size: 20px;
  letter-spacing: 1px; color: #fff; text-transform: uppercase;
}
.t-venue { display: block; font-family: 'Cousine', monospace; font-size: 12px; color: var(--muted, #9a9a9a); margin-top: 3px; }
.t-status {
  flex: 0 0 auto; font-family: 'Cousine', monospace; font-size: 10px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; padding: 4px 9px; border: 1px solid;
}
.t-status--available { color: var(--toxic); border-color: var(--hairline); }
.t-status--low { color: #ffcf3a; border-color: rgba(255,207,58,0.4); }
.t-status--soldout { color: #ff5252; border-color: rgba(255,82,82,0.45); }
.t-cta {
  flex: 0 0 auto; font-family: 'Cousine', monospace; font-size: 12px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase; text-decoration: none;
  color: #050505; background: var(--toxic); padding: 9px 18px;
  transition: box-shadow .2s ease, background-color .2s ease;
}
.t-cta:hover { box-shadow: var(--glow); color: #050505; }
.t-cta--off { background: transparent; color: #777; border: 1px solid rgba(255,255,255,0.15); cursor: default; }
.tour-foot { text-align: center; font-family: 'Cousine', monospace; font-size: 13px; color: var(--muted, #9a9a9a); letter-spacing: 1px; }
.tour-foot a { color: var(--toxic); }
.tour-empty { text-align: center; color: var(--muted, #9a9a9a); padding: 24px; font-family: 'Cousine', monospace; }

@media (max-width: 600px) {
  .tour-row { flex-wrap: wrap; gap: 10px 14px; }
  .t-place { flex: 1 1 60%; }
  .t-status { order: 3; }
  .t-cta { order: 4; margin-left: auto; }
}

/* =====================================================================
   VIDEO GRID (YouTube)
   ===================================================================== */
.video-grid { margin-left: -10px; margin-right: -10px; }
.video-grid > [class*="col-"] { padding: 10px; }
.video-embed {
  position: relative; width: 100%; padding-bottom: 56.25%; height: 0; overflow: hidden;
  border: 1px solid var(--hairline); background: #000;
  box-shadow: 0 8px 30px rgba(0,0,0,0.55);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}
.video-embed:hover { border-color: var(--toxic); transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.65), var(--glow); }
.video-embed iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }

/* =====================================================================
   MERCH FEATURE BANNERS
   ===================================================================== */
.merch-banner { display: block; }
.merch-banner img {
  width: 100%; height: auto; display: block;
  border: 1px solid var(--hairline);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.merch-banner:hover img { border-color: var(--toxic); box-shadow: var(--glow); }
.merch-note { text-align: center; font-family: 'Cousine', monospace; font-size: 13px; color: var(--muted, #9a9a9a); margin-top: 22px; letter-spacing: .5px; }
.merch-note a { color: var(--toxic); }

/* =====================================================================
   HERO SLIDER (data-driven carousel)
   ===================================================================== */
.dark-version .intro {
  position: relative !important;
  width: 100% !important;
  min-height: 100vh;
  min-height: 100svh;
  height: auto !important;
  overflow: hidden;
}
/* ── Navbar: sempre fixed su mobile (override del meccanismo JS) ────
   Il tema base rende il navbar fixed solo quando coesistono le classi
   .overflow E .fixed (soglia: jIntro.height/2 ≈ 450px su mobile).
   Prima di quella soglia, con position:relative+top:-100px, la navbar
   sparisce e poi riappare di scatto. La soluzione è tenerla SEMPRE
   fixed su mobile, indipendentemente dallo scroll JS.
   z-index: 99999 → sopra qualsiasi elemento hero o sezione.          */
@media (max-width: 991px) {
  header,
  header.overflow {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 99999 !important;
    background-color: rgba(10,10,11,0.88) !important;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--hairline);
  }
  /* Compensate: il primo contenuto dopo il hero non si nasconde sotto
     la navbar fixed. L'altezza della navbar mobile è ~60px. */
  .dark-version .intro { margin-top: 0; }
}
@media (max-width: 768px) {
  .dark-version .intro { width: 100% !important; }
}
.hero-slider { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; background: #000; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-fill { position: absolute; inset: 0; width: 100%; height: 100%;
  background-position: center center; background-repeat: no-repeat; background-color: #000; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: 22px; z-index: 5;
  list-style: none; margin: 0; padding: 0; text-align: center; }
.hero-dots li { display: inline-block; width: 10px; height: 10px; margin: 0 5px;
  border: 1px solid rgba(255,255,255,.7); border-radius: 50%; cursor: pointer; transition: all .2s; }
.hero-dots li.is-active { background: var(--toxic); border-color: var(--toxic); box-shadow: var(--glow); }

/* =====================================================================
   PALETTE UNIFICATION — one deep-black backdrop across all sections
   (kills the leftover grey #212121 and the light/grey YouTube section)
   ===================================================================== */
.dark-version .section,
.dark-version .latest-album.dark,
.dark-version .last-media,
.dark-version .live-dates,
.dark-version .biography,
.dark-version .inverse-color,
.dark-version .contact { background-color: transparent !important; }

/* keep the body's fixed vignette as the single shared background */
.dark-version { background-color: #0a0a0b; }

/* =====================================================================
   SPOTIFY — make the player the hero of the page
   ===================================================================== */
.pretitle-toxic {
  text-align: center;
  font-family: 'Cousine', monospace;
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--toxic);
  margin: 0 0 14px;
}
.spotify-section { position: relative; }
.spotify-feature {
  max-width: 720px;
  margin: 0 auto;
  padding: 16px;
  border: 1px solid var(--hairline);
  background: linear-gradient(180deg, rgba(155,227,0,0.05), rgba(10,10,11,0));
  box-shadow: 0 0 50px rgba(155,227,0,0.12);
}
.spotify-feature iframe {
  display: block;
  box-shadow: 0 10px 40px rgba(0,0,0,0.6);
  border: 0;
}
.btn-spotify { font-size: 13px; }

/* video grid + merch banners already styled above; ensure YouTube title pops */
.dark-version .last-media .title { color: #fff; }

/* =====================================================================
   MERCH PAGE
   ===================================================================== */

/* ── Hero ── */
.bg-header.merch {
  background: url('../images/merch/merch-cover.png') center / cover no-repeat;
}
.bg-header.merch::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,11,.45) 0%, rgba(10,10,11,.82) 100%);
  pointer-events: none;
}
.merch-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: inherit;
}
.merch-hero-title {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: clamp(52px, 11vw, 110px);
  letter-spacing: 6px;
  text-transform: uppercase;
  color: #fff;
  line-height: 0.88;
  margin: 12px 0 32px;
  text-shadow: 0 0 80px rgba(155,227,0,.28);
}

/* ── Feature banners 2-col ── */
.merch-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 60px 0 0;
}
@media (max-width: 600px) { .merch-feature-grid { grid-template-columns: 1fr; } }
.merch-banner-half {
  position: relative;
  overflow: hidden;
  display: block;
  border: 1px solid var(--hairline);
  transition: border-color .25s, box-shadow .25s;
}
.merch-banner-half img {
  width: 100%; display: block;
  aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform .4s;
}
.merch-banner-half:hover { border-color: var(--toxic); box-shadow: var(--glow); }
.merch-banner-half:hover img { transform: scale(1.04); }
.merch-banner-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 12px 18px;
  background: linear-gradient(0, rgba(10,10,11,.88), transparent);
  font-family: 'Anton', sans-serif;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  font-size: 15px;
}

/* ── Order bar ── */
.merch-order-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 20px;
  border: 1px solid var(--hairline);
  padding: 16px 22px;
  margin: 24px 0 50px;
  font-family: 'Cousine', monospace;
  font-size: 12px;
  letter-spacing: .5px;
  color: var(--muted, #9a9a9a);
}
.merch-order-bar a {
  color: var(--toxic);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: text-shadow .2s;
}
.merch-order-bar a:hover { text-shadow: 0 0 10px rgba(155,227,0,.6); }

/* ── Product grid ── */
.merch-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
@media (max-width: 767px) { .merch-grid { grid-template-columns: repeat(2, 1fr); } }

.merch-card {
  display: block;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.06);
  overflow: hidden;
  background: #0a0a0a;
  transition: border-color .25s, box-shadow .25s;
}
.merch-card:hover { border-color: var(--toxic); box-shadow: var(--glow); }

.merch-card-img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.merch-card-img img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .4s;
}
.merch-card:hover .merch-card-img img { transform: scale(1.06); }

.merch-card-label {
  padding: 11px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,.06);
  font-family: 'Cousine', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted, #9a9a9a);
}
.merch-card-label .card-cta {
  color: var(--toxic);
  font-size: 9px;
  letter-spacing: 1.5px;
}

/* ── CTA block ── */
.merch-cta-block {
  margin: 60px 0 30px;
  text-align: center;
  padding: 52px 24px;
  border: 1px solid var(--hairline);
  background: linear-gradient(180deg, rgba(155,227,0,.04), rgba(10,10,11,0));
}
.merch-cta-block h2 {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: clamp(28px, 5vw, 52px);
  letter-spacing: 5px;
  color: #fff;
  margin: 0 0 14px;
  text-transform: uppercase;
}
.merch-cta-block p {
  font-family: 'Cousine', monospace;
  font-size: 13px;
  color: var(--muted, #9a9a9a);
  margin-bottom: 28px;
  letter-spacing: .4px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* =====================================================================
   HOME — SPOTIFY + TOUR SPLIT LAYOUT
   Desktop: two columns (55% album · 45% tour).
   Mobile (<992px): stacked, Spotify first then Tour.
   ===================================================================== */
.spotify-tour-split { position: relative; }

.split-grid {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: 0 64px;
  /* center: le due colonne si allineano al centro verticale, così
     il player Spotify e l'elenco date restano visivamente bilanciati
     nonostante i titoli abbiano altezze diverse.                    */
  align-items: center;
}

@media (max-width: 991px) {
  .split-grid {
    grid-template-columns: 1fr;
    gap: 50px 0;
  }
}

.split-col--spotify .spotify-feature {
  max-width: none;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  box-shadow: none;
}
.split-col--spotify .spotify-feature iframe {
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
  /* Altezza aumentata per mostrare più tracklist nell'embed */
  min-height: 420px;
}
/* Spazio tra il bottone "Play full album" e la sezione tour su mobile */
.split-col--spotify .text-center { margin-bottom: 0; }
@media (max-width: 991px) {
  .split-col--spotify .text-center { margin-bottom: 12px; }
  .split-col--tour { padding-top: 8px; }
}

/* Remove the 860px cap on tourlist so it fills the column */
.split-col--tour .tourlist {
  max-width: none;
}

/* The hidden anchor span used as a nav scroll target for #anchor05 */
.split-col--tour > span#anchor05 {
  display: block;
  visibility: hidden;
  height: 0;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

/* =====================================================================
   BIOGRAPHY SECTION — restyle
   ===================================================================== */
.bio-section {
  padding: 90px 0;
  border-top: 1px solid var(--hairline);
}
.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 72px;
  align-items: center;
}
@media (max-width: 991px) {
  .bio-grid { grid-template-columns: 1fr; gap: 48px 0; }
  /* Image comes first on mobile for visual impact */
  .bio-image { order: -1; }
}

.bio-text .title { margin-top: 10px; }

.bio-body { margin: 32px 0; }
.bio-body p {
  font-family: 'Cousine', monospace;
  font-size: 13px;
  line-height: 1.9;
  color: #d0d0d0;
  margin-bottom: 16px;
}
.bio-body em { color: var(--toxic); font-style: normal; font-weight: 700; }

.bio-stats {
  display: flex;
  gap: 0 32px;
  margin-bottom: 32px;
  padding: 20px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}
.bio-stat { display: flex; flex-direction: column; gap: 4px; }
.stat-n {
  font-family: 'Anton', sans-serif;
  font-size: 28px;
  color: var(--toxic);
  letter-spacing: 1px;
  line-height: 1;
}
.stat-l {
  font-family: 'Cousine', monospace;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #777;
}

.bio-press-btn { font-size: 11px !important; letter-spacing: 2px !important; }

.bio-image {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--hairline);
}
.bio-image::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(155,227,0,0);
  transition: border-color .3s;
  pointer-events: none;
}
.bio-image:hover::after { border-color: var(--hairline); }
.bio-image img {
  width: 100%;
  display: block;
  filter: grayscale(20%) contrast(1.08);
  transition: transform .5s ease, filter .5s ease;
}
.bio-image:hover img { transform: scale(1.03); filter: grayscale(0%) contrast(1.05); }

/* =====================================================================
   CONNECT SECTION (social + contact cards)
   ===================================================================== */
.connect-section {
  padding: 80px 0 72px;
  border-top: 1px solid var(--hairline);
}

/* Social links */
.connect-social { text-align: center; margin-bottom: 64px; }

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  border: 1px solid rgba(255,255,255,.1);
  color: #ccc;
  text-decoration: none;
  font-family: 'Cousine', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: border-color .2s, color .2s, box-shadow .2s, background-color .2s;
}
.social-link i { font-size: 16px; }
.social-link:hover {
  border-color: var(--toxic);
  color: var(--toxic);
  box-shadow: var(--glow);
  background: rgba(155,227,0,.05);
}

/* Contact cards */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 767px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-card {
  border: 1px solid rgba(255,255,255,.06);
  padding: 32px 28px;
  text-align: center;
  transition: border-color .25s, background .25s;
}
.contact-card:hover {
  border-color: var(--hairline);
  background: rgba(155,227,0,.03);
}
.contact-card-label {
  font-family: 'Cousine', monospace;
  font-size: 9px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--toxic);
  margin: 0 0 14px;
}
.contact-card-value {
  font-family: 'Cousine', monospace;
  font-size: 13px;
  color: #d0d0d0;
  text-decoration: none;
  letter-spacing: .3px;
  transition: color .2s;
  display: inline-block;
}
.contact-card-value:hover { color: var(--toxic); }
.contact-card-value i { margin-right: 6px; }

/* =====================================================================
   MOBILE RESPONSIVE FIXES
   Breakpoints: 767px (tablet/mobile), 480px (small phone), 380px (tiny)
   ===================================================================== */

/* ── 1. Hero carousel: 100svh è troppo su mobile ─────────────────────
   68svh lascia visibile ~32% della viewport dopo la navbar, mostrando
   un hint di contenuto e invogliando lo scroll.                        */
@media (max-width: 767px) {
  .dark-version .intro {
    min-height: 68vh !important;
    min-height: 68svh !important;
  }
}

/* ── 2. Merch intro: pagina store non ha bisogno di header full-screen */
@media (max-width: 767px) {
  .merch-intro.intro {
    min-height: 44vh !important;
    min-height: 44svh !important;
  }
  .merch-hero-content { padding: 40px 16px; }
  .merch-hero-title { letter-spacing: 3px; }
}

/* ── 3. voffset: riduci spaziatori fissi su mobile ─────────────────── */
@media (max-width: 767px) {
  .voffset60  { margin-bottom: 28px !important; }
  .voffset70  { margin-bottom: 32px !important; }
  .voffset80  { margin-bottom: 36px !important; }
  .voffset90  { margin-bottom: 40px !important; }
  .voffset100 { margin-bottom: 44px !important; }
}

/* ── 4. Bottoni: previeni overflow su schermi stretti ───────────────── */
@media (max-width: 767px) {
  .btn.square,
  .dark-version .btn.square {
    letter-spacing: 1.5px !important;
    padding: 10px 16px !important;
    font-size: 11px !important;
    white-space: normal;
    word-break: break-word;
    max-width: 100%;
    box-sizing: border-box;
  }
  /* Bottone Spotify: "Play full album on Spotify" → testo più corto in CSS */
  .btn-spotify::after { content: ''; }
}

/* ── 5. Email: rompi stringhe lunghe nelle contact card ─────────────── */
.contact-card-value {
  word-break: break-all;
  overflow-wrap: break-word;
}

/* ── 6. Social pills: più compatte su schermi stretti ───────────────── */
@media (max-width: 480px) {
  .social-links { gap: 8px; }
  .social-link {
    padding: 9px 14px;
    font-size: 10px !important;
    letter-spacing: 1px;
  }
  .social-link i { font-size: 14px; }
}

/* ── 7. Bio stats: tre colonne su schermi molto stretti ─────────────── */
@media (max-width: 400px) {
  .bio-stats { gap: 0 12px; }
  .stat-n { font-size: 22px; }
  .stat-l { font-size: 8px; letter-spacing: 1px; }
}

/* ── 8. Sezioni bio/connect: riduci padding verticale su mobile ─────── */
@media (max-width: 767px) {
  .bio-section    { padding: 52px 0; }
  .connect-section { padding: 52px 0 44px; }
  .connect-social { margin-bottom: 44px; }
}

/* ── 9. Tour rows: su schermi <400px evita overflow status + CTA ─────── */
@media (max-width: 400px) {
  .t-status {
    font-size: 8px !important;
    padding: 3px 6px;
    letter-spacing: 1px;
  }
  .t-cta, .t-cta--off {
    width: 100%;
    text-align: center;
    margin-left: 0 !important;
    order: 5;
  }
  .t-day  { font-size: 24px; }
  .t-city { font-size: 16px; }
}

/* ── 10. Contact card: riduci padding su mobile ─────────────────────── */
@media (max-width: 767px) {
  .contact-card { padding: 24px 20px; }
  .contact-card-value { font-size: 12px; }
}

/* ── 11. Spotify feature: rimuovi il glow box su mobile per respiro ─── */
@media (max-width: 991px) {
  .split-col--spotify .spotify-feature iframe {
    box-shadow: none;
  }
}

/* =====================================================================
   GALLERY PAGE — refreshed hero + modern CSS-grid (replaces Isotope)
   Reuses theme tokens (--toxic / --glow / --hairline) and the shared
   .connect-section block rendered by site-render.js.
   The grid container is .mt-gallery (NOT .thumbnails) so the global
   Isotope init in main.js stays a harmless no-op — no JS changes needed.
   ===================================================================== */

/* ── Hero ───────────────────────────────────────────────────────────
   Self-contained dark gradient hero (no reliance on a specific photo),
   styled to match the merch hero. To use a live shot as the backdrop,
   add e.g.  background-image: url('../images/demo/gallery/3.jpg');
   on .gallery-hero and keep the ::after overlay.                      */
.gallery-hero {
  position: relative;
  overflow: hidden;
  min-height: 48vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(120% 85% at 50% 0%, rgba(155,227,0,0.10), rgba(10,10,11,0) 60%),
    linear-gradient(180deg, #0a0a0b 0%, #050505 100%);
  border-bottom: 1px solid var(--hairline);
}
/* subtle scanline texture for the industrial vibe */
.gallery-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    180deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 4px);
  opacity: 0.5;
  pointer-events: none;
}
.gallery-hero-content {
  position: relative;
  z-index: 1;
  padding: 104px 20px 56px;
}
.gallery-hero-title {
  font-family: 'Anton', sans-serif;
  font-weight: 400;
  font-size: clamp(48px, 11vw, 104px);
  letter-spacing: 6px;
  text-transform: uppercase;
  color: #fff;
  line-height: 0.9;
  margin: 10px 0 18px;
  text-shadow: 0 0 80px rgba(155,227,0,0.28);
}
.gallery-hero-sub {
  font-family: 'Cousine', monospace;
  font-size: 13px;
  letter-spacing: 2px;
  color: #9a9a9a;
  max-width: 520px;
  margin: 0 auto;
}

/* ── Grid ───────────────────────────────────────────────────────────*/
.mt-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  max-width: 1480px;
  margin: 0 auto;
}
@media (max-width: 1199px) { .mt-gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 767px)  { .mt-gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

.mt-gallery .g-item {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.06);
  transition: border-color .25s ease, box-shadow .25s ease;
}
.mt-gallery .g-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(18%) contrast(1.02);
  transition: transform .5s ease, filter .4s ease;
}
.mt-gallery .g-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10,10,11,0);
  transition: background .25s ease;
  pointer-events: none;
}
.mt-gallery .g-plus {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -42%) scale(.9);
  z-index: 2;
  font-size: 26px;
  line-height: 1;
  color: var(--toxic);
  opacity: 0;
  pointer-events: none;
  text-shadow: 0 0 14px rgba(155,227,0,0.7);
  transition: opacity .25s ease, transform .35s ease;
}
.mt-gallery .g-item:hover { border-color: var(--toxic); box-shadow: var(--glow); }
.mt-gallery .g-item:hover img { transform: scale(1.07); filter: grayscale(0%) contrast(1.05); }
.mt-gallery .g-item:hover::after { background: rgba(10,10,11,0.38); }
.mt-gallery .g-item:hover .g-plus { opacity: 1; transform: translate(-50%, -50%) scale(1); }
/* keyboard focus parity with hover (accessibility) */
.mt-gallery .g-item:focus-visible { outline: none; border-color: var(--toxic); box-shadow: var(--glow); }
.mt-gallery .g-item:focus-visible .g-plus { opacity: 1; transform: translate(-50%, -50%) scale(1); }

.mt-gallery .g-item.is-hidden { display: none; }

.gallery-more { text-align: center; margin-top: 40px; }
.gallery-more.is-done { display: none; }

@media (max-width: 767px) {
  .gallery-hero { min-height: 40vh; }
  .gallery-hero-content { padding: 120px 16px 44px; }
}
