@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: radial-gradient(circle at top, #0a0f1f, #000814 80%);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
}

header {
  text-align: center;
  padding: 30px 15px 10px;
}

.brand-logo {
  width: 110px;
  margin-bottom: 10px;
  filter: drop-shadow(0 0 25px #00ffff);
  transition: transform 0.3s, filter 0.3s;
}

.brand-logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 35px #00ffff);
}

.hydro {
  color: #00ffff;
  text-shadow: 0 0 15px #00ffff, 0 0 25px #00aaff;
}

.subtitle {
  color: #aaa;
  font-size: 0.95em;
}

.panel {
  background: rgba(10,15,35,0.9);
  border: 1px solid #00ffff33;
  box-shadow: 0 0 30px #00ffff22, inset 0 0 15px #0033aa33;
  border-radius: 18px;
  width: 90%;
  max-width: 950px;
  padding: 25px 35px 40px;
  margin: 25px 0 40px;
  text-align: center;
  animation: fadeIn 0.6s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

input[type="file"] {
  margin-top: 10px;
  background: #0c1b2a;
  border: 1px solid #00ffff44;
  color: #00ffff;
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 0 10px #00ffff33;
  transition: all 0.3s;
}

input[type="file"]:hover {
  background: #001a26;
  box-shadow: 0 0 20px #00ffff55;
}

#result {
  margin-top: 20px;
  color: #00ffaa;
  font-weight: 600;
}

#lootDisplay {
  margin-top: 25px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.lootGroup {
  background: rgba(255,255,255,0.05);
  border: 1px solid #00ffff33;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 0 10px #00ffff22;
  transition: all 0.2s ease;
}

.lootGroup:hover {
  box-shadow: 0 0 25px #00ffff55;
}

.lootGroup h3 {
  color: #00ffff;
  text-shadow: 0 0 10px #00ffff;
  margin-bottom: 8px;
  cursor: pointer;
}

.lootItem {
  margin-left: 15px;
  font-size: 0.95em;
  color: #ddd;
  margin-top: 6px;
  position: relative;
}

.lootBar {
  height: 8px;
  border-radius: 4px;
  background: linear-gradient(90deg, #00ffff, #00ffaa);
  width: 0;
  animation: growBar 1.2s ease forwards;
}

@keyframes growBar {
  from { width: 0; }
  to { width: var(--bar-width); }
}

.about {
  background: rgba(0,0,0,0.4);
  border-top: 1px solid #00ffff33;
  padding: 35px;
  width: 100%;
  text-align: center;
  box-shadow: 0 -5px 15px #00ffff22;
}

.about h3 {
  color: #00ffff;
  text-shadow: 0 0 10px #00ffff;
  margin-bottom: 10px;
}

.about p {
  color: #bbb;
  max-width: 800px;
  margin: 0 auto 25px;
  line-height: 1.6;
}

.tool-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.tool-button {
  background: linear-gradient(90deg, #00c8ff, #00ffaa);
  color: #000;
  font-weight: 700;
  padding: 12px 25px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px #00ffff55;
}

.tool-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px #00ffff;
  color: #000;
}

footer {
  text-align: center;
  color: #888;
  font-size: 0.85em;
  padding: 25px 10px;
  background: rgba(0,0,0,0.25);
  box-shadow: 0 -5px 20px #00ffff22;
}

.footer-links {
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 25px;
}

.footer-links a {
  color: #00ffff;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #ffffff;
  text-shadow: 0 0 10px #00ffff;
}
