/* ===========================
   TeenCraftSMP – Full Rewrite
   =========================== */

:root {
  --bg: #0d0d0d;
  --panel: rgba(20,20,20,0.9);
  --panel2: rgba(30,30,30,0.9);
  --accent: #4ea3ff;
  --accent2: #3bd16f;
  --text: #f2f2f2;
  --muted: #b9b9b9;
  --radius: 10px;
  --max-width: 1400px;
  --font-main: "Segoe UI", Arial, sans-serif;
}

/* GLOBAL */
body {
  margin: 0;
  font-family: var(--font-main);
  background: #000 url("../assets/teencraftsmp.png") center/cover fixed no-repeat;
  color: var(--text);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: -1;
}

.container {
  max-width: var(--max-width);
  margin: 40px auto;
  padding: 0 16px;
  text-align: center;
}

/* ===========================
   LOGIN / SIGN UP BUTTONS
   =========================== */

.auth-buttons {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
  z-index: 999;
}

.auth-btn {
  padding: 8px 16px;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  font-size: 0.95rem;
}

.login-btn {
  border: 2px solid rgba(255,255,255,0.4);
  color: white;
}

.login-btn:hover {
  border-color: white;
}

.signup-btn {
  background: var(--accent);
  color: white;
}

.signup-btn:hover {
  background: #6bb7ff;
}

/* ===========================
   TOP NAVIGATION PANEL
   =========================== */

.top-panel {
  display: flex;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 16px;
  margin-bottom: 30px;
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.top-panel::-webkit-scrollbar {
  display: none;
}

.top-btn {
  background: rgba(255,255,255,0.12);
  padding: 14px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  transition: 0.15s;
  border: 2px solid rgba(255,255,255,0.15);
  white-space: nowrap;
  font-size: 1rem;
}

.top-btn:hover {
  background: rgba(255,255,255,0.22);
  border-color: var(--accent2);
}

.discord-btn::before {
  content: "💬 ";
}

/* ===========================
   BIG DISCORD BUTTON
   =========================== */

.big-btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 22px 40px;
  font-size: 1.6rem;
  font-weight: 700;
  border-radius: var(--radius);
  text-decoration: none;
  transition: 0.2s;
}

.big-btn:hover {
  background: #6bb7ff;
}

/* ===========================
   STATS BAR
   =========================== */

.stats-bar {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.stat-box {
  flex: 1;
  background: var(--panel);
  padding: 16px;
  border-radius: var(--radius);
  font-size: 1rem;
}

.stat-label {
  color: var(--muted);
  font-size: 0.85rem;
}

.stat-value {
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 4px;
}

.mc-person {
  margin-left: 4px;
}

/* ===========================
   NOTICE BOX
   =========================== */

.notice {
  margin-top: 20px;
  background: rgba(255,255,255,0.1);
  padding: 14px;
  border-radius: var(--radius);
  font-size: 1rem;
}

/* ===========================
   INFO SECTION
   =========================== */

.info-section {
  margin-top: 40px;
  background: var(--panel2);
  padding: 24px;
  border-radius: var(--radius);
  text-align: left;
}

.info-section h2 {
  margin-top: 20px;
  font-size: 1.4rem;
}

.info-section ul {
  margin: 10px 0 20px;
  padding-left: 20px;
}

.info-section li {
  margin-bottom: 6px;
}

/* ===========================
   AD BOX
   =========================== */

.ad-box {
  margin-top: 30px;
  background: rgba(255,255,255,0.1);
  padding: 14px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--muted);
}

/* ===========================
   RESPONSIVE FIXES
   =========================== */

@media (max-width: 700px) {
  .stats-bar {
    flex-direction: column;
  }

  .auth-buttons {
    top: 10px;
    right: 10px;
  }
}
