/* NordicRP - Main Stylesheet */
/* Optimized dark theme with blue accents */

:root {
  --primary: #0ea5e9;
  --primary-hover: #0284c7;
  --primary-light: rgba(14, 165, 233, 0.12);
  --primary-glow: rgba(14, 165, 233, 0.4);

  --accent: #6366f1;

  --background: #030712;
  --background-secondary: #0a0f1a;
  --background-tertiary: #111827;
  --background-card: #0d1424;

  --foreground: #f8fafc;
  --foreground-muted: #94a3b8;
  --foreground-subtle: #64748b;

  --border: rgba(56, 189, 248, 0.12);
  --border-light: rgba(56, 189, 248, 0.2);

  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #ef4444;

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --container-max: 1200px;
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--foreground);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
}
ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--primary-glow);
}

.btn-secondary {
  background: var(--background-tertiary);
  color: var(--foreground);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.btn-outline {
  background: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  background: var(--background-tertiary);
  border-color: var(--primary);
  color: var(--foreground);
}

.btn-danger {
  background: var(--danger);
  color: white;
}

.btn-success {
  background: var(--success);
  color: white;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
}

.navbar-logo {
  height: 2.5rem;
  width: auto;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar-link {
  color: var(--foreground-muted);
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

.navbar-link:hover,
.navbar-link.active {
  color: var(--foreground);
}

.navbar-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.2s ease;
}

.navbar-link:hover::after,
.navbar-link.active::after {
  width: 100%;
}

/* Navbar Dropdown */
.navbar-dropdown {
  position: relative;
}

.navbar-dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  background: none;
  border: none;
  cursor: pointer;
  font-size: inherit;
  font-family: inherit;
}

.navbar-dropdown-trigger .dropdown-chevron {
  width: 1rem;
  height: 1rem;
  transition: transform 0.2s ease;
}

.navbar-dropdown:hover .dropdown-chevron {
  transform: rotate(180deg);
}

.navbar-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(0.5rem);
  min-width: 180px;
  background: var(--background-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.navbar-dropdown:hover .navbar-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0.75rem);
}

.navbar-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0.875rem;
  color: var(--foreground-muted);
  border-radius: calc(var(--radius) - 2px);
  transition: all 0.15s ease;
}

.navbar-dropdown-item svg {
  width: 1.125rem;
  height: 1.125rem;
  flex-shrink: 0;
}

.navbar-dropdown-item:hover,
.navbar-dropdown-item.active {
  background: var(--background-tertiary);
  color: var(--foreground);
}

.navbar-dropdown-item.active {
  color: var(--primary);
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.navbar-toggle span {
  width: 24px;
  height: 2px;
  background: var(--foreground);
  transition: all 0.2s ease;
}

/* User Menu */
.user-menu {
  position: relative;
}

.user-menu-trigger {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--background-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  color: var(--foreground);
  transition: border-color 0.2s ease;
}

.user-menu-trigger:hover {
  border-color: var(--primary);
}

.user-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  object-fit: cover;
}

.user-avatar-placeholder {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
}

.user-name {
  font-weight: 500;
  font-size: 0.875rem;
}
.chevron-icon {
  width: 1rem;
  height: 1rem;
  opacity: 0.5;
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 180px;
  background: var(--background-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.5rem);
  transition: all 0.2s ease;
}

.user-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  border-radius: calc(var(--radius) - 2px);
  transition: background 0.15s ease;
}

.dropdown-item:hover {
  background: var(--primary-light);
}

.dropdown-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0.5rem 0;
}

.text-danger {
  color: var(--danger);
}

/* Hero Section - Optimized */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 6rem 0 4rem;
  background: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(14, 165, 233, 0.15), transparent 60%),
    radial-gradient(ellipse 50% 40% at 90% 30%, rgba(99, 102, 241, 0.08), transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero-logo {
  width: 280px;
  height: auto;
  margin-bottom: 2rem;
  filter: drop-shadow(0 0 40px var(--primary-glow));
  animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-light);
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* Added offline state for hero badge */
.hero-badge.offline {
  background: rgba(239, 68, 68, 0.15);
  border-color: var(--danger);
  color: var(--danger);
}

.hero-badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

/* Added offline state for badge dot */
.hero-badge-dot.offline {
  background: var(--danger);
  animation: none;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.125rem;
  color: var(--foreground-muted);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.stat {
  text-align: center;
  padding: 1.5rem;
  background: var(--background-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.stat:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.stat-value {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--foreground-muted);
  margin-top: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Features Section */
.features {
  padding: 6rem 0;
  background: var(--background-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--foreground-muted);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: var(--background-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  background: var(--primary-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--foreground-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Page Header */
.page-header {
  padding: 8rem 0 3rem;
  background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(14, 165, 233, 0.12), transparent);
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.page-header p {
  color: var(--foreground-muted);
  font-size: 1.125rem;
}

/* Cards - Optimized Admin Dashboard */
.card {
  background: var(--background-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.card-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: var(--background-tertiary);
}

.card-title {
  font-size: 1.125rem;
  font-weight: 700;
}

.card-body {
  padding: 1.5rem;
}

/* Admin Dashboard Stats */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.admin-stat-card {
  background: var(--background-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  transition: border-color 0.2s ease;
}

.admin-stat-card:hover {
  border-color: var(--primary);
}

.admin-stat-value {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.admin-stat-value.pending {
  color: var(--warning);
}
.admin-stat-value.reviewing {
  color: var(--primary);
}
.admin-stat-value.approved {
  color: var(--success);
}
.admin-stat-value.rejected {
  color: var(--danger);
}

.admin-stat-label {
  font-size: 0.8125rem;
  color: var(--foreground-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Admin Quick Actions */
.admin-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

/* Admin Access Badge */
.admin-access-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(99, 102, 241, 0.08));
  border: 1px solid var(--primary);
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
}

.admin-access-info svg {
  flex-shrink: 0;
  color: var(--primary);
}

/* Tables - Cleaner Design */
.table-container {
  overflow-x: auto;
}

.table {
  width: 100%;
  border-collapse: collapse;
}

.table th,
.table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.table th {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--foreground-muted);
  background: var(--background-tertiary);
}

.table tbody tr {
  transition: background 0.15s ease;
}

.table tbody tr:hover {
  background: var(--primary-light);
}

.table tbody tr:last-child td {
  border-bottom: none;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.badge-pending {
  background: rgba(245, 158, 11, 0.15);
  color: var(--warning);
}

.badge-reviewing {
  background: var(--primary-light);
  color: var(--primary);
}

.badge-approved {
  background: rgba(34, 197, 94, 0.15);
  color: var(--success);
}

.badge-rejected {
  background: rgba(239, 68, 68, 0.15);
  color: var(--danger);
}

.badge-admin {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
}

.badge-super-admin {
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: white;
}

/* Forms */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  background: var(--background-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--foreground);
  transition: border-color 0.2s ease;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: var(--primary);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* Checkbox styling */
.form-group-checkbox {
  margin-bottom: 1.25rem;
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
}

.form-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.form-checkbox-custom {
  flex-shrink: 0;
  width: 1.375rem;
  height: 1.375rem;
  border: 2px solid var(--primary);
  border-radius: 0.5rem;
  background: rgba(14, 165, 233, 0.15);
  position: relative;
  transition: all 0.2s ease;
  margin-top: 0.125rem;
}

.form-checkbox-custom::after {
  content: "";
  position: absolute;
  display: none;
  left: 0.4rem;
  top: 0.15rem;
  width: 0.35rem;
  height: 0.6rem;
  border: solid white;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.form-checkbox:checked + .form-checkbox-custom {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.2);
}

.form-checkbox:checked + .form-checkbox-custom::after {
  display: block;
}

.form-checkbox:focus + .form-checkbox-custom {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.25);
}

.form-checkbox-label:hover .form-checkbox-custom {
  border-color: var(--primary-light);
  background: rgba(14, 165, 233, 0.2);
}

.form-checkbox-text {
  font-size: 0.9375rem;
  color: var(--foreground);
  line-height: 1.5;
}

.form-checkbox-text.required::after {
  content: " *";
  color: var(--danger);
}

/* Grids */
.grid {
  display: grid;
  gap: 1.5rem;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Flex Utilities */
.flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.items-center {
  align-items: center;
}
.justify-between {
  justify-content: space-between;
}
.justify-center {
  justify-content: center;
}
.gap-2 {
  gap: 0.5rem;
}
.gap-3 {
  gap: 0.75rem;
}
.gap-4 {
  gap: 1rem;
}

/* Rules Section */
.rules-section {
  padding: 3rem 0;
}

.rule-category {
  background: var(--background-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.rule-category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--background-tertiary);
  border-bottom: 1px solid var(--border);
}

.rule-category-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.rule-category-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

.rule-category-header h2 {
  font-size: 1.125rem;
  font-weight: 700;
}

.rule-list {
  padding: 0.5rem;
}

.rule-item {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius);
  transition: background 0.15s ease;
}

.rule-item:hover {
  background: var(--primary-light);
}

.rule-number {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8125rem;
}

.rule-content h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.rule-content p {
  color: var(--foreground-muted);
  font-size: 0.875rem;
}

/* Server Status */
.status-section {
  padding: 3rem 0;
}

.status-main-card {
  background: var(--background-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  text-align: center;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.status-indicator.online {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid var(--success);
  color: var(--success);
}

.status-indicator.offline {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid var(--danger);
  color: var(--danger);
}

.status-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: currentColor;
}

.server-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.server-info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--background-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: left;
}

.server-info-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.server-info-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

.server-info-label {
  font-size: 0.75rem;
  color: var(--foreground-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.server-info-value {
  font-weight: 700;
  font-size: 0.9375rem;
}

/* Team Section */
.team-section {
  padding: 4rem 0;
}

/* Komplet redesign af team cards med bedre visuals */
.team-intro {
  max-width: 700px;
  margin: 0 auto 3rem;
  text-align: center;
  color: var(--foreground-muted);
  font-size: 1.125rem;
  line-height: 1.7;
}

.team-category {
  margin-bottom: 4rem;
}

.team-category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border);
}

.team-category-header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.team-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.team-grid-featured {
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}

.team-card {
  position: relative;
  background: linear-gradient(145deg, var(--background-card) 0%, var(--background-tertiary) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
}

.team-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-card:hover {
  border-color: var(--primary);
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 40px rgba(14, 165, 233, 0.15);
}

.team-card:hover::before {
  opacity: 1;
}

.team-card.featured {
  background: linear-gradient(
    145deg,
    rgba(14, 165, 233, 0.1) 0%,
    var(--background-card) 50%,
    rgba(99, 102, 241, 0.1) 100%
  );
  border-color: rgba(14, 165, 233, 0.3);
}

.team-card.featured:hover {
  border-color: var(--primary);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 60px rgba(14, 165, 233, 0.25);
}

/* Fixing truncated CSS and completing team card styles */
.team-card-glow {
  position: absolute;
  top: -100%;
  left: -100%;
  width: 300%;
  height: 300%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.team-card:hover .team-card-glow {
  opacity: 1;
}

.team-avatar {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 1.25rem;
}

.team-avatar::before {
  content: "";
  position: absolute;
  inset: -4px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 50%;
  opacity: 0.8;
}

.team-avatar img {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--background-card);
}

.team-avatar.large {
  width: 120px;
  height: 120px;
}

.team-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.team-role {
  display: inline-block;
  padding: 0.35rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 9999px;
  background: var(--primary-light);
  border: 1px solid var(--border);
  color: var(--primary);
  margin-bottom: 1rem;
}

.team-description {
  color: var(--foreground-muted);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  max-width: 280px;
  margin-left: auto;
  margin-right: auto;
}

.team-discord {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: #5865f2;
  color: white;
  border-radius: var(--radius);
  font-size: 0.8125rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.team-discord:hover {
  background: #4752c4;
  transform: translateY(-2px);
}

.team-discord svg {
  width: 1rem;
  height: 1rem;
}

.join-team-cta {
  margin-top: 4rem;
  padding: 3rem;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  text-align: center;
}

.join-team-cta h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.join-team-cta p {
  color: var(--foreground-muted);
  margin-bottom: 1.5rem;
}

/* About Section - Bento Grid */
.about {
  padding: 6rem 0;
  background: var(--background);
}

.about-bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1.5rem;
}

.about-card {
  background: var(--background-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: all 0.3s ease;
}

.about-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.about-card-icon {
  width: 3rem;
  height: 3rem;
  background: var(--primary-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.about-card-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.about-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.about-card p {
  color: var(--foreground-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.about-card p:last-of-type {
  margin-bottom: 0;
}

.about-card-main {
  grid-column: span 2;
}

.about-card-stats {
  background: linear-gradient(145deg, var(--background-card), var(--background-tertiary));
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.about-stat {
  text-align: center;
}

.about-stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.25rem;
}

.about-stat-label {
  font-size: 0.75rem;
  color: var(--foreground-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-card-cta {
  grid-column: span 3;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.15) 0%, rgba(99, 102, 241, 0.15) 100%);
  border-color: rgba(14, 165, 233, 0.3);
  text-align: center;
  padding: 2.5rem;
}

.about-card-cta h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.about-card-cta p {
  margin-bottom: 1.5rem;
}

/* CTA Section */
.cta {
  padding: 6rem 0;
  background: radial-gradient(ellipse 80% 50% at 50% 100%, rgba(14, 165, 233, 0.15), transparent 60%);
}

.cta-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.125rem;
  color: var(--foreground-muted);
  margin-bottom: 2rem;
}

/* Modals */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}

.modal.show {
  display: flex;
}

.modal-content {
  background: var(--background-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.modal-header h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--foreground);
}

.modal-close {
  background: none;
  border: none;
  color: var(--foreground-muted);
  cursor: pointer;
  padding: 0.25rem;
  font-size: 1.5rem;
  line-height: 1;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: var(--foreground);
}

.modal-body {
  padding: 1.5rem;
}

/* Alerts */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}

.alert-success {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid var(--success);
  color: var(--success);
}

.alert-danger {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid var(--danger);
  color: var(--danger);
}

.alert-warning {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid var(--warning);
  color: var(--warning);
}

/* Footer */
.footer {
  background: var(--background-secondary);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-logo img {
  height: 2.5rem;
  width: auto;
}

.footer-logo span {
  font-size: 1.25rem;
  font-weight: 700;
}

.footer-brand p {
  color: var(--foreground-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.footer-section h4 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  color: var(--foreground);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--foreground-muted);
  font-size: 0.9375rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

.connect-ip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--background-tertiary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: monospace;
  font-size: 0.875rem;
  color: var(--primary);
  cursor: pointer;
  transition: all 0.2s ease;
}

.connect-ip:hover {
  border-color: var(--primary);
  box-shadow: 0 0 20px var(--primary-glow);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--foreground-muted);
  font-size: 0.875rem;
}

/* Utilities */
.text-center {
  text-align: center;
}
.text-muted {
  color: var(--foreground-muted);
}
.mt-2 {
  margin-top: 0.5rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-6 {
  margin-top: 1.5rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}

/* Empty State */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  background: var(--background-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  max-width: 500px;
  margin: 0 auto;
}

.empty-state-icon {
  width: 5rem;
  height: 5rem;
  color: var(--foreground-subtle);
  margin-bottom: 1.5rem;
  opacity: 0.5;
}

.empty-state h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.empty-state p {
  color: var(--foreground-muted);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  max-width: 300px;
}

.empty-state .btn {
  margin-top: 0.5rem;
}

/* Tilføjer empty state styling for mine ansøgninger */
/* Empty State for Applications */
.empty-state-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  background: var(--background-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  max-width: 500px;
  margin: 0 auto;
}

.empty-state-icon-wrapper {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-light), rgba(99, 102, 241, 0.1));
  border: 1px solid var(--border);
  border-radius: 50%;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.empty-state-icon-wrapper svg {
  width: 48px;
  height: 48px;
  stroke: var(--primary);
}

.empty-state-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--foreground);
}

.empty-state-description {
  font-size: 1rem;
  color: var(--foreground-muted);
  max-width: 350px;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.empty-state-container .btn {
  display: inline-flex;
  align-items: center;
}

/* Keybinds Section */
.keybinds-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.keybind-category {
  background: var(--background-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.keybind-category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--background-tertiary);
  border-bottom: 1px solid var(--border);
}

.keybind-category-icon {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.keybind-category-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

.keybind-category-header h2 {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0;
}

.keybind-list {
  padding: 0.5rem;
}

.keybind-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  transition: background 0.15s ease;
}

.keybind-item:hover {
  background: var(--primary-light);
}

.keybind-key {
  flex-shrink: 0;
}

.keybind-key kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  padding: 0.5rem 0.875rem;
  background: linear-gradient(145deg, var(--background-tertiary), var(--background-secondary));
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  font-family: "Inter", monospace;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  box-shadow: 0 2px 0 var(--border), 0 4px 8px rgba(0, 0, 0, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.keybind-content h4 {
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--foreground);
}

.keybind-content p {
  color: var(--foreground-muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 1024px) {
  .admin-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .server-info-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-bento {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-card-main {
    grid-column: span 2;
  }

  .about-card-cta {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--background-secondary);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    gap: 0.5rem;
  }

  .navbar-menu.show {
    display: flex;
  }

  .navbar-toggle {
    display: flex;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .admin-stats-grid {
    grid-template-columns: 1fr;
  }

  .server-info-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .about-bento {
    grid-template-columns: 1fr;
  }

  .about-card-main,
  .about-card-cta {
    grid-column: span 1;
  }

  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  /* Responsive: Keybinds */
  .keybind-item {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* ZPCore Footer Credit Styling */
.footer-credit {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--foreground-subtle);
}

.zpcore-link {
  color: var(--primary);
  font-weight: 600;
  transition: all 0.2s ease;
  position: relative;
}

.zpcore-link:hover {
  color: var(--accent);
  text-shadow: 0 0 10px var(--primary-glow);
}

.zpcore-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.3s ease;
}

.zpcore-link:hover::after {
  width: 100%;
}

/* Rules Philosophy Card */
.rules-philosophy-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background: linear-gradient(135deg, var(--background-card) 0%, rgba(14, 165, 233, 0.03) 100%);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.rules-philosophy-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.philosophy-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 165, 233, 0.1);
  border-radius: 0.75rem;
  color: var(--primary);
}

.philosophy-icon svg {
  width: 28px;
  height: 28px;
}

.philosophy-content {
  flex: 1;
}

.philosophy-text {
  color: var(--foreground);
  font-size: 1.0625rem;
  line-height: 1.7;
  margin: 0 0 0.75rem 0;
}

.philosophy-text strong {
  color: var(--primary);
  font-weight: 600;
}

.philosophy-subtext {
  color: var(--foreground-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 640px) {
  .rules-philosophy-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }
  
  .philosophy-icon {
    margin: 0 auto;
  }
}
