/* ==========================
   RESET BASE
========================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  min-height: 100%;
  font-family: 'Inter', sans-serif;
  color: #fff;
  background: #000;
  overflow-x: hidden;
}

/* ==========================
   HERO
========================== */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 100vh;
  padding: 110px 20px 60px; /* spazio per header fisso */
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("viabaltea.jpeg") center top / cover no-repeat;
  filter: grayscale(100%) contrast(1.2) brightness(0.9);
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 2;
}

/* ==========================
   LOGO EVENTO
========================== */
.evento-logo {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}

.evento-logo img {
  width: clamp(120px, 25vw, 200px);
  height: auto;
  display: block;
}

/* ==========================
   TESTO EVENTO
========================== */
.evento-text {
  text-align: center;
}

.evento-text h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.evento-text h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================
   PULSANTE
========================== */
.button-container {
  display: flex;
  justify-content: center;
}

.chalk-link {
  display: inline-block;
  padding: 12px 30px;
  background: rgba(30, 144, 255, 0.85);
  color: #fff;
  font-weight: 600;
  font-size: clamp(1rem, 3vw, 1.5rem);
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.chalk-link:hover {
  transform: scale(1.05);
  background: rgba(30, 144, 255, 1);
}

/* ==========================
   FOOTER
========================== */
.footer-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  padding: 20px 0;
}

/* ==========================
   RESPONSIVE
========================== */
@media (max-width: 600px) {
  .evento-text h1 {
    font-size: clamp(1.8rem, 8vw, 3rem);
  }

  .evento-text h2 {
    font-size: clamp(1.2rem, 6vw, 2rem);
  }

  .chalk-link {
    font-size: clamp(0.9rem, 5vw, 1.2rem);
    padding: 10px 20px;
  }
}

/* ==========================
   MINI POPUP PRIVACY
========================== */
.privacy-mini {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  display: none;
}

.privacy-mini.show {
  display: block;
}

.privacy-box-mini {
  background: rgba(20, 20, 20, 0.85);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px 18px;
  max-width: 420px;
  width: 90vw;
  font-size: 0.85rem;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.privacy-box-mini p {
  margin: 0;
  line-height: 1.3;
}

.privacy-box-mini a {
  color: #1db954;
  text-decoration: none;
  font-weight: 500;
}

.privacy-box-mini a:hover {
  text-decoration: underline;
}

.close-mini {
  background: none;
  border: none;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.close-mini:hover {
  opacity: 1;
}

/* ==========================
   AVVISO INSTAGRAM
========================== */
.instagram-warning {
  margin: 15px auto;
  padding: 12px 18px;
  max-width: 300px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  text-align: center;
  font-size: 0.9rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s ease;
}

.instagram-warning.show {
  opacity: 1;
  transform: translateY(0);
}

.instagram-warning .warning-icon {
  margin-right: 6px;
  font-size: 1.1rem;
}
