/* ===== GRID ===== */
.server-card-grid-typeb {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

/* ===== CARD ===== */
.server-card-typeb {
  background: linear-gradient(135deg, rgb(157 110 249 / 50%) 0% 0%, rgba(125, 180, 152, 0.60));
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(63,210,181,.18);
  box-shadow:
    0 0 0 1px rgba(63,210,181,.05),
    0 10px 30px rgba(0,0,0,.45);
  transition: transform .25s ease, box-shadow .25s ease;
}

.server-card-typeb:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(63,210,181,.35),
    0 20px 45px rgba(0,0,0,.65);
}
.vip-server-typeb {
  background: linear-gradient(135deg, rgb(222 236 63 / 50%) 0% 0%, rgb(113 82 45 / 60%))!important;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(63,210,181,.18);
  box-shadow:
    0 0 0 1px rgba(63,210,181,.05),
    0 10px 30px rgba(0,0,0,.45);
  transition: transform .25s ease, box-shadow .25s ease;
}
.vip-server-typeb:hover {
  transform: translateY(-4px);
  box-shadow:
    0 0 0 1px rgba(63,210,181,.35),
    0 20px 45px rgba(0,0,0,.65)
}
/* ===== HEADER ===== */
.card-header-typeb {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: linear-gradient(90deg, rgba(63,210,181,.08), transparent);
}

/* Rank */
.rank-badge-typeb {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(135deg, #f2c94c, #d4a72c);
  color: #000;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 0 12px rgba(242,201,76,.45);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rank-badge-typeb img {
  width: 26px;
  height: 26px;
  border-radius: 6px;
}

.rank-badge-typeb .icon {
  font-size: 1.2em;
  color: #f2c94c;
}

/* Logo */
.server-logo-typeb {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid rgba(63,210,181,.4);
}

.server-logo-icon-typeb {
  font-size: 1.9em;
  color: #f2c94c;
}

/* Title */
.server-title-typeb {
  flex: 1;
}

.server-name-typeb a {
  font-size: 1.65em;
  font-weight: 700;
  color: #e6f4f1;
  padding: 6px;
}

.server-name-typeb a:hover {
  color: #3fd2b5;
  font-size: 1.68em;
}

.server-gamemode-typeb .server-tags-typeb {
  margin-top: 4px;
  gap: 6px;
}

.server-gamemode-typeb .server-tag-typeb {
  font-size: 0.65em;
  padding: 4px 10px;
}

/* Stats */
.server-stats-typeb {
  display: flex;
  gap: 14px;
  text-align: right;
}

.stat-typeb span {
  font-size: .65em;
  color: #9fbfba;
}

.stat-typeb strong {
  font-size: .9em;
  color: #e6f4f1;
}

/* ===== BODY ===== */
.card-body-typeb {
  padding: 16px;
}

.server-banner-typeb {
  width: 50%;
  display: block;          /* allows margin auto */
  margin: 0 auto 12px;     /* centers horizontally */

  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0,0,0,.6);
  border: 1px solid black;
}
.server-banner-typeb:hover {
  width: 80%;
}
@media (max-width: 768px) {
  .server-banner-typeb {
    width: 100%;
  }
}
/* Description */
.server-description {
  font-size: .9em;
  line-height: 1.45;
  color: #cfe8e3;
  margin-bottom: 14px;
}

/* ===== IP / ACTIONS ===== */
.ip-section-typeb {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.server-ip-typeb {
  font-family: monospace;
  font-size: .9em;
  color: #3fd2b5;
}

/* Buttons */
.actions-typeb {
  display: flex;
  gap: 8px;
}

.actions-typeb .button {
  background: rgba(63,210,181,.15);
  color: #e6f4f1;
  border: 1px solid rgba(63,210,181,.35);
  border-radius: 8px;
  transition: background .2s ease, box-shadow .2s ease;
}
.actions-typeb .button:hover {
  background: rgba(63,210,181,.35);
  box-shadow: 0 0 14px rgba(63,210,181,.45);
}

.actions-typeb .primary.button {
  background: linear-gradient(135deg, #3fd2b5, #1fa18b);
  color: #002b25;
  border: none;
  font-weight: 700;
}

.actions-typeb .primary.button:hover {
  box-shadow: 0 0 18px rgba(63,210,181,.65);
}

.stat-item {
    text-align: center;
    padding: 8px 16px;
    background: rgba(63,210,181,.15);
	color: #e6f4f1;
    border-radius: 8px;
    border: 1px solid rgba(63,210,181,.35);
    transition: background .2s ease, box-shadow .2s ease;
}
.stat-item:hover {
  background: rgba(63,210,181,.35);
  box-shadow: 0 0 14px rgba(63,210,181,.45);
  
}
/* ===== DESCRIPTION BOX ===== */
.server-description-box-typeb {
  margin: 14px 0 16px;
  padding: 14px 16px;
  border-radius: 12px;

  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(63, 210, 181, 0.25);

  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.03),
    0 6px 20px rgba(0,0,0,0.35);
}

/* Text styling */
.server-description-text-typeb {
  font-size: 0.95em;
  line-height: 1.55;
  color: #d7efea;
  word-break: break-word;
}

/* Improve paragraph spacing if description has <p> */
.server-description-text-typeb p {
  margin: 0 0 8px;
}

.server-description-text-typeb p:last-child {
  margin-bottom: 0;
}

/* Optional subtle accent bar (Hytale feel) */
.server-description-box-typeb::before {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  margin-bottom: 10px;
  border-radius: 3px;
  background: linear-gradient(90deg, #3fd2b5, #f2c94c);
}
/* ===== IP DISPLAY ===== */
.server-ip-box-typeb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom:10px;

  padding: 8px 12px;
  border-radius: 10px;

  background: rgba(0,0,0,0.45);
  border: 1px solid rgba(63,210,181,.35);

  font-family: 'Courier New', monospace;
  font-size: 0.95em;
  color: #e6f4f1;

  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.04),
    0 4px 14px rgba(0,0,0,.35);
}

/* IP text */
.server-ip-text-typeb {
  letter-spacing: .03em;
  user-select: all; /* click-drag selects IP */
}

/* Icon */
.ip-icon-typeb {
  color: #3fd2b5;
  font-size: 1em;
}

/* Responsive safety */
@media (max-width: 480px) {
  .server-ip-box-typeb {
    font-size: 0.85em;
  }
}
/* ===== EMPTY / SPONSORED CARD ===== */
.server-card-empty-typeb {
  border: 1px dashed rgba(242, 201, 76, 0.45);
  background: linear-gradient(
    180deg,
    rgba(19, 43, 39, 0.7),
    rgba(14, 31, 28, 0.7)
  );
}

.server-empty-body-typeb {
  padding: 40px 20px;
  text-align: center;
}

.server-empty-icon-typeb {
  font-size: 2.2em;
  color: #f2c94c;
  margin-bottom: 10px;
}

.server-empty-text-typeb {
  font-size: 1.05em;
  font-weight: 600;
  color: #e6f4f1;
  opacity: 0.9;
}
/* ===== PAGINATION WRAPPER ===== */
.pagination-wrapper-typeb {
  margin-top: 32px;
  display: flex;
  justify-content: center;
  padding: 8px;
}

/* ===== Pagination Bar Background ===== */
.pagination-wrapper-typeb .ui.pagination.menu {
  background: rgba(0,0,0,0.25) !important;
  backdrop-filter: blur(8px);
  border-radius: 14px;
  border: 1px solid rgba(63,210,181,0.2) !important;
  box-shadow: 0 6px 22px rgba(0,0,0,0.5);
  gap: 6px;
  padding: 6px;
}

/* ===== Pagination Items ===== */
.pagination-wrapper-typeb .ui.pagination.menu .item {
  font-size: 1em;
  font-weight: 700;
  color: #cfe8e3 !important;
  border-radius: 10px;
  padding: 8px 14px;
  transition: all .2s ease, transform .15s ease;
}

/* Hover Glow */
.pagination-wrapper-typeb .ui.pagination.menu .item:hover {
  background: rgba(63,210,181,0.15) !important;
  color: #fff !important;
  box-shadow: 0 0 12px rgba(63,210,181,0.35);
  transform: translateY(-1px);
}

/* Active Page Style */
.pagination-wrapper-typeb .ui.pagination.menu .item.active {
  background: linear-gradient(135deg, #2a5d5a, #1a2e3b) !important;
  color: #ffffff !important;
  box-shadow: 0 0 16px rgba(63,210,181,0.55);
  border: 1px solid rgba(63,210,181,0.5) !important;
  transform: scale(1.05);
  text-shadow: 0 0 6px rgba(255,255,255,0.6);
}

/* =========================
   NAVBAR TYPEC – CLEAN FIX
   ========================= */

/* Base navbar */
.ui.menu.navbar-typec {
  background: linear-gradient(180deg, #456d6a, #675785) !important;
  border-bottom: 1px solid rgba(255,255,255,.15) !important;
  box-shadow: 0 10px 35px rgba(0,0,0,.6) !important;
  min-height: 64px;
  z-index: 1000;
}

/* REMOVE Semantic UI right menu background */
.ui.menu.navbar-typec .right.menu {
  background: transparent !important;
}

/* General nav items */
.ui.menu.navbar-typec .item {
  font-size: 1.05em;
  font-weight: 600;
  color: #e6f4f1 !important;
  padding: 0 16px;
  background: transparent !important;
  position: relative;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease;
}

/* Hover glow */
.ui.menu.navbar-typec .item:hover {
  color: #ffffff !important;
  background: rgba(255,255,255,.08) !important;
  box-shadow: 0 0 16px rgba(255,255,255,.25);
}

/* Active page */
.ui.menu.navbar-typec .item.active {
  background: rgba(255,255,255,.14) !important;
  box-shadow:
    inset 0 -2px 0 #ffffff,
    0 0 18px rgba(255,255,255,.45);
}

/* Underline animation */
.ui.menu.navbar-typec .item::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ffffff, #d6c8ff);
  transition: width .25s ease, left .25s ease;
  border-radius: 2px;
}

.ui.menu.navbar-typec .item:hover::after {
  width: 70%;
  left: 15%;
}

/* Brand */
.ui.menu.navbar-typec .navbar-brand-typec {
  font-size: 1.15em;
  font-weight: 800;
  color: #ffffff !important;
}

.ui.menu.navbar-typec .navbar-brand-typec i {
  color: #ffffff;
}

/* ===== NAV LOGIN / LOGOUT – BLENDED STYLE ===== */
.ui.menu.navbar-typec .navbar-btn-typec {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: rgba(255,255,255,0.08) !important; /* blends into nav */
  color: #e6f4f1 !important;

  font-weight: 600;
  font-size: 0.95em;
  line-height: 1;

  padding: 10px 18px;
  border-radius: 8px;

  border: none !important;
  box-shadow: none !important;

  transition: background .2s ease, color .2s ease;
}

/* Hover: subtle lift without popping */
.ui.menu.navbar-typec .navbar-btn-typec:hover {
  background: rgba(255,255,255,0.14) !important;
  color: #ffffff !important;
}

/* Icon alignment */
.ui.menu.navbar-typec .navbar-btn-typec i {
  margin-right: 6px;
  line-height: 1;
}


/* =========================
   DROPDOWN (MATCH NAV)
   ========================= */

.ui.menu.navbar-typec .ui.dropdown .menu {
  background: linear-gradient(180deg, #456d6a, #675785) !important;
  border: 1px solid rgba(255,255,255,.25) !important;
  border-radius: 12px !important;
  padding: 8px 0 !important;
  box-shadow:
    0 15px 40px rgba(0,0,0,.8),
    0 0 20px rgba(255,255,255,.25) !important;
}

.ui.menu.navbar-typec .ui.dropdown .menu .item {
  color: #e6f4f1 !important;
  padding: 12px 18px !important;
}

.ui.menu.navbar-typec .ui.dropdown .menu .item:hover {
  background: rgba(255,255,255,.15) !important;
  color: #ffffff !important;
  box-shadow: inset 3px 0 0 #ffffff;
}

/* Dropdown arrow */
.ui.menu.navbar-typec .dropdown.icon {
  color: #ffffff !important;
}

/* Mobile */
@media (max-width: 768px) {
  .ui.menu.navbar-typec .item {
    font-size: 1em;
    padding: 0 14px;
  }
}
/* ===== SERVER INFO PANEL ===== */
.server-info-panel-typeb {
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(63,210,181,.25);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.5);
}

.server-info-header-typeb {
  background: linear-gradient(180deg, #456d6a, #675785) !important;
  padding: 12px 14px;
  font-size: 1.2em;
  font-weight: 800;
  color: #e6f4f1;
  background: linear-gradient(90deg, rgba(63,210,181,.2), transparent);
}

.server-info-grid-typeb {
  background: linear-gradient(135deg, rgb(157 110 249 / 50%) 0% 0%, rgba(125, 180, 152, 0.60));
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  padding: 18px;
}

.info-item-typeb span {
  font-size: 0.75em;
  color: #9ccfc6;
  text-transform: uppercase;
}

.info-item-typeb strong {
  display: block;
  font-size: 1em;
  color: #e6f4f1;
}
.server-hero-typeb {
  margin-bottom: 20px;
  text-align: center;
}

.server-hero-banner-typeb {
  max-width: 100%;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,.6);
}
.server-tags-typeb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 16px;
}

.server-tag-typeb {
  padding: 6px 12px;
  font-size: 0.75em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;

  color: #cfe8e3;
  background: rgba(63,210,181,.12);
  border: 1px solid rgba(63,210,181,.35);
  border-radius: 999px;

  transition: background .2s ease, transform .15s ease;
}

.server-tag-typeb:hover {
  background: rgba(63,210,181,.25);
  transform: translateY(-1px);
}
/* ===== ATTACHED IP + COPY ===== */
.server-ip-box-typeb {
  display: inline-flex;            /* keeps it compact */
  align-items: center;

  border-radius: 8px;
  overflow: hidden;                /* makes button attach cleanly */

  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(63,210,181,.35);

  font-family: monospace;
  font-size: 0.9em;
  color: #e6f4f1;
}

/* IP text area */
.server-ip-text-typeb {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  padding: 6px 12px;
  white-space: nowrap;
}

/* Copy button (attached) */
.server-ip-copy-btn-typeb {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 34px;
  height: 100%;

  border: none;
  background: rgba(255,255,255,0.00);
  color: #9ccfc6;

  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.server-ip-copy-btn-typeb:hover {
  color: #e6f4f1;
}

/* Copied feedback */
.server-ip-copy-btn-typeb.copied {
  background: rgba(63,210,181,.3);
  color: #ffffff;
}

/* Plug icon */
.ip-icon-typeb {
  color: #3fd2b5;
}
.copy-text-typeb.copied {
  background: rgba(63,210,181,.25) !important;
  color: #e6f4f1 !important;
  box-shadow: 0 0 12px rgba(63,210,181,.45);
}

/* Paragraph text */
.intro-box-typeb p {
  font-size: 16px;
  line-height: 1.7;
  color: #fff;
  margin-bottom: 14px;
  font-weight: 400;
}

/* Mobile polish */
@media (max-width: 768px) {
  .intro-box-typeb {
    padding: 22px;
  }
  .intro-title-typeb {
    font-size: 23px;
    background: linear-gradient(#2c7db5,#ffffaa);
    -webkit-text-stroke: 1px black;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    text-transform: uppercase;
    padding-bottom: 5px;
    letter-spacing: 1px;
    border: none;
    margin: calc(2rem - .14285714em) 0 1rem;
    padding: 0;
    line-height: 1.28571429em;
  }
  .intro-box-typeb p {
    font-size: 15px;
  }
}

