/* --- Global Styles & Variables (Matching Your Website) --- */
:root {
  --primary-bg: #02141f;
  --secondary-bg: #111827;
  --accent-color: #00b4d8;
  --text-color: #f4f4f4;
  --white-color: #ffffff;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", sans-serif;
  /* Using the beautiful gradient from your homepage */
  background: radial-gradient(ellipse at bottom, #1b2735 0%, #090a0f 100%);
  color: var(--text-color);
  line-height: 1.6;

  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 20px;
}

/* --- Main Card Structure (Glassmorphism Style) --- */
.donation-card {
  background: rgba(17, 24, 39, 0.7); /* Semi-transparent dark bg */
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 30px 40px;
  border: 1px solid rgba(0, 180, 216, 0.2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  text-align: center;
  max-width: 480px;
  width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* --- Hover Effect for the Entire Card --- */
.donation-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0, 180, 216, 0.557);
}

/* --- Typography --- */
h1 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--white-color);
  margin-bottom: 12px;
}

h2 {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--white-color);
  margin-top: 30px;
  margin-bottom: 10px;
}

p {
  color: var(--text-color);
  opacity: 0.9;
  font-size: 1rem;
  margin-bottom: 15px;
}

.subtitle {
  font-size: 1.1rem;
  margin-bottom: 25px;
}

/* Make key instructions pop with the accent color */
p strong {
  color: var(--accent-color);
  font-weight: 600;
}

/* --- Specific Elements with Hover Effects --- */
.qr-code {
  max-width: 220px;
  margin: 15px auto;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: #fff; /* QR code needs a white background to be scannable */
  display: block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.qr-code:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.457);
}

.copy-number-box {
  background-color: rgba(0, 180, 216, 0.1); /* Faint accent color bg */
  color: var(--accent-color);
  border: 1px solid rgba(0, 180, 216, 0.3);
  padding: 15px;
  border-radius: 8px;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0px;
  margin: 25px 0;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease,
    box-shadow 0.2s ease;
  user-select: none;
}

.copy-number-box:hover {
  background-color: rgba(0, 180, 216, 0.2);
  transform: scale(1.02);
  box-shadow: 0 0 15px rgba(0, 180, 216, 0.3);
}

.thank-you-note {
  margin-top: 30px;
  font-weight: 500;
}

.contact-note {
  margin-top: 25px;
  font-size: 0.9rem;
  opacity: 0.7;
}

/* --- 'Back to Home' Button --- */
.back-button {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--white-color);
  padding: 12px 35px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 15px;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 180, 216, 0.2);
  transition: background-color 0.2s ease, transform 0.2s ease,
    box-shadow 0.2s ease;
}

.back-button:hover {
  background-color: #4ecce3; /* Lighter shade of accent color */
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 180, 216, 0.3);
}
