:root {
  --sfondo: #0f1114;
  --sfondo-carta: rgba(11, 13, 17, 0.72);
  --testo-secondario: rgba(255, 255, 255, 0.65);
  --accento: rgba(255, 255, 255, 0.95);
  --bordo-pulsante: rgba(255, 255, 255, 0.06);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto,
    "Helvetica Neue", Arial;
}

html,
body {
  height: 100%;
  margin: 0;
  background: var(--sfondo);
}

.main {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
  background-image: url(/assets/img/copertina.jpg);
  background-size: cover;
  background-position: center;
  position: relative;
}

.main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.78));
  backdrop-filter: blur(4px);
}

.contenitore {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 420px;
  text-align: center;
  color: var(--accento);
  margin: auto;
  border-radius: 14px;
  padding: 28px 22px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.01)
  );
}

.copertina {
  width: 220px;
  height: 220px;
  margin: 0 auto 18px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.03);
}
.copertina img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

h1 {
  font-size: 24px;
  letter-spacing: 1px;
  margin: 8px 0 6px;
  font-weight: 700;
}
h2 {
  font-size: 18px;
  margin: 0 0 12px;
  color: var(--testo-secondario);
  font-weight: 600;
}

.sottotitolo {
  margin: 8px 0 20px;
  font-weight: 700;
}

.pulsanti {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 6px;
}

.pulsante {
  background: transparent;
  border: 1px solid var(--bordo-pulsante);
  padding: 14px 18px;
  border-radius: 12px;
  color: var(--accento);
  text-decoration: none;
  font-weight: 700;
  display: inline-block;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45);
  transition: transform 0.12s ease, background 0.12s ease;
}
.pulsante:active {
  transform: translateY(1px);
}

.icona-pulsante {
  width: 25px;
  margin-left: 8px;
  vertical-align: middle;
}

.piccolo {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 18px;
}
.piccolo a {
  color: inherit;
  text-decoration: underline;
}

@media (max-width: 480px) {
  .contenitore {
    padding: 18px 14px;
    max-width: 420px;
  }
  .copertina {
    width: 180px;
    height: 180px;
  }
  h1 {
    font-size: 20px;
  }
  .pulsante {
    padding: 12px;
  }
}
