/* ===== RESET ===== */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  font-family: Arial, sans-serif;
  color: white;
  text-align: center;
  overflow-x: hidden;
}

/* ===== ⭐ TŁO GWIAZD CSS – WERSJA A ===== */
body {
  background: black;
  overflow: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  top: 0; left: 0;
  width: 200%;
  height: 200%;
  background-image:
    radial-gradient(2px 2px at 20% 30%, white 80%, transparent),
    radial-gradient(1.5px 1.5px at 70% 80%, white 80%, transparent),
    radial-gradient(1px 1px at 40% 60%, white 80%, transparent),
    radial-gradient(2px 2px at 90% 20%, white 80%, transparent),
    radial-gradient(1.5px 1.5px at 10% 90%, white 80%, transparent);
  background-size: 400px 400px;
  animation: starMove 80s linear infinite;
  opacity: 0.55;
}

body::after {
  animation-duration: 140s;
  opacity: 0.35;
}

@keyframes starMove {
  from { transform: translate3d(0,0,0); }
  to   { transform: translate3d(-600px, -600px, 0); }
}

/* ===== ANIMACJA WEJŚCIA ===== */
.fade-slide {
  opacity: 0;
  transform: translateY(-50px);
  animation: fadeSlideIn 0.8s forwards;
}
@keyframes fadeSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== GŁÓWNE ELEMENTY ===== */
#main-site, #pykmc {
  position: relative;
  width: 100%;
  height: 100vh;
}

canvas {
  display: none; /* już nie używane */
}

.content-wrapper {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.neon-blue {
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: 64px;
  font-weight: bold;
  color: #00f0ff;
  text-shadow: 0 0 10px #00f0ff;
}

.neon-pink {
  font-family: 'Arial Black', Arial, sans-serif;
  font-size: 28px;
  font-weight: bold;
  margin-top: 10px;
  color: #FF69B4;
  text-shadow: 0 0 10px #FF69B4;
}

/* ===== SERWERY ===== */
.servers {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 80px;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 800px;
}

.server {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.server-name {
  font-family: 'Minecraftia', monospace;
  font-size: 4vw;
  font-weight: bold;
}

.white { color: #FFFFFF; text-shadow: 0 0 15px #FFF; }
.yellow { color: #FFFF00; text-shadow: 0 0 15px #FFFF00; }
.pink { color: #FF69B4; text-shadow: 0 0 15px #FF69B4; }

/* ===== PRZYCISKI ===== */
.pykmc-box {
  position: relative;
  background-color: #111;
  border: 2px solid white;
  border-radius: 8px;
  padding: 20px 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.3s ease;
  margin-top: 20px;
  overflow: hidden;
  font-size: 3vw;
}

.pykmc-box span {
  font-family: 'Minecraftia', monospace;
  font-weight: bold;
  transition: transform 0.3s ease;
  line-height: 1;
  z-index: 2;
  position: relative;
}

.pykmc-box:hover {
  transform: scale(1.05);
}
.pykmc-box:hover span {
  transform: translateY(-5px);
}

.pykmc-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.4s ease;
  background:
    radial-gradient(circle at left, #FF69B4, transparent 70%),
    radial-gradient(circle at right, #FFFF00, transparent 70%);
}

.pykmc-btn:hover::after {
  opacity: 1;
}

/* ===== INFO BOXY ===== */
.bottom-buttons {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.info-box {
  background-color: #111;
  border: 2px solid white;
  border-radius: 8px;
  padding: 12px 18px;
  width: 200px;
  height: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #888;
  font-family: 'Arial Black', Arial, sans-serif;
  box-shadow: 0 0 15px #ffffff20;
  transition: 0.3s;
}

.info-box:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px #ffffff40;
}

.info-box .main-text {
  font-size: 16px;
  color: #fff;
  font-weight: bold;
}

.info-box .sub-text {
  font-size: 12px;
  color: #aaa;
}

/* ===== KOSZYK ===== */
.cart-icon {
  position: fixed;
  top: 20px;
  right: 25px;
  z-index: 999;
  background-color: #111;
  border: 2px solid white;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}

.cart-icon:hover { transform: scale(1.1); }

.cart-icon img {
  width: 30px;
  height: 30px;
}

.cart-count {
  position: absolute;
  bottom: 2px;
  right: 5px;
  background-color: red;
  color: white;
  font-weight: bold;
  border-radius: 50%;
  font-size: 14px;
  padding: 2px 6px;
}

/* ===== KOSZYK STRONA ===== */
.cart-container {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.cart-item {
  background-color: #111;
  border: 2px solid #fff;
  border-radius: 8px;
  padding: 15px 25px;
  width: 300px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.remove-btn {
  background-color: red;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 6px 10px;
  cursor: pointer;
}
.remove-btn:hover {
  background-color: #ff4d4d;
}
