:root {
  /* Backgrounds */
  --bg-main: #0e1117;
  --bg-surface: #161b22;
  --bg-surface-2: #1f2630;

  /* Borders & depth */
  --border-soft: rgba(255, 255, 255, 0.08);
  --shadow-card:
    0 1px 0 rgba(255,255,255,0.04),
    0 10px 28px rgba(0,0,0,0.45);

  /* Text */
  --text-main: #e6edf3;
  --text-muted: #9da7b3;

  /* Accent */
  --accent: #3b82f6;
  --accent-soft: rgba(59,130,246,0.15);
}

* {
  box-sizing: border-box;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body {
  margin: 0;
  background: var(--bg-main);
  color: var(--text-main);
}

/* ===================== NAV ===================== */

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 28px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-soft);
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  font-weight: 700;
  font-size: 1.2rem;
}

.nav-links a {
  margin-left: 18px;
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--accent);
}

/* ===================== HERO ===================== */

.hero {
  text-align: center;
  padding: 90px 20px 70px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 12px;
}

.hero p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 32px;
}

/* ===================== IP BOX ===================== */

.ip-box {
  display: inline-block;
  padding: 16px 26px;
  border-radius: 14px;
  background: var(--bg-surface-2);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.ip-box:hover {
  transform: translateY(-2px);
  background: #020617;
}

.ip-box span {
  font-weight: 600;
  font-size: 1.1rem;
}

.ip-box small {
  display: block;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ===================== SERVER INFO CARDS ===================== */

.status-details {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.status-details .detail {
  background: var(--bg-surface-2);
  padding: 18px 22px;
  border-radius: 14px;
  min-width: 260px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.status-details .detail:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

/* ===================== SECTIONS ===================== */

.section {
  max-width: 1100px;
  margin: auto;
  margin-bottom: 3rem;
  padding: 60px 28px;
  background: var(--bg-surface);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
}

.section.alt {
  background: var(--bg-surface-2);
}

.section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 40px;
}

.section.alt h2,
.section.alt p {
  text-align: center;
}

.section.alt p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-muted);
  line-height: 1.6;
}

.center-text {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 32px auto;
  color: var(--text-muted);
}

/* ===================== CARDS ===================== */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
  align-items: stretch; /* forces equal height cards */
}

.card {
  background: var(--bg-surface-2);
  padding: 26px;
  border-radius: 16px;
  box-shadow: var(--shadow-card);

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-4px);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  color: var(--accent);
}

.card p {
  color: var(--text-muted);
}

/* Card footer (price + button) */
.card-footer {
  margin-top: 24px;
  text-align: center;
}

.price {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 12px;
}

/* ===================== PASS CARD ALIGNMENT ===================== */

.card h3,
.card p {
  text-align: center;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  text-align: center;
}

.feature-list li {
  margin-bottom: 8px;
  color: var(--text-muted);
}

/* Keep footer centered */
.card-footer {
  text-align: center;
}

/* ===================== JOIN / STATUS ===================== */

.join-box {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  text-align: center;
}

.join-box p {
  margin: 6px 0 0;
  color: var(--text-muted);
}

.status-box {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: 0.95rem;
}

.status {
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 600;
}

.status.online {
  background: rgba(34,197,94,0.15);
  color: #22c55e;
}

.status.offline {
  background: rgba(239,68,68,0.15);
  color: #ef4444;
}

/* Online pulse */
.status.online::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-left: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.3; }
  100% { opacity: 1; }
}

/* ===================== SERVER STATUS ALIGNMENT ===================== */

.status-box {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

/* ===================== HOW TO JOIN HOVER BOXES ===================== */

.join-box {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.join-box > div {
  background: var(--bg-surface-2);
  padding: 20px 28px;
  border-radius: 14px;
  min-width: 260px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.join-box > div:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

.join-box strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text-main);
}

.join-box p {
  margin: 0;
  color: var(--text-muted);
}

/* ===================== DETAILS ===================== */

.status-details {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.detail {
  background: var(--bg-surface-2);
  padding: 16px 18px;
  border-radius: 14px;
  font-size: 0.95rem;
  box-shadow: var(--shadow-card);
}

.detail .label {
  display: block;
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-bottom: 4px;
}

/* ===================== BUTTONS ===================== */

button,
.button {
  background: var(--accent);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  padding: 12px 22px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

button:hover,
.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(59,130,246,0.4);
}

/* Discord Button */

.discord-button {
  display: inline-block;
  margin-top: 28px;
  padding: 14px 28px;
  border-radius: 14px;
  background: #5865f2;
  color: #ffffff;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.discord-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(88,101,242,0.35);
}

/* ===================== BUTTON LINK FIX ===================== */

a.button {
  display: inline-block;
  text-decoration: none;
  color: #ffffff;
}

a.button:visited {
  color: #ffffff;
}

a.button:hover {
  color: #ffffff;
}

.button {
  min-width: 140px;
  text-align: center;
}

/* ===================== COMMUNITY SECTION CENTERING ===================== */

#community {
  text-align: center;
}

#community p {
  max-width: 700px;
  margin: 0 auto 28px;
}

#community .discord-button {
  margin: 0 auto;
}

/* ===================== FOOTER ===================== */

footer {
  text-align: center;
  padding: 36px 20px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ===================== MAINTENANCE ===================== */

.maintenance {
  min-height: calc(100vh - 140px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
}

.maintenance h1 {
  font-size: 2.5rem;
  margin-bottom: 12px;
}

.maintenance p {
  max-width: 520px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.maintenance-btn {
  padding: 12px 26px;
  border-radius: 12px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.maintenance-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(59,130,246,0.35);
}