/* Font display caricato dal web per una resa uniforme su desktop e mobile. */
@import url("https://fonts.googleapis.com/css2?family=Anton&display=swap");

:root {
  --black: #050505;
  --white: #f8f5ef;
  --paper: #eee8dd;
  --muted: #c8c1b8;
  --ink: #17120f;
  --red: #f20b16;
  --red-dark: #980009;
  --line: rgba(255, 255, 255, 0.16);
  --shadow: rgba(242, 11, 22, 0.34);
  --mole-shift-y: 0px;
  --band-shift-x: 0px;
  --band-shift-y: 0px;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Sfondo: nero a sinistra, Mole a destra */
body {
    background:
        linear-gradient(
            90deg,
            #000 0%,
            #000 32%,
            rgba(0, 0, 0, 0.95) 42%,
            rgba(0, 0, 0, 0.55) 58%,
            rgba(0, 0, 0, 0.10) 78%,
            transparent 100%
        ),
        url("assets/optimized/bg-rockin-red-1254-a7a6f5d8.webp")
        right center / auto 100vh no-repeat fixed,
        #000;
        font-family: "Anton", Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
}

/* Elimina gli sfondi precedenti */
body::before,
body::after,
.band-scene {
    display: none !important;
}

/* GALLERIA ROCKIN'BANDS */

.gallery-section {
    padding: 70px 0 100px;
}

.gallery-heading {
    margin-bottom: 35px;
}

.gallery-heading h2 {
    max-width: none;
    font-size: clamp(3rem, 6vw, 6rem);
    line-height: 1;
}

.gallery-heading > p:last-child {
    font-family: Arial, sans-serif;
    color: var(--muted);
    font-size: 1.1rem;
    margin-top: 18px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.gallery-item {
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background: #111;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.06);
}

@media (max-width: 700px) {
    .gallery-section {
        padding: 45px 0 65px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
}

.band-scene {
  position: fixed;
  right: clamp(42px, 11vw, 210px);
  top: 49vh;
  z-index: -1;
  width: min(26vw, 330px);
  aspect-ratio: 322 / 228;
  pointer-events: none;
  filter: drop-shadow(0 0 22px rgba(242, 11, 22, 0.55)) contrast(1.12);
  transform: translate3d(var(--band-shift-x), var(--band-shift-y), 0) scale(1);
  transform-origin: 50% 80%;
  animation: bandPulse 4.8s ease-in-out infinite;
  will-change: transform;
}

@keyframes bandPulse {
  0%,
  100% {
    filter: drop-shadow(0 0 18px rgba(242, 11, 22, 0.42)) contrast(1.08);
  }

  50% {
    filter: drop-shadow(0 0 28px rgba(242, 11, 22, 0.68)) contrast(1.18);
  }
}

.site-header,
main {
  width: min(1420px, calc(100% - 44px));
  margin: 0 auto;
}

.site-header {
  min-height: 124px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
}

.brand,
.action {
  color: inherit;
  text-decoration: none;
  text-transform: uppercase;
}

.brand {
  display: block;
  width: clamp(260px, 24vw, 410px);
  transform: translateY(48px);
  line-height: 0;
}

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

.hero {
  min-height: calc(100vh - 124px);
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(260px, 1fr);
  align-items: center;
  gap: clamp(22px, 5vw, 84px);
  padding: clamp(22px, 4vw, 54px) 0 clamp(128px, 15vh, 176px);
}

.hero-copy {
  position: relative;
  z-index: 1;
}

.hero-stage {
  min-height: min(64vh, 660px);
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
}

.eyebrow {
  width: fit-content;
  margin: 0 0 20px;
  padding: 9px 14px;
  font-size: clamp(1rem, 1.9vw, 1.3rem);
  line-height: 1;
  letter-spacing: 0;
  color: var(--ink);
  background: var(--paper);
  transform: rotate(-1.5deg);
  box-shadow: 9px 9px 0 var(--red);
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--white);
  background: var(--red);
  box-shadow: 9px 9px 0 var(--black);
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  font-size: clamp(4.2rem, 8.0vw, 8.0rem);
  line-height: 0.82;
  text-shadow: 0 0 30px rgba(242, 11, 22, 0.36);
}

h2 {
  max-width: 520px;
  font-size: clamp(2.9rem, 7vw, 6rem);
  line-height: 0.86;
}

.lead,
.contact-intro p,
.info-strip p,
.form-note {
  font-family: Arial, Helvetica, sans-serif;
}

.lead {
  max-width: 600px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  line-height: 1.48;
}

.quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.action,
button {
  min-height: 52px;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 20px;
  font: inherit;
  font-size: 1.16rem;
  line-height: 1;
  cursor: pointer;
}

.primary,
button {
  color: var(--white);
  background: var(--red);
  box-shadow: 7px 7px 0 var(--red-dark);
}

.secondary {
  border: 1px solid var(--line);
  color: var(--white);
  background: rgba(255, 255, 255, 0.07);
}

.info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 34px);
  position: relative;
  z-index: 2;
  margin: clamp(-118px, -10vh, -78px) 0 clamp(58px, 8vw, 112px);
}

.info-strip::before {
  position: absolute;
  left: min(10%, 120px);
  right: min(10%, 120px);
  bottom: -24px;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(242, 11, 22, 0.82), transparent);
  box-shadow: 0 0 22px rgba(242, 11, 22, 0.48);
}

.info-strip article {
  min-height: 132px;
  padding: clamp(18px, 2.6vw, 28px);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(248, 245, 239, 0.94);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.38);
}

.info-strip span {
  display: block;
  margin-bottom: 10px;
  color: var(--red);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.info-strip strong {
  display: block;
  color: #080808;
  font-size: clamp(1.35rem, 2.35vw, 1.6rem);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.info-strip p {
  margin: 12px 0 0;
  color: rgba(23, 18, 15, 0.68);
  line-height: 1.42;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: clamp(26px, 6vw, 72px);
  align-items: start;
  padding: 0 0 clamp(42px, 8vw, 96px);
}

.contact-intro {
  position: sticky;
  top: 24px;
}

.contact-intro p:not(.eyebrow) {
  max-width: 430px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.55;
}

.contact-phone-wrap {
  display: grid;
  gap: 8px;
  margin-top: 22px;
}

.contact-phone-wrap span {
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.contact-phone {
  display: inline-flex;
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 0.9;
  text-decoration: none;
  text-transform: uppercase;
  text-shadow: 0 0 22px rgba(242, 11, 22, 0.42);
}

.contact-mail-alt {
  margin: 2px 0 0;
  color: var(--muted);
  font: 500 clamp(0.92rem, 1.4vw, 1.08rem)/1.35 Arial, Helvetica, sans-serif;
  text-transform: none;
  letter-spacing: 0;
}

.contact-mail-alt a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-mail-alt a:hover,
.contact-mail-alt a:focus-visible {
  color: #ff555c;
}

.contact-card {
  border: 1px solid var(--line);
  padding: clamp(18px, 3vw, 30px);
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.95), rgba(0, 0, 0, 0.96));
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.48);
}

label {
  display: grid;
  gap: 8px;
  margin-bottom: 15px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--muted);
  text-transform: uppercase;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

input,
textarea {
  width: 100%;
  border: 0;
  border-radius: 6px;
  padding: 14px 13px;
  font: 700 1rem/1.35 Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--white);
  outline: none;
}

input[type="file"] {
  cursor: pointer;
}

input[type="file"]::file-selector-button {
  border: 0;
  margin-right: 12px;
  padding: 10px 12px;
  font: 800 0.78rem/1 Arial, Helvetica, sans-serif;
  color: var(--white);
  background: var(--red);
  text-transform: uppercase;
  cursor: pointer;
}

.file-field span {
  margin-top: -2px;
  color: rgba(248, 245, 239, 0.58);
  font-size: 0.74rem;
}

textarea {
  min-height: 116px;
  resize: vertical;
}

input:focus,
textarea:focus {
  box-shadow: 0 0 0 3px rgba(242, 11, 22, 0.38);
}

button {
  width: 100%;
  margin-top: 3px;
  text-transform: uppercase;
}

.form-note {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .site-header,
  main {
    width: min(100% - 28px, 1160px);
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 18px;
    padding-bottom: 78px;
  }

  .hero-stage {
    display: none;
  }

  .info-strip,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .info-strip {
    margin-top: -42px;
  }

  .contact-intro {
    position: static;
  }
}

@media (max-width: 700px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  

      body {
        background:
            linear-gradient(
                90deg,
                rgba(0,0,0,0.90) 0%,
                rgba(0,0,0,0.65) 35%,
                rgba(0,0,0,0.15) 100%
            ),
            url("assets/optimized/bg-rockin-red-800-a7a6f5d8.webp")
            65% top / auto 75vh no-repeat,
            #000;

        background-attachment: scroll;
    }

  .band-scene {
    width: 42vw;
    right: 10vw;
    top: 39vh;
  }

  .site-header {
    min-height: 86px;
  }

  .brand {
    width: min(400px, 100%);
    transform: translateY(42px);
  }

  .hero {
    min-height: calc(80vh - 86px);
    padding-top: 20px;
    padding-bottom: 38px;
  }

  h1 {
    font-size: clamp(2.5rem, 14vw, 4.4rem);
    line-height: 1.02;
    overflow-wrap: break-word;
  }

  h2 {
    font-size: clamp(2.2rem, 9vw, 3rem);
    line-height: 1.05;
  }

  .gallery-heading h2 {
    font-size: clamp(2.2rem, 9vw, 3rem);
    line-height: 1.05;
  }

  .contact-phone {
    font-size: clamp(1.8rem, 8vw, 2.8rem);
  }

  .eyebrow {
    font-size: 1rem;
  }

  .lead {
    margin-top: 22px;
    font-size: 1rem;
    line-height: 1.5;
  }

  .quick-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .action,
  button {
    width: 100%;
  }

  .info-strip article {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::after,
  .band-scene {
    transform: none;
    animation: none;
  }
}

/* Repeater componenti della band */
.members-section { margin: 12px 0 25px; padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.035); }
.members-heading h3 { margin: 0; color: var(--white); font-size: 1.45rem; text-transform: uppercase; }
.members-heading p { margin: 7px 0 20px; color: var(--muted); font: 0.9rem/1.45 Arial, Helvetica, sans-serif; }
.members-list { display: grid; gap: 14px; }
.member-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 38px; align-items: end; gap: 10px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.member-row label { margin: 0; min-width: 0; }
.contact-card .remove-member { width: 38px; min-height: 47px; padding: 0; margin: 0; border-radius: 6px; background: #353032; box-shadow: none; font: 1.5rem Arial, sans-serif; }
.contact-card .remove-member:disabled { opacity: .25; cursor: not-allowed; }
.contact-card .add-member { width: auto; min-height: 44px; margin-top: 17px; padding: 12px 16px; border: 1px solid var(--red); border-radius: 5px; color: var(--white); background: transparent; box-shadow: none; font-size: .95rem; }
.contact-card .add-member:hover { background: rgba(242,11,22,.2); }
@media (max-width: 560px) {
  .members-section { padding: 14px; }
  .member-row { grid-template-columns: minmax(0, 1fr) 38px; }
  .member-row label { grid-column: 1; }
  .member-row .remove-member { grid-column: 2; grid-row: 1 / 3; align-self: center; }
}

/* Pulsanti principali senza sottosfondo */
.action.primary,
.contact-card button[type="submit"] {
  box-shadow: none;
}


/* Galleria: empty state, focus and fullscreen viewer */
.gallery-empty {
  grid-column: 1 / -1;
  color: var(--muted);
  font: 1rem/1.5 Arial, Helvetica, sans-serif;
}
.gallery-item:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}
.gallery-lightbox[hidden] { display: none !important; }
.gallery-lightbox {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 56px 65px;
  background: rgba(0,0,0,.96);
}
.gallery-lightbox img {
  display: block;
  max-width: 100%;
  max-height: calc(100dvh - 120px);
  width: auto;
  height: auto;
  object-fit: contain;
}
.gallery-lightbox button {
  position: absolute;
  margin: 0;
  width: 44px;
  min-height: 44px;
  padding: 6px;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 4px;
  background: rgba(20,20,20,.85);
  box-shadow: none;
  color: #fff;
  font: 32px/1 Arial, Helvetica, sans-serif;
  cursor: pointer;
}
.gallery-lightbox .gallery-close { top: 12px; right: 15px; }
.gallery-lightbox .gallery-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.gallery-lightbox .gallery-next { right: 12px; top: 50%; transform: translateY(-50%); }
.gallery-lightbox .gallery-count {
  margin: 12px 0 0;
  color: #fff;
  font: 14px Arial, Helvetica, sans-serif;
}
@media (max-width: 700px) {
  .gallery-lightbox { padding: 60px 48px; }
  .gallery-lightbox img { max-height: calc(100dvh - 140px); }
}

/* Repeater dei social della band */
.socials-section {
  margin: 12px 0 25px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .035);
}
.socials-heading h3 {
  margin: 0;
  color: var(--white);
  font-size: 1.45rem;
  text-transform: uppercase;
}
.socials-heading p {
  margin: 7px 0 20px;
  color: var(--muted);
  font: .9rem/1.45 Arial, Helvetica, sans-serif;
}
.socials-list { display: grid; gap: 14px; }
.social-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) 38px;
  align-items: end;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.social-row label { min-width: 0; margin: 0; }
.contact-card .remove-social {
  width: 38px;
  min-height: 47px;
  padding: 0;
  margin: 0;
  border-radius: 6px;
  background: #353032;
  box-shadow: none;
  font: 1.5rem Arial, sans-serif;
}
.contact-card .remove-social:disabled { opacity: .25; cursor: not-allowed; }
.contact-card .add-social {
  width: auto;
  min-height: 44px;
  margin-top: 17px;
  padding: 12px 16px;
  border: 1px solid var(--red);
  border-radius: 5px;
  color: var(--white);
  background: transparent;
  box-shadow: none;
  font-size: .95rem;
}
.contact-card .add-social:hover { background: rgba(242,11,22,.2); }
@media (max-width: 560px) {
  .socials-section { padding: 14px; }
  .social-row { grid-template-columns: minmax(0, 1fr) 38px; }
  .social-row label { grid-column: 1; }
  .social-row .remove-social { grid-column: 2; grid-row: 1 / 3; align-self: center; }
}

.member-flag {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 2px 0 0;
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}
.member-flag input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin: 0;
  padding: 0;
  accent-color: var(--red);
  flex: 0 0 auto;
}

.privacy-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 18px 0 18px;
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
}

.privacy-consent input {
  width: 22px;
  height: 22px;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--red);
  flex: 0 0 auto;
}

.privacy-consent a {
  color: #fff;
  text-decoration: underline;
}

body.legal-page .site-header {
  width: min(720px, calc(100% - 44px));
  margin: 0 0 0 22px;
  min-height: 0;
  padding: 22px 0 0;
}

body.legal-page .brand {
  transform: none;
  width: 240px;
  margin: 0 0 2px -8px;
}

body.legal-page main.legal {
  width: min(720px, calc(100% - 44px));
  margin: 6px 0 72px 22px;
  padding: 0 28px 28px 0;
  background: transparent;
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
  text-transform: none;
}

.legal h1 {
  max-width: none;
  margin: 0 0 18px;
  font-size: clamp(2rem, 5vw, 4.2rem);
  line-height: 0.9;
  text-shadow: none;
}

@media (max-width: 700px) {
  body.legal-page .site-header,
  body.legal-page main.legal {
    width: calc(100% - 32px);
    margin-left: 16px;
  }

  body.legal-page .brand {
    width: 180px;
    margin-left: -6px;
  }

  body.legal-page main.legal {
    margin-top: 4px;
    margin-bottom: 48px;
    padding: 0 12px 24px 0;
  }
}

.legal h2 {
  max-width: none;
  margin: 28px 0 8px;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1;
}

.legal p,
.legal li {
  margin: 0 0 12px;
  color: var(--paper);
}

.legal a {
  color: #fff;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-note:empty { display: none; }

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px 32px;
  width: min(1100px, calc(100% - 40px));
  margin: 48px auto 0;
  padding: 24px 0 36px;
  border-top: 1px solid var(--line);
  color: #aaa39d;
  font: 0.82rem/1.5 Arial, Helvetica, sans-serif;
}

.site-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.site-footer-made {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font: 400 12px/1 Arial, Helvetica, sans-serif;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: none;
}

.site-footer-made:hover {
  color: #fff;
}

.site-footer-made img {
  display: block;
  height: 18px;
  width: auto;
}

.site-footer-copy {
  margin: 0;
  color: #aaa39d;
  font: 0.78rem/1.4 Arial, Helvetica, sans-serif;
}

.site-footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 18px;
  min-width: 0;
}

.site-footer-nav a {
  color: #d9d2ce;
  font: 800 0.72rem/1 Arial, Helvetica, sans-serif;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-footer-nav a:hover {
  color: var(--red);
}

@media (max-width: 700px) {
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    width: calc(100% - 24px);
    gap: 18px;
  }

  .site-footer-nav {
    justify-content: flex-start;
  }
}

.made-by {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding: 8px 22px 28px;
}

.made-by-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.made-by-copy {
  margin: 0;
  color: #aaa39d;
  font: 0.78rem/1.4 Arial, Helvetica, sans-serif;
}

.made-by a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
  text-decoration: none;
  text-transform: none;
}

.made-by a:hover {
  color: #fff;
}

.made-by img {
  display: block;
  height: 18px;
  width: auto;
}

button.cookie-manage {
  width: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  background: none;
  box-shadow: none;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: none;
}

button.cookie-manage:hover {
  color: #fff;
}

.cookie-overlay {
  display: none;
  position: fixed;
  z-index: 10001;
  inset: 0;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.78);
}

.cookie-overlay:not([hidden]) {
  display: flex;
}

.cookie-panel {
  box-sizing: border-box;
  width: min(480px, 100%);
  padding: 28px 26px 22px;
  background: #000;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top: 3px solid var(--red);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65);
}

.cookie-panel p {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.cookie-panel .cookie-actions button {
  flex: 1;
  width: auto;
  min-height: 48px;
  margin: 0;
  padding: 12px 16px;
  box-shadow: none;
  font-size: 1.05rem;
}

.cookie-panel .cookie-actions button.cookie-reject {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
}

.cookie-panel .cookie-actions button.cookie-accept {
  background: var(--red);
  color: #fff;
  border: 1px solid var(--red);
}

html.cookie-open,
html.cookie-open body {
  overflow: hidden;
}


/* Icone social sotto il contatto WhatsApp */
.contact-socials {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 12px;
  margin-top: 14px;
}
.contact-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 6px;
  color: var(--white);
  background: rgba(255,255,255,.07);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.contact-socials a:hover,
.contact-socials a:focus-visible {
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-2px);
}
.contact-socials a:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.contact-socials svg { width: 24px; height: 24px; display: block; }


/* Box YouTube nella sezione galleria */
.gallery-youtube {
  margin-top: clamp(24px, 4vw, 48px);
  min-height: 155px;
  display: flex;
  align-items: center;
  gap: 25px;
  padding: clamp(20px, 3vw, 32px);
  color: var(--white);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(105deg, #2b0b0e 0%, #090909 76%);
  transition: border-color .2s ease, background .2s ease;
}
.gallery-youtube:hover, .gallery-youtube:focus-visible { border-color: var(--red); background: linear-gradient(105deg, #4a0b10 0%, #090909 76%); }
.gallery-youtube:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }
.video-feature-play { display: grid; place-items: center; width: 88px; height: 62px; border-radius: 14px; background: var(--red); color: #fff; font: 30px Arial,sans-serif; flex: 0 0 auto; }
.gallery-youtube-copy { min-width: 0; }
.gallery-youtube-copy strong { display: block; font-size: clamp(1.6rem, 3.2vw, 3.1rem); line-height: 1; }
.gallery-youtube-copy small { display: block; margin-top: 10px; color: var(--muted); font: 1rem/1.4 Arial,Helvetica,sans-serif; }
.video-feature-arrow { margin-left: auto; font: 2rem Arial,sans-serif; flex: 0 0 auto; }
@media (max-width: 560px) {
  .gallery-youtube { min-height: 120px; gap: 13px; padding: 16px; border-radius: 14px; }
  .video-feature-play { width: 54px; height: 42px; border-radius: 9px; font-size: 20px; }
  .gallery-youtube-copy strong { font-size: clamp(1.25rem, 5.4vw, 1.65rem); }
  .gallery-youtube-copy small { font-size: .82rem; }
  .video-feature-arrow { font-size: 1.3rem; }
}

/* Titoli leggermente più compatti, senza cambiare il carattere Anton */
h1 { font-size: clamp(3.6rem, 6.4vw, 6.7rem); max-width: 950px; }
h2 { font-size: clamp(2.5rem, 5.35vw, 5rem); max-width: 680px; }
.gallery-heading h2 { font-size: clamp(2.5rem, 5.1vw, 5rem); }


@media (max-width: 560px) {
  h1 { font-size: clamp(2.35rem, 11.5vw, 3.65rem); line-height: 1.03; }
  h2, .gallery-heading h2 { font-size: clamp(2.1rem, 8vw, 2.9rem); }
}

.account-menu {
  position: relative;
  margin-left: auto;
  align-self: flex-start;
  margin-top: 22px;
  flex: 0 0 auto;
  z-index: 40;
}
.account-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: min(280px, 46vw);
  min-height: 0;
  padding: 6px 12px 6px 6px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(0,0,0,.62);
  color: #fff;
  text-decoration: none;
  text-transform: none;
  cursor: pointer;
  font: inherit;
  box-shadow: none !important;
  filter: none;
}
a.account-login {
  padding: 10px 16px;
}
a.account-login:hover,
a.account-login:focus-visible {
  border-color: rgba(255,255,255,.4);
  background: rgba(0,0,0,.78);
  color: #fff;
  outline: none;
}
.account-menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: min(240px, 78vw);
  padding: 8px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px;
  background: rgba(12, 12, 12, 0.96);
  display: grid;
  gap: 4px;
  box-shadow: none;
}
.account-menu-panel[hidden] {
  display: none;
}
.account-menu-panel a,
.account-menu-logout button {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 11px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #fff;
  text-align: left;
  text-decoration: none;
  font: 700 0.92rem/1.3 Arial, Helvetica, sans-serif;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
  box-sizing: border-box;
  box-shadow: none !important;
}
.account-menu-panel svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  display: block;
}
.account-menu-logout {
  margin: 0;
}
.account-menu-panel a:hover,
.account-menu-panel a:focus-visible,
.account-menu-logout button:hover,
.account-menu-logout button:focus-visible {
  background: rgba(242, 11, 22, 0.18);
  color: #fff;
  outline: none;
  box-shadow: none !important;
}
.account-badge .avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--red);
  color: #fff;
  font: 700 14px/1 Arial, Helvetica, sans-serif;
  overflow: hidden;
  flex: 0 0 auto;
}
.account-badge .avatar.has-logo {
  background: transparent;
  border-radius: 0;
  padding: 0 8px;
  box-sizing: content-box;
}
.account-badge .avatar.has-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.locked-field {
  display: grid;
  gap: 8px;
  margin-bottom: 15px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
}
.locked-field .value {
  display: grid;
  gap: 4px;
  align-content: center;
  min-height: 49px;
  padding: 10px 13px;
  border: 1px dashed rgba(255, 255, 255, 0.38);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
}
.locked-field strong {
  color: rgba(255, 255, 255, 0.9);
  font: 700 1rem/1.3 Arial, Helvetica, sans-serif;
  text-transform: none;
  overflow-wrap: anywhere;
}
.locked-field small {
  color: rgba(255, 255, 255, 0.5);
  font: 700 0.68rem/1.2 Arial, Helvetica, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.account-badge strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: 700 14px/1.2 Arial, Helvetica, sans-serif;
  letter-spacing: 0;
  text-transform: none;
}
.site-header:has(.account-menu) .brand { width: min(320px, calc(100% - 160px)); }
body.legal-page .site-header,
body.band-page .site-header {
  align-items: center;
}
body.faq-page .site-header,
body.bands-page .site-header,
body.show-page .site-header,
body.calendar-page .site-header {
  align-items: flex-start;
}
body.faq-page .account-menu,
body.legal-page .account-menu,
body.calendar-page .account-menu,
body.bands-page .account-menu,
body.band-page .account-menu {
  margin-top: 0;
  align-self: center;
}
body.account-page .site-header {
  min-height: 0;
  padding: 16px 0 8px;
  align-items: center;
}
body.account-page .brand {
  transform: none;
  width: min(280px, 52vw);
}
body.account-page main {
  display: flex;
  justify-content: center;
  padding-top: 28px;
  padding-bottom: 72px;
}
body.account-page .contact-card { width: min(760px, 100%); }
body.login-page .contact-card { width: min(480px, 100%); }
body.account-page h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); max-width: none; margin: 0; }
body.login-page h1 {
  font-size: clamp(1.55rem, 6.2vw, 2.35rem);
  white-space: nowrap;
}
.account-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 8px; }
.account-heading-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex: 0 0 auto; max-width: 46%; }
a.account-public { color: #fff; font: 700 0.82rem/1.3 Arial, Helvetica, sans-serif; text-align: right; }
.account-lead { margin: 0 0 18px; color: var(--muted); font: 0.95rem/1.45 Arial, Helvetica, sans-serif; }
.account-error { margin: 0 0 14px; color: #ffb4b4; font: 0.95rem/1.4 Arial, Helvetica, sans-serif; }
.account-ok { margin: 0 0 14px; color: #d9ffe3; font: 0.95rem/1.4 Arial, Helvetica, sans-serif; }
.account-links { margin: 16px 0 0; }
.account-links a { color: #fff; }
button.account-logout { width: auto; min-height: 40px; margin: 0; padding: 10px 14px; background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.35); box-shadow: none; font-size: 0.85rem; }
.account-preview { max-width: min(100%, 280px); height: auto; display: block; margin: 0 0 10px; background: #000; }
.check-line { display: flex; align-items: center; gap: 10px; color: var(--white); text-transform: none; font-size: 0.95rem; font-weight: 700; }
.check-line input[type="checkbox"] { width: 22px; height: 22px; margin: 0; padding: 0; accent-color: var(--red); flex: 0 0 auto; }
@media (max-width: 560px) {
  .account-menu { margin-top: 0; }
  .account-badge strong { max-width: 120px; }
  .account-heading { align-items: flex-start; }
  body.account-page .site-header {
    padding: 12px 0 4px;
  }
  body.account-page .brand {
    width: min(210px, 48vw);
  }
  body.account-page main {
    padding-top: 36px;
  }
}
