/* Neobrutalist Theme - Mit sichtbarer Suchleiste und Favicons */
:root {
  --bg-color: #0a0a0a;
  --text-color: #ffffff;
  --border-color: #404040;
  --accent-color: #39ff14;
  --secondary-color: #00d4ff;
  --gray-color: #8b8b8b;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg-color);
  color: var(--text-color);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Background animation */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(57, 255, 20, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 255, 20, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

.bg-particles {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.bg-particles::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 10%;
  width: 2px;
  height: 2px;
  background: var(--accent-color);
  box-shadow:
    100px 100px 0 var(--accent-color),
    200px 150px 0 var(--accent-color),
    300px 80px 0 var(--accent-color),
    400px 200px 0 var(--accent-color),
    500px 120px 0 var(--accent-color),
    600px 180px 0 var(--accent-color);
  animation: float-particles 20s infinite linear;
}

@keyframes float-particles {
  0% {
    transform: translateY(0px) translateX(0px);
  }

  100% {
    transform: translateY(-100vh) translateX(10px);
  }
}

/* Main content styling */
.main-content {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  position: relative;
  z-index: 1;
}

/* Search container styling */
.search-container {
  width: 100%;
  max-width: 800px;
  text-align: center;
}

/* Results container styling */
.results-container {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
}

.results-list {
  margin-top: 2rem;
}

/* Search header styling */
.search-header {
  background: #2d2d2d;
  border-bottom: 3px solid #39ff14;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.header-logo {
  width: 30px;
  height: 30px;
}

.header-text {
  font-size: 1.5rem;
  font-weight: 900;
  color: #39ff14;
}

.search-form-inline {
  flex: 1;
  min-width: 300px;
}

.search-box-inline {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.search-input-inline {
  flex: 1;
  padding: 0.75rem;
  background: #1a1a1a;
  border: 2px solid #404040;
  color: #ffffff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 1rem;
}

.search-input-inline:focus {
  border-color: #39ff14;
  outline: none;
}

.search-button-inline {
  padding: 0.75rem;
  background: #39ff14;
  border: none;
  color: #1a1a1a;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 700;
}

.search-button-inline:hover {
  background: #00d4ff;
  transform: scale(1.1);
}

.search-stats {
  color: #8b8b8b;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* Result item styling */
.result-item {
  background: #2d2d2d;
  border: 3px solid #404040;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.result-item:hover {
  border-color: #39ff14;
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.9);
}

.result-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.result-favicon {
  flex-shrink: 0;
}

.favicon-img {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  border: 1px solid #404040;
  background: #1a1a1a;
}

.result-title-container {
  flex: 1;
}

.result-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #39ff14;
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
}

.result-title:hover {
  color: #00d4ff;
}

.result-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  font-size: 0.9rem;
}

.result-url {
  color: #8b8b8b;
  font-family: 'Inter', sans-serif;
}

.result-content {
  color: #e0e0e0;
  line-height: 1.6;
  margin-bottom: 1rem;
  margin-left: 35px;
}

.result-actions {
  display: flex;
  gap: 0.5rem;
  margin-left: 35px;
}

.result-action {
  padding: 0.5rem 1rem;
  background: #1a1a1a;
  border: 2px solid #404040;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  font-family: 'JetBrains Mono', monospace;
}

.result-action:hover {
  border-color: #39ff14;
  color: #39ff14;
}

.no-results {
  text-align: center;
  padding: 4rem 2rem;
}

.no-results-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.no-results h2 {
  color: #39ff14;
  margin-bottom: 1rem;
}

.no-results-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .main-content {
    padding: 1rem;
  }

  .search-container,
  .results-container {
    padding: 1rem;
  }

  .search-header {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }

  .search-form-inline {
    margin: 0;
  }

  .result-content,
  .result-actions {
    margin-left: 0;
  }
}