/* =====================
   TEAM – Dominate (Premium / Green)
   Matcher FAQ/RULES tema
   ===================== */

html,
body {
  margin: 0;
  padding: 0;
}

/* =====================
   Sticky footer + base
   ===================== */
.team-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;

  color: #fff;
  font-family: var(--main-font);
  padding: 110px 0 0;

  background: radial-gradient(
      55% 55% at 50% 8%,
      rgba(2, 207, 92, 0.22),
      rgba(5, 5, 9, 0) 58%
    ),
    radial-gradient(
      35% 45% at 18% 28%,
      rgba(1, 150, 67, 0.12),
      rgba(5, 5, 9, 0) 62%
    ),
    radial-gradient(
      30% 40% at 85% 24%,
      rgba(2, 207, 92, 0.1),
      rgba(5, 5, 9, 0) 65%
    ),
    #050509;
}

.team-wrapper {
  flex: 1 0 auto;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px 60px;
}

/* footer sticky */
.team-body footer,
.team-body .footer,
.team-body .site-footer {
  margin-top: auto;
}

/* remove tap highlight */
.team-card,
.team-chip,
.team-admin-btn,
.team-admin-tab,
.team-admin-close,
.team-admin-submit,
.team-mini-btn {
  -webkit-tap-highlight-color: transparent;
}

/* selection */
.team-body ::selection {
  background: rgba(2, 207, 92, 0.28);
  color: #fff;
}

/* =====================
   Header / Hero
   ===================== */
.team-header {
  margin: 12px 0 22px;
}

.team-title-block {
  position: relative;
  overflow: hidden;

  padding: 22px 22px 18px;
  border-radius: 20px;

  background: rgba(10, 10, 12, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.7);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.team-title-block::before {
  content: "";
  position: absolute;
  inset: -2px;
  background: radial-gradient(
    60% 80% at 50% 0%,
    rgba(2, 207, 92, 0.3),
    rgba(0, 0, 0, 0) 60%
  );
  pointer-events: none;
}

.team-title-block::after {
  content: "";
  position: absolute;
  left: -20%;
  top: -40%;
  width: 140%;
  height: 120%;
  background: linear-gradient(
    90deg,
    rgba(2, 207, 92, 0) 0%,
    rgba(2, 207, 92, 0.1) 45%,
    rgba(2, 207, 92, 0) 70%
  );
  transform: rotate(-6deg);
  opacity: 0.55;
  pointer-events: none;
}

.team-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.team-kicker {
  margin: 0 0 8px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.team-title-block h1 {
  margin: 0 0 8px;
  font-size: clamp(2.1rem, 3.4vw, 2.8rem);
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;

  background: linear-gradient(90deg, var(--servername-gradient));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.team-lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.74);
  max-width: 78ch;
}

.team-header-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

/* admin button */
.team-admin-btn {
  padding: 9px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(10, 10, 10, 0.55);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: transform 0.12s ease, background 0.12s ease,
    border-color 0.12s ease, box-shadow 0.12s ease;
}

.team-admin-btn:hover {
  background: rgba(2, 207, 92, 0.18);
  border-color: rgba(2, 207, 92, 0.55);
  box-shadow: 0 0 18px rgba(2, 207, 92, 0.35);
  transform: translateY(-1px);
}

/* alerts */
.team-alert {
  margin-top: 14px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: rgba(10, 10, 12, 0.58);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.92rem;
  line-height: 1.55;
}

.team-alert-success {
  border-color: rgba(2, 207, 92, 0.40);
  background: rgba(2, 207, 92, 0.10);
}

.team-alert-error {
  border-color: rgba(179, 38, 30, 0.55);
  background: rgba(179, 38, 30, 0.12);
}

/* =====================
   Empty state
   ===================== */
.team-empty {
  margin-top: 18px;
  padding: 18px 18px 16px;
  border-radius: 18px;

  background: rgba(10, 10, 12, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(14px);
}

.team-empty h2 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.team-empty p {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.7;
}

/* =====================
   Sections
   ===================== */
.team-section {
  margin-top: 22px;
}

.team-section-title {
  margin: 0 0 14px;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.92);
}

.team-section-empty {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.72);
}

/* grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

/* =====================
   Cards
   ===================== */
.team-card {
  position: relative;
  overflow: hidden;

  border-radius: 18px;
  padding: 18px;

  background: rgba(10, 10, 12, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 46px rgba(0, 0, 0, 0.72);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  transition: transform 0.16s ease, box-shadow 0.16s ease,
    border-color 0.16s ease, background 0.16s ease;
}

.team-card::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  top: 12px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(2, 207, 92, 0.95),
    rgba(1, 150, 67, 0.15)
  );
  opacity: 0.55;
}

.team-card::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 160px;
  height: 160px;
  background: radial-gradient(
    circle,
    rgba(2, 207, 92, 0.18),
    rgba(0, 0, 0, 0) 60%
  );
  opacity: 0.65;
  pointer-events: none;
}

.team-card:hover,
.team-card:focus-within {
  transform: translateY(-3px);
  background: rgba(10, 10, 12, 0.78);
  border-color: rgba(2, 207, 92, 0.34);
  box-shadow: 0 0 0 1px rgba(2, 207, 92, 0.1) inset,
    0 26px 70px rgba(0, 0, 0, 0.86);
}

.team-card :focus {
  outline: none;
}

/* top area */
.team-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}

.team-avatar {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  overflow: hidden;
  flex: 0 0 54px;

  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.5);
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-avatar-fallback {
  width: 100%;
  height: 100%;
  display: block;
  background:
    radial-gradient(circle at 35% 35%, rgba(255,255,255,0.18), rgba(255,255,255,0.02) 55%),
    rgba(255,255,255,0.04);
}

/* headings */
.team-headings {
  min-width: 0;
}

.team-name {
  margin: 0 0 4px;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.25;
}

.team-role {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.74);
}

.team-role-muted {
  color: rgba(255, 255, 255, 0.58);
}

.team-divider {
  margin: 14px 0 14px;
  height: 1px;
  background: rgba(255, 255, 255, 0.10);
}

/* bottom info */
.team-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.team-col-title {
  margin: 0 0 10px;
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.team-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.team-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 6px 12px;
  border-radius: 999px;

  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;

  background: rgba(2, 207, 92, 0.12);
  border: 1px solid rgba(2, 207, 92, 0.22);
  color: rgba(2, 207, 92, 0.95);
}

.team-muted {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}

/* contact block */
.team-contact {
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 10px 12px;
  border-radius: 14px;

  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.team-discord-dot {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  flex: 0 0 28px;

  background: rgba(2, 207, 92, 0.14);
  border: 1px solid rgba(2, 207, 92, 0.28);
  box-shadow: 0 0 0 2px rgba(2, 207, 92, 0.08) inset;
}

.team-contact-text {
  min-width: 0;
}

.team-contact-name {
  font-weight: 900;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  line-height: 1.2;
}

.team-contact-handle {
  margin-top: 2px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
}

/* =====================
   Modal (Admin)
   ===================== */
.team-no-scroll {
  overflow: hidden !important;
}

.team-admin-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
  font-family: var(--main-font);
}

.team-admin-modal.open {
  display: block;
}

.team-admin-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 55% at 50% 8%, rgba(2,207,92,0.18), rgba(5,5,9,0) 58%),
    rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.team-admin-dialog {
  position: relative;
  width: min(980px, calc(100% - 36px));
  margin: 92px auto 28px;
  border-radius: 22px;
  overflow: hidden;

  background: rgba(10, 10, 12, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.86);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);

  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 140px);
}

.team-admin-dialog::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 12px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(2, 207, 92, 0.95),
    rgba(1, 150, 67, 0.15)
  );
  opacity: 0.55;
}

.team-admin-header {
  padding: 18px 18px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.team-admin-header h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.team-admin-close {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: rgba(255,255,255,0.82);
  cursor: pointer;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  transition: transform 0.12s ease, background 0.12s ease,
    border-color 0.12s ease, box-shadow 0.12s ease;
}

.team-admin-close:hover {
  background: rgba(2,207,92,0.14);
  border-color: rgba(2,207,92,0.40);
  box-shadow: 0 0 16px rgba(2,207,92,0.18);
  transform: translateY(-1px);
}

.team-admin-close:focus,
.team-admin-close:focus-visible {
  outline: none;
}

.team-admin-tabs {
  padding: 0 18px 12px;
  display: inline-flex;
  gap: 6px;
  flex-wrap: wrap;
}

.team-admin-tab {
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease,
    border-color 0.12s ease;
}

.team-admin-tab:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.16);
}

.team-admin-tab-active {
  color: #fff;
  background: rgba(2, 207, 92, 0.18);
  border-color: rgba(2, 207, 92, 0.40);
  box-shadow: 0 0 0 1px rgba(2, 207, 92, 0.10) inset;
}

.team-admin-body {
  padding: 0 18px 18px;
  overflow: auto;
}

.team-admin-body::-webkit-scrollbar {
  width: 10px;
}
.team-admin-body::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.25);
}
.team-admin-body::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.10);
  border-radius: 999px;
  border: 2px solid rgba(10,10,12,0.86);
}
.team-admin-body::-webkit-scrollbar-thumb:hover {
  background: rgba(255,255,255,0.16);
}

.team-admin-panel {
  display: none;
}
.team-admin-panel-active {
  display: block;
}

/* split layout */
.team-admin-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* admin cards */
.team-admin-card {
  position: relative;
  overflow: hidden;

  border-radius: 18px;
  padding: 16px;

  background: rgba(10, 10, 12, 0.68);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 16px 46px rgba(0,0,0,0.62);

  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.team-admin-card-title {
  margin: 0 0 12px;
  font-size: 0.98rem;
  font-weight: 900;
  letter-spacing: 0.02em;
}

/* fields */
.team-admin-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.team-admin-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.team-admin-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.team-admin-field label {
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.team-admin-field input[type="text"],
.team-admin-field input[type="number"],
.team-admin-field select,
.team-admin-field textarea {
  background: rgba(7, 7, 9, 0.98);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 10px 12px;
  color: #fff;
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.12s ease, box-shadow 0.12s ease,
    background 0.12s ease;
}

.team-admin-field textarea {
  resize: vertical;
  min-height: 120px;
}

.team-admin-field input:focus,
.team-admin-field select:focus,
.team-admin-field textarea:focus {
  border-color: rgba(2, 207, 92, 0.60);
  box-shadow: 0 0 0 1px rgba(2, 207, 92, 0.25);
  background: rgba(8, 8, 10, 0.98);
}

.team-admin-field select {
  color-scheme: dark;
}

/* checkbox switch */
.team-admin-check {
  align-items: flex-start;
}

.team-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.team-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.team-switch-ui {
  width: 52px;
  height: 30px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  position: relative;
  cursor: pointer;
  transition: background 0.14s ease, border-color 0.14s ease;
}

.team-switch-ui::after {
  content: "";
  width: 24px;
  height: 24px;
  border-radius: 999px;
  position: absolute;
  top: 50%;
  left: 3px;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.82);
  box-shadow: 0 10px 20px rgba(0,0,0,0.35);
  transition: left 0.14s ease, background 0.14s ease;
}

.team-switch input:checked + .team-switch-ui {
  background: rgba(2, 207, 92, 0.18);
  border-color: rgba(2, 207, 92, 0.45);
}

.team-switch input:checked + .team-switch-ui::after {
  left: 25px;
  background: rgba(2, 207, 92, 0.95);
}

/* actions */
.team-admin-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  padding-top: 6px;
}

.team-admin-submit {
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid rgba(2, 207, 92, 0.55);
  background: rgba(2, 207, 92, 0.22);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease,
    border-color 0.12s ease, box-shadow 0.12s ease;
}

.team-admin-submit:hover {
  background: rgba(2, 207, 92, 0.32);
  border-color: rgba(2, 207, 92, 0.75);
  box-shadow: 0 0 18px rgba(2, 207, 92, 0.22);
  transform: translateY(-1px);
}

.team-admin-ghost {
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(10, 10, 12, 0.45);
  color: rgba(255,255,255,0.86);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.12s ease,
    border-color 0.12s ease;
}

.team-admin-ghost:hover {
  transform: translateY(-1px);
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.22);
}

/* list */
.team-admin-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.team-admin-empty {
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px dashed rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.02);
  color: rgba(255,255,255,0.72);
  font-size: 0.92rem;
}

.team-admin-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  padding: 12px 12px;
  border-radius: 16px;

  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
}

.team-admin-item-main {
  min-width: 0;
}

.team-admin-item-title {
  font-weight: 900;
  color: rgba(255,255,255,0.92);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.team-admin-item-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(2, 207, 92, 0.12);
  border: 1px solid rgba(2, 207, 92, 0.22);
  color: rgba(2, 207, 92, 0.95);
}

.team-admin-item-meta {
  margin-top: 4px;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.68);
}

.team-admin-item-actions {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-shrink: 0;
}

.team-mini-form {
  margin: 0;
}

/* mini buttons */
.team-mini-btn {
  padding: 7px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(10, 10, 12, 0.55);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: transform 0.12s ease, background 0.12s ease,
    border-color 0.12s ease, box-shadow 0.12s ease;
}

.team-mini-btn:hover {
  transform: translateY(-1px);
  background: rgba(2, 207, 92, 0.18);
  border-color: rgba(2, 207, 92, 0.55);
  box-shadow: 0 0 16px rgba(2, 207, 92, 0.18);
}

.team-mini-delete {
  background: rgba(179, 38, 30, 0.92);
  border-color: rgba(179, 38, 30, 0.40);
}

.team-mini-delete:hover {
  background: rgba(179, 38, 30, 0.98);
  border-color: rgba(179, 38, 30, 0.55);
  box-shadow: 0 16px 36px rgba(0,0,0,0.55);
}

/* user picker */
.team-user-picker {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.team-user-picker input[type="text"] {
  width: 100%;
}

.team-user-picker select {
  width: 100%;
  min-height: 180px;
  padding: 8px;
}

.team-user-hint {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.62);
}

/* =====================
   Responsive
   ===================== */
@media (max-width: 1100px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .team-title-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .team-header-actions {
    align-items: flex-start;
  }

  .team-admin-dialog {
    margin: 86px auto 20px;
    width: calc(100% - 22px);
  }
  .team-admin-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .team-wrapper {
    padding: 0 16px 54px;
  }
  .team-body {
    padding-top: 96px;
  }

  .team-title-block {
    padding: 18px 16px 16px;
    border-radius: 18px;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .team-info {
    grid-template-columns: 1fr;
  }

  .team-admin-dialog {
    margin: 76px auto 16px;
    max-height: calc(100vh - 110px);
    border-radius: 18px;
  }

  .team-admin-header {
    padding: 16px 16px 10px;
  }
  .team-admin-tabs {
    padding: 0 16px 10px;
  }
  .team-admin-body {
    padding: 0 16px 16px;
  }
}

.team-discord-icon{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  flex: 0 0 34px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  /* gammel grøn badge */
  background: rgba(2, 207, 92, 0.22);
  border: 1px solid rgba(2, 207, 92, 0.40);
  box-shadow:
    0 0 0 2px rgba(2, 207, 92, 0.12) inset,
    0 10px 22px rgba(0,0,0,0.35);

  /* LOGOET = grøn (matcher tema) */
  color: rgba(2, 207, 92, 0.95);
}

.team-discord-icon svg{
  width: 22px;
  height: 22px;
  display: block;
}

/* =====================
   TONE DOWN GREEN GLOW
   ===================== */

/* 1) Baggrund: mindre grøn intensitet */
.team-body{
  background:
    radial-gradient(55% 55% at 50% 8%,
      rgba(2, 207, 92, 0.12),
      rgba(5, 5, 9, 0) 58%
    ),
    radial-gradient(35% 45% at 18% 28%,
      rgba(1, 150, 67, 0.06),
      rgba(5, 5, 9, 0) 62%
    ),
    radial-gradient(30% 40% at 85% 24%,
      rgba(2, 207, 92, 0.05),
      rgba(5, 5, 9, 0) 65%
    ),
    #050509;
}

/* 2) Hero glow overlays: svagere */
.team-title-block::before{
  background: radial-gradient(60% 80% at 50% 0%,
    rgba(2, 207, 92, 0.16),
    rgba(0, 0, 0, 0) 60%
  );
}
.team-title-block::after{
  opacity: 0.28;
}

/* 3) Cards: mindre “grøn kant” på hover */
.team-card:hover,
.team-card:focus-within{
  border-color: rgba(2, 207, 92, 0.22);
  box-shadow:
    0 0 0 1px rgba(2, 207, 92, 0.06) inset,
    0 26px 70px rgba(0, 0, 0, 0.86);
}

/* 4) Buttons: mindre neon ved hover */
.team-admin-btn:hover{
  background: rgba(2, 207, 92, 0.12);
  border-color: rgba(2, 207, 92, 0.38);
  box-shadow: 0 0 14px rgba(2, 207, 92, 0.18);
}

.team-mini-btn:hover{
  background: rgba(2, 207, 92, 0.12);
  border-color: rgba(2, 207, 92, 0.38);
  box-shadow: 0 0 14px rgba(2, 207, 92, 0.14);
}

.team-admin-submit:hover{
  box-shadow: 0 0 14px rgba(2, 207, 92, 0.14);
}

/* 5) Små badges/dots: lidt mere afdæmpet */
.team-chip{
  background: rgba(2, 207, 92, 0.09);
  border-color: rgba(2, 207, 92, 0.16);
  color: rgba(2, 207, 92, 0.88);
}
.team-discord-dot{
  background: rgba(2, 207, 92, 0.10);
  border-color: rgba(2, 207, 92, 0.20);
  box-shadow: 0 0 0 2px rgba(2, 207, 92, 0.06) inset;
}
.team-discord-icon{
  background: rgba(2, 207, 92, 0.14);
  border-color: rgba(2, 207, 92, 0.26);
  box-shadow:
    0 0 0 2px rgba(2, 207, 92, 0.08) inset,
    0 10px 22px rgba(0,0,0,0.35);
  color: rgba(2, 207, 92, 0.88);
}
