/*********** GLOBALNE ***********/
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #0a0a0f;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  overflow-x: hidden;
}

/*********** ADMIN BUTTON ***********/
.admin-button-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.admin-button {
  background: rgba(0, 0, 0, 0.8);
  color: white;
  border: 2px solid #ffffff;
  border-radius: 25px;
  padding: 10px 20px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.admin-button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #00ff88;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 255, 136, 0.3);
}

.admin-button i {
  margin-right: 8px;
}

/*********** AVATAR ***********/
.avatar-section {
  margin: 1px 0;
  margin-top: 20px;
}

.profile-picture {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid #ff149100;
}

/*********** NICK **********/
.username-section {
  margin: 1px 0;
}

.username {
  font-size: 24px;
  color: #ffffff;
  text-align: center;
  cursor: text;
  outline: none;
}

.username:focus {
  background-color: #252525;
  border-radius: 5px;
  padding: 5px;
}

/*********** Boxy **********/
.container {
  width: 90%;
  max-width: 550px;
  margin: 20px auto;
}

/*********** Kategorie **********/
.category-container {
  margin-bottom: 40px;
  width: 100%;
}

.category-header {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* .category-boxes {
  display: flex;
  flex-direction: column;
  gap: 10px;
} */

.info-box {
  display: flex;
  align-items: center;
  text-align: center;
  background-color: transparent;
  color: white;
  padding: 12px;
  border-radius: 10px;
  margin: 10px 0;
  margin-left: auto;
  margin-right: auto;
  background-color: #000000;
  box-shadow: 3px 4px 2px 2px rgb(18 15 15);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  width: 400px;
  position: relative;
  overflow: hidden;
}

.info-box img,
.info-box i {
  transition: transform 0.5s, color 0.3s;
}

.info-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgb(255 255 255 / 4%);
  transition: left 0.6s;
}
.info-box:hover::before {
  left: 100%;
}
.info-box::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #ffffff;
  transition: width 0.4s, left 0.4s;
}
.info-box:hover::after {
  width: 100%;
  left: 0;
}
.info-box span {
  display: inline-block;
  transition: transform 0.6s;
}

.info-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.info-box .logo {
  image-rendering: optimizeQuality;
}

.logo {
  cursor: pointer;
  transition: all 0.3s ease;
}

.info-box .info-text {
  font-size: 18px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 35px;
}

/*********** FOOTER ***********/
footer {
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  color: #444;
  margin-top: 50px;
}

footer a {
  color: #818181;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/*************************** Nowoczesne tło - Gradient Mesh & Particles *********************************/
.parallax {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  background: #0a0a0f;
}

/* Animated gradient blobs - płynne, organiczne kształty */
.parallax::before,
.parallax::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  animation: blobMove 25s ease-in-out infinite;
  will-change: transform;
}

.parallax::before {
  width: 700px;
  height: 700px;
  background: radial-gradient(
    circle,
    rgba(0, 255, 136, 0.5) 0%,
    transparent 70%
  );
  top: -300px;
  left: -300px;
  animation-delay: 0s;
}

.parallax::after {
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(0, 150, 255, 0.5) 0%,
    transparent 70%
  );
  bottom: -200px;
  right: -200px;
  animation-delay: -12s;
}

@keyframes blobMove {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(50px, -80px) scale(1.15);
  }
  66% {
    transform: translate(-40px, 40px) scale(0.85);
  }
}

/* Kontener dla cząstek i kształtów */
.stars {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Grid pattern - subtelna animowana siatka */
.stars::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.4;
  animation: gridMove 30s linear infinite;
  pointer-events: none;
}

@keyframes gridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(60px, 60px);
  }
}

/* Particles - nowoczesne cząsteczki z efektem świecenia */
.particle {
  position: absolute;
  border-radius: 50%;
  animation: particleFloat 10s ease-in-out infinite;
  will-change: transform, opacity;
}

.particle.small {
  width: 2px;
  height: 2px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 4px rgba(255, 255, 255, 0.5);
}

.particle.medium {
  width: 4px;
  height: 4px;
  background: rgba(0, 255, 136, 0.8);
  box-shadow: 0 0 8px rgba(0, 255, 136, 0.6), 0 0 16px rgba(0, 255, 136, 0.3);
}

.particle.large {
  width: 6px;
  height: 6px;
  background: rgba(0, 150, 255, 0.9);
  box-shadow: 0 0 12px rgba(0, 150, 255, 0.8), 0 0 24px rgba(0, 150, 255, 0.4);
}

@keyframes particleFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.4;
  }
  50% {
    transform: translate(40px, -60px) scale(1.3);
    opacity: 1;
  }
}

/* Floating geometric shapes - minimalistyczne kształty */
.shape {
  position: absolute;
  opacity: 0.08;
  animation: float 20s ease-in-out infinite;
  will-change: transform;
}

.shape.circle {
  border-radius: 50%;
  border: 2px solid rgba(0, 255, 136, 0.4);
  background: transparent;
}

.shape.triangle {
  width: 0;
  height: 0;
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
  border-bottom: 45px solid rgba(0, 150, 255, 0.4);
  background: none;
}

.shape.square {
  border: 2px solid rgba(138, 43, 226, 0.4);
  background: transparent;
  transform: rotate(45deg);
}

.shape.hexagon {
  width: 40px;
  height: 40px;
  background: transparent;
  border: 2px solid rgba(0, 255, 136, 0.3);
  clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(30px, -40px) rotate(90deg);
  }
  50% {
    transform: translate(-30px, 30px) rotate(180deg);
  }
  75% {
    transform: translate(40px, 20px) rotate(270deg);
  }
}

/* Connection lines - subtelne linie łączące cząstki */
.connection {
  position: absolute;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 255, 136, 0.15),
    transparent
  );
  transform-origin: left center;
  animation: connectionPulse 5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes connectionPulse {
  0%,
  100% {
    opacity: 0.05;
  }
  50% {
    opacity: 0.3;
  }
}

/*********** STYLIZACJA SCROLLBAR'A ***********/
::-webkit-scrollbar {
  width: 5px;
  height: 1px;
}

::-webkit-scrollbar-thumb {
  background: #ffffff12;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #898989;
}

::-webkit-scrollbar-track {
  background: #0a0d11;
}

/*********** DOSTOSOWANIE POD WERSJE MOBILNE ***********/
@media (max-width: 480px) {
  .info-box {
    width: 350px;
  }
}
@media (max-width: 420px) {
  .info-box {
    width: 300px;
  }
}
@media (max-width: 360px) {
  .info-box {
    width: 280px;
  }
}
@media (max-width: 340px) {
  .info-box {
    width: 200px;
  }
}
