html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100svh; 
  min-height: 100dvh; 
  overflow: hidden;
  background: #000; 
}

:root {
  --logo-desktop-width: 600px;  
  --logo-mobile-width: 340px;  
}

html, body {
  background-image: url("background.jpeg"); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

body::before {
  content: "";
  position: fixed;
  inset: -1px;
  background: rgba(0, 0, 0, 0.55);
  z-index: 0;
}

.brand-stage {
  position: fixed;
  inset: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 2.5rem 1.5rem;
  box-sizing: border-box;

  z-index: 1;
}

.brand-stage {
  transform: translateX(-11px);
}

.logo-wrapper {
  width: min(100%, var(--logo-desktop-width));
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-wrapper svg {
  transform: translateX(8px);
}


.logo-wrapper > svg {
  width: 100%;
  height: auto;
  display: block;
}

[id^="velocivita"] {
  fill: transparent;
  stroke: #fff;
  stroke-width: 2;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;

  animation:
    drawVelocivita 1.5s ease-out forwards,
    fillVelocivita 0.45s ease-out forwards;

  animation-delay: 0.15s, 1.5s;
}

@keyframes drawVelocivita {
  to { stroke-dashoffset: 0; }
}

@keyframes fillVelocivita {
  to {
    fill: #fff;
    stroke: transparent;
  }
}

[id^="slow_"],
[id^="racing_"],
[id^="club_"],
[id^="lake_"],
[id^="garda_"],
[id^="italia_"],
#flag_green,
#flag_white,
#flag_red,
#r_wordmark {
  opacity: 0;
  animation: minimalFade 0.8s ease-out forwards;
  animation-delay: 2s;
}

@keyframes minimalFade {
  to { opacity: 1; }
}

.coming-soon {
  width: 100%;
  text-align: center;

  margin-top: clamp(1.4rem, 2.5vw, 2.2rem);

  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.3rem, 1.1vw, 1.55rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;

  color: rgba(255, 255, 255, 0.65);

  opacity: 0;
  animation: minimalFade 0.9s ease-out forwards;
  animation-delay: 3.6s;
  transform: translateX(3px);
}

.coming-soon--minimal {
  position: relative;
  width: fit-content;
  margin: 0 auto;

  display: inline-block;
  margin-top: clamp(1.4rem, 2.5vw, 2.2rem);
}

.coming-label {
  display: inline-block;
  animation: comingGlow 2.8s ease-in-out infinite;
  transition: opacity 0.25s ease;
}

@keyframes comingGlow {
  0% {
    opacity: 0.5;
    text-shadow: none;
  }
  50% {
    opacity: 0.85;
    text-shadow:
      0 0 6px rgba(255,255,255,0.25),
      0 0 14px rgba(255,255,255,0.15);
  }
  100% {
    opacity: 0.5;
    text-shadow: none;
  }
}

.notify-minimal {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);

  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;

  opacity: 0;
  pointer-events: none;

  transition: opacity 0.3s ease;
}

.notify-minimal input {
  flex: 1;

  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.35);

  padding: 0.2rem 0;

  font-family: inherit;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: lowercase;

  color: #fff;
  outline: none;
}

.notify-minimal input::placeholder {
  color: rgba(255,255,255,0.45);
}

.notify-minimal button {
  background: none;
  border: none;
  padding: 0;

  font-family: inherit;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;

  color: rgba(255,255,255,0.65);
  cursor: pointer;

  transition: color 0.25s ease;
}

.notify-minimal button:hover {
  color: #fff;
}

.coming-soon--minimal:hover .notify-minimal {
  opacity: 1;
  pointer-events: auto;
}

.coming-soon--minimal:focus-within .notify-minimal {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 768px) {
  .logo-wrapper {
    width: min(100%, var(--logo-mobile-width));
  }

  .coming-soon {
    font-size: 0.65rem;
    letter-spacing: 0.28em;
  }

  .coming-soon--minimal {
    margin-top: clamp(1.8rem, 4vw, 2.4rem);
  }

  .notify-minimal {
    top: calc(50% + 0.4rem);
    transform: translate(-1.3rem, -50%);
  }
  .notify-minimal input {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
  }

  .notify-minimal button {
    font-size: 0.65rem;
    letter-spacing: 0.18em;
  }
}

.info-button {
  position: fixed;
  bottom: 1.6rem;
  right: 1.6rem;
  z-index: 5;

  width: 32px;
  height: 32px;

  display: flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;
  cursor: pointer;

  background: transparent;
  border-radius: 50%;

  opacity: 0.55;
  transition: opacity 0.25s ease;
}

.info-icon {
  width: 26px;
  height: 26px;

  display: block;

  fill: none;
  stroke: rgba(255, 255, 255, 0.75);
  stroke-width: 1.6;

  vector-effect: non-scaling-stroke;
}

.info-icon * {
  fill: none;
  stroke: inherit;
}

.info-button:hover {
  opacity: 0.9;
}

.info-button:focus {
  opacity: 0.55;
  outline: none;
}

.insta-button {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 5;

  width: 32px;
  height: 32px;

  display: flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;
  cursor: pointer;

  background: transparent;
  border-radius: 50%;

  opacity: 0.55;
  transition: opacity 0.25s ease;
}

.insta-button:hover {
  opacity: 0.9;
}

.insta-button:focus {
  opacity: 0.55;
  outline: none;
}

.coming-soon--minimal:focus-within + .privacy-note {
  opacity: 1;
  pointer-events: auto;
}

.notify-confirmed {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  white-space: nowrap;

  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;

  color: rgba(255,255,255,0.7);

  opacity: 0;
  pointer-events: none;
}

@media (max-width: 768px) {
  .legal-content h1 {
    font-size: 1.3rem;
  }

  .legal-content p {
    font-size: 0.85rem;
  }

  .back-link {
    font-size: 0.65rem;
  }

  .notify-success {
    font-size: 0.75rem;
  }
}

