/* path: public/wufeng-pre/assets/css/wufeng-pre.css */
/* Базовые настройки и hero-фон */

:root {
  color-scheme: dark;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
}

/* Hero background: подставьте сюда свой файл, например assets/img/wufeng-hero.jpg */
.hero-bg {
  position: relative;
  min-height: min(80vh, 680px);
  background-image: url("../img/bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Мягкий затемняющий слой + лёгкая дымка */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 0%, rgba(0, 0, 0, 0.35), transparent 55%),
    radial-gradient(circle at 90% 0%, rgba(0, 0, 0, 0.35), transparent 55%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.4), rgba(10, 10, 10, 0.3) 40%, rgba(10, 10, 10, 0.2));
  z-index: 1;
}


/* Карточки выбора типа участника */

.participant-type-option {
  display: flex;
  cursor: pointer;
  border-radius: 9999px;
  border: 1px solid rgba(255, 180, 80, 0.28); /* теплая тонкая линия */
  background: rgba(32, 32, 32, 0.85); /* тёплый графит */
  padding: 0.75rem 2rem;
  transition: border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.participant-type-option:hover {
  border-color: rgba(251, 191, 36, 0.8);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.8);
  transform: translateY(-1px);
}

.participant-type-option.is-active {
  border-color: rgba(251, 191, 36, 0.95);
  background: linear-gradient(135deg, rgba(22, 22, 26, 0.98), rgba(30, 26, 18, 0.98));
}

.participant-type-option .option-body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.participant-type-option .option-title {
  font-size: 0.95rem;
  font-weight: 600;
}

.participant-type-option .option-text {
  font-size: 0.8rem;
  color: rgba(226, 232, 240, 0.8);
}

/* Формовые элементы */

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-label {
  font-size: 0.85rem;
  color: rgba(226, 232, 240, 0.9);
}

.form-input {
  border-radius: 9999px;
  border: 1px solid rgba(255, 180, 80, 0.28); /* теплая тонкая линия */
  padding: 0.55rem 0.9rem;
  background-color: rgba(32, 32, 32, 0.85); /* теплый графит */
  color: #f1f1f1;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 120ms ease, box-shadow 120ms ease, background-color 120ms ease;
}

textarea.form-input {
  border-radius: 1.25rem;
}

.form-input::placeholder {
  color: rgba(200, 180, 140, 0.55); /* теплый приглушённый */
}

.form-input:focus-visible {
  border-color: rgba(255, 200, 120, 0.9);
  box-shadow: 0 0 6px rgba(255, 180, 80, 0.45);
  background-color: rgba(40, 40, 40, 0.9);
}

.form-checkbox {
  width: 1rem;
  height: 1rem;
  border-radius: 0.375rem;
  border: 1px solid rgba(148, 163, 184, 0.9);
  background-color: rgba(15, 23, 42, 0.9);
}

@media (max-width: 640px) {
  .hero-bg {
    min-height: 70vh;
    background-position: center top 25%;
  }

  .participant-type-option {
    border-radius: 1.25rem;
  }
}
