:root {
  --blu-notte: #0B2147;
  --blu-principale: #173B73;
  --blu-luminoso: #295397;
  --giallo: #FFBE00;
  --bianco: #FFFFFF;
  --grigio-chiaro: #F5F6F8;
  --testo-secondario: #5F6878;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  font-family: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--blu-notte);
  background-color: var(--blu-notte);
  background-image: url("../images/background-blu.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.card {
  width: 100%;
  max-width: 720px;
  background: var(--bianco);
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(11, 33, 71, 0.35);
  padding: 48px 40px;
  text-align: center;
}

.brand-link {
  display: block;
  width: 256px;
  max-width: 100%;
  margin: 0 auto 20px;
}

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

.success-badge {
  margin: 0 auto 14px;
  width: 64px;
  height: 64px;
}

.success-badge svg {
  display: block;
  width: 100%;
  height: 100%;
}

.success-label {
  display: inline-block;
  margin: 0 auto 28px;
  padding: 6px 16px;
  background: #FFF3CC;
  color: var(--blu-notte);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
}

.title {
  margin: 0 0 20px;
  font-size: 2rem;
  line-height: 1.25;
  color: var(--blu-notte);
  font-weight: 700;
}

.domain-name {
  display: inline-block;
  margin: 0 auto 28px;
  padding: 10px 22px;
  background: var(--grigio-chiaro);
  border: 1px solid #E1E4EA;
  border-radius: 10px;
  color: var(--blu-notte);
  font-size: 1.4rem;
  font-weight: 700;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.lead {
  margin: 0 0 18px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--blu-principale);
}

.info {
  margin: 0 0 28px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--testo-secondario);
}

.status-list {
  list-style: none;
  margin: 0 0 28px;
  padding: 18px 20px;
  background: var(--grigio-chiaro);
  border-radius: 12px;
  text-align: left;
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
}

.status-list li {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--blu-notte);
}

.status-check {
  display: inline-block;
  color: var(--blu-notte);
  background: var(--giallo);
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  margin-right: 8px;
}

.closing-note {
  margin: 0 0 32px;
  font-size: 0.9rem;
  font-style: italic;
  color: var(--testo-secondario);
}

.signature a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: #C9CEDA;
  text-underline-offset: 2px;
}

.signature a:hover {
  color: var(--blu-principale);
}

.signature {
  margin: 0;
  padding-top: 24px;
  border-top: 1px solid #E1E4EA;
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--testo-secondario);
}

.page-footer {
  margin: 24px 0 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 480px) {
  .page {
    padding: 20px;
  }

  .card {
    padding: 32px 24px;
    border-radius: 16px;
  }

  .title {
    font-size: 1.5rem;
  }

  .domain-name {
    font-size: 1.15rem;
  }

  .status-list {
    width: 100%;
  }
}
