/* === TeamSurvivals - Global Styles === */
:root {
  --bg: #0a0a0a;
  --bg-elev: #101010;
  --surface: #131313;
  --surface-2: #1a1a1a;
  --border: #232323;
  --border-hover: #333;
  --text: #e5e5e5;
  --text-dim: #a3a3a3;
  --text-mute: #666;
  --accent: #22c55e;
  --accent-bright: #4ade80;
  --accent-dark: #16a34a;
  --accent-glow: rgba(34, 197, 94, 0.12);
}

/* === Logo / Brand === */
.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  transition: transform 0.15s ease;
}
.brand:hover { transform: translateY(-1px); }
.brand-icon {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 0 10px rgba(34, 197, 94, 0.35));
}
.brand-text {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  font-family: 'Segoe UI', system-ui, sans-serif;
}
.brand-text em {
  font-style: normal;
  background: linear-gradient(135deg, #4ade80 0%, #22c55e 50%, #16a34a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* === Inputs / Textareas / Selects === */
input[type="text"],
input[type="password"],
input[type="email"],
input[type="url"],
input[type="number"],
textarea,
select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  background: #0f0f0f !important;
  border: 1px solid var(--border) !important;
  border-radius: 0.5rem !important;
  color: var(--text) !important;
  font-size: 0.93rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
input:hover, textarea:hover, select:hover {
  border-color: var(--border-hover) !important;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px var(--accent-glow) !important;
  background: #121212 !important;
}
input::placeholder, textarea::placeholder {
  color: var(--text-mute);
}
textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.55;
}

/* === Buttons === */
button, .btn-primary, .btn {
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s ease;
}
button:active { transform: scale(0.98); }

/* Primary action button (green) */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.25rem;
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #000;
  font-weight: 700;
  border: none;
  border-radius: 0.5rem;
  box-shadow: 0 2px 12px rgba(34, 197, 94, 0.2);
}
.btn-primary:hover {
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.35);
  transform: translateY(-1px);
}

/* === Cards === */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  transition: border-color 0.15s ease, transform 0.15s ease, background 0.15s ease;
}
.card-hover:hover {
  border-color: #333;
  background: var(--surface-2);
  transform: translateY(-1px);
}

/* === Smooth scrollbar === */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: #262626; border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: #333; }

/* === Selection === */
::selection { background: rgba(34, 197, 94, 0.3); color: #fff; }

/* === Fade in === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeInUp 0.3s ease; }
