/* ==========
   USTAWIENIA
   ========== */
:root{
  /* Kolory */
  --bg: #0a0a0a;
  --text: #f2f2f2;
  --muted: #b7b7b7;
  --brand: #0066ff;

  /* Ścieżka obrazu tła (zmień nazwę pliku jeśli potrzebujesz) */
  --bg-image: url('division.jpg');
}

/* Reset/typografia */
*{ box-sizing: border-box; margin:0; padding:0; }
html, body{ height:100%; }
body{
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow: hidden; /* pełnoekranowy hero */
}

/* Tło – bez rozciągania obrazu (contain) */
.background{
  position: fixed;
  inset: 0;
  background-color: #000;                   /* czarne marginesy przy innych proporcjach */
  background-image: var(--bg-image);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;                 /* zachowaj proporcje, nic nie rozciągaj */
  filter: brightness(0.68);                 /* lekkie przyciemnienie pod tekst */
  z-index: -1;
}

/* Na bardzo wąskich ekranach wolimy cover, by nie było dużych pasów */
@media (max-aspect-ratio: 3/4){
  .background{ background-size: cover; }
}

/* Warstwa treści */
.content{
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  backdrop-filter: blur(2px);
}

h1{
  font-size: clamp(32px, 6vw, 56px);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.content p{
  margin-top: 10px;
  color: rgba(255,255,255,0.88);
  font-size: clamp(16px, 2.4vw, 20px);
  text-shadow: 0 0 8px rgba(0,140,255,0.5),
               0 0 16px rgba(0,140,255,0.25);
  letter-spacing: 0.3px;
}

.button{
  display: inline-block;
  margin-top: 28px;
  padding: 12px 28px;
  background: color-mix(in oklab, var(--brand) 85%, white 15%);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-radius: 8px;
  transition: transform .2s ease, background .2s ease;
}
.button:hover{ transform: translateY(-2px); }

/* Stopka – zawsze wyśrodkowana na dole */
footer{
  position: fixed;
  left: 0; right: 0; bottom: 12px;
  text-align: center;
  color: #8b8b8b;
  font-size: 14px;
  padding: 0 12px;
  pointer-events: none; /* żeby klik nie trafiał w stopkę */
}
