/* Reset and base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: linear-gradient(135deg, #1a1a1a, #2e2e2e);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #f0f0f0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.container {
  background-color: #111;
  border-radius: 15px;
  box-shadow: 0 0 40px #ff6f00;
  max-width: 480px;
  width: 100%;
  padding: 30px 40px;
  text-align: center;
}

/* Animations */
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

.fade-in {
  animation: fadeIn 1.5s ease forwards;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-up {
  animation: slideUp 1s ease forwards;
  opacity: 0;
}

/* Header */
header h1 {
  font-size: 3rem;
  color: #ff6f00;
  margin-bottom: 10px;
  text-shadow: 0 0 15px #ff6f00;
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from { text-shadow: 0 0 15px #ff6f00; }
  to   { text-shadow: 0 0 30px #ffa500; }
}

header p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  font-weight: 600;
  color: #f5a623;
}

.intro p {
  font-size: 1.1rem;
  margin-bottom: 35px;
  color: #ddd;
  line-height: 1.4;
}

/* Buttons */
.buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin-bottom: 25px;
}

.button {
  background-color: #222;
  color: #fff;
  text-decoration: none;
  padding: 15px 25px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.1rem;
  min-width: 130px;
  box-shadow: 0 0 15px rgba(255, 111, 0, 0.8);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
  display: inline-block;
}

.button:hover,
.button:focus {
  background-color: #ff6f00;
  box-shadow: 0 0 25px #ff6f00;
  outline: none;
  transform: scale(1.05);
}

/* Pulse animation on buttons */
@keyframes pulse {
  0%   { box-shadow: 0 0 8px #ff6f00; }
  50%  { box-shadow: 0 0 20px #ff6f00; }
  100% { box-shadow: 0 0 8px #ff6f00; }
}

.pulse {
  animation: pulse 3s ease-in-out infinite;
}

/* Footer */
footer {
  font-size: 0.85rem;
  color: #777;
  letter-spacing: 0.05em;
}

/* Wiki page styles */
.characters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 35px;
}

.character-card {
  background: #222;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 0 20px #ff6f00aa;
  color: #fff;
  text-align: left;
  transition: transform 0.3s ease;
}

.character-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 30px #ff6f00ff;
}

.character-card h2 {
  color: #ff6f00;
  margin-bottom: 10px;
  font-size: 1.8rem;
}

.character-card ul {
  list-style-type: disc;
  margin-left: 20px;
  color: #ddd;
}

.status-effects {
  background: #222;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 0 20px #ff6f00aa;
  color: #fff;
  margin-bottom: 30px;
  text-align: left;
}

.status-effects h2 {
  color: #ff6f00;
  margin-bottom: 15px;
}

footer a.button {
  background-color: #ff6f00;
  color: #111;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 10px;
  box-shadow: 0 0 15px #ff6f00;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

footer a.button:hover {
  background-color: #ffa040;
  box-shadow: 0 0 25px #ffa040;
  outline: none;
}

/* Auth & Suggestions Styles */
form label {
  display: block;
  margin-bottom: 15px;
  text-align: left;
  color: #ddd;
}

form input,
form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  background: #222;
  border: 1px solid #444;
  border-radius: 6px;
  color: #fff;
  font-size: 1rem;
}

.suggestion-list {
  list-style: none;
  padding-left: 0;
  text-align: left;
  margin-top: 20px;
}

.suggestion-list li {
  background: #1a1a1a;
  margin-bottom: 12px;
  padding: 12px;
  border-radius: 8px;
  position: relative;
  color: #ddd;
}

button.mini {
  padding: 4px 8px;
  font-size: 0.8rem;
  background: #900;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  float: right;
}

button.mini:hover {
  background: #c00;
}
