/* Allgemeine Reset- und Box-Sizing-Regeln */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Grundlegende Schriftarten und Farben */
body {
  font-family: "Inter", sans-serif;
  background-color: #081018; /* Sehr dunkles, tiefes Blau als Basis */
  /* Dynamischer, futuristischer Hintergrund mit subtilen Gradients */
  /* Subtle grid pattern - very faint */
  background-image: repeating-linear-gradient(0deg, rgba(0, 192, 255, 0.02) 0px, transparent 1px, transparent 50px),
    repeating-linear-gradient(90deg, rgba(0, 192, 255, 0.02) 0px, transparent 1px, transparent 50px),
    /* Large, soft radial glows */
    radial-gradient(circle at 20% 80%, rgba(0, 192, 255, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 150, 255, 0.2) 0%, transparent 50%), /* Slightly different blue */
    /* Base linear gradient */
    linear-gradient(to bottom right, #081018, #101a28);
  background-size: 50px 50px, 50px 50px, cover, cover, cover; /* Adjust size for repeating gradients */
  background-attachment: fixed;
  color: #e0eaf5; /* Helles, leicht bläuliches Grau für Haupttext */
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; /* Verhindert horizontales Scrollen durch Hintergrundeffekte */
}

/* Canvas für Partikel */
#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* Zwischen dem body-Hintergrund und dem Hauptinhalt */
  pointer-events: none; /* Ermöglicht Klicks auf Elemente darunter */
}

/* Container für zentrale Inhalte */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem; /* Etwas mehr Padding */
}

/* Header-Bereich */
.header {
  background-color: rgba(10, 20, 30, 0.98); /* Fast undurchsichtiges, sehr dunkles Blau */
  backdrop-filter: blur(15px); /* Stärkerer Frosted Glass Effekt */
  border-bottom: 1px solid rgba(40, 60, 80, 0.8); /* Deutlichere, bläulichere Trennlinie */
  padding: 1.2rem 0; /* Mehr Padding */
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5); /* Stärkerer, tieferer Schatten */
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem; /* Mehr Abstand */
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem; /* Etwas mehr Abstand */
}

.logo-icon-img {
  width: 40px; /* Größer */
  height: 40px; /* Größer */
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid #00c0ff; /* Lebendigeres Blau */
  box-shadow: 0 0 20px rgba(0, 192, 255, 0.8); /* Stärkerer Glüheffekt */
}

.logo-text {
  font-size: 1.75rem; /* Größer */
  font-weight: 800; /* Kräftiger */
  color: #00c0ff; /* Lebendigeres Blau */
  letter-spacing: -0.03em; /* Etwas enger */
  text-shadow: 0 0 10px rgba(0, 192, 255, 0.6); /* Stärkerer Text-Glüheffekt */
}

/* Suchleiste im Header */
.search-container {
  flex-grow: 1;
  max-width: 450px; /* Breiter */
  position: relative;
}

.search-input {
  width: 100%;
  padding: 0.85rem 1.2rem 0.85rem 2.8rem; /* Mehr Padding */
  background-color: #152535; /* Dunkleres Blau für Input-Hintergrund */
  border: 1px solid #304a60; /* Bläulichere Border */
  border-radius: 0.6rem; /* Leicht größere Rundung */
  color: #e0eaf5;
  font-size: 1rem; /* Größer */
  transition: border-color 0.3s, box-shadow 0.3s;
}

.search-input::placeholder {
  color: #8090a0; /* Bläulicheres Grau */
}

.search-input:focus {
  outline: none;
  border-color: #00c0ff;
  box-shadow: 0 0 0 4px rgba(0, 192, 255, 0.4), 0 0 15px rgba(0, 192, 255, 0.3); /* Stärkerer Glüheffekt beim Fokus */
}

.search-icon {
  position: absolute;
  left: 1rem; /* Etwas weiter links */
  top: 50%;
  transform: translateY(-50%);
  width: 1.35rem; /* Größer */
  height: 1.35rem; /* Größer */
  color: #8090a0;
}

/* Header-Aktionen (Buttons und User-Info) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1.2rem; /* Mehr Abstand */
  flex-wrap: wrap;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #e0eaf5;
  font-size: 0.95rem; /* Etwas größer */
}

.user-avatar {
  width: 36px; /* Größer */
  height: 36px; /* Größer */
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #00c0ff; /* Lebendigeres Blau */
  box-shadow: 0 0 10px rgba(0, 192, 255, 0.5);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem; /* Mehr Padding */
  border-radius: 0.6rem; /* Stärkere Rundung */
  font-weight: 700; /* Kräftiger */
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  font-size: 0.95rem; /* Etwas größer */
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn svg {
  margin-right: 0.6rem; /* Mehr Abstand */
  width: 1.1rem; /* Größer */
  height: 1.1rem; /* Größer */
}

.btn-sm {
  padding: 0.6rem 1rem; /* Mehr Padding */
  font-size: 0.85rem; /* Etwas größer */
}

.btn-sm svg {
  margin-right: 0.4rem;
  width: 1rem;
  height: 1rem;
}

.btn-primary {
  background-color: #00c0ff; /* Lebendigeres Blau */
  color: #081018; /* Sehr dunkles Blau */
  border: 1px solid #00c0ff;
  box-shadow: 0 4px 15px rgba(0, 192, 255, 0.4);
}

.btn-primary:hover {
  background-color: #00a0e0; /* Etwas dunkleres Blau */
  transform: translateY(-3px); /* Stärkerer Hover-Effekt */
  box-shadow: 0 8px 20px rgba(0, 192, 255, 0.6); /* Stärkerer Schatten */
}

.btn-outline {
  background-color: transparent;
  color: #00c0ff; /* Lebendigeres Blau */
  border: 1px solid #00c0ff;
}

.btn-outline:hover {
  background-color: rgba(0, 192, 255, 0.15); /* Stärkerer blauer Hintergrund beim Hover */
  color: #e0eaf5;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 192, 255, 0.3);
}

.btn-destructive {
  background-color: transparent;
  color: #ff4d4d; /* Kühleres Rot */
  border: 1px solid #ff4d4d;
}

.btn-destructive:hover {
  background-color: rgba(255, 77, 77, 0.15);
  color: #e0eaf5;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 77, 77, 0.3);
}

.btn:disabled {
  opacity: 0.4; /* Mehr Opazität */
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Hauptlayout (Sidebar + Content) */
.main-layout {
  display: flex;
  min-height: calc(100vh - 80px); /* Angepasst an neuen Header-Padding */
}

/* Sidebar */
.sidebar {
  width: 240px; /* Breiter */
  background-color: rgba(10, 20, 30, 0.95); /* Gleiche Transparenz wie Header */
  backdrop-filter: blur(12px); /* Stärkerer Frosted Glass Effekt */
  border-right: 1px solid rgba(40, 60, 80, 0.8);
  padding: 2rem 1.2rem; /* Mehr Padding */
  flex-shrink: 0;
  box-shadow: 3px 0 20px rgba(0, 0, 0, 0.4); /* Stärkerer Schatten für Tiefe */
}

.sidebar-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-nav li {
  margin-bottom: 0.9rem; /* Etwas mehr Abstand */
}

.sidebar-nav li a {
  display: flex;
  align-items: center;
  gap: 0.85rem; /* Etwas mehr Abstand */
  padding: 0.95rem 1.2rem; /* Etwas größere Padding */
  border-radius: 0.7rem; /* Leicht größere Rundung */
  color: #a0b0c0; /* Bläulicheres Grau */
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
  font-size: 1rem; /* Etwas größer */
  font-weight: 600;
}

.sidebar-nav li a:hover {
  background-color: #1a304a; /* Dunkleres Blau */
  color: #e0eaf5;
  box-shadow: 0 0 12px rgba(0, 192, 255, 0.2); /* Subtiler Glüheffekt beim Hover */
}

.sidebar-nav li.active a {
  background-color: #00c0ff; /* Lebendigeres Blau */
  color: #081018; /* Sehr dunkles Blau */
  font-weight: 800;
  box-shadow: 0 0 20px rgba(0, 192, 255, 0.5); /* Deutlicher Glüheffekt für aktiven Link */
}

.sidebar-nav li a svg,
.sidebar-nav li a .category-icon,
.sidebar-nav li a .booster-icon {
  width: 1.35rem; /* Größer */
  height: 1.35rem; /* Größer */
  flex-shrink: 0;
  color: #a0b0c0;
  transition: color 0.3s;
}

.sidebar-nav li.active a svg,
.sidebar-nav li.active a .category-icon,
.sidebar-nav li.active a .booster-icon {
  color: #081018;
}

/* Hauptinhaltsbereich */
.main-content {
  flex-grow: 1;
  padding: 2.5rem; /* Mehr Padding */
}

/* Content Header (für Kategorie-Titel) */
.content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem; /* Mehr Abstand */
  padding-bottom: 0.8rem; /* Mehr Padding */
  border-bottom: 1px solid rgba(40, 60, 80, 0.6); /* Bläulichere Trennlinie unter dem Titel */
}

.content-title {
  font-size: 2.25rem; /* Größerer Titel */
  font-weight: 800;
  color: #e0eaf5;
  text-shadow: 0 0 8px rgba(224, 234, 245, 0.3);
}

/* Leaks Grid */
.leaks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Etwas größere Karten */
  gap: 2rem; /* Mehr Abstand */
}

/* Leak Card */
.leak-card {
  background-color: rgba(20, 40, 60, 0.95); /* Dunkleres, leicht transparentes Blau */
  backdrop-filter: blur(8px); /* Stärkerer Frosted Glass Effekt */
  border-radius: 1rem; /* Stärkere Rundung */
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4); /* Stärkerer Schatten */
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  border: 1px solid rgba(40, 60, 80, 0.7); /* Deutlichere, bläulichere Border */
  position: relative;
}

.leak-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(0, 192, 255, 0.08) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.leak-card:hover::before {
  opacity: 1;
}

.leak-card:hover {
  transform: translateY(-10px); /* Stärkerer Hover-Effekt */
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 192, 255, 0.6); /* Stärkerer Glüheffekt */
  border-color: #00c0ff;
}

.leak-image-container {
  position: relative;
  width: 100%;
  height: 200px; /* Größer */
  overflow: hidden;
}

.leak-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-bottom: 1px solid rgba(40, 60, 80, 0.7);
}

.leak-content {
  padding: 1.2rem; /* Mehr Padding */
}

.leak-title {
  font-size: 1.5rem; /* Größerer Titel */
  font-weight: 700;
  color: #e0eaf5;
  margin-bottom: 0.6rem;
  line-height: 1.3;
  transition: color 0.3s;
}

.leak-card:hover .leak-title {
  color: #00c0ff;
}

.leak-description {
  font-size: 1rem; /* Größerer Text */
  color: #a0b0c0;
  margin-bottom: 1.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.leak-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem; /* Größerer Meta-Text */
  color: #a0b0c0;
  margin-bottom: 1.2rem;
}

.leak-author,
.leak-date {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.leak-author svg,
.leak-date svg {
  width: 1.1rem; /* Größere Icons */
  height: 1.1rem;
  color: #00c0ff;
}

.leak-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(40, 60, 80, 0.7);
}

.leak-stats {
  display: flex;
  gap: 1.2rem;
  font-size: 0.9rem;
  color: #a0b0c0;
}

.leak-stat {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.leak-stat svg {
  width: 1.1rem;
  height: 1.1rem;
  color: #00c0ff;
}

/* Badges (Featured, Booster Only) */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.8rem; /* Etwas größere Badges */
  border-radius: 9999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.8rem; /* Etwas größere Schrift */
  line-height: 1;
  color: #081018;
  background-color: #00c0ff;
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4); /* Stärkerer Schatten */
}

.badge.booster {
  background-color: #9933ff; /* Lebendigeres Lila */
  color: white;
  box-shadow: 0 3px 10px rgba(153, 51, 255, 0.5); /* Lila Schatten */
}

.badge.badge-admin {
  background-color: #ff4d4d; /* Kühleres Rot */
  color: white;
  box-shadow: 0 3px 10px rgba(255, 77, 77, 0.5); /* Roter Schatten */
}

/* Modal (Category Filter) */
.modal {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: rgba(20, 40, 60, 0.98);
  margin: auto;
  padding: 1.2rem; /* Kompakt */
  border-radius: 0.8rem;
  width: 90%;
  max-width: 360px; /* Kompaktes Modal */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 192, 255, 0.3);
  position: relative;
  animation: fadeIn 0.4s ease-out;
  border: 1px solid rgba(0, 192, 255, 0.6);
}

.close-btn {
  background-color: #e63946;
  color: #fff;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 0.2rem 0.6rem;
  border-radius: 0.5rem;
  position: absolute;
  top: 0.8rem;    /* Oben */
  right: 1rem;    /* Rechts */
  cursor: pointer;
  border: none;
  box-shadow: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  outline: none;
  overflow: hidden;
  z-index: 0;
}

/* Glow Animation */
.close-btn::before {
  content: "";
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 0.5rem;
  background: linear-gradient(270deg, 
    #00c0ff, #e63946, #00c0ff);
  background-size: 600% 600%;
  filter: blur(6px);
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: glowAnim 8s linear infinite;
  z-index: -1;
}

/* Hover Effect */
.close-btn:hover,
.close-btn:focus {
  background-color: #c62828;
  transform: scale(1.1);
  outline: none;
}

.close-btn:hover::before,
.close-btn:focus::before {
  opacity: 1;
}

/* Keyframes für Glow-Animation */
@keyframes glowAnim {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.modal-header {
  margin-bottom: 1.2rem;
  text-align: center;
}

.modal-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #e0eaf5;
  margin-bottom: 0.3rem;
}

.modal-subtitle {
  font-size: 0.9rem;
  color: #a0b0c0;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.category-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.7rem;
  background-color: #152535;
  border: 1px solid #304a60;
  border-radius: 0.6rem;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  color: #e0eaf5;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
}

.category-btn:hover {
  background-color: #1a304a;
  border-color: #00c0ff;
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(0, 192, 255, 0.25);
}

.category-icon {
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
  line-height: 1;
}

.category-name {
  line-height: 1.1;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 5rem 0; /* Mehr Padding */
  color: #a0b0c0;
  font-size: 1.3rem; /* Größerer Text */
  background-color: rgba(20, 40, 60, 0.85);
  border-radius: 1rem;
  border: 1px solid rgba(40, 60, 80, 0.6);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Download Page Specific Styles (stat-card) */
.stat-card {
  background-color: rgba(20, 40, 60, 0.95); /* Dunkleres, leicht transparentes Blau */
  backdrop-filter: blur(8px); /* Stärkerer Frosted Glass Effekt */
  border-radius: 1.2rem; /* Stärkere Rundung */
  padding: 3rem; /* Mehr Padding */
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 192, 255, 0.4); /* Stärkerer Schatten und Glüheffekt */
  border: 1px solid rgba(0, 192, 255, 0.8); /* Deutlicher Akzentrand */
  color: #e0eaf5;
}

.stat-card-image {
  width: 100%;
  height: 400px; /* Größer */
  object-fit: cover;
  border-radius: 1rem; /* Stärkere Rundung */
  margin-bottom: 2.5rem; /* Mehr Abstand */
  border: 1px solid #304a60;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.stat-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.8rem; /* Mehr Abstand */
}

.stat-card-header h1 {
  font-size: 2.8rem; /* Größerer Titel */
  font-weight: 800;
  color: #00c0ff;
  margin-bottom: 0;
  text-shadow: 0 0 12px rgba(0, 192, 255, 0.5);
}

.stat-card-badges {
  display: flex;
  gap: 0.8rem; /* Mehr Abstand zwischen Badges */
  flex-wrap: wrap;
}

.stat-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem; /* Mehr Abstand */
  margin-bottom: 2.5rem; /* Mehr Abstand */
  color: #a0b0c0;
  font-size: 1rem; /* Etwas größer */
}

.stat-meta div span {
  color: #00c0ff;
  font-weight: 700;
}

.stat-details {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem; /* Mehr Abstand */
  margin-bottom: 3rem; /* Mehr Abstand */
  color: #a0b0c0;
  font-size: 1rem; /* Etwas größer */
}

.stat-detail-item {
  display: flex;
  align-items: center;
  gap: 0.6rem; /* Mehr Abstand */
}

.stat-detail-item svg {
  width: 1.2rem; /* Etwas größere Icons */
  height: 1.2rem;
  color: #00c0ff;
}

.description-section {
  margin-bottom: 3rem; /* Mehr Abstand */
}

.description-section h2 {
  font-size: 2rem; /* Größerer Titel */
  font-weight: 700;
  margin-bottom: 1.5rem; /* Mehr Abstand */
  color: #e0eaf5;
}

.description-section p {
  color: #a0b0c0;
  line-height: 1.9; /* Mehr Zeilenabstand */
  font-size: 1.05rem; /* Etwas größerer Text */
}

.download-button-container {
  text-align: center;
  margin-top: 3.5rem; /* Mehr Abstand */
}

.download-button-container .btn {
  font-size: 1.35rem; /* Größerer Button-Text */
  padding: 1.4rem 2.8rem; /* Größerer Button */
}

.download-message {
  text-align: center;
  color: #ff4d4d;
  margin-top: 1.8rem; /* Mehr Abstand */
  font-size: 1.05rem; /* Etwas größerer Text */
}

/* Admin Page Specific Styles */
.admin-header .logo-text {
  font-size: 1.5rem;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); /* Etwas breiter */
  gap: 1.8rem; /* Mehr Abstand */
  margin-bottom: 2.2rem;
}

.admin-stat-card {
  background-color: #1a304a; /* Dunkleres Blau */
  border-radius: 0.85rem; /* Stärkere Rundung */
  padding: 1.8rem; /* Mehr Padding */
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
  border: 1px solid #304a60;
}

.admin-stat-card-title {
  font-size: 0.95rem; /* Etwas größer */
  font-weight: 600;
  color: #a0b0c0;
  margin-bottom: 0.6rem;
}

.admin-stat-card-value {
  font-size: 2rem; /* Größer */
  font-weight: 800;
  color: #e0eaf5;
}

.admin-tabs {
  margin-bottom: 2.2rem;
}

.admin-tabs-list {
  display: flex;
  background-color: #152535;
  border-radius: 0.6rem;
  overflow: hidden;
  border: 1px solid #304a60;
}

.admin-tabs-trigger {
  flex-grow: 1;
  padding: 0.85rem 1.5rem; /* Mehr Padding */
  background-color: transparent;
  border: none;
  color: #a0b0c0;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s, color 0.3s;
  font-size: 1rem; /* Etwas größer */
}

.admin-tabs-trigger.active {
  background-color: #00c0ff;
  color: #081018;
}

/* Tab Content Animation */
.admin-tabs-content {
  background-color: #1a304a; /* Dunkleres Blau */
  border-radius: 0.85rem;
  padding: 2.2rem; /* Mehr Padding */
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 1px solid #304a60;
  opacity: 0; /* Start hidden */
  transform: translateY(20px); /* Start slightly below */
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
  display: none; /* Hidden by default */
}

.admin-tabs-content.active {
  opacity: 1; /* Fade in */
  transform: translateY(0); /* Slide up */
  display: block; /* Show the content */
}

.admin-tabs-content.fade-out {
  opacity: 0;
  transform: translateY(-20px);
}

.admin-tabs-content.fade-in {
  opacity: 1;
  transform: translateY(0);
}

.admin-content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.8rem;
}

.admin-content-header h2 {
  font-size: 2rem; /* Größer */
  font-weight: 800;
  color: #e0eaf5;
}

/* Table Styles */
.table-responsive {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem; /* Etwas größer */
}

.data-table th,
.data-table td {
  padding: 1.1rem; /* Mehr Padding */
  text-align: left;
  border-bottom: 1px solid #304a60; /* Bläulichere Trennlinie */
  color: #e0eaf5;
}

.data-table th {
  color: #a0b0c0;
  font-weight: 700;
  white-space: nowrap;
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.table-cell-content {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.table-actions {
  display: flex;
  gap: 0.6rem;
  white-space: nowrap;
}

.user-avatar-sm {
  width: 36px; /* Größer */
  height: 36px; /* Größer */
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #00c0ff;
  flex-shrink: 0;
}

.font-mono {
  font-family: monospace;
  font-size: 0.9rem; /* Etwas größer */
}

.status-online {
  color: #34d399; /* Grüner */
}

.status-recent {
  color: #facc15; /* Gelber */
}

.status-offline {
  color: #6b7280;
}

/* Category Cards in Admin Panel - IMPROVED STYLES */
.categories-grid-improved {
  /* New class for the grid container */
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); /* Adjusted for better fit */
  gap: 1.5rem; /* Consistent gap */
}

.category-card-improved {
  /* New class for individual cards */
  background-color: rgba(20, 40, 60, 0.95); /* Darker, slightly transparent blue */
  backdrop-filter: blur(8px);
  border-radius: 1rem;
  padding: 1.5rem; /* More padding */
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  border: 1px solid rgba(40, 60, 80, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 180px; /* Slightly adjusted height */
}

.category-card-improved:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 192, 255, 0.4);
  border-color: #00c0ff;
}

.category-card-header-improved {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.category-icon-improved {
  font-size: 2.5rem; /* Slightly smaller, more balanced */
  line-height: 1;
  flex-shrink: 0;
  color: #00c0ff; /* Accent color for icons */
}

.category-card-title-improved {
  font-weight: 700;
  font-size: 1.35rem; /* Slightly larger title */
  color: #e0eaf5;
}

.category-card-leak-count-improved {
  color: #a0b0c0;
  font-size: 0.9rem;
  margin-bottom: 1.2rem;
}

.category-card-actions-improved {
  display: flex;
  gap: 0.6rem;
  margin-top: auto; /* Pushes actions to the bottom */
}

.category-id-display {
  /* New class for ID display */
  font-size: 0.75rem; /* Smaller, less prominent */
  color: #6b7280;
  margin-top: 0.8rem; /* Space from buttons */
  text-align: right; /* Align to right */
}

/* Form Styles */
.form-group {
  margin-bottom: 1.8rem;
}

.form-label {
  display: block;
  margin-bottom: 0.6rem;
  font-weight: 600;
  color: #e0eaf5;
  font-size: 0.95rem;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.85rem;
  background-color: #152535;
  border: 1px solid #304a60;
  border-radius: 0.6rem;
  color: #e0eaf5;
  font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  outline: none;
  border-color: #00c0ff;
  box-shadow: 0 0 0 4px rgba(0, 192, 255, 0.3);
}

.form-textarea {
  min-height: 140px; /* Höher */
  resize: vertical;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.form-checkbox input[type="checkbox"] {
  width: 1.35rem; /* Größer */
  height: 1.35rem; /* Größer */
  background-color: #152535;
  border: 1px solid #304a60;
  border-radius: 0.3rem;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  transition: background-color 0.3s, border-color 0.3s;
}

.form-checkbox input[type="checkbox"]:checked {
  background-color: #00c0ff;
  border-color: #00c0ff;
}

.form-checkbox input[type="checkbox"]:checked::before {
  content: "✔";
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.9rem; /* Größer */
  color: #081018;
}

.form-checkbox .form-label {
  margin-bottom: 0;
  cursor: pointer;
  font-weight: 500;
  color: #e0eaf5;
}

.form-checkbox .form-label span {
  color: #a0b0c0;
  font-size: 0.85rem; /* Etwas größer */
  display: block;
  margin-top: 0.3rem;
}

.form-actions {
  display: flex;
  gap: 1.2rem;
  justify-content: flex-end;
  padding-top: 1.2rem;
  border-top: 1px solid #304a60;
}

/* Alerts */
.alert {
  padding: 1.2rem;
  border-radius: 0.6rem;
  margin-bottom: 1.8rem;
  font-size: 0.95rem;
  font-weight: 600;
}

.alert-success {
  background-color: rgba(0, 192, 255, 0.1);
  border: 1px solid #00c0ff;
  color: #00c0ff;
}

.alert-error {
  background-color: rgba(255, 77, 77, 0.1);
  border: 1px solid #ff4d4d;
  color: #ff4d4d;
}

.alert-actions {
  margin-top: 0.6rem;
  display: flex;
  gap: 0.6rem;
}

/* File Upload Area */
.file-upload-area {
  border: 2px dashed #304a60;
  border-radius: 0.85rem;
  padding: 2.2rem;
  text-align: center;
  transition: border-color 0.3s, background-color 0.3s;
  cursor: pointer;
  background-color: #152535;
}

.file-upload-area:hover {
  border-color: #00c0ff;
  background-color: rgba(0, 192, 255, 0.08);
}

.file-upload-area.dragover {
  border-color: #00c0ff;
  background-color: rgba(0, 192, 255, 0.12);
}

.file-upload-area svg {
  margin: 0 auto 1.2rem;
  color: #a0b0c0;
  width: 3.2rem;
  height: 3.2rem;
}

.file-upload-area p {
  color: #a0b0c0;
  margin-bottom: 0.6rem;
}

.file-upload-area p:last-child {
  color: #6b7280;
  font-size: 0.85rem;
}

.image-preview {
  max-width: 280px; /* Größer */
  max-height: 280px; /* Größer */
  border-radius: 0.6rem;
  margin-top: 1.2rem;
  border: 1px solid #304a60;
  object-fit: cover;
}

.file-name-display {
  margin-top: 0.85rem;
  color: #e0eaf5;
  font-size: 0.9rem;
  background-color: #152535;
  padding: 0.85rem;
  border-radius: 0.6rem;
  border: 1px solid #304a60;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.file-name-display svg {
  width: 1.1rem;
  height: 1.1rem;
  color: #00c0ff;
}

.file-name-display span:first-of-type {
  color: #00c0ff;
  font-weight: 600;
}

.file-name-display span:last-of-type {
  color: #a0b0c0;
}

.upload-progress {
  margin-top: 1.2rem;
}

.progress-bar {
  width: 100%;
  height: 10px; /* Dicker */
  background-color: #304a60;
  border-radius: 5px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background-color: #00c0ff;
  width: 0%;
  transition: width 0.3s ease;
}

.progress-text {
  text-align: center;
  margin-top: 0.6rem;
  color: #a0b0c0;
  font-size: 0.9rem;
}

/* Character Counter */
.char-counter {
  font-size: 0.8rem;
  color: #a0b0c0;
  text-align: right;
  margin-top: 0.3rem;
}

.char-counter.error {
  color: #ff4d4d;
}

.char-counter.success {
  color: #00c0ff;
}

/* Login Page Specific Styles */
.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.login-card {
  background-color: rgba(20, 40, 60, 0.98); /* Dunkleres, leicht transparentes Blau */
  backdrop-filter: blur(10px); /* Frosted Glass Effekt */
  border-radius: 1.2rem; /* Stärkere Rundung */
  padding: 3rem; /* Mehr Padding */
  max-width: 450px; /* Breiter */
  width: 100%;
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 192, 255, 0.5); /* Stärkerer Schatten und Glüheffekt */
  border: 1px solid rgba(0, 192, 255, 0.8); /* Deutlicher Akzentrand */
  text-align: center;
  animation: fadeIn 0.6s ease-out;
}

.login-logo {
  width: 90px; /* Größer */
  height: 90px; /* Größer */
  background-color: #00c0ff; /* Akzentfarbe */
  border-radius: 50%;
  margin: 0 auto 2.5rem; /* Zentriert und Abstand nach unten */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(0, 192, 255, 0.8); /* Starker Glüheffekt */
  position: relative;
  overflow: hidden;
}

.login-logo-inner {
  width: 68px; /* Größer */
  height: 68px; /* Größer */
  background-color: #081018; /* Sehr dunkles Blau */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-logo-shape {
  width: 35px; /* Größer */
  height: 35px; /* Größer */
  background-color: #00c0ff; /* Akzentfarbe */
  transform: rotate(45deg);
}

.login-title {
  font-size: 2.25rem; /* Größerer Titel */
  font-weight: 800;
  color: #e0eaf5;
  margin-bottom: 0.85rem;
  text-shadow: 0 0 10px rgba(224, 234, 245, 0.4);
}

.login-subtitle {
  font-size: 1.1rem;
  color: #a0b0c0;
  margin-bottom: 2.5rem; /* Mehr Abstand */
}

.discord-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1.1rem 1.8rem; /* Größerer Button */
  background-color: #5865f2; /* Discord Blau */
  color: white;
  border: 1px solid #5865f2;
  border-radius: 0.85rem; /* Stärkere Rundung */
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
  font-size: 1.15rem; /* Größerer Text */
  box-shadow: 0 5px 20px rgba(88, 101, 242, 0.4); /* Discord-farbener Schatten */
}

.discord-btn:hover {
  background-color: #4752c4;
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(88, 101, 242, 0.6);
}

.discord-btn svg {
  margin-right: 0.85rem;
  width: 1.6rem; /* Größeres Icon */
  height: 1.6rem;
}

.login-footer-text {
  margin-top: 1.8rem; /* Mehr Abstand */
  padding-top: 1.8rem; /* Mehr Padding */
  border-top: 1px solid #304a60; /* Dunklere, klarere Trennlinie */
  font-size: 0.9rem; /* Etwas größerer Text */
  color: #a0b0c0;
  text-align: center;
}

/* Keyframes for animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .search-container {
    width: 100%;
    max-width: none;
    margin-top: 1.2rem;
  }
  .header-actions {
    width: 100%;
    justify-content: center;
    margin-top: 1.2rem;
  }
  .main-layout {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 1px solid #283848;
    padding: 1.2rem;
  }
  .sidebar-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
  }
  .sidebar-nav li {
    margin-bottom: 0;
  }
  .sidebar-nav li a {
    padding: 0.6rem 0.85rem;
    font-size: 0.9rem;
    gap: 0.6rem;
  }
  .sidebar-nav li a svg,
  .sidebar-nav li a .category-icon,
  .sidebar-nav li a .booster-icon {
    width: 1.1rem;
    height: 1.1rem;
  }
  .main-content {
    padding: 1.8rem;
  }
  .leaks-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
  .modal-content {
    padding: 1.8rem;
  }
  .modal-title {
    font-size: 1.8rem;
  }
  .categories-grid {
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  }
  .category-btn {
    padding: 0.9rem;
  }
  .category-icon {
    font-size: 2.5rem;
  }
  .admin-tabs-list {
    flex-direction: column;
  }
  .admin-tabs-trigger {
    width: 100%;
    text-align: center;
  }
  .stat-card-image {
    height: 300px; /* Kleiner auf Mobilgeräten */
  }
  .stat-card-header h1 {
    font-size: 2.2rem;
  }
  .login-card {
    padding: 1.8rem;
  }
  .login-title {
    font-size: 2rem;
  }
  .discord-btn {
    font-size: 1.05rem;
    padding: 0.9rem 1.2rem;
  }
  .discord-btn svg {
    width: 1.3rem;
    height: 1.3rem;
  }
}

@media (max-width: 480px) {
  .header-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .header-actions .btn {
    width: 100%;
  }
  .user-info {
    width: 100%;
    justify-content: center;
  }
  .user-info .btn-outline {
    margin-left: 0 !important;
    width: 100%;
    margin-top: 0.6rem;
  }
  .leaks-grid {
    grid-template-columns: 1fr;
  }
  .stat-card h1 {
    font-size: 2rem;
  }
  .stat-meta,
  .stat-details {
    flex-direction: column;
    gap: 1.2rem;
  }
}

.badge.pending {
  background-color: #ff9900; /* Lebendigeres Orange für Pending */
  color: white;
  box-shadow: 0 3px 10px rgba(255, 153, 0, 0.5);
}

.badge.rejected {
  background-color: #ff4d4d; /* Kühleres Rot für Rejected */
  color: white;
  box-shadow: 0 3px 10px rgba(255, 77, 77, 0.5);
}

.badge.success {
  background-color: #34d399; /* Grüner für Genehmigt */
  color: white;
  box-shadow: 0 3px 10px rgba(52, 211, 153, 0.5);
}

.login-logo-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    box-shadow: 0 0 20px #00bfff;
    background-color: #0e1621;
    padding: 8px;
}