:root{
  --blood: #b10014;
  --bg: #060607;
  --text: #f2f2f2;
}

* { box-sizing: border-box; }

body{
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
}

/* TŁO: zdjęcie + winieta */
.hero{
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  width: 100%;
  display: grid;
  place-items: center;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.45)),
    url("background.png") center/cover no-repeat;
}

/* Dodatkowa winieta + mrok */
.hero::before{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(circle at center, rgba(0,0,0,0.10), rgba(0,0,0,0.70) 70%);
  z-index:-1;
}

/* Czerwony glow */
.hero::after{
  content:"";
  position:absolute;
  inset:-20%;
  background: radial-gradient(circle at 50% 45%, rgba(177,0,20,0.25), rgba(0,0,0,0) 60%);
  filter: blur(10px);
  opacity: 0.9;
  animation: glow 7s ease-in-out infinite;
  z-index:-1;
}

/* Dym */
.smoke{
  position:absolute;
  inset:-10%;
  background:
    radial-gradient(circle at 20% 40%, rgba(255,255,255,0.05), transparent 35%),
    radial-gradient(circle at 70% 55%, rgba(255,255,255,0.04), transparent 40%),
    radial-gradient(circle at 55% 30%, rgba(255,255,255,0.03), transparent 35%);
  filter: blur(18px);
  opacity: 0.55;
  mix-blend-mode: screen;
  animation: drift 18s linear infinite;
  z-index: 0;
  pointer-events:none;
}

.center{
  position: relative; /* ważne: stopka liczy się od tego */
  text-align:center;
  padding: 24px;
  z-index: 1;
}

.badge{
  width: 650px;
  height: auto;
  margin: -50px auto 6px;
  display: block;
  filter: drop-shadow(0 0 30px rgba(177,0,20,0.65));
  opacity: 0.95;
  animation: emblemPulse 4.5s ease-in-out infinite;
}

@keyframes emblemPulse {
  0% {
    transform: scale(1);
    opacity: 0.75;
    filter: drop-shadow(0 0 20px rgba(177,0,20,0.35));
  }
  50% {
    transform: scale(1.10);
    opacity: 1;
    filter: drop-shadow(0 0 60px rgba(255,0,20,0.90));
  }
  100% {
    transform: scale(1);
    opacity: 0.75;
    filter: drop-shadow(0 0 20px rgba(177,0,20,0.35));
  }
}

h1{
  margin: 6px 20px 10px 20px;
  font-size: 62px;
  letter-spacing: 8px;
  text-transform: uppercase;
  font-weight: 900;
  color: rgba(255,255,255,0.92);
  text-shadow:
    0 3px 10px rgba(0,0,0,0.95),
    0 0 18px rgba(177,0,20,0.35),
    0 0 45px rgba(177,0,20,0.20);
}

.subtitle{
  margin-top: 10px;
  margin-bottom: 25px;
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  opacity: 0.85;
  text-shadow: 0 2px 6px rgba(0,0,0,0.85);
}

.button{
  margin-top: 22px;
  display: inline-block;
  padding: 18px 52px;
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 2px;

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

  border-radius: 12px;
  border: 2px solid rgba(255,0,20,0.9);

  background: linear-gradient(
    180deg,
    rgba(255,0,30,0.65),
    rgba(177,0,20,0.85)
  );

  box-shadow:
    0 0 18px rgba(255,0,20,0.45),
    0 0 45px rgba(255,0,20,0.25),
    inset 0 0 14px rgba(255,255,255,0.15);

  transition: 0.25s ease;
  cursor: pointer;

  position: relative;
  overflow: hidden;
}

/* delikatny połysk */
.button::before{
  content:"";
  position:absolute;
  top:-60%;
  left:-30%;
  width: 180%;
  height: 180%;
  background: radial-gradient(circle, rgba(255,255,255,0.22), transparent 60%);
  transform: rotate(25deg);
  opacity: 0.35;
}

/* pulsujący glow */
.button{
  animation: ctaPulse 2.6s ease-in-out infinite;
}

@keyframes ctaPulse{
  0%{
    box-shadow:
      0 0 18px rgba(255,0,20,0.40),
      0 0 45px rgba(255,0,20,0.20),
      inset 0 0 14px rgba(255,255,255,0.15);
    transform: scale(1);
  }
  50%{
    box-shadow:
      0 0 28px rgba(255,0,20,0.70),
      0 0 70px rgba(255,0,20,0.35),
      inset 0 0 18px rgba(255,255,255,0.22);
    transform: scale(1.03);
  }
  100%{
    box-shadow:
      0 0 18px rgba(255,0,20,0.40),
      0 0 45px rgba(255,0,20,0.20),
      inset 0 0 14px rgba(255,255,255,0.15);
    transform: scale(1);
  }
}

.button:hover{
  transform: scale(1.05);
  box-shadow:
    0 0 35px rgba(255,0,20,0.85),
    0 0 95px rgba(255,0,20,0.45),
    inset 0 0 18px rgba(255,255,255,0.25);
}

.button:active{
  transform: scale(0.99);
}

/* disabled ma wyglądać jak martwy */
button.button:disabled{
  opacity: 0.65;
  cursor: not-allowed;

  background: linear-gradient(
    180deg,
    rgba(255,0,30,0.35),
    rgba(177,0,20,0.55)
  );

  border: 2px solid rgba(255,0,20,0.55);

  box-shadow:
    0 0 18px rgba(255,0,20,0.30),
    0 0 45px rgba(255,0,20,0.18),
    inset 0 0 14px rgba(255,255,255,0.08);

  animation: ctaPulse 2.6s ease-in-out infinite;
}

.secure-email{
  margin-top: 26px;
  width: 380px;
  max-width: 90%;
  padding: 14px 16px;
  font-size: 15px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(0,0,0,0.65);
  color: var(--text);
  outline: none;
  text-align: center;
  letter-spacing: 1px;
}

.secure-email:focus{
  border-color: rgba(177,0,20,0.9);
  box-shadow: 0 0 18px rgba(177,0,20,0.35);
}

.email-message{
  margin-top: 10px;
  font-size: 13px;
  min-height: 18px;
  letter-spacing: 0.5px;
}

.email-message.success{ color: #40ff40; }
.email-message.error{ color: #ff4040; }

.footer{
  position: fixed;
  bottom: 18px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.55;
  color: rgba(255,255,255,0.75);
  z-index: 5;
  pointer-events: none;
}



@keyframes glow{
  0%{ transform: translateY(0); opacity: .75; }
  50%{ transform: translateY(-12px); opacity: 1; }
  100%{ transform: translateY(0); opacity: .75; }
}

@keyframes drift{
  0%{ transform: translateX(0) translateY(0) scale(1); }
  50%{ transform: translateX(-40px) translateY(-18px) scale(1.03); }
  100%{ transform: translateX(0) translateY(0) scale(1); }
}

/* label ukryty, ale dostępny */
.sr-only{
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* honeypot ma być niewidoczny */
.hp{
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* oszczędność na słabszych urządzeniach */
@media (prefers-reduced-motion: reduce){
  .smoke,
  .hero::after{
    animation: none !important;
  }
  .button{
    transition: none !important;
  }
}

@media (max-width: 640px){
  h1{ font-size: 40px; letter-spacing: 4px; }

 .center{
  position: relative;
  text-align:center;
  padding: 24px;
  z-index: 1;
  padding-bottom: 90px;
}

  .badge{
    width: 200px;
    margin-bottom: 10px;
  }

  .secure-email{
    margin-top: 18px;
    padding: 12px 14px;
    font-size: 14px;
  }

  .button{
    margin-top: 14px;
    padding: 14px 28px;
    font-size: 15px;
  }

  .footer{
    bottom: 14px;
  }
}
.hp{
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
@media (max-width: 640px){
  .footer{
    bottom: 10px;
    font-size: 10px;
    letter-spacing: 1px;
  }
}

.badge{
  animation: emblemPulse 4.5s ease-in-out infinite !important;
}
.footer{
  position: fixed;
  bottom: 18px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.75;
  color: rgba(255,255,255,0.75);
  z-index: 5;
  pointer-events: none;
}

.footer-box{
  display: inline-block;
  padding: 12px 22px;
  border-top: 1px solid rgba(177,0,20,0.35);
  border-bottom: 1px solid rgba(177,0,20,0.18);
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(2px);
}

.footer-top{
  font-size: 12px;
  opacity: 0.9;
}

.footer-cities{
  margin-top: 6px;
  font-size: 10px;
  letter-spacing: 2px;
  opacity: 0.65;
  white-space: nowrap;
}

/* czerwone kropki z poświatą */
.dot{
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 10px;
  border-radius: 50%;
  background: var(--blood);
  box-shadow:
    0 0 10px rgba(177,0,20,0.9),
    0 0 22px rgba(255,0,20,0.85),
    0 0 45px rgba(255,0,20,0.55);
  transform: translateY(-1px);
}