/* ================= RESET ================= */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background:
        radial-gradient(ellipse at center, #1a1f18 0%, #0b0e0a 0%);
    color: #e6e2c8;
}
/* ===================================================== */

.nick-generator-wrap {
    min-height: calc(100vh - 120px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.nick-generator-card {
    width: 100%;
    max-width: 460px;
    background: linear-gradient(
        180deg,
        rgba(18, 22, 16, 0.95),
        rgba(10, 12, 8, 0.95)
    );
    border: 1px solid rgba(245,215,110,.35);
    border-radius: 18px;
    padding: 34px 36px;
    text-align: center;
    box-shadow:
        0 0 0 1px rgba(245,215,110,.15),
        0 0 40px rgba(0,0,0,.6),
        inset 0 0 25px rgba(245,215,110,.04);
}

.nick-generator-card h1 {
    margin: 0 0 10px;
    font-size: 30px;
    color: #f5d76e;
    text-shadow: 0 0 12px rgba(245,215,110,.4);
}

.nick-generator-card p {
    margin-bottom: 22px;
    font-size: 14px;
    opacity: .75;
}

.nick-generator-card input {
    width: 100%;
    padding: 14px 16px;
    background: #0b0e09;
    border: 1px solid rgba(245,215,110,.35);
    border-radius: 12px;
    color: #e6e6e6;
    font-size: 16px;
    outline: none;
}

.nick-generator-card input::placeholder {
    color: #777;
}

.nick-generator-card input:focus {
    border-color: #f5d76e;
    box-shadow:
        0 0 0 2px rgba(245,215,110,.25),
        0 0 14px rgba(245,215,110,.25);
}

.btn-generate {
    width: 100%;
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 800;
    background: linear-gradient(135deg, #ffe28a, #f5c542);
    color: #2b2400;
    border: none;
    cursor: pointer;
    box-shadow:
        0 8px 20px rgba(255,215,100,.35),
        inset 0 1px 0 rgba(255,255,255,.6);
    transition: all .2s ease;
}

.btn-generate:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow:
        0 14px 28px rgba(255,215,100,.55);
}

.nick-preview {
    margin-top: 26px;
}

.nick-preview img {
    width: 100%;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 12px 30px rgba(0,0,0,.6);
}

.btn-download {
    display: inline-block;
    margin-top: 16px;
    padding: 12px 26px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    background: linear-gradient(135deg, #f5d76e, #d4af37);
    color: #000;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(245,215,110,.45);
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(245,215,110,.6);
}
/* ====== WYŚLIJ NA DISCORD ====== */
.btn.ghost {
  padding: 8px 14px;
  font-size: 13px;
  background: linear-gradient(180deg, #f5d76e, #d4af37);
  color: #000;
  border: 1px solid rgba(230, 200, 95, 0.35);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.04);
}

/* hover – delikatny glow */
.btn.ghost:hover {
  background: linear-gradient(180deg, #f5d76e, #d4af37);
  color: #000;
  border-color: rgba(230, 200, 95, 0.75);
  box-shadow:
    0 0 10px rgba(230, 200, 95, 0.25),
    inset 0 1px 0 rgba(255,255,255,0.06);
  transform: translateY(-1px);
}
/* RANKING */
.ranking-days {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 22px;
}

.date-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 14px;
  min-width: 64px;
  border-radius: 14px;
  background: linear-gradient(145deg, #151515, #0c0c0c);
  border: 1px solid rgba(255,255,255,0.08);
  color: #ccc;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(0,0,0,0.6);
  transition: all 0.25s ease;
}

.date-btn .day {
  font-size: 13px;
  font-weight: 700;
  opacity: 0.85;
}

.date-btn .date {
  font-size: 15px;
  font-weight: 800;
  color: #eee;
}

.date-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(255,215,0,0.25);
  border-color: rgba(255,215,0,0.5);
}

.date-btn.active {
  background: linear-gradient(135deg, #ffd700, #ffb700);
  color: #000;
  border-color: #ffd700;
  box-shadow: 0 0 18px rgba(255,215,0,0.7);
}

.date-btn.active .day,
.date-btn.active .date {
  color: #000;
}
.all-btn {
  background: linear-gradient(145deg, #0f1a24, #0a121a);
}

.all-btn.active {
  background: linear-gradient(135deg, #4fc3f7, #0288d1);
  box-shadow: 0 0 18px rgba(79,195,247,0.7);
}

/* klik */
.btn.ghost:active {
  transform: translateY(0);
  background: linear-gradient(180deg, #f5d76e, #d4af37);
  color: #000;
  box-shadow:
    inset 0 3px 6px rgba(0,0,0,0.5);
}

/* disabled */
.btn.ghost:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}
.btn.ghost.loading {
  pointer-events: none;
  opacity: 0.75;
}

.btn.ghost.loading::after {
  content: "⏳";
  margin-left: 6px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ===============================
   DONATIONS PAGE
================================ */

.donations-page {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

.donation-card {
  max-width: 680px;
  width: 100%;
  background: linear-gradient(
    180deg,
    rgba(18, 22, 16, 0.95),
    rgba(10, 12, 8, 0.95)
  );
  border: 1px solid rgba(255, 215, 100, 0.35);
  border-radius: 18px;
  padding: 36px 42px;
  color: #f1f1f1;
  text-align: center;
  box-shadow:
    0 0 0 1px rgba(255, 215, 100, 0.15),
    0 0 40px rgba(255, 215, 100, 0.12),
    inset 0 0 25px rgba(255, 215, 100, 0.04);
  backdrop-filter: blur(6px);
}

/* HEADER */

.donation-card h1 {
  font-size: 2rem;
  margin-bottom: 14px;
  color: #ffd666;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.donation-intro {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #dcdcdc;
  margin-bottom: 26px;
}

/* SECTIONS */

.donation-card hr {
  border: none;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 215, 100, 0.6),
    transparent
  );
  margin: 26px 0;
}

.donation-card h3 {
  color: #ffd666;
  margin-bottom: 14px;
}

/* LIST */

.donation-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 420px;
  text-align: left;
}

.donation-list li {
  display: flex;
  gap: 10px;
  padding: 6px 0;
  font-size: 0.95rem;
}

/* WARNING */

.donation-warning {
  background: linear-gradient(
    180deg,
    rgba(255, 200, 50, 0.15),
    rgba(255, 180, 20, 0.08)
  );
  border: 1px solid rgba(255, 215, 100, 0.45);
  border-radius: 14px;
  padding: 18px 20px;
  font-size: 0.9rem;
  color: #fff3c4;
  box-shadow: inset 0 0 12px rgba(255, 215, 100, 0.2);
}

/* CTA */

.donation-cta {
  margin-top: 30px;
}

.donation-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.15rem;
  padding: 14px 34px;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    #ffe28a,
    #f5c542
  );
  color: #2b2400;
  font-weight: 700;
  text-decoration: none;
  box-shadow:
    0 8px 20px rgba(255, 215, 100, 0.4),
    inset 0 1px 0 rgba(255,255,255,0.6);
  transition: all 0.25s ease;
}

.donation-cta .btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow:
    0 14px 28px rgba(255, 215, 100, 0.55);
}

/* FOOTER */

.donation-thanks {
  margin-top: 26px;
  font-size: 0.95rem;
  color: #ffd666;
}

/* MOBILE */

@media (max-width: 600px) {
  .donation-card {
    padding: 28px 22px;
  }

  .donation-card h1 {
    font-size: 1.6rem;
  }
}


/* ================= TOP MENU ================= */
/* ================= TOP MENU ================= */
.top-menu {
    height: 96px;
    width: 100%;
    position: relative;

    /* 🔥 GRAFIKA + GRADIENT POD SPODEM */
    background:
        url("/images/top-menu-gold.png") top center / 100% 96px no-repeat,
        linear-gradient(
            to bottom,
            #0d110c 0%,
            #1b2018 45%,
            #0d110c 100%
        );

    border-bottom: 2px solid #bfa24a;
    box-shadow:
        inset 0 -12px 30px rgba(0,0,0,.7),
        0 8px 24px rgba(0,0,0,.6);
}


.menu-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* złota linia przy górze menu */
.top-menu::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;                 /* ← RÓWNO Z GÓRĄ */
    height: 2px;
    background: linear-gradient(
        to right,
        transparent,
        #c9a44a,
        transparent
    );
}


/* ================= MENU LINKI ================= */
.menu-links {
    list-style: none;
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 0;
}

.menu-links a {
    position: relative;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffb648;
    text-decoration: none;
}

.menu-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    background: #ffb648;
    transition: width .25s ease;
}

.menu-links a:hover,
.menu-links a.active {
    color: #ffd36a;
}

.menu-links a:hover::after,
.menu-links a.active::after {
    width: 100%;
}

/* ================= APP ================= */
.app {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

/* ================= HERO ================= */
.section-title {
    text-align: center;
    font-size: 34px;
    letter-spacing: 1px;
    margin: 30px 0 10px;
    color: #f5e6a8;
    text-shadow: 0 0 12px rgba(255,210,120,.25);
}

/* ================= CARD ================= */
.card {
    background:
        linear-gradient(
            to bottom,
            #1c2319 0%,
            #12160f 100%
        );
    border: 2px solid #3a3f2e;
    box-shadow:
        inset 0 0 0 2px rgba(191,162,74,.15),
        0 10px 30px rgba(0,0,0,.6);
    padding: 24px;
    margin: 30px 0;
}

.ok {
    color: #8fd36a;
    font-weight: 700;
}

.no {
    color: #d36a6a;
}

/* ================= TASKI ================= */
/* =========================
   TASKS – UKŁAD I ODSTĘPY
========================= */

/* toolbar z przyciskiem */
.tasks-toolbar {
    margin-bottom: 20px;
}

/* lista zadań */
.task-list-modern {
    display: flex;
    flex-direction: column;
    gap: 14px; /* ODSTĘP MIĘDZY ZADANIAMI */
}

/* pojedyncze zadanie */
.task-item {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 14px 18px;
    border-radius: 10px;

    background: linear-gradient(
        to right,
        rgba(30,36,26,.9),
        rgba(18,22,16,.9)
    );

    border: 1px solid rgba(212,175,55,.25);
    box-shadow:
        inset 0 0 0 1px rgba(0,0,0,.4),
        0 6px 16px rgba(0,0,0,.6);
}

/* tekst zadania */
.task-item span,
.task-item {
    font-size: 14px;
    line-height: 1.4;
}

/* przycisk usuń ❌ */
.task-item .btn.danger {
    margin-left: 16px;
    padding: 6px 10px;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1;

    box-shadow: 0 0 10px rgba(255,80,80,.4);
}

.task-item .btn.danger:hover {
    box-shadow: 0 0 16px rgba(255,80,80,.7);
    transform: scale(1.05);
}


/* STATUS */
.server-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: bold;
}

.server-status.online {
    color: #7CFC98;
}

.server-status.online::before {
    content: "";
    width: 10px;
    height: 10px;
    background: #7CFC98;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(124,252,152,.8);
}

/* DOLNA LINIA */
.footer-bottom {
    text-align: center;
    font-size: 13px;
    color: #aaa;
    padding: 18px 10px;
    border-top: 1px solid rgba(255,255,255,.08);
    background: rgba(0,0,0,.35);
}

/* =========================
   SEKCJA: LISTA SERWERÓW
========================= */
.servers-table-section {
    margin: 50px 0 70px;
}

/* =========================
   TYTUŁ SEKCJI
========================= */
.section-title {
    text-align: center;
    font-size: 30px;
    margin-bottom: 30px;
    font-weight: 700;
    color: #f5d76e;
    letter-spacing: 1px;
    text-shadow:
        0 0 14px rgba(245, 215, 110, 0.45),
        0 0 30px rgba(245, 215, 110, 0.15);
}

/* =========================
   WRAPPER (CIENIE + ZAOKR.)
========================= */
.servers-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: linear-gradient(180deg, #0f120d, #090b08);
    border-radius: 16px;
    overflow: hidden;
    box-shadow:
        0 25px 60px rgba(0,0,0,0.65),
        inset 0 0 0 1px rgba(245, 215, 110, 0.15);
}

/* =========================
   NAGŁÓWKI
========================= */
.servers-table thead {
    background: linear-gradient(180deg, #1c1f18, #12140f);
}

.servers-table th {
    padding: 16px 14px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    color: #e6c861;
    border-bottom: 1px solid rgba(245, 215, 110, 0.25);
}

/* =========================
   WIERSZE
========================= */
.servers-table td {
    padding: 15px 14px;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    text-align: center;
    color: #e5e5e5;
}

.servers-table tbody tr {
    transition:
        background 0.25s ease,
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.servers-table tbody tr:hover {
    background: linear-gradient(
        90deg,
        rgba(245, 215, 110, 0.08),
        rgba(255,255,255,0.02)
    );
    transform: scale(1.005);
}

/* =========================
   AKTYWNY SERWER
========================= */
.servers-table tr.active {
    background: linear-gradient(
        90deg,
        rgba(245, 215, 110, 0.18),
        rgba(245, 215, 110, 0.05)
    );
    box-shadow:
        inset 4px 0 0 #f5d76e;
}

/* =========================
   KOLUMNY
========================= */
.servers-table td.id {
    width: 50px;
    color: #9b9b9b;
    font-weight: 500;
}

.servers-table td.name {
    text-align: left;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.servers-table td.name a {
    color: #f5d76e;
    text-decoration: none;
}

.servers-table td.name a:hover {
    text-decoration: underline;
}

/* =========================
   GRA / MAPA
========================= */
.servers-table td.game,
.servers-table td.map {
    color: #cfd6c8;
    font-size: 13px;
}

/* =========================
   GRACZE
========================= */
.servers-table td.players {
    font-weight: 700;
    font-size: 14px;
    color: #ffffff;
}

.servers-table td.players span {
    opacity: 0.65;
}
/* ===============================
   PLAYERS TABLE – WRAPPER
================================ */
.players-table-wrapper {
    max-height: 520px;            /* ← wysokość listy */
    overflow-y: auto;
    border-radius: 14px;
    border: 1px solid rgba(212,175,55,.25);
    background: linear-gradient(180deg, #0f130c, #0a0d08);
    box-shadow:
        inset 0 0 40px rgba(0,0,0,.6),
        0 0 40px rgba(0,0,0,.6);
}

/* ===============================
   SCROLLBAR (CHROME / EDGE)
================================ */
.players-table-wrapper::-webkit-scrollbar {
    width: 8px;
}

.players-table-wrapper::-webkit-scrollbar-track {
    background: #0a0d08;
}

.players-table-wrapper::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #3fae49, #1e6b2b);
    border-radius: 10px;
}

/* ===============================
   TABLE
================================ */
.players-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

/* ===============================
   HEADER (STICKY)
================================ */
.players-table thead th {
    position: sticky;
    top: 0;
    z-index: 3;

    padding: 14px 12px;
    background: linear-gradient(180deg, #151a12, #0e120c);
    color: #f5d76e;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;

    border-bottom: 1px solid rgba(212,175,55,.4);
}

/* ===============================
   ROWS
================================ */
.players-table tbody tr {
    transition: background .2s ease, transform .15s ease;
}

.players-table tbody tr:hover {
    background: rgba(63,174,73,.08);
}

/* ===============================
   CELLS
================================ */
.players-table td {
    padding: 12px 12px;
    border-bottom: 1px solid rgba(255,255,255,.06);
    color: #e6e6e6;
    text-align: center;
}

.players-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: #ffffff;
}

/* ===============================
   MANAGER (KIEROWNIK)
================================ */
.players-table td .manager-yes {
    color: #4caf50;
    font-weight: bold;
}

.players-table td .manager-no {
    opacity: .5;
}

/* ===============================
   LAST SEEN
================================ */
.players-table td.last-seen {
    font-family: monospace;
    color: #cfd8dc;
}

/* ===============================
   RIGHTS ICONS
================================ */
.players-table td .rights {
    display: flex;
    gap: 6px;
    justify-content: center;
    font-size: 16px;
}

.players-table td .rights span {
    filter: drop-shadow(0 0 4px rgba(0,0,0,.6));
    cursor: default;
}

/* ===============================
   EMPTY VEHICLE
================================ */
/* ===============================
   VEHICLES TABLE – WRAPPER
================================ */
.vehicles-table-wrapper {
    max-height: 520px;              /* wysokość przewijania */
    overflow-y: auto;
    border-radius: 16px;
    border: 1px solid rgba(212,175,55,.25);

    background: linear-gradient(
        180deg,
        rgba(18,22,14,.95),
        rgba(10,13,8,.95)
    );

    box-shadow:
        inset 0 0 40px rgba(0,0,0,.6),
        0 0 35px rgba(0,0,0,.6);
}

/* ===============================
   SCROLLBAR (CHROME / EDGE)
================================ */
.vehicles-table-wrapper::-webkit-scrollbar {
    width: 9px;
}

.vehicles-table-wrapper::-webkit-scrollbar-track {
    background: #0a0d08;
    border-radius: 10px;
}

.vehicles-table-wrapper::-webkit-scrollbar-thumb {
    background: linear-gradient(
        180deg,
        #f5d76e,
        #b89b2e
    );
    border-radius: 10px;
}

/* ===============================
   TABLE
================================ */
.vehicles-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

/* ===============================
   HEADER – STICKY
================================ */
.vehicles-table thead th {
    position: sticky;
    top: 0;
    z-index: 3;

    padding: 14px 12px;
    background: linear-gradient(180deg, #181d14, #10140d);
    color: #f5d76e;

    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;

    border-bottom: 1px solid rgba(212,175,55,.4);
}

/* ===============================
   ROWS
================================ */
.vehicles-table tbody tr {
    transition: background .2s ease;
}

.vehicles-table tbody tr:hover {
    background: rgba(245,215,110,.06);
}

/* ===============================
   CELLS
================================ */
.vehicles-table td {
    padding: 12px 12px;
    text-align: center;
    color: #e6e6e6;
    border-bottom: 1px solid rgba(255,255,255,.05);
}

/* ===============================
   COLUMN: FARM
================================ */
.vehicles-table td:first-child {
    font-weight: bold;
    color: #7CFC98;
}

/* ===============================
   COLUMN: NAME
================================ */
.vehicles-table td:nth-child(2) {
    text-align: left;
    font-weight: 600;
    color: #ffffff;
}

/* ===============================
   COLUMN: PLATE
================================ */
.vehicles-table td:nth-child(3) {
    font-family: monospace;
    letter-spacing: 1px;
    color: #cfd8dc;
}

/* ===============================
   COLUMN: PRICE
================================ */
.vehicles-table td.price {
    font-weight: bold;
    color: #ffd54f;
    text-shadow: 0 0 6px rgba(255,213,79,.25);
}

/* ===============================
   COLUMN: HOURS
================================ */
.vehicles-table td.hours {
    color: #90caf9;
    font-family: monospace;
}

/* ===============================
   EMPTY VALUES
================================ */
.vehicles-table td:empty::after {
    content: "—";
    opacity: .4;
}

.players-table td.empty {
    opacity: .4;
    font-style: italic;
}

/* ===============================
   SUBTLE ROW SEPARATORS
================================ */
.players-table tbody tr:not(:last-child) td {
    box-shadow: inset 0 -1px 0 rgba(255,255,255,.03);
}

/* =========================
   STATUS
========================= */
.status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.6px;
}

.status::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.status.online {
    color: #66e17b;
    text-shadow: 0 0 10px rgba(102, 225, 123, 0.5);
}

.status.online::before {
    background: #66e17b;
    box-shadow: 0 0 10px rgba(102, 225, 123, 0.8);
}

.status.offline {
    color: #ff5f5f;
    text-shadow: 0 0 10px rgba(255, 95, 95, 0.5);
}

.status.offline::before {
    background: #ff5f5f;
    box-shadow: 0 0 10px rgba(255, 95, 95, 0.8);
}

/* =========================
   SPECJALNE WIERSZE
========================= */
.servers-table tr.minecraft {
    background: linear-gradient(
        90deg,
        rgba(102, 225, 123, 0.12),
        transparent
    );
}

.servers-table tr.minecraft td.name {
    color: #9dffb0;
}

/* =========================
   BRAK POŁĄCZENIA
========================= */
.servers-table td[colspan] {
    text-align: center;
    opacity: 0.6;
    font-style: italic;
    padding: 25px;
}
/* =========================
   RANKING PANEL
========================= */
/* =====================================================
   RANKING PANEL
===================================================== */

.ranking-panel {
  background: linear-gradient(180deg, #0c100a, #070a06);
  border: 1px solid rgba(245,215,110,.2);
  border-radius: 18px;
  padding: 30px;
  max-width: 900px;
  margin: 40px auto;
  box-shadow:
    0 0 40px rgba(0,0,0,.6),
    inset 0 0 40px rgba(245,215,110,.05);
}

/* ================= HEADER ================= */

.ranking-header {
  text-align: center;
  margin-bottom: 20px;
}

.ranking-header h1 {
  font-size: 30px;
  color: #f5d76e;
  text-shadow: 0 0 12px rgba(245,215,110,.4);
}

.ranking-sub {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  opacity: .7;
}

/* ================= TABS ================= */

/* ================= RANKING TABS — PRO EXCLUSIVE v20 ================= */

.ranking-tabs {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 26px 0 36px;
  padding: 10px;
  background: radial-gradient(
    ellipse at top,
    rgba(245, 215, 110, 0.08),
    rgba(0,0,0,0)
  );
  border-radius: 999px;
}

/* ===== TAB BASE ===== */
.ranking-tabs a {
  position: relative;
  padding: 10px 22px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, #0f140c, #070a05);
  color: #b9b9b9;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .3px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.06);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    0 4px 10px rgba(0,0,0,.5);
  transition: all .25s ease;
  overflow: hidden;
}

/* subtle shine */
.ranking-tabs a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255,255,255,.12),
    transparent 70%
  );
  opacity: 0;
  transition: opacity .3s ease;
}

/* ===== HOVER ===== */
.ranking-tabs a:hover {
  color: #f5d76e;
  border-color: rgba(245,215,110,.35);
  box-shadow:
    inset 0 0 0 1px rgba(245,215,110,.15),
    0 6px 18px rgba(245,215,110,.25);
  transform: translateY(-1px);
}

.ranking-tabs a:hover::before {
  opacity: 1;
}

/* ===== ACTIVE (ELITE) ===== */
.ranking-tabs a.active {
  background:
    linear-gradient(180deg, #f5d76e, #c9a93a);
  color: #1a1a1a;
  font-weight: 800;
  border: none;
  box-shadow:
    0 8px 26px rgba(245,215,110,.45),
    inset 0 1px 0 rgba(255,255,255,.55);
}

/* glow ring */
.ranking-tabs a.active::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(245,215,110,.9),
    rgba(201,169,58,.9)
  );
  filter: blur(6px);
  opacity: .55;
  z-index: -1;
}


/* =========================
   RANKING PODIUM – PRO EXCLUSIVE v20
========================= */

.ranking-podium {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 44px;
}

/* ===== PODIUM CARD ===== */
.podium-card {
  position: relative;
  padding: 30px 22px 26px;
  border-radius: 24px;
  text-align: center;
  isolation: isolate;

  background:
    radial-gradient(140% 90% at 50% -30%, rgba(255,215,120,.14), transparent 60%),
    linear-gradient(180deg, #151c11, #090d07);

  border: 1px solid rgba(255,215,120,.14);

  box-shadow:
    inset 0 0 34px rgba(0,0,0,.75),
    0 14px 40px rgba(0,0,0,.7);

  transition:
    transform .35s cubic-bezier(.2,.7,.2,1),
    box-shadow .35s ease;
}

/* ambient glow */
.podium-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    rgba(255,215,120,.35),
    transparent 70%
  );
  opacity: .12;
  z-index: -1;
}

/* subtle glass shine */
.podium-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255,255,255,.12),
    transparent 70%
  );
  opacity: .08;
  pointer-events: none;
}

/* ===== HOVER ===== */
.podium-card:hover {
  transform: translateY(-10px) scale(1.035);
  box-shadow:
    inset 0 0 40px rgba(0,0,0,.8),
    0 26px 70px rgba(0,0,0,.85);
}

/* ===== MEDAL ===== */
.podium-medal {
  font-size: 42px;
  margin-bottom: 12px;
  filter:
    drop-shadow(0 0 10px rgba(255,215,120,.45))
    drop-shadow(0 6px 14px rgba(0,0,0,.6));
}

/* ===== NICK ===== */
.podium-nick {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: .6px;
  color: #f7f4df;
  text-shadow:
    0 2px 4px rgba(0,0,0,.7),
    0 0 6px rgba(255,215,120,.15);
}

/* ===== TIME ===== */
.podium-time {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #f5d76e;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: .92;
}

/* ===== GOLD / SILVER / BRONZE ===== */
.podium-card.gold {
  border-color: rgba(255,215,120,.45);
  box-shadow:
    inset 0 0 36px rgba(255,215,120,.12),
    0 22px 60px rgba(255,215,120,.25);
}

.podium-card.silver {
  border-color: rgba(210,225,255,.35);
  box-shadow:
    inset 0 0 32px rgba(210,225,255,.08),
    0 18px 52px rgba(170,190,230,.2);
}

.podium-card.bronze {
  border-color: rgba(255,175,120,.35);
  box-shadow:
    inset 0 0 30px rgba(255,175,120,.08),
    0 16px 48px rgba(190,130,90,.2);
}

/* ===== FIRST PLACE – ELITE BOOST ===== */
.podium-card.gold {
  transform: translateY(-18px) scale(1.05);
  z-index: 3;
}

.podium-card.gold::before {
  opacity: .35;
}

.podium-card.gold:hover {
  transform: translateY(-26px) scale(1.07);
}

/* ===== MOBILE ===== */
@media (max-width: 760px) {
  .ranking-podium {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .podium-card.gold {
    transform: none;
  }
}

/* ================= SEARCH ================= */

.ranking-search {
  margin-bottom: 15px;
}

.ranking-search input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  background: #0b0e09;
  border: 1px solid rgba(245,215,110,.25);
  color: #eee;
  outline: none;
}

.ranking-search input::placeholder {
  color: #777;
}

/* ================= TABLE ================= */

.ranking-table-wrap {
  max-height: 360px;
  overflow-y: auto;
  border-radius: 14px;
  border: 1px solid rgba(245,215,110,.15);
}

/* rows */

.ranking-table {
  width: 100%;
  border-collapse: collapse;
}

.ranking-table tr {
  border-bottom: 1px solid rgba(255,255,255,.05);
}

.ranking-table td {
  padding: 12px 14px;
  font-size: 14px;
}

.ranking-table tr:hover {
  background: rgba(245,215,110,.06);
}

.ranking-table .pos {
  width: 60px;
  opacity: .6;
}

.ranking-table .nick {
  font-weight: 600;
}

.ranking-table .time {
  text-align: right;
  color: #f5d76e;
  white-space: nowrap;
}

/* ================= EMPTY ================= */

.ranking-empty {
  text-align: center;
  opacity: .6;
  padding: 40px;
}

/* =========================
   SIEW SELECT – AGRO STYLE
========================= */

.siew-select {
  width: 100%;
  padding: 8px 34px 8px 12px;
  font-size: 13px;
  font-weight: 600;
  color: #f5d76e;

  background:
    linear-gradient(180deg, #151812, #0b0e0a);
  border: 1px solid rgba(245, 215, 110, 0.35);
  border-radius: 10px;

  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  cursor: pointer;
  transition: all .2s ease;

  background-image:
    linear-gradient(45deg, transparent 50%, #f5d76e 50%),
    linear-gradient(135deg, #f5d76e 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%;
  background-size:
    6px 6px,
    6px 6px;
  background-repeat: no-repeat;
}

/* HOVER */
.siew-select:hover {
  border-color: #f5d76e;
  box-shadow: 0 0 10px rgba(245, 215, 110, 0.25);
}

/* FOCUS */
.siew-select:focus {
  outline: none;
  border-color: #f5d76e;
  box-shadow:
    0 0 0 2px rgba(245, 215, 110, 0.25),
    0 0 12px rgba(245, 215, 110, 0.35);
}

/* OPCJE */
.siew-select option {
  background: #0e110c;
  color: #e6e6e6;
  font-weight: 500;
}

/* OPCJA „BRAK” */
.siew-select option[value=""] {
  color: #777;
}

/* SELECT W TABELI – CENTROWANIE */
.modern-table td select.siew-select {
  max-width: 210px;
  margin: 0 auto;
  display: block;
}

/* ================= MODAL ================= */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-backdrop.hidden {
  display: none;
}

.modal-box {
  width: 100%;
  max-width: 420px;
  background: linear-gradient(180deg, #151812, #0b0e0a);
  border-radius: 16px;
  padding: 24px;
  box-shadow:
    0 30px 80px rgba(0,0,0,.8),
    inset 0 0 0 1px rgba(245,215,110,.2);
  animation: modalIn .2s ease-out;
}

@keyframes modalIn {
  from {
    transform: translateY(10px) scale(.97);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

.modal-box h3 {
  margin: 0 0 14px;
  color: #f5d76e;
  text-align: center;
}

.modal-box input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  background: #0c0f0a;
  border: 1px solid rgba(255,255,255,.1);
  color: #fff;
  font-size: 14px;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

/* buttons */
.btn.primary {
  background: linear-gradient(180deg, #f5d76e, #d4af37);
  color: #000;
  font-weight: 700;
}

/* =========================
   RESPONSYWNOŚĆ
========================= */
@media (max-width: 900px) {
    .servers-table th,
    .servers-table td {
        font-size: 12px;
        padding: 12px 10px;
    }

    .section-title {
        font-size: 24px;
    }
}

/* =========================
   TOP MENU (CAŁY PASEK)
========================= */
.top-menu {
    width: 100%;
    height: 70px;
    background: linear-gradient(
        to bottom,
        rgba(18,22,16,0.95),
        rgba(8,10,7,0.95)
    );
    border-bottom: 2px solid #d4af37;
}

.menu-inner {
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    padding: 0 30px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}
/* =========================
   RIGHT MENU
========================= */
.menu-auth {
    display: flex;
    align-items: center;
    gap: 16px;
    list-style: none;
}

/* =========================
   USER MENU
========================= */
.user-menu {
    position: relative;
}

.user-toggle {
    display: none;
}

.user-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;

    padding: 6px 14px;
    border-radius: 999px;

    transition: background .2s ease;
}

.user-trigger:hover {
    background: rgba(255,255,255,.06);
}

/* AVATAR */
.user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;

    border: 2px solid #f5c542;
    box-shadow:
        0 0 6px rgba(245,197,66,.7),
        inset 0 0 0 2px rgba(0,0,0,.6);
}

/* NAME */
.user-name {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

/* CARET */
.caret {
    font-size: 11px;
    opacity: .6;
}

/* =========================
   DROPDOWN
========================= */
.user-dropdown {
    position: absolute;
    right: 0;
    top: calc(100% + 12px);

    min-width: 200px;
    padding: 8px;

    background: #111;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.08);

    box-shadow:
        0 10px 30px rgba(0,0,0,.65);

    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;

    transition:
        opacity .18s ease,
        transform .18s ease;
}

.user-toggle:checked + .user-trigger + .user-dropdown {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* DROPDOWN ITEMS */
.dropdown-item {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;

    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    text-decoration: none;

    transition: background .15s ease;
}

.dropdown-item:hover {
    background: rgba(255,255,255,.08);
}

/* ADMIN */
.dropdown-item.admin {
    color: #f5c542;
}

/* LOGOUT */
.dropdown-item.logout {
    color: #ff6b6b;
}

/* =========================
   DISCORD LOGIN BUTTON
========================= */
.discord-login {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 10px 18px;
    border-radius: 8px;

    background: linear-gradient(135deg, #5865F2, #404EED);
    color: #ffffff;

    font-size: 13px;
    font-weight: 600;
    text-decoration: none;

    box-shadow: 0 4px 14px rgba(88,101,242,.45);
    transition:
        transform .15s ease,
        box-shadow .15s ease;
}

.discord-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(88,101,242,.7);
}

.discord-login:active {
    transform: translateY(0);
}

/* SHOW DROPDOWN */
#user-toggle:checked + .user-trigger + .user-dropdown {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* ITEMS */
.dropdown-item {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;

    color: #fff;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;

    transition: background .15s ease;
}

.dropdown-item:hover {
    background: rgba(255,255,255,.08);
}

/* ADMIN ITEM */
.dropdown-item.admin {
    color: #f5c542;
}

/* LOGOUT */
.dropdown-item.logout {
    color: #ff6b6b;
}

/* =========================
   APP – ODSUNIĘCIE TREŚCI
========================= */
.app {
    padding-top: 40px;
}
/* ================= ADMIN DASHBOARD ================= */
.dashboard {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 30px;
    margin-top: 30px;
}

/* ================= SIDEBAR ================= */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tab-btn {
    background: linear-gradient(to bottom, #1b2119, #12160f);
    border: 1px solid #3a3f2e;
    color: #f5d76e;
    padding: 14px 14px;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    font-weight: 700;
    letter-spacing: .5px;
    transition: background .2s ease, transform .1s ease;
}

.tab-btn:hover {
    background: #d4af37;
    color: #000;
    transform: translateX(3px);
}

.tab-btn.active {
    background: linear-gradient(to right, #d4af37, #f5d76e);
    color: #000;
}

/* ================= CONTENT ================= */
.content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* ================= TAB CONTENT ================= */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}
.btn {
    padding: 8px 14px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    border: none;
}

.btn.primary {
    background: linear-gradient(to right, #d4af37, #f5d76e);
    color: #000;
}

.btn.danger {
    background: linear-gradient(to right, #b83b3b, #d36a6a);
    color: #fff;
}

.btn.icon {
    padding: 6px 10px;
}

/* ===============================
   LIVE PLAYERS – CARD
=============================== */

.live-players-section {
  background: linear-gradient(
    160deg,
    rgba(25, 35, 20, 0.95),
    rgba(10, 15, 8, 0.95)
  );
  border-radius: 16px;
  padding: 20px 22px 18px;
  box-shadow:
    0 20px 40px rgba(0,0,0,0.55),
    inset 0 0 0 1px rgba(120, 180, 90, 0.15);
  color: #eaf3e0;
}

/* ===============================
   HEADER
=============================== */

.live-players-section h2 {
  margin: 0 0 14px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #b7f58c;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.4px;
}

/* ===============================
   LIST
=============================== */

.live-players-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ===============================
   ITEM
=============================== */

.live-players-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  margin-bottom: 8px;
  border-radius: 12px;

  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.03),
    rgba(0,0,0,0.2)
  );

  box-shadow:
    inset 0 0 0 1px rgba(120, 180, 90, 0.12),
    0 4px 12px rgba(0,0,0,0.35);

  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}

/* ===============================
   HOVER
=============================== */

.live-players-list li:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 0 0 1px rgba(120, 200, 90, 0.3),
    0 8px 18px rgba(0,0,0,0.5);
  background: linear-gradient(
    135deg,
    rgba(140, 220, 90, 0.08),
    rgba(0,0,0,0.25)
  );
}

/* ===============================
   NICK
=============================== */

.live-players-list .nick {
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #f3f9ed;
  white-space: nowrap;
}

/* ===============================
   ADMIN BADGE
=============================== */

.live-players-list li.admin .nick {
  color: #ffd966;
}

.live-players-list .badge {
  background: linear-gradient(
    135deg,
    #ffd866,
    #caa033
  );
  color: #2b2208;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 6px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  box-shadow:
    0 2px 6px rgba(0,0,0,0.4),
    inset 0 0 0 1px rgba(255,255,255,0.25);
}

/* ===============================
   TIME
=============================== */

.live-players-list .time {
  margin-left: auto;
  font-size: 0.8rem;
  color: #9fdc84;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ===============================
   EMPTY STATE
=============================== */

.live-players-section > div {
  padding: 14px 10px;
  font-size: 0.85rem;
  color: #a4b79a;
  text-align: center;
}
/* ===============================
   LOGO – AGRO LIFE
=============================== */

.main-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px 0;
}

.logo-wrap {
  max-width: 320px;
}

.site-logo {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 25px rgba(0,0,0,0.6));
}

/* MOBILE */
@media (max-width: 600px) {
  .logo-wrap {
    max-width: 280px;
  }
}

/* STATUS */
.status-pill {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
}

.status-pill.active {
    background: #7CFC98;
    color: #000;
}

.status-pill.banned {
    background: #d36a6a;
    color: #000;
}
.siewy-header {
    margin-bottom: 15px;
}

.siewy-table td {
    text-align: center;
}
.fields-toolbar {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
}

.editable {
    cursor: pointer;
    text-decoration: underline dotted;
}

.toggle {
    cursor: pointer;
}
.announcement-item {
    background: rgba(0,0,0,.35);
    border: 1px solid #3a3f2e;
    padding: 14px;
    margin-bottom: 12px;
    border-radius: 8px;
}

.announcement-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.announcement-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}
/* =========================
   SERVER TABS – WYBÓR SERWERA
========================= */
.server-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 30px 0 40px;
}

/* POJEDYNCZY SERWER */
.server-tabs a {
    position: relative;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;

    color: #d4af37;
    background: linear-gradient(
        to bottom,
        #1b2119,
        #12160f
    );

    border: 1px solid rgba(212,175,55,.35);
    box-shadow:
        inset 0 0 0 1px rgba(0,0,0,.4),
        0 6px 14px rgba(0,0,0,.5);

    transition:
        transform .15s ease,
        box-shadow .15s ease,
        background .2s ease,
        color .2s ease;
}

/* HOVER */
.server-tabs a:hover {
    transform: translateY(-1px);
    color: #fff3b0;
    box-shadow:
        inset 0 0 0 1px rgba(212,175,55,.6),
        0 8px 18px rgba(0,0,0,.7);
}

/* AKTYWNY SERWER */
.server-tabs a.active {
    background: linear-gradient(
        to right,
        #d4af37,
        #f5d76e
    );
    color: #000;
    border-color: #f5d76e;
    box-shadow:
        0 0 0 2px rgba(245,215,110,.35),
        0 10px 24px rgba(0,0,0,.8);
}

/* MAŁA ZŁOTA KROPKA POD AKTYWNYM */
.server-tabs a.active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background: #f5d76e;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(245,215,110,.9);
}
/* =========================
   FARMS PANEL — PRO EXCLUSIVE v20
========================= */

.farms-panel {
  max-width: 1240px;
  margin: 48px auto;
  padding: 0 12px;
}

/* ===== GRID ===== */
.farms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 34px;
}

/* ===== FARM CARD ===== */
.farm-card {
  position: relative;
  isolation: isolate;
  padding: 26px 24px 24px;
  border-radius: 22px;

  background:
    radial-gradient(140% 90% at 50% -30%, rgba(212,175,55,.18), transparent 60%),
    linear-gradient(180deg, #171b13, #090b07);

  border: 1px solid rgba(212,175,55,.32);

  box-shadow:
    inset 0 0 36px rgba(0,0,0,.75),
    0 12px 36px rgba(0,0,0,.7);

  transition:
    transform .35s cubic-bezier(.2,.7,.2,1),
    box-shadow .35s ease;
}

/* ambient halo */
.farm-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    rgba(212,175,55,.55),
    transparent 70%
  );
  opacity: .18;
  z-index: -1;
}

/* glass shine */
.farm-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    120deg,
    transparent 28%,
    rgba(255,255,255,.14),
    transparent 72%
  );
  opacity: .08;
  pointer-events: none;
}

/* ===== HOVER ===== */
.farm-card:hover {
  transform: translateY(-8px) scale(1.025);
  box-shadow:
    inset 0 0 42px rgba(0,0,0,.82),
    0 26px 68px rgba(0,0,0,.85);
}

/* ===== TITLE ===== */
.farm-card h3 {
  margin: 0 0 12px;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: .5px;
  color: #f7e38a;
  text-shadow:
    0 2px 4px rgba(0,0,0,.7),
    0 0 6px rgba(212,175,55,.25);
}

/* ===== MONEY ===== */
.farm-money {
  font-size: 19px;
  font-weight: 700;
  color: #ffd966;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  text-shadow: 0 0 6px rgba(212,175,55,.35);
}

/* ===== STATS ===== */
.farm-stats {
  font-size: 14px;
  line-height: 1.75;
  color: #e0e0e0;
}

.farm-stats b {
  color: #f5d76e;
  font-weight: 700;
}

/* ===== TIME ===== */
.farm-time {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: 13px;
  font-weight: 700;
  color: #d8d8d8;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ===== MOBILE ===== */
@media (max-width: 760px) {
  .farms-grid {
    gap: 20px;
  }

  .farm-card {
    padding: 22px 20px;
  }
}

/* ===============================
   USERS – TABLE & SCROLL
=============================== */

.users-toolbar {
    margin-bottom: 12px;
}

#userSearch {
    width: 260px;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #2f3b2f;
    background: #0f130f;
    color: #e7e7e7;
    outline: none;
}

#userSearch::placeholder {
    color: #8a948a;
}

.users-table-wrap {
    border: 1px solid #2c362c;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(180deg, #121612, #0b0e0b);
}

/* 🔥 SCROLL */
.users-list-scroll {
    max-height: 520px;            /* wysokość listy */
    overflow-y: auto;
}

/* scrollbar – webkit */
.users-list-scroll::-webkit-scrollbar {
    width: 8px;
}

.users-list-scroll::-webkit-scrollbar-track {
    background: #0c0f0c;
}

.users-list-scroll::-webkit-scrollbar-thumb {
    background: #3a473a;
    border-radius: 6px;
}

.users-list-scroll::-webkit-scrollbar-thumb:hover {
    background: #4f5f4f;
}

/* ===============================
   TABLE
=============================== */

.users-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.users-table thead th {
	position: sticky;
    top: 0;
    z-index: 3;
    padding: 14px 12px;
    background: linear-gradient(180deg, #151a12, #0e120c);
    color: #f5d76e;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(212, 175, 55, .4);
}

.users-table tbody tr {
    transition: background 0.15s ease, transform 0.05s ease;
}

.users-table tbody tr:hover {
    background: rgba(90, 120, 90, 0.08);
}

.users-table td {
    padding: 10px;
    border-bottom: 1px solid #1f261f;
    vertical-align: middle;
}

/* ===============================
   USER CELL
=============================== */

.user-names strong {
    display: block;
    color: #e9f0e9;
}

.user-names span {
    font-size: 12px;
    color: #9aa59a;
}

/* ===============================
   BADGES
=============================== */

.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.badge.player {
    background: rgba(90, 160, 90, 0.15);
    color: #8fe08f;
}

.badge.admin {
    background: rgba(180, 140, 40, 0.18);
    color: #ffd369;
}

/* ===============================
   MONO / NUMBERS
=============================== */

.mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 13px;
}

.minus-count {
    font-weight: 600;
    color: #ffb3b3;
}

/* ===============================
   ACTIONS
=============================== */

.actions-cell {
    text-align: right;
}

.actions-dropdown {
    position: relative;
}

.actions-toggle {
    background: transparent;
    border: 1px solid #2f3b2f;
    color: #cdd7cd;
    border-radius: 8px;
    padding: 4px 8px;
    cursor: pointer;
}

.actions-toggle:hover {
    background: rgba(120, 150, 120, 0.1);
}

.actions-dropdown.open .actions-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.actions-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    min-width: 180px;
    background: #101410;
    border: 1px solid #2f3b2f;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    padding: 6px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-5px);
    transition: all 0.15s ease;
    z-index: 20;
}

.action-btn {
    width: 100%;
    text-align: left;
    padding: 8px 10px;
    border-radius: 8px;
    background: transparent;
    border: none;
    color: #e3ebe3;
    cursor: pointer;
    font-size: 13px;
}

.action-btn:hover {
    background: rgba(120, 150, 120, 0.15);
}

/* ===============================
   RESPONSIVE
=============================== */

@media (max-width: 900px) {
    .users-table thead {
        display: none;
    }

    .users-table,
    .users-table tbody,
    .users-table tr,
    .users-table td {
        display: block;
        width: 100%;
    }

    .users-table tr {
        padding: 10px;
        border-bottom: 1px solid #2a332a;
    }

    .users-table td {
        padding: 6px 0;
    }
}
.action-money {
  width: 100%;
  text-align: left;
  padding: 8px 10px;
  background: none;
  border: 0;
  color: #f5e6a8;
  cursor: pointer;
}
.money-admin {
  color: #9fd4ff;
  font-size: 13px;
}

.action-money:hover {
  background: rgba(255, 215, 0, 0.12);
}
/* === GRID === */
#shopGrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 30px;
}

/* === CARD === */
.shop-card {
  background: radial-gradient(circle at top, #1b1f14, #0b0d08);
  border-radius: 22px;
  padding: 26px 22px 24px;
  position: relative;
  overflow: hidden; /* 🔥 NAJWAŻNIEJSZE */
  box-shadow:
    0 18px 40px rgba(0,0,0,.6),
    inset 0 0 0 1px rgba(255,215,120,.08);
  transition: transform .2s ease, box-shadow .2s ease;
}

.shop-card:hover {
  transform: scale(1.08);
  box-shadow:
    0 26px 55px rgba(0,0,0,.75),
    inset 0 0 0 1px rgba(255,215,120,.16);
}

/* === NAME === */
.item-name {
  font-size: 20px;
  font-weight: 800;
  color: #f5d36c;
  margin-bottom: 10px;
}

/* === META / DESC === */
.item-meta {
  font-size: 13px;
  line-height: 1.5;
  color: #b9b9a8;
  margin-bottom: 18px;
  text-transform: uppercase;
  opacity: .9;
}

/* === INPUT === */
.item-registration {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,215,120,.25);
  background: rgba(0,0,0,.45);
  color: #f5f5f5;
  font-size: 13px;
  outline: none;
  transition: border .2s ease, box-shadow .2s ease;
}

.item-registration::placeholder {
  color: #888;
}

.item-registration:focus {
  border-color: #f5d36c;
  box-shadow: 0 0 0 2px rgba(245,211,108,.15);
}

/* === ERROR === */
.reg-error {
  font-size: 12px;
  color: #ff6b6b;
  margin-top: 6px;
  min-height: 14px;
}

/* === NOTE === */
.item-note {
  margin-top: 14px;
  font-size: 12px;
  color: #a7a78f;
  letter-spacing: .5px;
  opacity: .85;
}

/* === FOOTER === */
.item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 22px;
}

/* === PRICE === */
.item-price {
  font-size: 22px;
  font-weight: 800;
  color: #ffd86b;
  text-shadow: 0 0 10px rgba(255,216,107,.35);
}

/* === BUY BUTTON === */
.btn.buy {
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  color: #1a1400;
  background: linear-gradient(180deg, #ffe07d, #f5c84c);
  box-shadow:
    0 6px 16px rgba(245,200,76,.4),
    inset 0 -2px 0 rgba(0,0,0,.25);
  transition: transform .15s ease, box-shadow .15s ease;
}

.btn.buy:hover {
  transform: translateY(-2px);
  box-shadow:
    0 10px 26px rgba(245,200,76,.55),
    inset 0 -2px 0 rgba(0,0,0,.25);
}

.btn.buy:active {
  transform: translateY(0);
}


/* ================= SHOP BALANCE ================= */

.shop-balance {
  max-width: 420px;
  margin: 0 auto 30px;
}

/* === CONTAINER === */
.shop-balance {
  max-width: 520px;
  margin: 40px auto;
}

/* === TABLE AS CARD === */
.balance-table {
  border-collapse: collapse;
  width: 100%;
  background: linear-gradient(180deg, #12150f, #0b0d08);
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.6),
    inset 0 0 0 1px rgba(255, 215, 100, 0.08);
}

/* === HEADER === */
.balance-table thead th {
  padding: 16px;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #f5d36c;
  background: linear-gradient(
    90deg,
    rgba(245, 211, 108, 0.15),
    rgba(245, 211, 108, 0.05)
  );
  border-bottom: 1px solid rgba(245, 211, 108, 0.25);
  text-align: center;
}

/* === CELL === */
.balance-cell {
  padding: 28px 20px 32px;
  text-align: center;
}

/* === AMOUNT === */
.balance-amount {
  display: block;
  font-size: 42px;
  font-weight: 800;
  color: #ffd86b;
  margin-bottom: 6px;
  text-shadow:
    0 0 12px rgba(255, 216, 107, 0.35);
}

/* === HINT === */
.balance-hint {
  font-size: 13px;
  color: #b7b7a6;
  opacity: 0.9;
  margin-bottom: 18px;
}

/* === SEPARATOR === */
.balance-cell hr {
  border: none;
  height: 1px;
  margin: 18px auto 22px;
  width: 70%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 215, 100, 0.4),
    transparent
  );
}

/* === BUTTON === */
.balance-cell .btn.primary.large {
  display: inline-block;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  color: #1a1400;
  background: linear-gradient(
    180deg,
    #ffe07d,
    #f5c84c
  );
  box-shadow:
    0 6px 16px rgba(245, 200, 76, 0.35),
    inset 0 -2px 0 rgba(0, 0, 0, 0.25);
  transition: all 0.2s ease;
}

/* === BUTTON HOVER === */
.balance-cell .btn.primary.large:hover {
  transform: translateY(-2px);
  box-shadow:
    0 10px 26px rgba(245, 200, 76, 0.5),
    inset 0 -2px 0 rgba(0, 0, 0, 0.25);
}

/* === BUTTON ACTIVE === */
.balance-cell .btn.primary.large:active {
  transform: translateY(0);
  box-shadow:
    0 4px 12px rgba(245, 200, 76, 0.35),
    inset 0 2px 6px rgba(0, 0, 0, 0.35);
}

.row-hidden {
  display: none !important;
}
.balance-flash {
  animation: balancePulse 0.6s ease;
}

@keyframes balancePulse {
  0%   { color: #ffd54f; }
  50%  { color: #4caf50; }
  100% { color: #ffd54f; }
}
.badge.pending {
  background: #3b3b3b;
  color: #ffcc66;
}

.badge.ok {
  background: #1f4d2b;
  color: #7dff9c;
}

.section-title {
  margin: 30px 0 10px;
  font-size: 18px;
  color: #f5d76e;
}
/* ===============================
   SCROLLABLE PURCHASE LOG TABLE
================================ */

.table-scroll {
  max-height: 420px;          /* ← wysokość tabeli */
  overflow-y: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 215, 100, 0.25);
}

/* sticky nagłówek */
.purchase-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    #1b1f14 0%,
    #14170f 100%
  );
  box-shadow: inset 0 -1px 0 rgba(255,215,100,.3);
}

/* scrollbar – premium look */
.table-scroll::-webkit-scrollbar {
  width: 8px;
}

.table-scroll::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.4);
  border-radius: 8px;
}

.table-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    #f5d76e,
    #c9a93a
  );
  border-radius: 8px;
}

.table-scroll::-webkit-scrollbar-thumb:hover {
  background: #ffdf7e;
}
.purchase-table tbody tr:hover {
  background: rgba(255,215,100,0.06);
}

.purchase-table td {
  vertical-align: middle;
}
/* ===============================
   SIEWY – SCROLLABLE TABLE
================================ */

.siewy-scroll {
  max-height: 360px;      /* wysokość listy */
  overflow-y: auto;
  border-radius: 12px;
  border: 1px solid rgba(255, 215, 100, 0.25);
}

/* sticky nagłówek */
.siewy-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: linear-gradient(
    180deg,
    #1b1f14 0%,
    #14170f 100%
  );
  box-shadow: inset 0 -1px 0 rgba(255,215,100,.35);
}

/* hover wiersza */
.siewy-table tbody tr:hover {
  background: rgba(255,215,100,0.06);
}

/* scrollbar premium */
.siewy-scroll::-webkit-scrollbar {
  width: 8px;
}

.siewy-scroll::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.4);
  border-radius: 8px;
}

.siewy-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    #f5d76e,
    #c9a93a
  );
  border-radius: 8px;
}

.siewy-scroll::-webkit-scrollbar-thumb:hover {
  background: #ffdf7e;
}
.expires-soon {
  color: #ffb703;
  font-weight: 600;
}

.expires-expired {
  color: #ff4d4d;
  font-weight: 700;
}

.item-registration:disabled {
  opacity: 0.6;
}
.reg-error {
  margin-top: 6px;
  font-size: 12px;
  color: #ffb3b3;
  min-height: 14px;
}
.registration-cell {
  font-family: monospace;
  letter-spacing: 1px;
  color: #f5d76e;
  font-weight: 600;
}

:root {
  --gold: #c9a94d;
  --bg-card: rgba(18, 24, 18, 0.92);
}

/* ================= TITLE ================= */

.admin-title {
  text-align: center;
  margin: 45px 0 35px;
  font-size: 34px;
  text-shadow: 0 0 16px rgba(201,169,77,.4);
}

/* ================= LIST ================= */

.admin-list {
  max-width: 900px;
  margin: auto;
  padding: 0 24px 80px;
}

/* ================= SECTION ================= */

.admin-section {
  margin: 40px 0 18px;
  font-size: 20px;
  letter-spacing: .5px;
  color: var(--gold);
  border-left: 4px solid var(--gold);
  padding-left: 14px;
}

/* ================= ROW ================= */

/* ================= ROWS GRID (2 W LINII) ================= */

.admin-rows {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-bottom: 35px;
}

/* ================= ADMIN ROW ================= */

.admin-row {
  display: flex;
  align-items: center;
  gap: 18px;

  padding: 16px 22px;

  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(0,0,0,.2)),
    var(--bg-card);

  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);

  backdrop-filter: blur(8px);

  box-shadow:
    0 14px 40px rgba(0,0,0,.75),
    inset 0 1px 0 rgba(255,255,255,.05);

  transition: transform .25s ease, box-shadow .25s ease;
}

.admin-row:hover {
  transform: translateY(-4px);
  box-shadow:
    0 22px 60px rgba(0,0,0,.9);
}

/* ================= MOBILE ================= */

@media (max-width: 900px) {
  .admin-rows {
    grid-template-columns: 1fr;
  }
}


/* ================= AVATAR ================= */

.admin-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
}

/* ================= TEXT ================= */

.admin-nick {
  font-size: 18px;
  font-weight: 600;
}

.admin-role {
  font-size: 14px;
  color: var(--gold);
  opacity: .9;
}

/* ================= ROLE COLORS ================= */

.role-1415404327866204250 { border-color: #f5c76a; }
.role-1446149309598011534 { border-color: #ff6b6b; }
.role-1415405036418236416 { border-color: #4da6ff; }
.role-1423899804639039508 { border-color: #7bed9f; }
.role-1415405641928937707 { border-color: #ffa502; }
.role-1440783311151562882 { border-color: #a29bfe; }

/* ================= MOBILE ================= */

@media (max-width: 600px) {
  .admin-avatar {
    width: 56px;
    height: 56px;
  }
}

/* ================= ROLE INFO TABLE ================= */

.role-info {
  margin: 14px 0 26px;
  padding: 14px 18px;

  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(0,0,0,.25)),
    var(--bg-card);

  border-radius: 14px;
  border-left: 4px solid var(--gold);

  box-shadow:
    0 10px 30px rgba(0,0,0,.6),
    inset 0 1px 0 rgba(255,255,255,.05);
}

.role-info table {
  width: 100%;
  border-collapse: collapse;
}

.role-info th {
  text-align: left;
  width: 180px;
  font-size: 14px;
  color: var(--gold);
  padding: 6px 8px;
  vertical-align: top;
}

.role-info td {
  font-size: 14px;
  padding: 6px 8px;
  color: #e6e2c8;
  opacity: .95;
}

/* ================= MOBILE ================= */

@media (max-width: 700px) {
  .role-info th {
    width: 130px;
  }
}
/* ================= ADMIN DUTIES ================= */

.admin-duties {
  margin: 6px 0 4px;
  padding-left: 16px;
  list-style: none;
}

.admin-duties li {
  position: relative;
  font-size: 13px;
  color: #d6d1b5;
  opacity: .9;
  margin-bottom: 2px;
}

.admin-duties li::before {
  content: "•";
  position: absolute;
  left: -12px;
  color: var(--gold);
  font-size: 16px;
  line-height: 1;
}
.profile-card {
    display: flex;
    gap: 24px;
    background: linear-gradient(180deg, #10150c, #0a0e08);
    border-radius: 16px;
    padding: 24px;
    max-width: 760px;
}

.profile-avatar img {
    width: 128px;
    height: 128px;
    border-radius: 50%;
    border: 2px solid #bfa24a;
}

.profile-info h2 {
    margin-top: 0;
    margin-bottom: 12px;
}

.profile-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 6px 0;
    border-bottom: 1px solid #1e241b;
}

.profile-row span {
    color: #aaa;
}

.muted {
    opacity: 0.6;
}
.profile-section {
    margin-top: 40px;
}

.status.ok { color: #5cff8a; font-weight: 600; }
.status.bad { color: #ff6b6b; font-weight: 600; }
.status.muted { color: #aaa; }
/* ================= CARD ================= */
/* ================= CARD – ULTRA PREMIUM ================= */
.card {
    position: relative;
    background:
        radial-gradient(120% 120% at top, #232a1e 0%, #12160f 55%, #0b0d08 100%);
    border: 2px solid rgba(212,175,55,.45);
    border-radius: 14px;
    padding: 26px;
    margin: 34px 0;
    box-shadow:
        inset 0 0 0 1px rgba(255,215,100,.12),
        inset 0 12px 30px rgba(0,0,0,.55),
        0 18px 45px rgba(0,0,0,.75);
}

/* subtelna złota poświata */
.card::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: 0 0 22px rgba(212,175,55,.15);
    opacity: .6;
}

/* ================= TABLE – ULTRA PREMIUM ================= */
.modern-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    margin-top: 18px;
}

/* ===== HEADER ===== */
.modern-table thead th {
    position: sticky;
    top: 0;
    z-index: 3;
    padding: 16px 14px;
    background:
        linear-gradient(180deg, #1a2016 0%, #0e120c 100%);
    color: #f7dc83;
    text-align: center;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1.4px;
    border-bottom: 1px solid rgba(212,175,55,.6);
    box-shadow:
        inset 0 -1px 0 rgba(0,0,0,.7),
        inset 0 1px 0 rgba(255,215,100,.12);
}

/* złoty separator pod headerem */
.modern-table thead::after {
    content: '';
    display: block;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(212,175,55,.7),
        transparent
    );
}

/* ===== CELLS ===== */
.modern-table tbody td {
    padding: 15px 12px;
    text-align: center;
    vertical-align: middle;
    font-size: 14px;
    color: #e3e3e3;
    border-bottom: 1px solid rgba(255,255,255,.06);
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.015),
            rgba(0,0,0,0)
        );
    transition:
        background .18s ease,
        color .18s ease,
        box-shadow .18s ease;
}

/* ===== ROW HOVER – PREMIUM FEEL ===== */
.modern-table tbody tr:hover td {
    background:
        linear-gradient(
            180deg,
            rgba(212,175,55,.08),
            rgba(212,175,55,.02)
        );
    color: #fff4c2;
    box-shadow:
        inset 0 0 0 9999px rgba(212,175,55,.03);
}

/* ===== LEFT ALIGN (JEŚLI POTRZEBA) ===== */
.modern-table th.left,
.modern-table td.left {
    text-align: left;
}

/* ===== AKCENTY GOLD ===== */
.modern-table tbody tr:hover td:first-child {
    box-shadow:
        inset 3px 0 0 rgba(212,175,55,.9),
        inset 0 0 0 9999px rgba(212,175,55,.03);
}

/* ===== MOBILE POLISH ===== */
@media (max-width: 768px) {
    .modern-table th,
    .modern-table td {
        padding: 11px 8px;
        font-size: 13px;
    }

    .card {
        padding: 20px;
        border-radius: 12px;
    }
}
/* === SEKCJA === */
.servers-table-section {
  max-width: 1400px;
  margin: 50px auto;
  padding: 24px;
  background: radial-gradient(circle at top, #1c1a14, #0b0a08);
  border-radius: 18px;
  border: 1px solid rgba(255, 200, 80, 0.25);
  box-shadow: 0 0 60px rgba(255, 200, 80, 0.12);
  color: #e8e2d0;
}

/* === TABELA === */
.servers-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.servers-table thead th {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  color: #e6c97a;
  padding: 14px 12px;
  border-bottom: 1px solid rgba(255, 200, 80, 0.25);
}

/* === WIERSZE === */
.servers-table tbody tr {
  transition: background 0.25s, box-shadow 0.25s;
}

.servers-table tbody tr:hover {
  background: rgba(255, 200, 80, 0.06);
}

.servers-table tbody tr.active {
  background: rgba(255, 200, 80, 0.12);
  box-shadow: inset 0 0 0 1px rgba(255, 200, 80, 0.35);
}

/* === KOMÓRKI === */
.servers-table td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  vertical-align: middle;
}

.servers-table td.id {
  color: #cfae60;
  font-weight: 600;
}

/* === NAZWA SERWERA === */
.server-title {
  font-weight: 600;
  color: #f3e3b0;
}

/* === GRACZE === */
.servers-table td.players {
  font-weight: 600;
  color: #e9d28a;
}

/* === STATUS === */
.status {
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.status::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3aff5f;
  box-shadow: 0 0 10px #3aff5f;
}

.status.online {
  color: #6dff9a;
}

/* === PRZYCISK WYBIERZ === */
.btn.choose-server {
  padding: 8px 20px;
  border-radius: 999px;
  background: linear-gradient(145deg, #f5d27a, #c89b3c);
  color: #1a1205;
  font-weight: 700;
  letter-spacing: 0.5px;
  border: none;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),
    0 6px 18px rgba(200,150,40,0.45);
  transition: transform 0.15s, box-shadow 0.15s, filter 0.15s;
}

.btn.choose-server:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.45),
    0 8px 22px rgba(200,150,40,0.6);
}

.btn.choose-server.active {
  background: linear-gradient(145deg, #8bd67a, #3e8f41);
  color: #081c0c;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),
    0 6px 18px rgba(80,200,120,0.45);
  cursor: default;
}

/* === STATYSTYKI POD TABELĄ === */
.servers-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.servers-stats .stat {
  padding: 18px;
  border-radius: 14px;
  background: linear-gradient(180deg, #12110e, #0a0907);
  border: 1px solid rgba(255,200,80,0.2);
  text-align: center;
}

.servers-stats .stat .label {
  display: block;
  font-size: 12px;
  color: #cdbb8b;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.servers-stats .stat .value {
  margin-top: 6px;
  font-size: 26px;
  font-weight: 700;
  color: #f1d58a;
}

.servers-stats .stat.highlight {
  border-color: rgba(120,255,160,0.5);
}

.servers-stats .stat.highlight .value {
  color: #7dffb0;
}
.economy-panel {
  margin-top: 40px;
}

.economy-select {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 16px;
  background: #0f130c;
  border: 1px solid rgba(212,175,55,.45);
  color: #e6e6d8;
  border-radius: 12px;
}
.economy-section {
  margin: 60px auto;
  padding: 28px;
  max-width: 1200px;
  border-radius: 18px;
  background:
    radial-gradient(120% 120% at top, #2a240f 0%, #120f06 55%, #0b0d08 100%);
  border: 1px solid rgba(212,175,55,.45);
  box-shadow:
    0 0 60px rgba(212,175,55,.15),
    inset 0 0 40px rgba(0,0,0,.6);
}

.economy-title {
  color: #ffd86b;
  margin-bottom: 14px;
}

.economy-chart-wrap {
  height: 320px;
}
/* === IMAGE CONTAINER === */
.item-image {
  width: 100%;
  height: 180px;
  margin-bottom: 14px;
  border-radius: 14px;
  background: radial-gradient(circle at top, #1f2618, #0c0f08);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* 🔥 BLOKADA */
}

/* === IMAGE === */
.item-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;   /* 🔥 KLUCZ */
  transform: scale(1);
  filter: drop-shadow(0 10px 16px rgba(0,0,0,.7));
  transition: transform .3s ease;
}