/* ============================================================
   LOCUSTE CREW — Global Stylesheet
   ============================================================ */

:root {
  --bg-main:      #0D0D0D;
  --bg-card:      #1A1A1A;
  --bg-card-hover:#222222;
  --green-dark:   #2D7A2D;
  --green-bright: #4DB84D;
  --green-glow:   #6FD96F;
  --white:        #FFFFFF;
  --gray-light:   #CCCCCC;
  --gray-mid:     #888888;
  --gold:         #C9A860;
  --gold-light:   #E0C07A;
  --cyan:         #00C8FF;
  --cyan-dark:    #0080A8;

  --font-title:   'Rajdhani', 'Bebas Neue', sans-serif;
  --font-body:    'Inter', 'Roboto', sans-serif;

  --border-green: 1px solid var(--green-dark);
  --radius:       6px;
  --transition:   0.25s ease;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden; /* previeni scroll orizzontale globale */
}

body {
  background-color: var(--bg-main);
  color: var(--gray-light);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  max-width: 100vw;
}

a { color: var(--green-bright); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-glow); }

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

h1, h2, h3, h4 {
  font-family: var(--font-title);
  color: var(--white);
  line-height: 1.2;
  letter-spacing: 0.04em;
}

/* ── Layout ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

main { flex: 1; }

/* ── NAVBAR ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--green-dark);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar__logo img {
  height: 42px;
  width: auto;
}

.navbar__logo-text {
  font-family: var(--font-title);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
}

.navbar__logo-text span {
  color: var(--green-bright);
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.navbar__nav a {
  color: var(--gray-light);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}

.navbar__nav a:hover,
.navbar__nav a.active {
  color: var(--green-bright);
  background: rgba(45, 122, 45, 0.15);
}

.navbar__nav .nav-live a {
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-live__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gray-mid);
  flex-shrink: 0;
  transition: background .3s;
}
/* Stato LIVE — aggiunto via JS quando il canale è online */
.nav-live.is-live a {
  color: var(--green-bright);
  border-color: var(--green-dark);
}
.nav-live.is-live .nav-live__dot {
  background: var(--green-bright);
  box-shadow: 0 0 6px var(--green-bright);
  animation: pulse 1.5s infinite;
}

/* ── Navbar auth button (caricato su tutte le pagine) ── */
.nav-auth {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.nav-auth--login {
  border: 1px solid rgba(88, 101, 242, 0.5);
  color: rgba(255,255,255,0.75);
  background: rgba(88, 101, 242, 0.08);
}
.nav-auth--login:hover {
  background: rgba(88, 101, 242, 0.2);
  color: #fff;
  border-color: rgba(88, 101, 242, 0.8);
}
.nav-auth--user {
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
}
.nav-auth--user:hover { background: rgba(255,255,255,0.1); color: #fff; }
.nav-auth__avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.15);
  flex-shrink: 0;
}
.nav-auth__initials {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(45,122,45,0.15);
  border: 1px solid var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 800;
  color: var(--green-bright);
  flex-shrink: 0;
}
.nav-auth__nick {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 768px) { .nav-auth__nick { display: none; } }

.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}

.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--bg-main);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(45,122,45,0.18) 0%, transparent 70%),
    linear-gradient(180deg, transparent 60%, var(--bg-main) 100%);
  z-index: 0;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(45,122,45,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45,122,45,0.07) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 40px 24px;
}

.hero__eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-bright);
  border: 1px solid var(--green-dark);
  padding: 4px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.hero__title {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 8px;
}

.hero__title .accent { color: var(--green-bright); }

.hero__subtitle {
  font-family: var(--font-title);
  font-size: clamp(1rem, 3vw, 1.5rem);
  color: var(--gray-mid);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero__motto {
  font-style: italic;
  color: var(--green-bright);
  font-size: 1.1rem;
  margin-bottom: 40px;
  opacity: 0.85;
}

.hero__cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--green-dark);
  color: var(--white);
  border: 1px solid var(--green-bright);
}

.btn-primary:hover {
  background: var(--green-bright);
  color: var(--bg-main);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(77,184,77,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--green-bright);
  border: 1px solid var(--green-dark);
}

.btn-outline:hover {
  background: rgba(45,122,45,0.2);
  border-color: var(--green-bright);
  color: var(--white);
  transform: translateY(-2px);
}

/* ── SECTION ── */
.section {
  padding: 80px 0;
}

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

.section__header {
  text-align: center;
  margin-bottom: 56px;
}

.section__label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-bright);
  margin-bottom: 12px;
}

.section__title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--white);
  text-transform: uppercase;
  position: relative;
  display: inline-block;
}

.section__title::after {
  content: '';
  display: block;
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, var(--green-bright), transparent);
  margin: 8px auto 0;
}

.section__desc {
  color: var(--gray-mid);
  max-width: 600px;
  margin: 16px auto 0;
}

/* ── CARD ── */
.card {
  background: var(--bg-card);
  border: var(--border-green);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  border-color: var(--green-bright);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(77,184,77,0.12);
}

.card__header {
  background: var(--green-dark);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card__title {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.card__body {
  padding: 20px;
}

/* placeholder dentro una card: niente bordo proprio, usa quello della card */
.card .placeholder-img {
  border: none;
  border-radius: 0;
  border-bottom: 1px dashed var(--green-dark);
}

/* ── PLACEHOLDER ── */
.placeholder-img {
  background: var(--bg-card);
  border: 1px dashed var(--green-dark);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--gray-mid);
  font-size: 0.85rem;
  text-align: center;
}

.placeholder-img .icon { font-size: 2rem; opacity: 0.4; }

.placeholder-tag {
  display: inline-block;
  background: rgba(45,122,45,0.2);
  color: var(--green-bright);
  border: 1px solid var(--green-dark);
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 2px 8px;
}

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

/* ── DIVIDER ── */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green-dark), transparent);
  margin: 0;
}

/* ── FOOTER ── */
.footer {
  background: var(--bg-card);
  border-top: 2px solid var(--green-dark);
  padding: 48px 0 24px;
  margin-top: auto;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer__brand .navbar__logo { margin-bottom: 16px; }

.footer__brand p {
  color: var(--gray-mid);
  font-size: 0.9rem;
  max-width: 280px;
}

.footer__col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green-bright);
  margin-bottom: 16px;
}

.footer__col ul { list-style: none; }

.footer__col ul li { margin-bottom: 8px; }

.footer__col ul a {
  color: var(--gray-mid);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer__col ul a:hover { color: var(--green-bright); }

.footer__bottom {
  border-top: 1px solid var(--green-dark);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__copy {
  color: var(--gray-mid);
  font-size: 0.8rem;
}

.footer__motto {
  color: var(--green-bright);
  font-style: italic;
  font-size: 0.85rem;
}

/* ── PAGE HEADER ── */
.page-header {
  padding: 60px 0 40px;
  text-align: center;
  border-bottom: 1px solid var(--green-dark);
  margin-bottom: 0;
  background: linear-gradient(180deg, rgba(45,122,45,0.08) 0%, transparent 100%);
}

.page-header__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  text-transform: uppercase;
  color: var(--white);
}

.page-header__title .accent { color: var(--green-bright); }

.page-header__sub {
  color: var(--gray-mid);
  margin-top: 12px;
  font-size: 1rem;
}

/* ── SCROLL REVEAL ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(.22,.61,.36,1), transform 0.7s cubic-bezier(.22,.61,.36,1);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }

/* ── SECTION LABEL ── */
.sec-label {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--green-bright);
  margin-bottom: 12px;
}
.sec-label--gold { color: var(--gold); }
.sec-label--cyan { color: var(--cyan); }

/* ── ANIMATIONS ── */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 8px rgba(77,184,77,0.3); }
  50%       { box-shadow: 0 0 24px rgba(77,184,77,0.7); }
}

.glow { animation: glow 2s ease-in-out infinite; }

/* ── FORM ── */
.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-mid);
}

.form-input,
.form-select,
.form-textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--green-dark);
  border-radius: var(--radius);
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--white);
  width: 100%;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--green-bright);
  background: rgba(77,184,77,0.05);
}

.form-input::placeholder,
.form-textarea::placeholder { color: rgba(136,136,136,0.5); }

.form-select option,
select.form-input option { background: var(--bg-card); color: var(--gray-light); }

select.form-input,
.form-select { color-scheme: dark; }

.form-textarea { resize: vertical; min-height: 100px; }

.form-hint {
  font-size: 0.72rem;
  color: var(--gray-mid);
  line-height: 1.5;
}

.form-feedback {
  font-size: 0.85rem;
  padding: 10px 14px;
  border-radius: var(--radius);
  border-left: 3px solid;
  display: none;
}

.form-feedback.success {
  display: block;
  background: rgba(77,184,77,0.08);
  border-color: var(--green-bright);
  color: var(--green-bright);
}

.form-feedback.error {
  display: block;
  background: rgba(224,82,82,0.08);
  border-color: #E05252;
  color: #E05252;
}

/* ── STATUS BADGE ── */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 20px;
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.status-badge--live {
  background: rgba(77,184,77,0.12);
  border: 1px solid var(--green-dark);
  color: var(--green-bright);
}

.status-badge--offline {
  background: rgba(136,136,136,0.08);
  border: 1px solid rgba(136,136,136,0.25);
  color: var(--gray-mid);
}

.status-badge__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.status-badge--live .status-badge__dot {
  animation: pulse 1.5s infinite;
}

/* ── ON AIR layout ── */
.onair-stage {
  display: grid;
  grid-template-columns: 1fr 340px;
  height: 520px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--green-dark);
}
.onair-player { min-width: 0; }
.onair-chat   { border-left: 1px solid var(--green-dark); min-width: 0; }

@media (max-width: 900px) {
  .onair-stage {
    grid-template-columns: 1fr;
    grid-template-rows: auto 400px;
    height: auto;
  }
  .onair-player iframe { border-radius: var(--radius) var(--radius) 0 0 !important; aspect-ratio: 16/9; }
  .onair-chat   { border-left: none; border-top: 1px solid var(--green-dark); border-radius: 0 0 var(--radius) var(--radius) !important; }
  .onair-chat iframe { border-radius: 0 0 var(--radius) var(--radius) !important; }
}

/* ── PUBLIC TABLE ── */
.lc-table-wrap {
  background: var(--bg-card);
  border: 1px solid var(--green-dark);
  border-radius: var(--radius);
  overflow: hidden;
}

table.lc-table {
  width: 100%;
  border-collapse: collapse;
}

.lc-table th {
  padding: 10px 16px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray-mid);
  text-align: left;
  border-bottom: 1px solid rgba(45,122,45,0.3);
}

.lc-table td {
  padding: 12px 16px;
  font-size: 0.88rem;
  color: var(--gray-light);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  vertical-align: middle;
}

.lc-table tr:last-child td { border-bottom: none; }
.lc-table tr:hover td { background: rgba(77,184,77,0.03); }

/* ── CALENDAR ITEMS ── */
.calendar-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--green-dark);
  border-radius: var(--radius);
  padding: 16px 20px;
  transition: border-color var(--transition);
}

.calendar-item:hover { border-color: var(--green-bright); }

.calendar-item__date {
  min-width: 52px;
  text-align: center;
  flex-shrink: 0;
  background: rgba(45,122,45,0.15);
  border: 1px solid var(--green-dark);
  border-radius: var(--radius);
  padding: 8px 4px;
}

.calendar-item__day {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--green-bright);
  line-height: 1;
}

.calendar-item__month {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-mid);
  margin-top: 4px;
}

.calendar-item__body {
  flex: 1;
  min-width: 0;
  padding-top: 4px;
}

.calendar-item__title {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.calendar-item__desc {
  font-size: 0.85rem;
  color: var(--gray-mid);
  line-height: 1.5;
}

/* ── GALLERY FILTER ── */
.gallery-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}

.gallery-filter__btn {
  padding: 7px 18px;
  border-radius: 20px;
  border: 1px solid var(--green-dark);
  background: transparent;
  color: var(--gray-mid);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
}

.gallery-filter__btn:hover {
  border-color: var(--green-bright);
  color: var(--green-bright);
  background: rgba(77,184,77,0.07);
}

.gallery-filter__btn.active {
  background: var(--green-dark);
  border-color: var(--green-bright);
  color: var(--white);
}

/* ── GALLERY SECTION HEADER ── */
.gallery-section__header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
}

.gallery-section__title {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--green-bright);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
}

.gallery-section__count {
  font-size: 0.78rem;
  color: var(--gray-mid);
}

/* ── GALLERY GRID ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 48px;
}

/* ── GALLERY ITEM ── */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--green-dark);
  aspect-ratio: 4 / 3;
  cursor: pointer;
  background: var(--bg-card);
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

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

.gallery-item:hover {
  border-color: var(--green-bright);
  transform: scale(1.02);
  box-shadow: 0 0 16px rgba(77, 184, 77, 0.25);
}

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

/* Watermark logo — sempre visibile, si intensifica sull'hover */
.gallery-item::after {
  content: '';
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 52px;
  height: 52px;
  background: url('/static/img/logos/logo-crew.png') no-repeat center / contain;
  opacity: 0.18;
  pointer-events: none;
  transition: opacity 0.25s;
}

.gallery-item:hover::after {
  opacity: 0.38;
}

/* ── LIGHTBOX ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9000;
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
}

.lightbox__inner {
  position: relative;
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.lightbox__inner img {
  max-width: 90vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius);
  border: 1px solid var(--green-dark);
  box-shadow: 0 0 40px rgba(77, 184, 77, 0.15);
}

.lightbox__caption {
  color: var(--gray-mid);
  font-size: 0.82rem;
  text-align: center;
  margin: 0;
}

.lightbox__close {
  position: fixed;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--gray-light);
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s;
  z-index: 9001;
}

.lightbox__close:hover { color: var(--green-bright); }

.lightbox__nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(45, 122, 45, 0.35);
  border: 1px solid var(--green-dark);
  color: var(--white);
  font-size: 2.2rem;
  line-height: 1;
  width: 48px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: var(--radius);
  transition: background 0.2s, border-color 0.2s;
  z-index: 9001;
}

.lightbox__nav:hover {
  background: rgba(77, 184, 77, 0.35);
  border-color: var(--green-bright);
}

.lightbox__prev { left: 16px; }
.lightbox__next { right: 16px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* Navbar — position:relative necessario perché il menu usa position:absolute */
  .navbar { position: sticky; }
  .navbar__inner { position: relative; }
  .navbar__nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-bottom: 2px solid var(--green-dark);
    padding: 16px;
    gap: 4px;
    z-index: 200;
  }
  .navbar__nav.open { display: flex; }
  .navbar__hamburger { display: flex; }

  /* Menu links più grandi per il touch */
  .navbar__nav a {
    padding: 12px 16px;
    font-size: 0.9rem;
  }

  /* Grids */
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .footer { padding: 40px 0 24px; padding-bottom: max(24px, env(safe-area-inset-bottom)); }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 8px; }

  /* Sections */
  .section { padding: 48px 0; }
  .section__header { margin-bottom: 36px; }

  /* Page header */
  .page-header { padding: 40px 0 28px; }

  /* Bottoni — touch target minimo 44px */
  .btn { min-height: 44px; padding: 12px 20px; }

  /* Tabelle — scroll orizzontale su mobile */
  .lc-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .lc-table { min-width: 480px; }

  /* On Air — chat altezza ridotta su mobile */
  .onair-stage { grid-template-rows: auto 280px; }

  /* Calendar items — gap più stretto */
  .calendar-item { gap: 14px; padding: 14px 16px; }
}

@media (max-width: 480px) {
  .hero__cta { flex-direction: column; align-items: center; }

  /* Container padding ridotto */
  .container { padding: 0 16px; }

  /* Modal su schermi piccoli */
  .player-modal { border-radius: 8px; }
  .modal-nick { font-size: 1.5rem; }
  .modal-header { gap: 16px; }
  .modal-stats { grid-template-columns: 1fr 1fr; }
  .modal-stats .modal-stat:last-child { grid-column: 1 / -1; }

  /* Footer brand */
  .footer__brand p { max-width: 100%; }

  /* Gallery — 1 colonna su mobile stretto */
  .gallery-grid { grid-template-columns: 1fr; }

  /* Lightbox nav — più compatte */
  .lightbox__nav { width: 36px; height: 52px; font-size: 1.6rem; }
  .lightbox__prev { left: 6px; }
  .lightbox__next { right: 6px; }
}
