/* ==========================================================================
   FONTS & ROOT TOKENS
   ========================================================================== */
@import url('https://fonts.googleapis.com/css?family=Montserrat:300,500,600,700,900');

:root{
  --raise-scale: 1.01;
  --raise-translate: -2px;
  --raise-shadow: 0 16px 34px rgba(0,0,0,.6), 0 2px 6px rgba(0,0,0,.35);
}

/* ==========================================================================
   BASE: BODY & GLOBAL
   ========================================================================== */
body {
  position: relative;
  min-height: 100vh;
  background: #000; /* fallback color */
  font-family: "Kanit", "Roboto", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;

  background: url(../img/background.jpg) no-repeat center center fixed;
  background-size: cover;

  filter: blur(6px);          /* blur strength – try 4–10px */
  transform: scale(1.03);     /* prevents blurry edges from showing */
}

a, button { text-decoration: none !important; }

/* ==========================================================================
   TOP BANNERS / NAV
   ========================================================================== */
.nav-before {
  background: #000000d9;
  padding: 23px;
  border-top-style: solid;
  border-right-style: none;
  border-bottom-style: none;
  border-left-style: none;
  border-width: 6px;
  border-color: #000000;
}

.nav-before img { transition: transform 0.3s ease; }
.nav-before img:hover { 
  transform: scale(1.05); 
  transform: translateY(-2px) scale(1.03);
  filter:
    drop-shadow(0 0 18px rgba(147, 89, 255, 0.9))
    drop-shadow(0 0 44px rgba(0, 0, 0, 1));
}

.navbar {
  background: #000000d9 !important;
  border-top: 1px solid #08080854;
  padding: 0;
  text-align: center;
  border-top-style: solid;
  border-right-style: none;
  border-bottom-style: solid;
  border-left-style: none;
  border-width: 6px;
  border-color: #000000;
  text-shadow: 4px 4px 4px #000000;
}

nav .container { padding: 0; text-align: center; }
.navbar-toggler { border: none; text-align: center; }
.navbar-toggler:focus { outline: none; text-align: center; }

nav.navbar .mr-auto a {
  font-weight: 800;
  font-size: 1.95em;
  color: white !important;
  border-bottom: 4px solid transparent;
  text-align: center;
}

/* single, de-duplicated hover effect */
nav.navbar .mr-auto a:hover {
  background: #ffffff;
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textclip 2s linear infinite;
  display: inline-block;
  text-shadow: 0px 2px 24px white;
  border-color: #5900ff;
  text-align: center;
}

@keyframes textclip {
  to { background-position: 200% center; }
}

.discordwidget { padding: 2em; float: right; }

.navbar-nav a { padding: 20px !important; }
.navbar-nav.ml-auto a { font-weight: bold; color: white !important; }
.navbar-nav.ml-auto a span { color: #5DD46B; }

/* ==========================================================================
   SECTIONS: HEADERS / PADDING
   ========================================================================== */
.section { padding-top: 2em; padding-bottom: 2em; }
.sectionz { padding-top: 1em; padding-bottom: 1em; }

.section .title h2 {
  color: white;
  font-weight: 900;
  font-size: 2em;
  margin-bottom: 0;
  text-transform: uppercase;
  text-shadow: 4px 4px 4px #000000;
  text-decoration: underline;
}

.section .title p {
  font-weight: 500;
  color: white;
  font-size: 1.5em;
  text-shadow: 2px 2px 2px #000000;
}

/* ==========================================================================
   GAME SERVERS GRID (epic remaster)
   ========================================================================== */

.game-servers .col-md-3 {
  margin-bottom: 1.25em;
}

/* core card */
.game-servers .card {
  position: relative;
  background-repeat: no-repeat !important;
  background-position: center center !important;
  background-size: cover !important;
  background-color: rgba(0, 0, 0, 0.7) !important; /* dark overlay */
  background-blend-mode: multiply;                  /* blend image + overlay */

  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  overflow: hidden;

  box-shadow:
    0 16px 38px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(0, 0, 0, 0.9);

  transition:
    transform 0.18s ease-out,
    box-shadow 0.18s ease-out,
    border-color 0.18s ease-out,
    filter 0.18s ease-out;
}


/* edge glow + vignette */
.game-servers .card::before,
.game-servers .card::after {
  content: '';
  position: absolute;
  inset: -1px;              /* extend overlay slightly past the border */
  border-radius: inherit;
  pointer-events: none;
}

/* purple brand glow in the top-left */
.game-servers .card::before {
  background:
    radial-gradient(circle at 0% 0%, rgba(147, 89, 255, 0.5) 0, transparent 55%);
  opacity: 0.35;
  mix-blend-mode: screen;
}

/* hover: lift + brighter */
.game-servers .card:hover,
.game-servers .card:focus-within {
  transform: translateY(-4px) scale(1.015);
  border-color: rgba(147, 89, 255, 0.9);
  box-shadow:
    0 22px 52px rgba(0, 0, 0, 0.96),
    0 0 24px rgba(147, 89, 255, 0.55);
  filter: saturate(1.1);
}

/* inner overlay */
.game-servers .card .inner {
  position: relative;
  z-index: 1;

  border-radius: inherit;
  padding: 0.9em 1.1em;
  background: radial-gradient(circle at 50% 0%, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.55));

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;

  min-height: 210px;

  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.7);
  transition: box-shadow 0.18s ease-out, background 0.18s ease-out;
}

.game-servers .card:hover .inner,
.game-servers .card:focus-within .inner {
  box-shadow: inset 0 0 110px rgba(0, 0, 0, 0.85);
  background: radial-gradient(circle at 50% 0%, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.72));
}

/* server icon */
.game-servers .card .inner img {
  display: block;
  width: 64px;
  height: 64px;
  margin: 0 auto 0.4em auto;
  border-radius: 14px;
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.95));
  transition: transform 0.18s ease-out, filter 0.18s ease-out;
}

.game-servers .card:hover .inner img,
.game-servers .card:focus-within .inner img {
  transform: translateY(-1px) scale(1.05);
  filter:
    drop-shadow(0 0 10px rgba(0, 0, 0, 0.95))
    drop-shadow(0 0 18px rgba(255, 255, 255, 0.35));
}

/* host + map block */
.game-servers .card .inner .hostmap {
  text-shadow: 4px 4px 4px #000000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 0;
}

/* generic text */
.game-servers .card .inner p {
  border-radius: 0;
  color: #f2f2f2;
  font-weight: 800;
  padding: 0;
  margin: 0;
  line-height: 1.05;
}

/* server title */
.game-servers .card .inner .hostmap p.morein2,
.game-servers .card .inner p.morein2 {
  font-size: 1.3em;
  font-weight: 900;
  color: #ffffff;
  text-align: center;
  text-shadow: 4px 4px 8px #000000;
}

/* map name / "Server Offline" */
.game-servers .card .inner .hostmap p.morein,
.game-servers .card .inner p.morein {
  font-size: 0.9em;
  font-weight: 700;
  color: #f8f8f8;
  opacity: 0.95;
}

/* player count (legacy – safe to keep even if unused) */
.game-servers .card .inner p.morein3,
.game-servers .card .inner .hostmap p.morein3 {
  font-size: 1.05em;
  font-weight: 900;
  color: #ffffff;
}

/* top meta row: status left, players right */
.game-servers .server-meta {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.1em;
  margin-bottom: 0.35em;
}

/* online / offline status */
.game-servers .server-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95em;           /* was 0.8em */
  font-weight: 700;
  text-shadow: 3px 3px 4px #000;
}

.game-servers .server-status .status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.9);
}

/* green online */
.game-servers .server-status-online .status-dot {
  background: #3ad35c;
  box-shadow: 0 0 10px rgba(58, 211, 92, 0.95);
}

.game-servers .server-status-online .status-label {
  color: #a6ffb7;
}

/* red offline */
.game-servers .server-status-offline .status-dot {
  background: #ff3b3b;
  box-shadow: 0 0 10px rgba(255, 59, 59, 0.95);
}

.game-servers .server-status-offline .status-label {
  color: #ffb1b1;
}

/* players (top-left) */
.game-servers .server-players {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95em;          /* was 0.8em */
  font-weight: 800;
  color: #ffffff;
  text-shadow: 3px 3px 4px #000;
}

.game-servers .server-players i {
  font-size: 0.95em;
  opacity: 0.9;
}

.game-servers .server-players .players-count {
  white-space: nowrap;
}


/* action buttons (connect + BM) */
.game-servers .server-actions {
  margin-top: 0.8em;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* shared pill style for both buttons */
.game-servers .server-connect-btn,
.game-servers .bm-link-btn {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  padding: 0.22rem 0.9rem;
  font-size: 0.85em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.9);
  transition: 0.18s ease-out all;
}

.game-servers .server-connect-btn i,
.game-servers .bm-link-btn i {
  font-size: 1em;
}

/* hover states */
.game-servers .server-connect-btn:hover,
.game-servers .bm-link-btn:hover {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.95);
  transform: translateY(-1px);
}

/* keep BM icon dark on hover */
.game-servers .bm-link-btn:hover i {
  color: #000000;
}

/* optional legacy bits kept so nothing breaks */
.game-servers .card .description {
  background: rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(125, 125, 125, 0.9);
  padding: 0.5em;
  border-radius: 15px;
  margin-top: 1em;
}

.game-servers .card .progress {
  border-radius: 0;
  padding: 0;
  margin: 0;
  height: 2em;
}

/* responsiveness */
@media (max-width: 992px) {
  .game-servers .card .inner {
    min-height: 190px;
    padding: 0.8em 0.9em;
  }
}

@media (max-width: 768px) {
  .game-servers .card {
    border-radius: 22px;
  }

  .game-servers .card .inner {
    min-height: 180px;
  }

  .game-servers .card .inner .hostmap p.morein2 {
    font-size: 1.2em;
  }
}

/* IP:PORT text inside the copy button */
.game-servers .server-connect-btn .ip-text {
  font-family: "Roboto Mono", "Consolas", monospace;
  font-size: 0.8em;
  text-transform: none;         /* override uppercase */
  letter-spacing: 0.04em;
}

/* copied state (brief success flash) */
.game-servers .server-connect-btn.copied {
  background: #3ad35c;
  color: #000000;
  border-color: #3ad35c;
}

.game-servers .server-connect-btn.copied i {
  color: #000000;
}









/* ==========================================================================
   FEATURES CARDS (compact + epic)
   ========================================================================== */
.section.features {
  padding-top: 3rem;
  padding-bottom: 0.25rem;
}

.features-heading {
  margin-bottom: 1.5rem; /* tweak 2rem–3rem to taste */
}

.features-heading h2 {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 900;
  text-shadow: 4px 4px 8px #000;
}

.features-heading p {
  max-width: 560px;
  margin: 0.5rem auto 0;
}

/* Grid spacing */
.features .col-md-4 {
  margin-bottom: 0.3rem;
}

/* Core card */
.feature-card {
  position: relative;
  border-radius: 18px;
  padding: 1.4rem 1.3rem;
  background:
    radial-gradient(circle at top left, rgba(147, 89, 255, 0.25), transparent 55%),
    rgba(0, 0, 0, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;

  transition:
    transform 0.18s ease-out,
    box-shadow 0.18s ease-out,
    border-color 0.18s ease-out,
    background 0.18s ease-out;
}

/* Desktop: keep them low profile */
@media (min-width: 992px) {
  .feature-card {
    min-height: 0;
  }
}

/* Header: icon + title row */
.feature-card-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

/* Icon wrapper */
.feature-icon {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.75);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 0 18px rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Ensure icons themselves stay nice and sharp */
.section.features .feature-icon img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

/* If you're using <i> font icons instead of <img> */
.section.features .feature-icon i {
  font-size: 1.8rem;
  text-shadow: 0 0 12px #000;
}

/* Title block */
.feature-title-block h3 {
  font-size: 1.05rem;
  margin: 0.05rem 0 0;
  font-weight: 800;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 3px 3px 6px #000;
}

/* Small neon pill above title */
.feature-pill {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background: rgba(10, 10, 10, 0.9);
  border: 1px solid rgba(147, 89, 255, 0.55);
  color: #bca7ff;
}

/* Description text */
.feature-desc {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.5;
  color: #f0f0f0;
  text-shadow: 2px 2px 4px #000000;
}

/* Hover / focus state – subtle lift + glow */
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color 0.18s ease-out, opacity 0.18s ease-out;
  opacity: 0;
}

.feature-card:hover,
.feature-card:focus-within {
  transform: translateY(-4px) scale(1.015);
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.95),
    0 0 22px rgba(147, 89, 255, 0.45);
  border-color: rgba(127, 91, 255, 0.9);
  background:
    radial-gradient(circle at top left, rgba(147, 89, 255, 0.4), transparent 55%),
    rgba(0, 0, 0, 0.95);
}

.feature-card:hover::before,
.feature-card:focus-within::before {
  border-color: rgba(255, 255, 255, 0.16);
  opacity: 1;
}

/* Slight zoom on the icon on hover */
.feature-card:hover .feature-icon,
.feature-card:focus-within .feature-icon {
  transform: translateY(-1px);
  transition: transform 0.18s ease-out;
}

/* Keep legacy icon styles from breaking anything else in the site */
.section.features .icon img:hover {
  transform: scale(1.03);
  transition: transform 0.18s ease-out;
}


/* ==========================================================================
   MANAGEMENT CARDS + STATUS ROWS (remaster)
   ========================================================================== */

.management .col-md-3 {
  margin-bottom: 1.25em;
}

/* core card */
.management .card {
  position: relative;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.4em 1.3em;
  background:
    radial-gradient(circle at 0% 0%, rgba(0, 0, 0, 0.96) 0, rgba(0, 0, 0, 0.86) 55%, rgba(0, 0, 0, 0.97) 100%);
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(0, 0, 0, 0.9);
  overflow: hidden;

  transition:
    transform 0.18s ease-out,
    box-shadow 0.18s ease-out,
    border-color 0.18s ease-out,
    background 0.18s ease-out;
}

/* subtle rank-colored glow */
.management .card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 0% 0%, var(--accent, #ff3b6f) 0, transparent 60%);
  opacity: 0.22;
  pointer-events: none;
  mix-blend-mode: screen;
  transition: opacity 0.18s ease-out;
}

/* keep media layout but tighten spacing */
.management .card .media {
  align-items: center;
  gap: 1rem;
}

/* avatar */
.management .card img {
  width: 4.6em;
  height: 4.6em;
  border-radius: 10px;
  object-fit: cover;
  outline: 2px solid #000;
  box-shadow:
    0 0 0 2px var(--accent, #ff3b6f),
    0 0 16px var(--accent, #ff3b6f),
    0 0 22px rgba(0, 0, 0, 0.9);
  background: #000;
  transition: transform 0.18s ease-out;
}

/* text column */
.management .card .media-body {
  padding: 0.3em 0;
}

/* name + rank */
.management .card h5 {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.1em;
  text-shadow: 3px 3px 6px #000;
}

.management .card h5 span {
  display: inline-block;
  margin-left: 0.4rem;
  color: var(--accent, #ff3b6f);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.65em !important;
  letter-spacing: 0.12em;
}

/* Steam status pill row */
.management .mgmt-steam-status {
  margin-top: 0.25em;
  font-size: 0.8em;
  color: #dcdcdc;
  display: flex;
  align-items: center;
  gap: 6px;
  text-shadow: 2px 2px 3px #000;
}

.management .mgmt-steam-status .status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #777;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.9);
  flex-shrink: 0;
}

/* keep original classes for php helper */
.management .mgmt-steam-status .status-online,
.management .mgmt-steam-status .status-playing {
  background: #4caf50;
  box-shadow: 0 0 8px rgba(76, 175, 80, 0.9);
}

.management .mgmt-steam-status .status-offline {
  background: #888;
  box-shadow: none;
}

.management .mgmt-steam-status .status-snooze,
.management .mgmt-steam-status .status-away {
  background: #ffcc00;
  box-shadow: 0 0 8px rgba(255, 204, 0, 0.9);
}

.management .mgmt-steam-status .status-ingame {
  background: #4caf50;
  box-shadow: 0 0 8px rgba(76, 175, 80, 0.9);
}

.management .mgmt-steam-status .status-text {
  font-weight: 600;
}

.management .mgmt-steam-status .status-game {
  margin-left: 0.25em;
  font-weight: 700;
  color: #ffffff;
}

/* Discord row */
.management .mgmt-discord-row {
  margin-top: 0.45em;
  font-size: 0.8em;
  color: #e0e0e0;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  text-shadow: 2px 2px 3px #000;
}

.management .mgmt-discord-row .discord-label {
  font-weight: 600;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 4px;
}

.management .mgmt-discord-row .discord-label i {
  font-size: 1em;
}

.management .mgmt-discord-row .discord-username {
  font-weight: 600;
}

.management .mgmt-discord-row .btn-copy-discord {
  padding: 0.15rem 0.55rem;
  font-size: 0.7em;
  border-radius: 999px;
  line-height: 1.2;
  text-transform: uppercase;
  border-color: rgba(255, 255, 255, 0.6);
}

/* Steam profile button */
.management .mgmt-steam-btn {
  margin-top: 0.7em;
}

.management .card .btn {
  font-size: 0.8em;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.25rem 0.9rem;
  border-width: 1px;
}

/* hover states */
.management .card:hover,
.management .card:focus-within {
  transform: translateY(-4px) scale(1.015);
  border-color: var(--accent, #ff3b6f);
  background:
    radial-gradient(circle at 0% 0%, rgba(0, 0, 0, 0.98) 0, rgba(0, 0, 0, 0.88) 55%, rgba(0, 0, 0, 0.98) 100%);
  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.96),
    0 0 26px rgba(0, 0, 0, 0.9);
}

.management .card:hover::before,
.management .card:focus-within::before {
  opacity: 0.34;
}

.management .card:hover img,
.management .card:focus-within img {
  transform: translateY(-1px) scale(1.04);
}

/* responsive tweaks */
@media (max-width: 992px) {
  .management .card {
    padding: 1.25em 1.1em;
  }
}

@media (max-width: 768px) {
  .management .card .media {
    align-items: flex-start;
  }
}

@media (max-width: 576px) {
  .management .card {
    padding: 1.15em 1em;
  }
}


/* ==========================================================================
   DISCORD PILLS (epic remaster)
   ========================================================================== */
.discordz {
  --pill-width: 460px;
  --pill-gap: 14px;
}

/* container spacing */
.discordz .title h2 {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 900;
  text-shadow: 4px 4px 8px #000;
}

.discordz .title p {
  margin-top: 0.35rem;
  margin-bottom: 0.75rem; /* ↓ smaller bottom margin */
}

/* two-up centered layout */
.discordz .discord-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: var(--pill-gap);
  margin: 0 auto;
  flex-wrap: nowrap;
}

.discordz .discord-item {
  flex: 0 0 var(--pill-width);
  display: flex;
  box-sizing: border-box;
}

/* core pill card */
.discordz .card {
  position: relative;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.3em 1.6em;
  background:
    radial-gradient(circle at 0% 0%, rgba(0, 0, 0, 0.95) 0, rgba(0, 0, 0, 0.82) 55%, rgba(0, 0, 0, 0.96) 100%);
  width: 100%;
  margin: 0 auto 1.5em;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(0, 0, 0, 0.8);

  transition:
    transform 0.18s ease-out,
    box-shadow 0.18s ease-out,
    border-color 0.18s ease-out,
    background 0.18s ease-out;
}

/* subtle accent glow */
.discordz .card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background:
    radial-gradient(circle at 0% 0%, var(--accent, #5865F2) 0, transparent 55%);
  opacity: 0.22;
  mix-blend-mode: screen;
  pointer-events: none;
  transition: opacity 0.18s ease-out;
}

/* keep bootstrap media layout, just tighten */
.discordz .card .media {
  align-items: center;
  gap: 1.2rem;
}

/* avatar */
.discordz .card img {
  width: 5.2em;
  height: 5.2em;
  border-radius: 999px;
  object-fit: cover;
  outline: 2px solid #000;
  box-shadow:
    0 0 0 3px var(--accent, #5865F2),
    0 0 16px var(--accent, #5865F2),
    0 0 28px rgba(0, 0, 0, 0.9);
  background: #000;
  transition: transform 0.18s ease-out;
}

/* text block */
.discordz .card .media-body {
  padding: 0.5em 0;
  border-radius: 50px;
  text-align: left;
}

.discordz .card h5 {
  color: white;
  font-size: 1.2em;
  font-weight: 700;
  margin-bottom: 0.15em;
  text-shadow: 3px 3px 6px #000;
}

/* small label after name (discorddesc) */
.discordz .card h5 span {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.12rem 0.55rem;
  border-radius: 999px;
  font-size: 0.65em !important;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--accent, #9ba7ff);
}

/* counts line */
.discordz .card .discord-counts {
  margin: 0.3em 0 0.75em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.98em;
  text-shadow: 3px 3px 3px #000000;
}

.discordz .card .discord-counts .sep {
  margin: 0 0.5em;
  opacity: 0.7;
}

/* join button */
.discordz .card .btn {
  font-size: 0.95em;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.4rem 1.4rem;
  border-width: 1px;
  border-color: var(--accent, #5865F2);
  background: linear-gradient(
    120deg,
    rgba(0, 0, 0, 0.9),
    rgba(0, 0, 0, 0.96)
  );
  color: #ffffff;
  box-shadow:
    0 0 12px rgba(0, 0, 0, 0.9),
    0 0 16px rgba(0, 0, 0, 0.8);
  text-shadow: 2px 2px 4px #000;
  transition:
    background 0.18s ease-out,
    transform 0.18s ease-out,
    box-shadow 0.18s ease-out,
    border-color 0.18s ease-out;
}

.discordz .card .btn i {
  font-size: 1.05em;
  margin-right: 0.35rem;
}

/* hover states */
.discordz .card:hover,
.discordz .card:focus-within {
  transform: translateY(-4px) scale(1.015);
  border-color: var(--accent, #5865F2);
  background:
    radial-gradient(circle at 0% 0%, rgba(0, 0, 0, 0.98) 0, rgba(0, 0, 0, 0.88) 55%, rgba(0, 0, 0, 0.98) 100%);
  box-shadow:
    0 22px 55px rgba(0, 0, 0, 0.95),
    0 0 28px rgba(0, 0, 0, 0.9);
}

.discordz .card:hover::before,
.discordz .card:focus-within::before {
  opacity: 0.35;
}

.discordz .card:hover img,
.discordz .card:focus-within img {
  transform: scale(1.04);
}

.discordz .card .btn:hover,
.discordz .card .btn:focus-visible {
  transform: translateY(-1px);
  background: linear-gradient(
    120deg,
    rgba(0, 0, 0, 0.95),
    var(--accent, #5865F2)
  );
  box-shadow:
    0 0 18px var(--accent, #5865F2),
    0 0 32px rgba(0, 0, 0, 0.95);
}


/* responsive stacking */
@media (max-width: 1280px) {
  .discordz .discord-grid {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .discordz .discord-item {
    flex: 0 0 auto;
    width: min(100%, var(--pill-width));
  }
}

/* tablets */
@media (max-width: 992px) {
  .discordz .card {
    border-radius: 150px;
    padding: 1.2em 1.3em;
    margin-bottom: 1.75em;
  }
}

/* phones: center text + avatar */
@media (max-width: 768px) {
  .discordz .card {
    border-radius: 110px;
    padding: 1.15em 1.1em;
    margin-bottom: 2em;
  }

  .discordz .card .media {
    flex-direction: column;
    text-align: center;
  }

  .discordz .card .media-body {
    text-align: center;
  }
}

@media (max-width: 576px) {
  .discordz .card {
    border-radius: 80px;
    padding: 1.1em 0.9em;
    margin-bottom: 2.25em;
  }
}


/* ==========================================================================
   SOCIAL CARDS
   ========================================================================== */
.social .col-md-6, .social .col-sm-12 { padding: 12; }

.social .card {
  border-radius: 25px;
  border: none;
  padding: 2em;
  overflow-y: hidden;
  border-style: solid;
  border-color: black;
  border-width: thick;

  transition: .2s ease-in-out transform, .2s ease-in-out box-shadow, .2s ease-in-out border-color;
  -webkit-transition: .2s ease-in-out transform, .2s ease-in-out box-shadow, .2s ease-in-out border-color;
  -o-transition: .2s ease-in-out transform, .2s ease-in-out box-shadow, .2s ease-in-out border-color;
  -moz-transition: .2s ease-in-out transform, .2s ease-in-out box-shadow, .2s ease-in-out border-color;
}

/* deep outer lift on hover (kept gradients per variant) */
.social .card:hover {
  box-shadow: var(--raise-shadow);
  transform: translateY(var(--raise-translate)) scale(var(--raise-scale));
}

.social .card h5 {
  color: white;
  font-weight: 900;
  font-size: 2em;
  margin-bottom: 0;
  text-shadow: 4px 4px 4px #000000;
}
.social .card p {
  color: white;
  font-weight: 500;
  margin-bottom: 0;
  text-shadow: 3px 3px 3px #000000;
}

.social .card i {
  color: rgba(255,255,255,.1);
  font-size: 10em;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(30deg);
  transition: .2s ease-in-out all;
}
.social .card:hover i { font-size: 15em; }

/* Per-network gradient backgrounds */
.social .card.steam {
  background: linear-gradient(135deg, rgba(22,43,63,1) 0%,rgba(16,132,179,1) 100%);
  color: white;
}
.social .card.teamspeak {
  background: linear-gradient(135deg, rgba(35, 5, 87,1) 0%,rgba(149, 0, 255,1) 100%);
  color: white;
}
.social .card.extra {
  background: linear-gradient(135deg, rgba(61, 0, 0,1) 0%,rgba(217, 4, 4,1) 100%);
  color: white;
}
.social .card.gcity {
  background: linear-gradient(135deg, rgba(29, 75, 102,1) 0%,rgba(0, 124, 196,1) 100%);
  color: white;
}

/* ==========================================================================
   FOOTER (epic remaster)
   ========================================================================== */
.footer {
  margin-bottom: 2.5em;
}

.footer.author-footer {
  position: relative;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2.4em 2.2em;
  background:
    radial-gradient(circle at 0% 0%, rgba(147, 89, 255, 0.35) 0, transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(0, 0, 0, 0.95) 0, rgba(0, 0, 0, 0.96) 52%, rgba(0, 0, 0, 1) 100%);
  color: #fff;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.4em;

  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.92),
    0 0 0 1px rgba(0, 0, 0, 0.9);

  overflow: hidden;
  transition:
    transform 0.18s ease-out,
    box-shadow 0.18s ease-out,
    border-color 0.18s ease-out,
    background 0.18s ease-out;
}

/* diagonal glow sweep */
.footer.author-footer::before {
  content: '';
  position: absolute;
  inset: -40%;
  background: linear-gradient(
    120deg,
    transparent 0,
    rgba(255, 255, 255, 0.06) 35%,
    rgba(147, 89, 255, 0.18) 50%,
    transparent 70%
  );
  opacity: 0;
  transform: translate3d(-20%, 0, 0) rotate(-8deg);
  pointer-events: none;
  transition: opacity 0.25s ease-out, transform 0.25s ease-out;
}

.footer.author-footer:hover,
.footer.author-footer:focus-within {
  transform: translateY(-3px) scale(1.01);
  border-color: rgba(147, 89, 255, 0.9);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.96),
    0 0 26px rgba(147, 89, 255, 0.55);
}

.footer.author-footer:hover::before,
.footer.author-footer:focus-within::before {
  opacity: 1;
  transform: translate3d(8%, 0, 0) rotate(-8deg);
}

/* main footer column */
.footer-inner {
  max-width: 960px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;   /* centers label, logo, content */
  text-align: center;
}

/* subtle label above title */
.footer-inner::before {
  content: "PROJECT GAMING • COMMUNITY HUB";
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.16rem 0.9rem;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #d8d2ff;
}

/* logo */
.footer-brand {
  margin-bottom: 1.1rem;
}

.footer-brand img {
  display: block;
  margin: 0 auto;
}

.footer-logo {
  width: 120px;
  height: auto;
  filter:
    drop-shadow(0 0 8px rgba(0, 0, 0, 0.9))
    drop-shadow(0 0 24px rgba(0, 0, 0, 0.9));
  transition: transform 0.2s ease-out, filter 0.2s ease-out;
}

.footer-logo:hover {
  transform: translateY(-2px) scale(1.03);
  filter:
    drop-shadow(0 0 12px rgba(147, 89, 255, 0.9))
    drop-shadow(0 0 26px rgba(0, 0, 0, 1));
}

/* CONTENT BLOCK – single source of truth */
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;   /* centers title, text, button */
  text-align: center;
}

/* title & body */
.footer-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.55rem;
  text-shadow: 4px 4px 8px #000;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-text {
  font-size: 0.98rem;
  font-weight: 500;
  line-height: 1.6;
  color: #d8d8d8;
  max-width: 40rem;
  margin: 0 auto;
}

/* CTA button */
.footer-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 1rem;
  gap: 0.4rem;
  padding: 0.45rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.75);
  background: rgba(0, 0, 0, 0.85);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.85);
  transition: 0.18s ease-out all;
}

.footer-cta i {
  margin-right: 0.45rem;
  font-size: 1rem;
}

.footer-cta:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  box-shadow:
    0 0 20px rgba(147, 89, 255, 0.6),
    0 12px 26px rgba(0, 0, 0, 0.95);
}

/* copyright strip */
.footer-copyright {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.86rem;
  color: #b9b9b9;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.9;
  text-align: center;   /* keep this centered with everything else */
}

/* legacy */
.author-footer {
  font-size: 0.9em;
  color: #ffffff;
  font-weight: 300;
}

.author-footer p {
  margin-bottom: 0;
}

/* responsive tweaks */
@media (max-width: 768px) {
  .footer.author-footer {
    padding: 2em 1.4em;
  }

  .footer-title {
    font-size: 1.2rem;
  }

  .footer-text {
    font-size: 0.95rem;
  }
}




/* ==========================================================================
   LOGGED OUT SCREEN
   ========================================================================== */
body.admin { background: #f2f2f2; }

.logged-out {
  width: 100%;
  height: 100vh;
  background: linear-gradient(238deg, #1fbd94, #af00ff);
  background-size: 400% 400%;
  animation: AnimationName 32s ease infinite;
}
@keyframes AnimationName {
  0%{background-position:0% 88%}
  50%{background-position:100% 13%}
  100%{background-position:0% 88%}
}

.logged-out img {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%); height: 4em;
}
.logged-out .container {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.logged-out .card {
  padding: 2em; border-radius: 0; margin: 0; border: none;
  background: #242424; text-decoration: none;
}
.logged-out a { text-decoration: none; }
.logged-out .card i {
  font-size: 4em; margin-bottom: 0; text-decoration:none; color:#f2f2f2;
}
.logged-out .card h2 {
  font-weight: 700; font-size: 2em; margin-top: 1em;
  text-decoration: none; color:#f2f2f2;
}
.logged-out .card .btn { margin-top: 1em; }

.btn-icon { padding: 0; padding-right: 1em; border: none; border-radius: 3px; display:inline-block; }
.btn-icon i {
  font-size: 1em !important;
  padding: 1em; background: rgba(0,0,0,.2); margin-right: .5em;
}

/* ==========================================================================
   LAYOUT / GRID BREAKPOINTS
   ========================================================================== */
@media screen and (max-width: 991px) { .navbar { padding: 1em; } }
@media (min-width:1200px) { .container-big { max-width: 90%; } }
@media (min-width:1880px) { .container-big { max-width: 1860px; } }
@media (max-width: 1200px) {
  .game-servers .col-md-3 { -ms-flex: 0 0 50%; flex: 0 0 50%; max-width: 50%; }
}
@media (max-width: 576px) {
  .game-servers .col-md-3 { -ms-flex: 0 0 100%; flex: 0 0 100%; max-width: 100%; }
}

/* management grid breakpoints */
@media screen and (max-width: 1580px) {
  .management .col-md-3 { -ms-flex: 0 0 33%; flex: 0 0 33%; max-width: 33%; }
}
@media screen and (max-width: 1280px) {
  .management .col-md-3 { -ms-flex: 0 0 50%; flex: 0 0 50%; max-width: 50%; }
}
@media screen and (max-width: 768px) {
  .management .col-md-3 { -ms-flex: 0 0 100%; flex: 0 0 100%; max-width: 100%; }
}
@media screen and (max-width: 768px) { .footer .col-md-3 { /* reserved */ } }





/* ==========================================================================
   VIP CTA – thin rainbow line by default, huge rainbow border + glow on hover
   ========================================================================== */
.vip-cta {
  --card-bg: rgba(8, 10, 17, 0.96);
  --card-edge: rgba(255, 255, 255, 0.08);
  --text: #e8ebf2;
  --muted: #a7afbf;
  --accent: #ffd44d;
  --radius: 10px;           /* was 16px – squarer corners */
}

.vip-cta .col-md-6 {
  max-width: 560px;
}

/* OUTER SHELL: neutral by default, rainbow outline + glow ONLY on hover */
.vip-shell {
  position: relative;
  z-index: 0;
  border-radius: var(--radius);
  padding: 0;                           /* CHANGED: no padding so shell == button width */
  background: rgba(0, 0, 0, 0.85);      /* neutral edge when idle */
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

/* RAINBOW OUTER GLOW (big blurry aura) */
.vip-shell::before {
  content: "";
  position: absolute;
  inset: -18px;                         /* sits outside the shell */
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    #ff4d4d,
    #ffa64d,
    #ffe04d,
    #6dff6d,
    #4dd6ff,
    #6b6bff,
    #d26bff,
    #ff4d4d
  );
  background-size: 200% 100%;
  filter: blur(28px);
  opacity: 0;                           /* OFF by default */
  pointer-events: none;
  z-index: 0;
}

/* RAINBOW RING AROUND THE EDGE (no fill inside) */
.vip-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;                         /* ring thickness – handled by mask, not shell padding */
  background: linear-gradient(
    90deg,
    #ff4d4d,
    #ffa64d,
    #ffe04d,
    #6dff6d,
    #4dd6ff,
    #6b6bff,
    #d26bff,
    #ff4d4d
  );
  background-size: 200% 100%;

  /* keep only the border ring, cut out the center */
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;

  opacity: 0;                           /* OFF by default */
  pointer-events: none;
  z-index: 0;
}

/* move the rainbow */
@keyframes vip-border-anim {
  from { background-position: 0% 0; }
  to   { background-position: 200% 0; }
}

.vip-shell:hover::before,
.vip-shell:hover::after {
  opacity: 1;
  animation: vip-border-anim 12s linear infinite;
}

/* HOVER: rainbow BORDER + outer glow */
.vip-shell:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.9);
  background: linear-gradient(
    90deg,
    #ff4d4d,
    #ffa64d,
    #ffe04d,
    #6dff6d,
    #4dd6ff,
    #6b6bff,
    #d26bff,
    #ff4d4d
  );
  background-size: 200% 100%;
  animation: vip-border-anim 12s linear infinite;
}

/* glow turns ON + animates with the same rainbow */
.vip-shell:hover::before {
  opacity: 1;
  filter: blur(30px);
  animation: vip-border-anim 12s linear infinite;
}

/* --------------------------------------------------------------------------------
   INNER BUTTON – stays dark, with a single rainbow line at the bottom
   -------------------------------------------------------------------------------- */
.vip-btn {
  all: unset;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;

  min-height: 64px;          /* was 56px – a bit taller */
  padding: 12px 18px 14px;   /* slightly beefier padding */

  cursor: pointer;
  color: var(--text);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #1a2134, #05070d);
  border: 1px solid var(--card-edge);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02);
  overflow: hidden;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}


/* make inner content sit above the bottom line */
.vip-btn > * {
  position: relative;
  z-index: 2;
}

/* permanent rainbow line on the bottom (idle + hover) */
.vip-btn::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 2px;
  bottom: 2px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    #ff4d4d,
    #ffa64d,
    #ffe04d,
    #6dff6d,
    #4dd6ff,
    #6b6bff,
    #d26bff,
    #ff4d4d
  );
  background-size: 200% 100%;
  animation: vip-rainbow-line 10s linear infinite;
  pointer-events: none;
  z-index: 1;
}

@keyframes vip-rainbow-line {
  from { background-position: 0% 0; }
  to   { background-position: 200% 0; }
}

/* speed up line a bit on hover (optional flair) */
.vip-shell:hover .vip-btn::after {
  animation-duration: 7s;
}

/* inner layout */
.vip-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

/* gold pill icon */
.vip-icon {
  display: grid;
  place-items: center;
  width: 52px;              /* was 34px */
  height: 52px;             /* was 34px */
  border-radius: 14px;      /* a bit softer but still chunky */
  flex: 0 0 auto;
  color: #0e1117;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0)) padding-box,
    linear-gradient(135deg, #ffe57f, #ffca7f) border-box;
  border: 1px solid transparent;
  box-shadow:
    inset 0 3px 0 rgba(255, 255, 255, 0.22),
    0 4px 10px rgba(0, 0, 0, 0.75);
  transition: transform 0.25s ease, filter 0.25s ease;
}

/* scale up the SVG crown without touching the PHP */
.vip-icon svg {
  width: 48px;
  height: 48px;
}


.vip-title {
  font-weight: 800;
  letter-spacing: 0.2px;
  font-size: 1.5rem;
  transition: color 0.18s ease;
}

.vip-sub {
  margin-left: auto;
  font-size: 0.9rem;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.18s ease;
}

/* hover content color + crown bounce */
.vip-shell:hover .vip-title,
.vip-shell:hover .vip-sub {
  color: var(--accent);
}

.vip-shell:hover .vip-icon {
  transform: translateY(-1px) scale(1.07);  /* was 1.05 */
  filter: brightness(1.2);
}

/* active press */
.vip-btn:active {
  transform: translateY(0) scale(0.997);
}

/* mobile tweaks */
@media (max-width: 576px) {
  .vip-sub {
    display: none;
  }

  .vip-btn {
    min-height: 50px;
    padding: 10px 12px;
  }
}

/* size the custom crown image inside the pill */
.vip-crown-icon {
  width: 38px;   /* tweak until it looks perfect */
  height: 38px;
  display: block;
}




















/* Rainbow cursor trail canvas */
#cursor-rainbow {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;   /* so it doesn't block clicks */
  z-index: 9999;
}

