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

body {
  font-family: Georgia, 'Times New Roman', serif;
  background: #f5f5dc;
  color: #333;
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  max-width: 700px;
  margin: 0 auto;
  padding: 30px 20px;
}

/* Header */
header {
  text-align: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #228b22;
}

.logo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid #228b22;
  margin-bottom: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

h1 {
  font-size: 42px;
  color: #228b22;
  margin-bottom: 5px;
  text-shadow: 1px 1px 0 #fff;
}

.subtitle {
  font-size: 18px;
  color: #666;
  font-style: italic;
}

/* Main faucet box */
.faucet-box {
  background: #fff;
  border: 3px solid #228b22;
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.info-banner {
  background: linear-gradient(to bottom, #90ee90, #32cd32);
  color: #000;
  padding: 15px 20px;
  border-radius: 6px;
  text-align: center;
  font-size: 18px;
  margin-bottom: 25px;
  border: 2px solid #228b22;
}

/* Form */
form label {
  display: block;
  font-weight: bold;
  margin-bottom: 8px;
  color: #333;
}

form input[type="text"] {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  font-family: 'Courier New', monospace;
  border: 2px solid #ccc;
  border-radius: 4px;
  margin-bottom: 20px;
  background: #fffef0;
}

form input[type="text"]:focus,
form input[type="number"]:focus {
  outline: none;
  border-color: #228b22;
  background: #fff;
}

/* Captcha section */
.captcha-section {
  background: #fffacd;
  border: 2px dashed #daa520;
  border-radius: 6px;
  padding: 20px;
  margin-bottom: 20px;
  text-align: center;
}

.captcha-label {
  font-weight: bold;
  margin-bottom: 15px;
  color: #8b4513;
}

.math-captcha {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 24px;
  font-weight: bold;
}

.math-captcha input {
  width: 80px;
  padding: 10px;
  font-size: 24px;
  text-align: center;
  border: 2px solid #ccc;
  border-radius: 4px;
  background: #fff;
}

/* Button */
button {
  width: 100%;
  padding: 16px 24px;
  font-size: 20px;
  font-weight: bold;
  font-family: Georgia, serif;
  background: linear-gradient(to bottom, #32cd32, #228b22);
  color: #fff;
  border: 3px solid #006400;
  border-radius: 6px;
  cursor: pointer;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  transition: all 0.2s ease;
}

button:hover:not(:disabled) {
  background: linear-gradient(to bottom, #3cb371, #2e8b57);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

button:active:not(:disabled) {
  transform: translateY(1px);
}

button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

button .btn-loading {
  display: none;
}

button.loading .btn-text {
  display: none;
}

button.loading .btn-loading {
  display: inline;
}

/* Message */
.message {
  margin-top: 20px;
  padding: 15px;
  border-radius: 6px;
  text-align: center;
  display: none;
}

.message.show {
  display: block;
}

.message.success {
  background: #90ee90;
  border: 2px solid #228b22;
  color: #006400;
}

.message.error {
  background: #ffcccb;
  border: 2px solid #dc143c;
  color: #8b0000;
}

.message a {
  color: inherit;
  font-weight: bold;
}

/* Info sections */
.how-it-works, .about {
  background: #fff;
  border: 2px solid #ccc;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
}

.how-it-works h2, .about h2 {
  color: #228b22;
  margin-bottom: 15px;
  font-size: 22px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

.how-it-works ol {
  margin-left: 25px;
  margin-bottom: 15px;
}

.how-it-works li {
  margin-bottom: 8px;
}

.note {
  font-style: italic;
  color: #666;
  font-size: 14px;
}

.about p {
  color: #555;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  color: #666;
  font-size: 14px;
  border-top: 1px solid #ccc;
  margin-top: 20px;
}

/* Responsive */
@media (max-width: 600px) {
  h1 {
    font-size: 32px;
  }
  
  .logo {
    width: 100px;
    height: 100px;
  }
  
  .faucet-box {
    padding: 20px;
  }
  
  .info-banner {
    font-size: 16px;
  }
  
  .math-captcha {
    font-size: 20px;
  }
  
  .math-captcha input {
    width: 60px;
    font-size: 20px;
  }
}
