/* Допълнителни персонализирани стилове */
html {
  scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0f172a;
}
::-webkit-scrollbar-thumb {
  background: #0d9488;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #14b8a6;
}

/* Контейнер за бутоните */
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 32px;
}

/* Базови стилове за бутон */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.25s ease-in-out;
  cursor: pointer;
  border: 1px solid transparent;
}

/* Primary бутон (Основно действие - Членство) */
.btn-primary {
  background-color: #0d9488; /* Изумрудено/Тюркоазено зелено */
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
}

.btn-primary:hover {
  background-color: #0f766e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.5);
}

.btn-primary:active {
  transform: translateY(0);
}

/* Secondary бутон (Вторично действие - Дарения) */
.btn-secondary {
  background-color: rgba(255, 255, 255, 0.08); /* Полупрозрачен тъмен фон */
  color: #e2e8f0;
  border-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.btn-secondary:active {
  transform: translateY(0);
}

/* Модален контейнер и овърлей */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 15, 29, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 16px;
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background-color: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  width: 100%;
  max-width: 480px;
  padding: 32px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  transform: translateY(-20px);
  transition: transform 0.3s ease;
  color: #f8fafc;
}

.modal-overlay.is-open .modal-container {
  transform: translateY(0);
}

/* Затварящ бутон */
.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 28px;
  color: #94a3b8;
  cursor: pointer;
  transition: color 0.2s;
}

.modal-close:hover {
  color: #ffffff;
}

/* Заглавие */
.modal-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff;
}

.modal-header p {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 24px;
  line-height: 1.4;
}

/* Форма и входни полета */
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #cbd5e1;
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #ffffff;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s, background-color 0.2s;
}

.form-group input:focus {
  border-color: #0d9488;
  background-color: rgba(255, 255, 255, 0.08);
}

/* Чекбокс */
.form-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: #94a3b8;
  margin-top: 4px;
}

.form-checkbox-group input[type="checkbox"] {
  margin-top: 3px;
  accent-color: #0d9488;
  cursor: pointer;
}

.form-checkbox-group a {
  color: #2dd4bf;
  text-decoration: underline;
}

.btn-full {
  width: 100%;
  margin-top: 8px;
}

.form-notice {
  font-size: 0.75rem;
  color: #64748b;
  text-align: center;
  margin-top: 8px;
}