@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600&family=Inter:wght@400;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: radial-gradient(circle at center, rgba(0,0,255,0.2) 0%, #050520 40%, #07071c 100%);
  color: #d7d7ff;
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* --- NAWIGACJA --- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #0a0a26;
  padding: 15px 40px;
  border-bottom: 1px solid #27275f;
  flex-wrap: wrap;
  position: relative;
  z-index: 10;
}

.navbar .brand {
  font-weight: 600;
  font-size: 1.2rem;
  color: #9999ff;
}

.navbar .brand span {
  color: #6c63ff;
  font-weight: 700;
}

/* --- LINKI --- */
.navbar .links {
  display: flex;
  gap: 20px;
  transition: all 0.3s ease;
}

.navbar .links a {
  color: white;
  text-decoration: none;
  font-weight: 700;
  transition: 0.2s;
}

.navbar .links a:hover {
  color: #7d6bff;
  text-shadow: 0 0 8px #7d6bff;
}

/* --- HAMBURGER --- */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  cursor: pointer;
  position: relative;
  z-index: 20;
}

.menu-toggle .bar {
  height: 3px;
  width: 100%;
  background-color: #9999ff;
  border-radius: 2px;
  transition: all 0.4s ease;
}

/* --- ANIMACJA KLIKNIĘCIA --- */
.menu-toggle.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* --- HEADER --- */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  padding: 80px 40px;
  flex-wrap: wrap;
  text-align: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,0,255,0.4), transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
  z-index: 0;
}

.logo {
  background-color: #0a0a26;
  border-radius: 25px;
  padding: 50px 60px;
  font-size: 3.5em;
  font-family: 'Orbitron', sans-serif;
  text-align: center;
  color: #ff4cfb;
  border: 1px solid #311a7c;
  box-shadow: 0 0 30px rgba(100, 0, 255, 0.3);
  z-index: 1;
}

.logo span {
  color: #57d8ff;
  font-size: 0.8em;
}

.info {
  background-color: rgba(10,10,40,0.8);
  border: 1px solid #3a3aff;
  border-radius: 15px;
  padding: 25px 30px;
  max-width: 600px;
  color: #9ab0ff;
  z-index: 1;
  font-size: 1rem;
  line-height: 1.6;
}

/* --- FOOTER --- */
.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 30px 20px;
  background-color: #07071c;
}

.footer .icons {
  display: flex;
  gap: 25px;
}

.footer img {
  width: 35px;
  height: 35px;
  filter: drop-shadow(0 0 8px #705cff) brightness(0.8);
  transition: 0.25s;
}

.footer img:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 12px #a29bff) brightness(1.1);
}

/* --- RESPONSYWNOŚĆ --- */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .navbar .links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #0a0a26;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.5s ease;
  }

  .navbar .links.active {
    max-height: 300px;
    opacity: 1;
  }

  .navbar .links a {
    width: 100%;
    padding: 12px 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .hero {
    flex-direction: column;
    padding: 50px 20px;
    gap: 40px;
  }

  .logo {
    font-size: 2.5em;
    padding: 30px 40px;
  }

  .info {
    max-width: 90%;
  }

  .footer img {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 2em;
    padding: 25px 35px;
  }

  .info {
    font-size: 0.9rem;
    padding: 20px;
  }

  .footer img {
    width: 28px;
    height: 28px;
  }
}
