html, body {
  margin: 0;
  font-family: 'VT323', monospace;
  background: #111;
  color: #fff;
  text-align: center;
  font-size: 20px;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEUAAAD///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB+tl2fAAAAHnRSTlMAAAQGBwkOFBgdICEiJystMDEyMzQ4Oj0+QUlKx7jWpgAAAFJJREFUeNrtkIEJAAAIw1jM/v+vQdIKkC+2D/K9uXy/w4YGAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAYEfgP8D/Qf7DwEBgQeBfwP/x2vY19c/WwsyAAAAAElFTkSuQmCC');  
  opacity: 0.05;  
  pointer-events: none;  
  z-index: -1;  
  animation: glitch-bg 1s infinite alternate;  
}

@keyframes glitch-bg {
    0% { transform: translate(0, 0); }
    25% { transform: translate(-1px, 1px); }
    50% { transform: translate(1px, -1px); }
    75% { transform: translate(-1px, 1px); }
    100% { transform: translate(0, 0); }
}

header {
  background: #000;
  padding: 15px 30px;  
  position: sticky;  
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;  
  align-items: center;  
  border-bottom: 1px solid #222;
  transition: all 0.3s ease;
  box-sizing: border-box;  
}

@media (max-width: 900px) {
  header {
    padding: 15px 20px;  
    flex-direction: column;  
    justify-content: center;
    align-items: center;  
  }
  nav {
    margin-top: 10px;
    gap: 10px;  
    justify-content: center;
  }
}

@media (max-width: 600px) {
  header {
    padding: 10px 15px;  
  }
  header h1 {
    font-size: 35px;  
  }
  nav {
    margin-top: 8px;
    gap: 6px;
  }
}

header h1 {
  font-family: 'Press Start 2P', cursive;
  font-size: 50px;
  margin: 0;
  text-transform: uppercase;
  color: #00ffff;
  text-shadow: 0 0 5px #00ffff, 0 0 10px #00ffff, 0 0 15px #00ffff;
  transition: transform 0.3s ease;
}

header h1:hover {
  transform: scale(1.05);
}

nav a {
  color: #fff;
  text-decoration: none;
  display: inline-block;
  font-size: 18px;  
  transition: color 0.3s ease, font-size 0.3s ease;
  text-transform: uppercase;
  white-space: nowrap;
}

nav a:hover, nav a.active-link {
  color: #00ffff;
}

.main-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 100vh;  
  max-width: 100%;
  box-sizing: border-box;
  padding-top: 120px;  
  padding-bottom: 50px;
  margin-bottom: 20px;
}

.main-section h2 {
  font-size: 80px;
  margin-bottom: 60px;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  padding: 0 10px;
  line-height: 1;
  color: #00ffff;
  text-shadow:
    0 0 5px #00ffff,
    0 0 10px #00ffff;
}

.about-section {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 50px;
  font-size: 24px;
  flex-wrap: wrap;  
  justify-content: center;
  padding: 0 20px;
  box-sizing: border-box;
}

.about-img img {
  max-width: 100%;
  width: 320px;
  height: auto;  
  border-radius: 15px;
  box-shadow: 0 0 20px #00ffff;
  transition: transform 0.3s ease;
}

.about-img img:hover {
  transform: scale(1.05);
}

.about-text {
  max-width: 650px;
  text-align: left;
}

.about-text h3 {
  font-size: 40px;
  color: #fff;
  margin-top: 0;
  margin-bottom: 25px;
  text-transform: uppercase;
}

.trusted-at-bottom-container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.spacer {
  height: 50px;
}

.trusted-section-title {
  font-size: 30px;
  color: #00ffff;
  text-shadow: 0 0 5px #00ffff;
  margin-bottom: 25px;  
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  padding: 0 10px;
  line-height: 1;
}

/* --- KARUZELA --- */
.image-container {
  overflow: hidden;
  width: 100%;
  max-width: 1200px;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 50px;
  box-sizing: border-box;
}

.image-wrapper {
  display: flex;
  gap: 30px;
  transition: transform 0.5s cubic-bezier(.4,1.2,.6,1);
  will-change: transform;
}

#trusted-carousel .image-wrapper > div {
  flex: 0 0 200px;
  min-width: 200px;
  max-width: 200px;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #1c1c1c;  
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.2);  
  transition: box-shadow 0.3s ease;
}

#trusted-carousel .image-wrapper > div:hover {
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);  
}

#trusted-carousel img {
  width: 95%;  
  height: 95%;  
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

#trusted-carousel img:hover {
  transform: scale(1.08);  
}

.profiles {
  display: flex;
  flex-wrap: wrap;  
  justify-content: center;  
  align-items: flex-start;  
  gap: 50px;  
  margin-top: 45px;
  max-width: 1000px;  
  margin-left: auto;  
  margin-right: auto;  
  padding: 0 20px;  
  box-sizing: border-box;
}

.profile-box {
  background: #1c1c1c;
  padding: 35px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-width: 280px;
  width: 100%;  
  max-width: 450px;  
  height: 380px;
  box-shadow: 0 0 15px #00ffff33;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  flex: 1;  
}

.profile-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px #00ffff66;
}

.profile-box img {
  width: 80px;
  height: 80px;
  margin-bottom: 10px;
  margin-top: 5px;
}

.followers-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 5px;
}

.followers {
  font-family: 'Press Start 2P', cursive;
  font-size: 45px;
  color: #fff;
  text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff, 0 0 30px #00ffff;
  margin: 0;
  text-align: center;
}

.label.small-label {
  font-size: 16px;
  margin-top: -15px;
  margin-bottom: 0;
  color: #aaa;
  text-transform: uppercase;
  text-align: center;
}

.details {
  font-size: 22px;
  line-height: 1.5;
  color: #fff;
  text-shadow: 0 0 5px #00ffff80;
  margin-top: 15px;
  margin-bottom: 20px;
  text-align: center;
}

.profile-button {
  background: #00ffff;
  color: #111;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 20px;
  font-family: 'VT323', monospace;
  text-transform: uppercase;
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.6);
  margin-top: auto;
  margin-bottom: 0px;
}

.profile-button:hover {
  background: #fff;
  color: #000;
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.9);
}

.publications-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 45px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.vertical-video-item {
  flex: 1 1 auto;
  max-width: 220px;
  min-width: 150px;
  height: auto;
  aspect-ratio: 2 / 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  background-color: #0a0a0a;
  padding: 10px;
  box-sizing: border-box;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.vertical-video-item:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
}

.vertical-video-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  height: 100%;
  width: 100%;
}

.vertical-video-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
}

.video-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s forwards;
}

.video-modal-content {
  position: relative;
  background-color: #1a1a1a;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.8);
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.close-button {
  color: #00ffff;
  font-size: 40px;
  font-weight: bold;
  position: absolute;
  top: 5px;
  right: 15px;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 2001;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding-bottom: 2px;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

@media (max-width: 900px) {
  .close-button {
    display: flex;
  }
}

.video-wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 177.77%;
  height: 0;
  overflow: hidden;
  margin-top: 10px;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.links-container {
  display: flex;
  flex-direction: column;
  gap: 25px;
  margin-top: 50px;
  align-items: center;
  max-width: 600px;  
  margin-left: auto;  
  margin-right: auto;  
  padding: 0 20px;  
  box-sizing: border-box;
}

.link-button {
  background: #1c1c1c;
  color: #00ffff;
  padding: 18px 35px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 28px;
  width: 280px;
  max-width: 85%;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
}

.link-button i {
  margin-right: 10px;
  font-size: 1.2em;
}

.link-button:hover {
  background: #00ffff;
  color: #111;
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 255, 255, 0.6);
}

#kontakt.main-section {  
  max-width: 800px;  
  margin-left: auto;  
  margin-right: auto;  
  padding: 0 20px;  
  box-sizing: border-box;
}

#kontakt a {
  color: #00ffff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  text-transform: uppercase;
}

#kontakt a:hover {
  color: #fff;
  text-decoration: underline;
}

footer {
  background: #000;
  padding: 25px;
  text-align: center;
  color: #aaa;
  font-size: 16px;
  border-top: 1px solid #222;
  text-transform: uppercase;
  position: relative;
  bottom: 0;
  width: 100%;
  z-index: 10;
}

/* ---------------------------------------------------- */
/* MEDIA QUERIES DLA RESPONSYWNOŚCI             */
/* ---------------------------------------------------- */
@media (max-width: 900px) {
  header {
    padding: 15px 20px;  
    flex-direction: column;  
    justify-content: center;
  }
  header h1 {
    font-size: 40px;  
    letter-spacing: 2px;
  }
  nav {
    margin-top: 10px;
    gap: 10px;  
    justify-content: center;
  }
  nav a {
    font-size: 15px;  
  }
  .main-section {
    padding-top: 100px;
    padding-bottom: 50px;
    margin-bottom: 15px;
  }
  .main-section h2 {
    font-size: 55px;
    margin-bottom: 45px;
    text-shadow: 0 0 3px #00ffff, 0 0 7px #00ffff;
  }
  .trusted-section-title {
    font-size: 24px;  
    margin-bottom: 20px;  
  }
  .about-section {
    flex-direction: column;  
    gap: 30px;
    font-size: 20px;
  }
  .about-img img {
    width: 280px;
  }
  .about-text {
    text-align: center;
  }
  .about-text h3 {
    font-size: 34px;
  }
  .profiles {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .profile-box {
    width: 80%;
    max-width: 400px;
    height: auto;
  }
  .followers {
    font-size: 35px;
  }
  .label.small-label {
    font-size: 14px;
    margin-top: -10px;
  }
  .details {
    font-size: 20px;
    line-height: 1.4;
    margin-top: 10px;
    margin-bottom: 15px;
  }
  .profile-button {
    font-size: 18px;
    padding: 10px 20px;
  }
  .publications-grid {
    gap: 20px;
    flex-direction: column;
    align-items: center;
  }
  .vertical-video-item {
    max-width: 180px;  
    height: auto;
    aspect-ratio: 2 / 3;
  }
  .video-modal-content {
    max-width: 400px;
  }
  .video-wrapper {
    padding-bottom: 177.77%;
  }
  .link-button {
    font-size: 24px;
    width: 250px;
  }
}

@media (max-width: 600px) {
  header {
    padding: 10px 15px;  
  }
  header h1 {
    font-size: 35px;  
  }
  nav {
    margin-top: 8px;
    gap: 6px;
  }
  nav a {
    font-size: 14px;
  }
  .main-section {
    padding-top: 80px;
    padding-bottom: 40px;
    margin-bottom: 10px;
  }
  .main-section h2 {
    font-size: 40px;
    margin-bottom: 35px;
    text-shadow: 0 0 3px #00ffff, 0 0 7px #00ffff;
  }
  .trusted-section-title {
    font-size: 20px;
    margin-bottom: 15px;
  }
  .about-section {
    font-size: 18px;
    gap: 20px;
  }
  .about-img img {
    width: 250px;
  }
  .about-text h3 {
    font-size: 28px;
  }
  .profiles {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  .profile-box {
    width: 90%;
    max-width: 350px;
    padding: 25px;
  }
  .profile-box img {
    width: 60px;
    height: 60px;
  }
  .followers {
    font-size: 30px;
  }
  .label.small-label {
    font-size: 12px;
    margin-top: -8px;
  }
  .details {
    font-size: 18px;
    line-height: 1.3;
    margin-top: 10px;
    margin-bottom: 10px;
  }
  .profile-button {
    font-size: 16px;
    padding: 8px 18px;
  }
  .publications-grid {
    gap: 15px;
    flex-direction: column;
    align-items: center;
  }
  .vertical-video-item {
    max-width: 150px;
    aspect-ratio: 2 / 3;
  }
  .video-modal-content {
    max-width: 300px;
    padding: 15px;
  }
  .close-button {
    font-size: 30px;
    top: 5px;
    right: 15px;
    width: 40px;
    height: 40px;
  }
  .link-button {
    font-size: 20px;
    width: 220px;
    padding: 15px 25px;
  }
}

@media (max-width: 400px) {
    header { padding: 8px 10px; }
    header h1 { font-size: 28px; }
    nav { gap: 3px; }
    nav a { font-size: 10px; }
    .main-section {
        padding-top: 70px;
        padding-bottom: 30px;
        margin-bottom: 5px;
    }
    .main-section h2 {
        font-size: 30px;
        padding: 0 5px;
        text-shadow: 0 0 1px #00ffff, 0 0 2px #00ffff;
    }
    .trusted-section-title {
      font-size: 18px;
      margin-bottom: 10px;
    }
    .about-text h3 { font-size: 24px; }
    .about-img img { width: 200px; }
    .profile-box {
      width: 95%;
      max-width: 300px;
      padding: 20px;
    }
    .followers { font-size: 25px; }
    .details { font-size: 16px; }
    .profile-button {
      font-size: 14px;
      padding: 6px 15px;
    }
    .publications-grid {
      gap: 10px;
      flex-direction: column;
      align-items: center;
    }
    .vertical-video-item {
      width: 90%;  
      max-width: 200px;  
      margin: 0 auto 10px auto;  
      aspect-ratio: 2 / 3;
    }
    .link-button {
      font-size: 18px;
      width: 180px;
      padding: 12px 20px;
    }
    .video-modal-content {
      width: 95%;
      max-width: 280px;
      padding: 10px;
    }
}