body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background: linear-gradient(135deg, #1a2a6c, #b21f1f, #1a2a6c);
  color: #fff;
}

header {
  text-align: center;
  margin-bottom: 30px;
}

h1 {
  font-size: 2.5rem;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
}

.search-container {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
}

#search-input {
  flex: 1;
  padding: 12px 15px;
  font-size: 1.1rem;
  border: 2px solid #4a90e2;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
}

#search-button {
  padding: 12px 25px;
  background: #4a90e2;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: bold;
  transition: all 0.3s ease;
}

#search-button:hover {
  background: #357ae8;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.creature-container {
  background: rgba(0, 0, 0, 0.7);
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.name-id {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #4a90e2;
}

#creature-name {
  font-size: 2.2rem;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  color: #ffde57;
}

#creature-id {
  font-size: 1.8rem;
  background: #4a90e2;
  padding: 5px 15px;
  border-radius: 20px;
}

.physical {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

#weight, #height {
  font-size: 1.3rem;
  background: rgba(74, 144, 226, 0.2);
  padding: 10px 20px;
  border-radius: 10px;
  flex: 1;
  text-align: center;
}

#types {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
}

#types span {
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: bold;
  text-transform: uppercase;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

.stat {
  background: rgba(0, 0, 0, 0.5);
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #4a90e2;
}

.stat-name {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #ffde57;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: bold;
}

.fire { background: #f08030; }
.water { background: #6890f0; }
.rock { background: #b8a038; }
