html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  width: 100vw;
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  /* Tło na całą stronę */
  background: url('/img/bg-gta.jpg') no-repeat center center fixed;
  background-size: cover;
  display: flex;
  flex-direction: column;
}

.wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
}

.overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1;
  pointer-events: none;
}

.main-nav {
  position: absolute;
  top: 24px;
  right: 48px;
  z-index: 2;
  display: flex;
  gap: 16px;
}

.nav-link {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 700;
  padding: 10px 24px;
  background: #111;
  border: 2px solid #2196f3;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  transition: background .2s, color .2s, border .2s;
}
.nav-link:hover {
  background: #2196f3;
  color: #111;
  border-color: #fff;
}

.container {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 80px;
}

.logo {
  margin-top: 32px;
  width: 120px;
  height: auto;
  filter: drop-shadow(0 0 8px #000);
}

.main-title {
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 900;
  font-size: 4rem;
  color: #fff; /* Biały napis */
  margin: 32px 0 12px 0;
  letter-spacing: 2px;
  line-height: 1.05;
  /* Czarny kontur (obwódka) wokół tekstu */
  text-shadow:
    -2px -2px 0 #000,
    2px -2px 0 #000,
    -2px 2px 0 #000,
    2px 2px 0 #000,
    0px 4px 12px #000;
}

.subtitle {
  font-size: 1.5rem;
  color: #279ffb; /* Jasnoniebieski */
  margin-bottom: 36px;
  text-shadow: 1px 1px 4px #000;
}

.loader-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 50px;
  position: relative;
}

.loader {
  width: 100px;
  height: 100px;
  position: relative;
}

.loader-bg {
  stroke: #222;
  opacity: 0.5;
}

.loader-fg {
  stroke: #2196f3; /* NIEBIESKI */
  stroke-dasharray: 282.743;
  stroke-dashoffset: 141.37;
  stroke-linecap: round;
  animation: loader-anim 2s linear infinite;
}

@keyframes loader-anim {
  0% { stroke-dashoffset: 282.743; }
  100% { stroke-dashoffset: 0; }
}

.loader-label {
  position: absolute;
  left: 0; right: 0; top: 0; bottom: 0;
  margin: auto;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #90caf9;
  font-size: 1.5rem;
  font-weight: bold;
  pointer-events: none;
  z-index: 2;
  text-shadow: 0 0 8px #000;
}

footer {
  background: #111;
  color: #aaa;
  text-align: center;
  padding: 28px 0 14px 0;
  flex-shrink: 0;
}

footer .container {
  margin-top: 0;
}

.socials {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 24px;
}

.socials img {
  width: 32px;
  height: 32px;
  filter: brightness(1.2) drop-shadow(0 0 4px #000);
  transition: transform .2s, filter .2s;
}

.socials img:hover {
  transform: scale(1.15);
  filter: brightness(1.4) drop-shadow(0 0 8px #2196f3);
}

/* KONIECZNE: YouTube poziomo! */
.socials img.yt.png {
  transform: rotate(0.5turn);
}

/* Responsive */
@media (max-width: 650px) {
  .main-title { font-size: 2.2rem; }
  .logo { width: 80px; }
  .main-nav { right: 12px; top: 12px; }
}