/* ===============================
   Varsovian - Donations Page CSS
   Sophisticated + Classy Edition
   =============================== */

/* General Reset + Body */
html {
  background: linear-gradient(to bottom right, #6a11cb, #2575fc);
  min-height: 100%;
  overflow-y: scroll;
}

body {
  font-family: 'Lato', sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  color: #222;
  -webkit-font-smoothing: antialiased;
}

/* Article Container */
article {
  width: 90%;
  max-width: 640px;
  margin: 60px auto;
  padding: 50px 40px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.1);
  text-align: center;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

/* Decorative subtle pattern */
article::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
      45deg,
      rgba(0,0,0,0.015),
      rgba(0,0,0,0.015) 8px,
      transparent 8px,
      transparent 16px
  );
  pointer-events: none;
}

/* Headings */
h1 {
  font-size: 2rem;
  font-family: "Cormorant Upright", serif;
  color: #5a0fb0;
  margin-bottom: 18px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 1px;
  position: relative;
}

h1::after {
  content: "";
  display: block;
  width: 80px;
  margin: 14px auto 0;
  border-bottom: 3px double #bfa14a;
  opacity: 0.8;
}

.sub {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 28px;
}

/* Label Text */
.label-text {
  font-size: 1.15rem;
  color: #333;
  margin-bottom: 12px;
  font-weight: 600;
  font-family: "Asul", serif;
}

/* Slider Container */
.slider-container {
  margin: 35px 0;
}

/* Slider Track */
.donation-slider {
  width: 100%;
  height: 16px;
  border-radius: 8px;
  background: linear-gradient(90deg, #ececec, #f7f7f7);
  outline: none;
  transition: background-color 0.3s;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.08);
}

/* Slider Thumb - Webkit */
.donation-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffd766, #fcb900);
  border: 3px solid #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.donation-slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}

/* Slider Thumb - Firefox */
.donation-slider::-moz-range-thumb {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffd766, #fcb900);
  border: 3px solid #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  cursor: pointer;
}

/* Amount Display */
#amount-display {
  font-weight: 700;
  font-size: 1.7rem;
  color: #5a0fb0;
  margin-top: 14px;
  letter-spacing: 0.5px;
  font-family: "Bruno Ace SC", sans-serif;
}

/* Checkout Button */
#checkout-button {
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 15px 44px;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  transition: background 0.35s ease, transform 0.25s ease, box-shadow 0.25s ease;
  margin-top: 35px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

#checkout-button:hover {
  background: linear-gradient(135deg, #5f0dbb, #1e62d0);
  transform: translateY(-3px);
  box-shadow: 0 10px 26px rgba(0,0,0,0.25);
}

#checkout-button:active {
  transform: translateY(1px);
  background: linear-gradient(135deg, #4e0c9c, #1a4ea6);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: rgba(18, 18, 18, 0.9);
  border-radius: 50px;
}
::-webkit-scrollbar-thumb {
  background: #bfa14a;
  border-radius: 50px;
}
