/* Base Styles */
:root {
  --primary: #ffe5b4; /* Peach */
  --primary-light: #ffdab9; /* Peach Puff */
  --primary-dark: #ffb347; /* Pastel Orange */
  --secondary: #f0e68c; /* Khaki */
  --accent: #ffd700; /* Gold */
  --text-light: #4a4a4a; /* Dark Gray */
  --text-dark: #2c2c2c; /* Darker Gray */
  --bg-light: #fff8e7; /* Cream */
  --bg-dark: #ffffff; /* White */
  --border-light: #ffe4c4; /* Bisque */
  --shadow: 0 4px 6px rgba(255, 179, 71, 0.2);
  --transition: all 0.3s ease;
}

/* Reset and Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image: linear-gradient(135deg, var(--bg-light) 0%, #ffffff 100%);
}

/* Layout */
.container {
  width: 100%;
  max-width: 500px;
  margin: 2rem auto;
  padding: 2rem;
  background-color: var(--bg-light);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-light);
}

/* Typography */
h1 {
  color: var(--primary-dark);
  margin-bottom: 1rem;
  text-align: center;
  font-size: 2rem;
}

.description {
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Form Elements */
.input-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-light);
  font-weight: 500;
}

input {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--border-light);
  border-radius: 0.5rem;
  background-color: var(--bg-dark);
  color: var(--text-dark);
  font-size: 1rem;
  transition: var(--transition);
}

input:focus {
  outline: none;
  border-color: var(--primary-dark);
  box-shadow: 0 0 0 3px rgba(255, 179, 71, 0.2);
}

/* Buttons */
.btn {
  display: inline-block;
  width: 100%;
  padding: 0.75rem 1.5rem;
  background-color: var(--primary);
  color: var(--text-light);
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition);
  text-align: center;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.btn:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 8px rgba(255, 179, 71, 0.3);
}

.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 179, 71, 0.2);
}

/* Results */
#result {
  margin-top: 1.5rem;
  padding: 1rem;
  background-color: var(--bg-dark);
  border-radius: 0.5rem;
  text-align: center;
  font-size: 1.1rem;
  color: var(--text-light);
  border: 1px solid var(--border-light);
}

/* Navigation */
.home-button {
  display: block;
  text-align: center;
  margin-top: 1.5rem;
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: 500;
}

.home-button:hover {
  text-decoration: underline;
}

/* Donation Link */
.donation-link {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.9rem;
}

.donation-link a {
  color: var(--primary-dark);
  text-decoration: none;
}

.donation-link a:hover {
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    margin: 1rem auto;
    padding: 1.5rem;
  }

  h1 {
    font-size: 1.75rem;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.5s ease-out;
}
