/* ===== Base ===== */
:root{
  --bg: #0b0f1a;
  --panel: #020617;
  --text: #e5e7eb;
  --muted: #94a3b8;
  --green: #22c55e;
  --green2: #16a34a;
  --blue: #5865F2;
  --ring: rgba(34, 197, 94, 0.55);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  background: var(--bg);
  color: var(--text);
  scroll-behavior: smooth;
  line-height: 1.5;
}

/* Better selections */
::selection{
  background: rgba(34,197,94,0.25);
}

/* Focus ring (important for quality + accessibility) */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px var(--ring);
  border-radius: 8px;
}

/* ===== NAVBAR ===== */
nav {
  position: sticky;
  top: 0;
  background: rgba(2, 6, 23, 0.92);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  border-bottom: 2px solid var(--green);
  z-index: 10;
}

nav .logo {
  color: var(--green);
  font-weight: 700;
  letter-spacing: 0.5px;
}

nav .links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  color: white;
  text-decoration: none;
  padding: 8px 10px;
  border-radius: 10px;
  transition: 0.2s ease;
}

nav a:hover {
  color: var(--green);
  background: rgba(34,197,94,0.10);
}

/* ===== HEADER ===== */
header {
  text-align: center;
  padding: 60px 20px 30px;
}

header h1 {
  color: var(--green);
  font-size: 38px;
  margin: 10px 0 8px;
  text-transform: none; /* keep clean */
}

header p {
  margin: 6px 0;
  color: var(--muted);
}

/* Main button */
button {
  padding: 12px 25px;
  background: linear-gradient(135deg, var(--green), var(--green2));
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  color: #021b10;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(34,197,94,0.35);
  filter: brightness(1.05);
}

button:active {
  transform: translateY(0px) scale(0.99);
}

/* ===== CARDS ===== */
.card {
  background: var(--panel);
  margin: 22px auto;
  padding: 24px;
  width: 90%;
  max-width: 680px;
  border-radius: 16px;
  border: 1px solid rgba(34,197,94,0.18);
  box-shadow: 0 0 18px rgba(34,197,94,0.14);
  animation: fadeUp 0.6s ease;
}

.card h2 {
  color: var(--green);
  margin-top: 0;
}

ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
}

ul li {
  margin: 10px 0;
}

/* ===== Server cards ===== */
.server-card {
  margin-bottom: 14px;
  padding: 14px 14px;
  border-radius: 12px;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.15);
}

.server-card h3 {
  margin: 0 0 6px 0;
  color: var(--green);
}

.server-card p {
  margin: 2px 0;
  color: var(--text);
}

/* ===== DISCORD ===== */
.discord-btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--blue);
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 700;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.discord-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 18px rgba(88,101,242,0.35);
  filter: brightness(1.05);
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 15px;
  background: var(--panel);
  margin-top: 40px;
  font-size: 14px;
  color: var(--muted);
  border-top: 1px solid rgba(34,197,94,0.12);
}

/* ===== ANIMATION ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Logo ===== */
.main-logo {
  max-width: 280px;
  width: 90%;
  height: auto;
  display: block;
  margin: 0 auto 18px auto;
  filter: drop-shadow(0 0 12px rgba(34,197,94,0.18));
}

/* Mobile */
@media (max-width: 600px) {
  header { padding: 44px 16px 20px; }
  header h1 { font-size: 30px; }
  .card { width: 92%; padding: 18px; }
  .main-logo { max-width: 220px; }
}

/* ===== Team Login Dark Theme ===== */
.login-box {
  max-width: 340px;
  margin: 120px auto;
  padding: 25px;
  text-align: center;
  background: rgba(15, 23, 42, 0.9);
  border-radius: 14px;
  box-shadow: 0 0 25px rgba(34, 197, 94, 0.25);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.login-box h2 {
  margin-bottom: 20px;
  color: var(--green);
  font-weight: 600;
  letter-spacing: 1px;
}

.login-box input {
  width: 90%;
  padding: 12px;
  margin: 10px auto;
  border-radius: 10px;
  border: none;
  outline: none;
  background: var(--panel);
  color: var(--text);
  font-size: 14px;
  border: 1px solid #1e293b;
}

.login-box input::placeholder {
  color: var(--muted);
}

.login-box button {
  margin-top: 15px;
  padding: 12px 25px;
  width: 95%;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, var(--green), var(--green2));
  color: #022c22;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.login-box button:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.45);
}

#msg {
  margin-top: 12px;
  font-size: 14px;
}

@media (max-width: 480px) {
  .login-box { margin: 80px 15px; }
}

/* Staff login button */
.staff-login-btn {
  text-align: center;
  margin-top: 40px;
}

.staff-login-btn button {
  padding: 12px 25px;
  font-size: 16px;
  background: #1f7a1f;
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

.staff-login-btn button:hover {
  background: #145214;
}

/* ===== Dashboard ===== */
.dashboard {
  width: 100%;
  max-width: 720px;
  margin: 120px auto;
  padding: 25px;
  text-align: center;
  background: rgba(15, 23, 42, 0.95);
  border-radius: 16px;
  border: 1px solid rgba(34, 197, 94, 0.3);
  box-shadow: 0 0 30px rgba(34, 197, 94, 0.25);
}

.full-screen-message {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  background: #000;
  z-index: 100;
  overflow: hidden;
}

.full-screen-message .welcome-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  z-index: 1;
}

.full-screen-message h2 {
  position: relative;
  z-index: 2;
  font-size: 80px;
  color: #00ff00;
  font-family: Arial, sans-serif;
  letter-spacing: 4px;
  text-shadow: 2px 2px 10px rgba(0,255,0,0.6);
  animation: flash 1s infinite alternate;
}

@keyframes flash {
  0% { text-shadow: 2px 2px 10px rgba(0,255,0,0.6); }
  50% { text-shadow: 2px 2px 20px rgba(0,255,0,1); }
  100% { text-shadow: 2px 2px 10px rgba(0,255,0,0.6); }
}

.dashboard h1 {
  color: var(--green);
  margin-bottom: 10px;
  font-weight: 700;
}

.dashboard .subtitle {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 25px;
}

.staff-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 25px;
}

.card.owner { background: #16a34a; }
.card.one-owner { background: #22c55e; }
.card.devloper { background: #3b82f6; }
.card.one-devloper { background: #6366f1; }
.card.admin { background: #f59e0b; }

.logout-btn {
  padding: 12px 30px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.logout-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.45);
}

@media (max-width: 480px) {
  .dashboard { margin: 20px 15px; }
  .staff-cards { flex-direction: column; gap: 10px; }
}

/* Dashboard buttons + server status */
.dashboard-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.dashboard-buttons button {
  padding: 10px 20px;
  border-radius: 10px;
  border: none;
  background: linear-gradient(135deg, var(--green), var(--green2));
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s ease;
}

.dashboard-buttons button:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.45);
}

.server-status { margin-bottom: 20px; }

#server-status {
  font-weight: 700;
  color: var(--green);
  margin-bottom: 5px;
}

#players {
  color: var(--muted);
  font-size: 14px;
}

#player-list {
  margin-top: 8px;
  list-style: none;
  padding: 0;
  color: var(--green);
  font-weight: 600;
}

#player-list li {
  background: rgba(0, 0, 0, 0.3);
  margin: 4px 0;
  padding: 6px 10px;
  border-radius: 8px;
}

