/* style.css - MetalLicit Theme */

/* Reset & root vars */
:root {
  --bg-color: #111;
  --text-color: #ddd;
  --accent-color: #c1272d;
  --card-bg: #1a1a1a;
  --border-color: #444;
  --font-main: 'Metal Mania', cursive;
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  text-align: center;
  padding: 2rem 1rem;
  background: linear-gradient(45deg, #222, #000);
  border-bottom: 2px solid var(--accent-color);
}

header h1 {
  font-family: var(--font-main);
  font-size: 3rem;
  color: var(--accent-color);
  text-shadow: 0 0 8px #000;
}

header p {
  font-size: 1.2rem;
  color: var(--text-color);
  margin-top: 0.5rem;
}

.search-section {
  padding: 2rem 1rem;
  display: flex;
  justify-content: center;
}

#search-form {
  display: flex;
  max-width: 600px;
  width: 100%;
}

#search-form input[type="text"] {
  flex: 1;
  padding: 0.75rem;
  background: var(--card-bg);
  border: 2px solid var(--border-color);
  color: var(--text-color);
  font-size: 1rem;
}

#search-form button {
  padding: 0.75rem 1.5rem;
  background: var(--accent-color);
  border: none;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

#search-form button:hover {
  background: #e01b23;
}

.results-section {
  flex: 1;
  padding: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

#results-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

#results-list li {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 1rem;
  border-radius: 4px;
  transition: transform 0.2s;
}

#results-list li:hover {
  transform: translateY(-4px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

#results-list li h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--accent-color);
}

#results-list li p {
  font-size: 0.9rem;
  color: var(--text-color);
  margin-bottom: 0.5rem;
}

#results-list li a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: bold;
}

#results-list li a:hover {
  text-decoration: underline;
}

footer {
  text-align: center;
  padding: 1rem;
  background: #000;
  border-top: 1px solid var(--border-color);
  font-size: 0.9rem;
}
