/* RESET & GLOBAL */
*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  color: #fff;
  background: #000;
  overflow-x: hidden;
  overflow-y: hidden;
  height:100%;
}

/* HERO con sfondo parallax */
.hero {
  position: relative;
  height: 100vh;
  background-image: url("ICS-SFOCATO.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* ==========================
   HEADER: TITOLO + SOCIAL
========================== */
.hero-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 3;
  margin-bottom: 100px;
  background: rgba(0, 0, 0, 0.25); /* 👈 sfondo leggero e trasparente */
  backdrop-filter: blur(8px);      /* 👈 sfoca SOLO lo sfondo dietro */
  border-radius: 0 0 16px 16px;    /* 👈 angoli arrotondati sotto */
  border: 1px solid rgba(255, 255, 255, 0.1); /* 👈 bordo sottile per definizione */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);  /* 👈 leggera ombra sotto */
}

.site-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  color: white;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0;
}

/* Social icons in header */
.social-links {
  display: flex;
  align-items: center;
  gap: 15px;
}

.social-links a {
  display: inline-block;
  width: 28px;
  height: 28px;
  opacity: 0.9;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.social-links a:hover {
  transform: scale(1.1);
  opacity: 1;
}

.social-links img {
  width: 150%;
  height: auto;
  display: block;
  filter: brightness(0) invert(1);
}


/* Wrapper che contiene i due gruppi di bottoni */
.buttons-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px; /* distanza tra i due blocchi */
  padding-top: 65px;
}

/* Primo gruppo bottoni (in fila al centro) */
.button-container {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.button-container a img {
  width: 100%; 
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.button-container a img:hover {
  transform: scale(1.05);
}

/* Etichetta sopra i bottoni */
.link-label {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 0.9rem;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

/* Card cover */
.cover-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px; /* distanza tra immagine e titolo */
}

.cover-card img {
  width: 30%; /* puoi regolare */
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.cover-card img:hover {
  transform: scale(1.05);
}

.cover-card {
  margin-top: 10px; /* o più se serve */
}


.cover-title {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #fff;
  text-align: center;
}

.cover-subtitle {
  font-size: 0.7em;  /* più piccolo rispetto al titolo */
  font-weight: 300;  /* più leggero */
  display: block;
  margin-top: 5px;
}

/* Mobile (default) */
.cover-card img {
  width: 50%;   /* grande al centro */
}

.cover-title {
  font-size: 1.2rem;
}

.button-container a img {
  width: 100%; /* bottoni piccoli */
}

/* Desktop */
@media (min-width: 768px) {
  .cover-card img {
    width: 25%;  /* cover più piccola e elegante */
  }

  .cover-title {
    font-size: 1.5rem;
  }

  .button-container a img {
    width: 70px; /* bottoni più grandi */
  }

  .buttons-wrapper {
    gap: 30px; /* più respiro tra cover e bottoni */
  }
}

/* Grande desktop */
@media (min-width: 1200px) {
  .cover-card img {
    width: 20%;
  }

  .cover-title {
    font-size: 2rem;
  }

  .button-container a img {
    width: 150px;
  }
}

/* ==========================
   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;
  font-family: 'Inter', sans-serif;
}

.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;
}


