* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: white;
  background:
    linear-gradient(rgba(8, 10, 20, 0.8), rgba(8, 10, 20, 0.9)),
    url('background.png') no-repeat center center fixed;
  background-size: cover;
}

/* TOPBAR */
.topbar {
  position: sticky;
  top: 0;
  background: rgba(10, 12, 25, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  z-index: 100;
}

.topbar-inner {
  max-width: 1200px;
  margin: auto;
  padding: 14px 20px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
}

.logo-icon {
  width: 92px;
  height: 92px;
}

.server-ip {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
}

.ip-label {
  font-size: 12px;
  color: #aaa;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ip-box {
  display: inline-block;
  padding: 10px 20px;
  margin-top: 5px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 18px;
  font-weight: bold;
  color: #00ffd0;
  cursor: pointer;
  transition: 0.25s;
}

.ip-box:hover {
  background: rgba(0, 255, 208, 0.1);
  box-shadow: 0 0 15px rgba(0, 255, 208, 0.4);
}

.ip-hint {
  font-size: 12px;
  color: #888;
  margin-top: 4px;
}

.server-status {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 14px;
  border-radius: 12px;
  font-size: 14px;
  white-space: nowrap;
  margin-left: auto;
  text-align: right;
}

.status-label {
  color: #aaa;
}

.status-value {
  display: inline-block;
  background: #111827;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  color: #ffaa00;
  text-shadow: 0 0 5px #ffaa00;
}

/* HERO */
.hero {
  max-width: 1200px;
  margin: 60px auto;
  padding: 20px;
  display: grid;
  grid-template-columns: 1.5fr 0.9fr;
  gap: 28px;
  align-items: stretch;
}

.hero-box,
.info-card {
  background: rgba(10, 12, 25, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 26px;
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
}

.hero-box {
  padding: 40px;
}

.badge {
  display: inline-block;
  background: linear-gradient(90deg, #ff9800, #ffb347);
  color: #111;
  font-weight: 700;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.hero-box h1 {
  margin: 0 0 22px;
  font-size: 42px;
  line-height: 1.15;
  color: #ffffff;
}

.hero-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}

.hero-list li {
  margin-bottom: 12px;
  color: #e7ebff;
  font-size: 17px;
  line-height: 1.6;
}

.hero-end {
  margin: 0;
  color: #ffd38a;
  font-size: 18px;
  line-height: 1.7;
  font-weight: 600;
}

.hero-side {
  display: flex;
}

.info-card {
  padding: 28px;
  width: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

/* DISCORD */
.discord-card:hover {
  transform: translateY(-4px);
  border-color: rgba(88, 101, 242, 0.45);
  box-shadow: 0 24px 60px rgba(88, 101, 242, 0.16);
}

.discord-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
}

.discord-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.discord-text {
  margin: 0 0 16px;
  color: #d8defc;
  font-size: 16px;
  line-height: 1.8;
}

.discord-subtext {
  margin: 0 0 20px;
  color: #ffffff;
  font-size: 15px;
  line-height: 1.7;
  font-weight: 600;
}

.discord-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  border-radius: 14px;
  background: linear-gradient(45deg, #5865F2, #7289DA);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 0 18px rgba(88, 101, 242, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.discord-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(88, 101, 242, 0.58);
}

/* SHOP */
.shop-section {
  padding: 40px 20px 60px;
}

.shop-panel {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px;
  background: rgba(10, 12, 25, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.3);
}

.shop-header {
  text-align: center;
  margin-bottom: 28px;
}

.shop-header h2 {
  margin: 0 0 10px;
  font-size: 40px;
}

.shop-header p {
  margin: 0;
  color: #cfd6ff;
}

.nick-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.nick-box {
  width: 100%;
  max-width: 700px;
  text-align: center;
}

.nick-box label {
  display: block;
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: bold;
}

.nick-box input {
  width: 100%;
  padding: 15px;
  border-radius: 14px;
  border: none;
  background: #fff;
  color: #111;
  text-align: center;
  font-size: 16px;
  transition: 0.2s;
}

.nick-box input:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(255, 179, 71, 0.2);
}

.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

/* KARTY */
.card {
  width: 100%;
  min-height: 420px;
  padding: 22px 18px;
  border-radius: 22px;
  text-align: center;
  cursor: pointer;
  background: #1e1e2f;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.card:hover {
  transform: translateY(-6px);
}

.card img {
  width: 95px;
  height: 95px;
  object-fit: contain;
  max-width: 100%;
  margin: 0 auto 12px;
}

.unban-icon {
  width: 95px;
  height: 95px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(255, 80, 80, 0.15), transparent 70%);
  border-radius: 16px;
}

.unban-icon svg {
  width: 62px;
  height: 62px;
}

.card h2 {
  margin: 8px 0;
  font-size: 24px;
}

.card p {
  margin: 0 0 10px;
  color: #ccc;
  font-size: 15px;
}

.price {
  margin-top: auto;
  font-size: 24px;
  font-weight: bold;
}

/* KOLORY */
.vip {
  border: 2px solid gold;
}

.svip {
  border: 2px solid cyan;
}

.klucz {
  border: 2px solid magenta;
}

.unban {
  border: 2px solid red;
}

/* OPISY RANG */
.opis {
  list-style: none;
  padding: 0;
  margin: 15px 0;
  text-align: left;
}

.opis li {
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 6px;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 14px;
  transition: 0.2s;
}

.opis li:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(3px);
}

.opis li {
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 6px;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 14px;
  transition: 0.2s;
}

.opis li:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(3px);
}

/* TEKSTY SPECJALNE */
.vip-text {
  color: #ffd700;
  font-weight: bold;
  text-shadow: 0 0 5px #ffd700, 0 0 10px #ffcc00;
}

.svip-text {
  color: #ff8c00;
  font-weight: bold;
  text-shadow: 0 0 5px #ff8c00, 0 0 10px #ff6a00;
}

.case-text {
  font-size: 14px;
  color: #bbb;
  margin-bottom: 10px;
}

.case-text span {
  color: #a855f7;
  font-weight: bold;
  text-shadow: 0 0 5px #a855f7, 0 0 10px #7e22ce;
}

.unban-text {
  font-size: 14px;
  color: #bbb;
}

.unban-text span {
  color: #ff4d4d;
  font-weight: bold;
  text-shadow: 0 0 5px #ff4d4d, 0 0 10px #ff0000;
}

/* ILOŚĆ KLUCZY */
.quantity-box {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.quantity-box label {
  font-size: 16px;
  font-weight: bold;
  color: #fff;
}

.quantity-box input {
  width: 100px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: white;
  text-align: center;
  font-size: 16px;
}

.quantity-box input:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 0, 255, 0.15);
}

.card button {
  margin-top: 16px;
  padding: 12px 22px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(45deg, #5865F2, #7289DA);
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.25s;
}

.card button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(88, 101, 242, 0.45);
}

/* RULES */
.rules {
  max-width: 1250px;
  margin: 0 auto 60px;
  padding: 0 14px;
}

.rules-box {
  background: rgba(8, 10, 20, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 30px;
  backdrop-filter: blur(10px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
}

.rules-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.rules-header h2 {
  margin: 0;
  font-size: 38px;
  color: #fff;
}

.rules-icon {
  font-size: 30px;
}

.rules-intro {
  margin: 0 0 24px;
  color: #d7defe;
  font-size: 17px;
  line-height: 1.75;
  max-width: 950px;
}

.rules-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
}

.rules-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 18px;
  padding: 16px 18px;
  line-height: 1.7;
  color: #edf1ff;
}

.rule-number {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #111;
  background: linear-gradient(135deg, #ffb347, #ffd36a);
  box-shadow: 0 0 14px rgba(255, 179, 71, 0.18);
}

.rule-text strong {
  color: #ffcf87;
}

.rules-note {
  margin-top: 22px;
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 179, 71, 0.08);
  border: 1px solid rgba(255, 179, 71, 0.18);
  color: #ffe4b3;
  line-height: 1.7;
  font-size: 15px;
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-box h1 {
    font-size: 34px;
  }
}

@media (max-width: 900px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .topbar-inner {
    max-width: 1200px;
    margin: auto;
    padding: 14px 20px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .logo {
    justify-content: center;
  }

  .rules-box {
    padding: 22px;
  }

  .rules-header h2 {
    font-size: 29px;
  }

  .rules-intro {
    font-size: 15px;
  }

  .rules-list li {
    padding: 14px;
  }

  .rule-number {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .card h2 {
    font-size: 26px;
  }

  .card p {
    font-size: 15px;
  }

  .price {
    font-size: 21px;
  }
}

@media (max-width: 640px) {
  .hero {
    margin: 35px auto;
    padding: 14px;
  }

  .hero-box,
  .info-card {
    padding: 22px;
  }

  .hero-box h1 {
    font-size: 28px;
  }

  .hero-list li,
  .discord-text {
    font-size: 15px;
  }

  .hero-end,
  .discord-subtext {
    font-size: 14px;
  }

  .discord-title {
    font-size: 21px;
  }

  .shop-header h2 {
    font-size: 30px;
  }

  .shop-panel {
    padding: 20px;
  }

  .card {
    padding: 22px 18px;
  }

  .card img,
  .unban-icon {
    width: 80px;
    height: 80px;
  }

  .unban-icon svg {
    width: 52px;
    height: 52px;
  }

  .quantity-box {
    flex-direction: column;
    gap: 8px;
  }

  .quantity-box input {
    width: 100%;
    max-width: 140px;
  }
}

@media (max-width: 500px) {
  .grid {
    grid-template-columns: 1fr;
  }
}
.opis-collapsed {
  max-height: 150px;
  overflow: hidden;
}

.toggle-opis {
  width: 100%;
  margin: 14px 0 10px;
  background: none;
  border: none;
  color: #888;
  font-size: 13px;
  cursor: pointer;
  position: relative;
  text-align: center;
  padding: 6px 0;
  transition: 0.2s;
}

.toggle-opis::before,
.toggle-opis::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 35%;
  height: 1px;
  background: rgba(255,255,255,0.15);
}

.toggle-opis::before {
  left: 0;
}

.toggle-opis::after {
  right: 0;
}

.toggle-opis span {
  background: #1e1e2f;
  padding: 0 10px;
  position: relative;
  z-index: 1;
}

.toggle-opis:hover {
  color: #ccc;
}

.toggle-arrow {
  display: inline-block;
  margin-right: 6px;
  transition: transform 0.2s ease;
}

.toggle-opis.active .toggle-arrow {
  transform: rotate(180deg);
}
.card .toggle-opis {
  all: unset;
  width: 100%;
  margin: 14px 0 10px;
  color: #888;
  font-size: 13px;
  cursor: pointer;
  position: relative;
  text-align: center;
  padding: 6px 0;
  display: block;
}

.card .toggle-opis::before,
.card .toggle-opis::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 35%;
  height: 1px;
  background: rgba(255,255,255,0.15);
}

.card .toggle-opis::before {
  left: 0;
}

.card .toggle-opis::after {
  right: 0;
}

.card .toggle-opis span {
  background: #1e1e2f;
  padding: 0 10px;
  position: relative;
  z-index: 1;
}

.card .toggle-opis:hover {
  color: #ccc;
}

.toggle-arrow {
  display: inline-block;
  margin-right: 6px;
  transition: transform 0.2s ease;
}

.toggle-opis.active .toggle-arrow {
  transform: rotate(180deg);
}
.rainbow-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top right, rgba(214, 100, 255, 0.18), transparent 30%),
    radial-gradient(circle at top left, rgba(255, 102, 102, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(30, 30, 30, 0.98), rgba(12, 12, 12, 0.98));
}

.rainbow-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, #ff6b6b, #ffd166, #63e68d, #66d9ff, #c77dff);
  color: #fff;
  box-shadow: 0 10px 24px rgba(199, 125, 255, 0.28);
}

.rainbow-preview {
  display: flex;
  justify-content: center;
  gap: 2px;
  margin: 12px 0 16px;
  padding: 18px 16px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.03em;
  flex-wrap: wrap;
}

.rainbow-preview span:nth-child(7n+1) { color: #ff6b6b; }
.rainbow-preview span:nth-child(7n+2) { color: #ffb84d; }
.rainbow-preview span:nth-child(7n+3) { color: #ffe066; }
.rainbow-preview span:nth-child(7n+4) { color: #63e68d; }
.rainbow-preview span:nth-child(7n+5) { color: #66d9ff; }
.rainbow-preview span:nth-child(7n+6) { color: #7a8cff; }
.rainbow-preview span:nth-child(7n)   { color: #d96bff; }

.rainbow-text span {
  color: #ffd76a;
  font-weight: 700;
}

.rainbow-opis {
  margin-top: 14px;
}

.nick-form-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 14px 0 18px;
  text-align: left;
}

.nick-form-box label {
  font-size: 13px;
  font-weight: 700;
  color: #f4f0e6;
}

.nick-form-box input {
  width: 100%;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(8, 8, 8, 0.32);
  color: #fff;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.nick-form-box input:focus {
  border-color: rgba(255, 211, 105, 0.9);
  box-shadow: 0 0 0 4px rgba(255, 211, 105, 0.14);
  transform: translateY(-1px);
}

.nick-form-hint {
  font-size: 12px;
  color: rgba(255,255,255,0.66);
}

@media (max-width: 768px) {
  .rainbow-preview {
    font-size: 22px;
    padding: 14px 12px;
  }
}