/* Reset and Box-Sizing */
html, *, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* General Styles */
body {
  font-family: 'Roboto', sans-serif;
  background-color: #F9FAFB;
  color: #111827;
}

/* Header */
header {
  background-color: #0066FF;
  color: #fff;
  text-align: center;
  padding: 20px 10px;
}
header h1 {
  margin: 0;
  font-size: 2em;
  font-family: 'Poppins', sans-serif;
}
header p {
  margin-top: 5px;
  margin-bottom: 15px;
}

/* Navigation */
nav {
  margin-top: 10px;
}
nav a {
  color: #fff;
  margin: 0 10px;
  text-decoration: none;
  font-weight: bold;
}
nav a:hover {
  text-decoration: underline;
}

/* Sections */
section {
  padding: 40px 20px;
  max-width: 1000px;
  margin: 0 auto;
}
h2 {
  font-family: 'Poppins', sans-serif;
  color: #0066FF;
  margin-bottom: 20px;
}

/* Converter Section */
.converter {
    text-align: center;
  max-width: 400px;
  margin: 40px auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  padding: 20px;
}

.form-container {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 20px;
}
.form-container input,
.form-container select,
.form-container button {
  padding: 8px 12px;
  font-size: 0.9em;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 100%;
  max-width: 240px;
}
.form-container button {
  background-color: #FFD700;
  color: #111827;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.form-container button:hover {
  background-color: #FFC107;
}

/* FaucetRush Button */
.faucetrush-button {
  background-color: #4CAF50;
  color: #fff;
  padding: 14px 28px;
  font-size: 18px;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.faucetrush-button:hover {
  background-color: #45A049;
}

/* Result Display */
#result {
    
  text-align: center;
  font-size: 1.2em;
  margin-top: 20px;
  color: #0066FF;
}

/* List Wrappers: Losers, Gainers, Movers */
#losers,
#gainers,
#movers {
  max-width: 350px;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
}
#losers .loser-card,
#gainers .gainer-card,
#movers .mover {
  width: 100%;
  padding: 15px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  color: #111827;
}
#losers .loser-card h4,
#gainers .gainer-card h4,
#movers .mover h4 {
  margin-bottom: 5px;
  font-size: 1.1em;
}
#losers .loser-card p,
#gainers .gainer-card p,
#movers .mover p {
  margin: 0;
}

/* Footer */
footer {
  background-color: #0066FF;
  color: #fff;
  text-align: center;
  padding: 20px 10px;
  font-size: 0.9em;
  margin-top: 40px;
}

/* Responsive Styles */
@media (max-width: 600px) {
  .form-container,
  #losers,
  #gainers,
  #movers {
    width: 100%;
    padding: 0 20px;
  }
  .form-container {
    flex-direction: column;
    align-items: center;
  }
}
