/* Hero section styles - extended from main styles */
.hero-section {
  padding: 120px 0 80px;
  text-align: center;
  margin-bottom: 40px;
  margin-top: 70px;
}

.donate-hero h1 {
  font-family: "Syne", "Helvetica Neue", Arial, sans-serif;
  font-size: 3.5rem;
  margin-bottom: 40px;
  color: var(--light);
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 0.5px;
}

.donate-hero .large-text {
  font-family: "Syne", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.5rem;
  color: var(--light);
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.thank-you-text {
  font-family: "Futurapt", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--grey);
  margin-top: 30px;
  line-height: 1.5;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Donation options section */
.donate-options {
  padding: 60px 0 120px;
}

.donate-heading {
  text-align: center;
  font-family: "Syne", "Helvetica Neue", Arial, sans-serif;
  font-size: 2.5rem;
  color: var(--light);
  margin-bottom: 80px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.donate-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Give each card an order for normal desktop display */
.donate-card:nth-child(1) {
  order: 1;
}

.donate-card:nth-child(2) {
  order: 2;
}

.donate-card:nth-child(3) {
  /* PayPal card */
  order: 3;
}

.donate-card {
  background-color: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 40px;
  min-width: 320px;
  flex: 1;
  max-width: 420px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

/* Додаємо стилі для зручного копіювання тексту */
.donate-card * {
  user-select: text;
}

.donate-card h3 {
  user-select: none;
}

.donate-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  background-color: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.12);
}

.donate-card h3 {
  font-family: "Syne", "Helvetica Neue", Arial, sans-serif;
  color: var(--light);
  font-size: 1.6rem;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.requisites p {
  margin-bottom: 12px;
  line-height: 1.6;
  font-size: 1rem;
  color: var(--grey);
  font-family: "Futurapt", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  font-weight: 300;
  letter-spacing: 0.2px;
  padding: 2px 0;
  user-select: text;
  cursor: text;
  word-break: break-word;
  overflow-wrap: break-word;
}

.requisites p:last-child {
  margin-bottom: 0;
  margin-top: 15px;
  font-weight: 300;
  color: var(--grey);
  font-size: 1rem;
}

/* PayPal button styling */
.paypal-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 200px;
  gap: 20px;
  justify-content: center;
}

.paypal-info {
  color: var(--grey);
  font-family: "Futurapt", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  font-weight: 300;
  font-size: 1rem;
  text-align: center;
  max-width: 300px;
  letter-spacing: 0.2px;
  user-select: text;
  cursor: text;
}

/* High-quality PayPal button */
.paypal-button {
  background-color: #0070ba;
  color: white;
  border: none;
  border-radius: 6px;
  padding: 16px 32px;
  font-size: 16px;
  font-family: "Futurapt", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 112, 186, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.paypal-button:hover {
  background-color: #005ea6;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 112, 186, 0.35);
}

.paypal-button span {
  font-size: 16px;
}

.paypal-logo {
  font-weight: bold;
  letter-spacing: -1px;
  font-size: 18px;
}

.paypal-logo-blue {
  color: #253b80;
}

.paypal-logo-light-blue {
  color: #169bd7;
}

/* Container sizing and responsive design */
@media (min-width: 1920px) {
  .donate-container {
    max-width: 1600px;
    gap: 50px;
  }

  .donate-hero h1 {
    font-size: 4rem;
  }

  .donate-hero .large-text {
    font-size: 1.8rem;
  }

  .donate-heading {
    font-size: 3rem;
  }

  .donate-card {
    padding: 50px;
    max-width: 480px;
  }

  .requisites p {
    font-size: 1.1rem;
  }

  .paypal-info {
    font-size: 1.1rem;
  }
}

@media (min-width: 1440px) and (max-width: 1919px) {
  .donate-container {
    max-width: 1400px;
    gap: 40px;
  }

  .donate-hero h1 {
    font-size: 3.5rem;
  }

  .donate-hero .large-text {
    font-size: 1.5rem;
  }

  .donate-heading {
    font-size: 2.5rem;
  }

  .donate-card {
    max-width: 420px;
  }
}

@media (min-width: 1280px) and (max-width: 1439px) {
  .donate-container {
    max-width: 1200px;
    gap: 35px;
  }

  .donate-hero h1 {
    font-size: 3.2rem;
  }

  .donate-hero .large-text {
    font-size: 1.4rem;
  }

  .donate-heading {
    font-size: 2.3rem;
  }

  .donate-card {
    max-width: 380px;
    padding: 35px;
  }
}

@media (max-width: 1279px) {
  .donate-container {
    max-width: 960px;
    gap: 30px;
    flex-direction: column;
    align-items: center;
  }

  .donate-card {
    width: 100%;
    max-width: 500px;
  }

  /* For mobile, maintain the same order as tablets with PayPal first */
  .donate-card:nth-child(1) {
    order: 2;
  }

  .donate-card:nth-child(2) {
    order: 1;
  }

  .donate-card:nth-child(3) {
    /* PayPal card */
    order: 3;
  }

  .paypal-container {
    min-height: 0;
  }

  .hero-section {
    padding-bottom: 60px;
  }
}

/* Responsive styles */
@media (max-width: 992px) {
  .donate-container {
    max-width: 700px;
    padding: 0 15px;
  }

  .donate-card {
    min-width: 280px;
    max-width: 100%;
  }

  .hero-section {
    padding: 100px 0 60px;
    margin-top: 56px;
  }

  .donate-hero h1 {
    font-size: 2.8rem;
  }

  .donate-hero .large-text {
    font-size: 1.3rem;
  }

  .donate-heading {
    font-size: 2rem;
    margin-bottom: 60px;
  }

  .donate-options {
    padding: 40px 0 100px;
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 60px 0 30px;
  }

  .donate-container {
    max-width: 100%;
    padding: 0 8px;
  }

  .donate-hero h1 {
    font-size: 2rem;
    margin-bottom: 25px;
  }

  .donate-hero .large-text {
    font-size: 1rem;
  }

  .thank-you-text {
    font-size: 1rem;
    margin-top: 20px;
  }

  .donate-heading {
    font-size: 1.6rem;
    margin-bottom: 40px;
  }

  .donate-card {
    padding: 25px 20px;
  }

  .donate-card h3 {
    font-size: 1.2rem;
  }

  .requisites p,
  .paypal-info {
    font-weight: 300;
    font-size: 0.95rem;
    user-select: text;
    cursor: text;
  }

  .donate-options {
    padding: 30px 0 60px;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 50px 0 25px;
  }

  .donate-container {
    padding: 0 5px;
  }

  .donate-hero h1 {
    font-size: 1.8rem;
    line-height: 1.2;
  }

  .donate-hero .large-text {
    font-size: 0.95rem;
  }

  .donate-heading {
    font-size: 1.4rem;
    margin-bottom: 30px;
  }

  .donate-card {
    padding: 20px 16px;
    min-width: 0;
  }

  .donate-card h3 {
    font-size: 1.1rem;
    margin-bottom: 16px;
  }

  .thank-you-text {
    font-size: 0.95rem;
  }

  .requisites p {
    font-size: 0.85rem;
    line-height: 1.4;
    user-select: text;
    cursor: text;
    word-break: break-all;
  }

  .paypal-info {
    font-size: 0.85rem;
  }

  .paypal-button {
    padding: 12px 22px;
    font-size: 13px;
  }

  .paypal-logo {
    font-size: 14px;
  }
}
