/* FONTS / RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

/* SERVER INFO – styl jak na screenie */
.server-info-card {
  margin: 60px auto;
  padding: 20px 20px;
  width: 85%;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 120px;
}

/* LEWA KAPSUŁA – IP */
.server-left {
  text-align: center;
}

.server-host {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #ffffff;
  opacity: 0.8;
}

.copy-btn {
  margin-top: 6px;
  padding: 10px 28px;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-weight: 900;
  font-size: 16px;
  cursor: pointer;
  transition: 0.25s;
}

.copy-btn:hover {
  transform: scale(1.07);
  background: rgba(255, 255, 255, 0.12);
}

/* PRAWA KAPSUŁA – ONLINE */
.server-right {
  text-align: center;
}

.online-text {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  opacity: 0.8;
}

.players {
  margin-top: 6px;
  padding: 10px 28px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  font-size: 22px;
  font-weight: 900;
  color: #ffffff;
  transition: 0.25s;
}

.status-dot {
  display: static;
  width: 8px;
  height: 8px;
  background-color: red;
  border-radius: 50%;
  position: relative;
  top: 18px;
  left: -41px;
}

body {
  background: #0b0a0f;
  color: #fff;
}

/* TASKBAR */
.taskbar {
  width: 100%;
  padding: 15px 40px;
  background: #0f0d15;
  border-bottom: 1px solid rgba(255,0,255,0.2);
  display: flex;
  justify-content: center;        /* MENU NA ŚRODKU */
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 50;
  gap: 40px;                      /* odstęp między ikoną a menu */
  padding-left: 60px;             /* żeby nie dotykało ekranu */
}

.server-logo {
  width: 100px;
  height: 100px;
  cursor: pointer;
  transition: 0.25s;
  position: absolute;
  left: 25px;
}

.server-logo:hover {
  transform: scale(1.08);
}

/* UKRYCIE NAPISU orecraft.pl ALE NIE USUWAMY */
.brand {
  font-size: 26px;
  font-weight: 800;
  color: #d36bff;
  visibility: hidden;             /* NIE widać, ale istnieje */
  position: absolute;
}

/* MENU ŚRODKOWE */
.menu {
  display: flex;
  gap: 30px;
  list-style: none;
}

.menu-item {
  cursor: pointer;
  font-weight: 500;
  transition: 0.2s;
}

.menu-item:hover,
.menu-item.active {
  color: #ff57d1;
  transform: scale(1.07);
}

/* POWIADOMIENIE */
.notice {
  position: fixed;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: #16c96a;
  padding: 18px 32px;
  border-radius: 12px;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  transition: 0.45s cubic-bezier(.25,.8,.25,1);
  z-index: 999;
}
.notice.visible {
  top: 20px;
}

/* MODES */
.modes {
  margin-top: 50px;
  text-align: center;
}

.modes-title {
  font-size: 36px;
  margin-bottom: 40px;
  font-weight: 800;
  color: #d36bff;
}

.modes-grid {
  display: flex;
  justify-content: center;
}

.mode-card {
  background: #16121f;
  border: 1px solid rgba(255,0,255,0.20);
  border-radius: 18px;
  width: 240px;
  padding: 30px 20px;
  text-align: center;
  cursor: pointer;
  transition: 0.25s ease;
}

.mode-card:hover {
  transform: scale(1.07);
  box-shadow: 0 0 25px #d36bff80;
}

.mode-image-wrapper {
  width: 110px;
  height: 110px;
  margin: 12px auto;
}

.mode-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.choose-btn {
  margin-top: 18px;
  padding: 10px 28px;
  border: none;
  background: #ff4fd1;
  border-radius: 12px;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  transition: 0.25s;
}

.choose-btn:hover {
  transform: scale(1.1);
  background: #ff74df;
}

.footer {
    margin: 40px 0 20px;
    opacity: 0.5;
    text-align: center;
}

/* ===============================
   UNIFIED SERVER INFO RECTANGLE
   =============================== */

.unified-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 0, 255, 0.15);
  padding: 35px 45px;
  border-radius: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 120px;
}

/* Wyrównanie obu stron */
.server-left,
.server-right {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* FIX: status w jednej linii */
.server-right {
  gap: 8px;
}

.status-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Kropka status */
#status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

#status-dot.online {
  background-color: #16c96a;
}

#status-dot.offline {
  background-color: red;
}

/* MAKS WYRÓWNANIE DLA MOBILE */
@media (max-width: 650px) {
  .unified-box {
    flex-direction: column;
    gap: 30px;
    padding: 28px 24px;
  }
}

/* ===========================
    TASKBAR MOBILE FIX 900px
   =========================== */

@media (max-width: 900px) {
  .server-logo {
    width: 42px;
    height: 42px;
  }

  .menu {
    gap: 22px;
  }

  .menu-item {
    font-size: 15px;
  }
}

/* ===========================
    TASKBAR MOBILE FIX 650px
   =========================== */

@media (max-width: 650px) {
  .taskbar {
    flex-direction: column;
    gap: 10px;
    padding: 12px 0;
  }

  .taskbar-left {
    justify-content: center;
  }

  .server-logo {
    width: 38px;
    height: 38px;
  }

  .menu {
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .menu-item {
    font-size: 14px;
  }
}

/* ===========================
    TASKBAR MOBILE FIX 430px
   =========================== */

@media (max-width: 430px) {
  .server-logo {
    width: 34px;
    height: 34px;
  }

  .menu-item {
    font-size: 13px;
  }
}

/* ===========================
      SERVER INFO SECTION
   =========================== */

.server-info-card {
  margin: 60px auto;
  padding: 20px 20px;
  width: 85%;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 120px;
}

.server-left {
  text-align: center;
}

.server-host {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #ffffff;
  opacity: 0.8;
}

.copy-btn {
  margin-top: 6px;
  padding: 10px 28px;
  border: none;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-weight: 900;
  font-size: 16px;
  cursor: pointer;
  transition: 0.25s;
}

.copy-btn:hover {
  transform: scale(1.07);
  background: rgba(255, 255, 255, 0.12);
}

.server-right {
  text-align: center;
}

.online-text {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  opacity: 0.8;
}

.players {
  margin-top: 6px;
  padding: 10px 28px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  font-size: 22px;
  font-weight: 900;
  color: #ffffff;
  transition: 0.25s;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: red;
  border-radius: 50%;
  position: relative;
  top: 18px;
  left: -41px;
}

@media (max-width: 900px) {
  .server-info-card {
    gap: 60px;
    margin-top: 40px;
  }

  .players {
    font-size: 18px;
    padding: 8px 22px;
  }

  .status-dot {
    top: 16px;
    left: -32px;
  }
}

@media (max-width: 650px) {
  .server-info-card {
    flex-direction: column;
    gap: 35px;
    margin-top: 25px;
  }

  .players {
    font-size: 17px;
    padding: 8px 18px;
  }

  .status-dot {
    top: 17px;
    left: -39px;
  }
}

@media (max-width: 430px) {
  .server-info-card {
    margin-top: 20px;
  }

  .players {
    font-size: 16px;
  }
}

/* ===========================
      POWIADOMIENIE
   =========================== */

.notice {
  position: fixed;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: #16c96a;
  padding: 18px 32px;
  border-radius: 12px;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
  transition: 0.45s cubic-bezier(.25,.8,.25,1);
  z-index: 9999;
}

.notice.visible {
  top: 20px;
}

/* ===========================
         MODES SECTION
   =========================== */

.modes {
  margin-top: 50px;
  text-align: center;
}

.modes-title {
  font-size: 36px;
  margin-bottom: 40px;
  font-weight: 800;
  color: #d36bff;
}

.modes-grid {
  display: flex;
  justify-content: center;
}

.mode-card {
  background: #16121f;
  border: 1px solid rgba(255,0,255,0.20);
  border-radius: 18px;
  width: 240px;
  padding: 30px 20px;
  text-align: center;
  cursor: pointer;
  transition: 0.25s ease;
}

.mode-card:hover {
  transform: scale(1.07);
  box-shadow: 0 0 25px #d36bff80;
}

.mode-image-wrapper {
  width: 110px;
  height: 110px;
  margin: 12px auto;
}

.mode-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.choose-btn {
  margin-top: 18px;
  padding: 10px 28px;
  border: none;
  background: #ff4fd1;
  border-radius: 12px;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  transition: 0.25s;
}

.choose-btn:hover {
  transform: scale(1.1);
  background: #ff74df;
}

.footer {
  margin: 60px 0;
  opacity: 0.5;
}

@media (max-width: 900px) {
  .mode-card {
    width: 220px;
    padding: 24px 18px;
  }

  .mode-image-wrapper {
    width: 100px;
    height: 100px;
  }

  .modes-title {
    font-size: 30px;
  }
}

@media (max-width: 650px) {
  .mode-card {
    width: 85%;
  }

  .modes-title {
    font-size: 26px;
  }
}

@media (max-width: 430px) {
  .mode-card {
    padding: 22px 16px;
  }

  .choose-btn {
    padding: 10px 24px;
  }
}

.pay-option:not([data-name="PRZELEW / BLIK"]) {
  opacity: 0.4;
  pointer-events: none;
}