/* Вторая страница. Общий шрифт, шапка, подвал и анимации — в styles.css. */
.home-link { color: inherit; text-decoration: none; border-radius: 5px; }

/* Верхний блок с вашим отдельным фоном. */
.participation-hero {
  position: relative;
  isolation: isolate;
  padding: 50px 0 108px;
  background: #fff;
}
.participation-title {
  max-width: 900px;
  margin: 30px 0 0;
  font-size: clamp(64px, 6.1vw, 88px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: 0;
}
.participation-rule {
  display: block;
  width: min(314px, 60%);
  height: 3px;
  margin-top: 22px;
  background: var(--accent-line);
}
.participation-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-top: 24px;
}
.participation-tagline {
  margin: 0;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.2;
}
.participation-quote {
  flex-shrink: 0;
  max-width: 420px;
  padding-bottom: 3px;
  font-size: 28px;
  line-height: 1.18;
  text-align: right;
}

/* Три равные карточки с кнопками на одной высоте. */
.tickets-section { position: relative; z-index: 1; margin-top: -48px; }
.tickets-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.ticket-entry { display: flex; min-width: 0; }
.ticket-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  min-height: 528px;
  padding: 26px 32px 36px;
  border: 2px solid var(--line);
  border-radius: 24px;
  background: #fff;
  transition: transform 280ms var(--ease), box-shadow 280ms ease, border-color 280ms ease;
}
.ticket-name {
  margin: 0;
  color: var(--blue);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: .085em;
}
.ticket-price {
  margin-top: 14px;
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
}
.ticket-description {
  min-height: 48px;
  margin-top: 13px;
  font-size: 21px;
  line-height: 1.15;
}
.ticket-separator {
  width: 100%;
  height: 2px;
  margin: 12px 0 14px;
  background: var(--line);
}
.ticket-features {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0 0 32px;
  list-style: none;
}
.ticket-features li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-width: 0;
  min-height: 26px;
  font-size: clamp(17.5px, 1.43vw, 19px);
  line-height: 1.35;
}
.feature-check { flex: 0 0 26px; width: 26px; height: 26px; object-fit: contain; }
.ticket-features span { min-width: 0; }
.ticket-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  min-height: 62px;
  margin-top: auto;
  padding: 12px 14px;
  border: 2px solid var(--blue);
  border-radius: 20px;
  color: var(--blue);
  background: #fff;
  font-size: 20px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 220ms ease, box-shadow 220ms ease;
}
.ticket-action span { min-width: 0; }
.ticket-arrow { flex: 0 0 26px; width: 26px; height: 20px; transition: transform 250ms var(--ease); }
.ticket-action[href], .support-action[href] { cursor: pointer; }
.ticket-action[aria-disabled="true"], .support-action[aria-disabled="true"] { cursor: default; }
.ticket-card:focus-within { border-color: #8bb8ff; }

/* Баннер поддержки: цифра 80 уже находится на исходном фоне. */
.support-section { margin-top: 48px; }
.support-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 360px;
  padding: 30px 36px;
  border-radius: 24px;
  background: #dcefff;
}
.support-eyebrow { font-size: 24px; line-height: 1.3; }
.support-title {
  margin: 16px 0 0;
  font-size: 44px;
  font-weight: 400;
  line-height: 1.15;
}
.support-description {
  max-width: 580px;
  margin-top: 12px;
  font-size: 23px;
  line-height: 1.2;
}
.support-action {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 100%;
  min-height: 68px;
  margin-top: 14px;
  padding: 16px 24px;
  border: 2px solid var(--blue);
  border-radius: 19px;
  background: #e0eaff;
  font-size: 23px;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 250ms var(--ease), background-color 250ms ease, box-shadow 250ms ease;
}
.support-arrow { flex: 0 0 40px; width: 40px; height: 28px; transition: transform 250ms var(--ease); }

@media (hover: hover) and (pointer: fine) {
  .ticket-card:hover { transform: translateY(-4px); border-color: #afcbff; box-shadow: 0 12px 30px rgb(45 54 91 / .07); }
  .ticket-action:hover { background: #f0f6ff; }
  .ticket-action:hover .ticket-arrow { transform: translateX(3px); }
  .support-action:hover { transform: translateY(-2px); background: #ecf2ff; box-shadow: 0 8px 20px rgb(45 54 91 / .1); }
  .support-action:hover .support-arrow { transform: translateX(3px); }
}

@media (min-width: 1001px) {
  .participation-page main .container { width: min(88.75%, var(--page-width)); }
}

@media (max-width: 1200px) {
  .participation-title { font-size: 70px; }
  .participation-tagline { font-size: 38px; }
  .participation-quote { max-width: 360px; font-size: 24px; }
  .participation-intro { gap: 28px; }
  .tickets-grid { gap: 18px; }
  .ticket-card { padding: 26px 25px 30px; }
  .ticket-name { font-size: 21px; letter-spacing: .07em; }
  .ticket-price { font-size: 52px; }
  .ticket-description { font-size: 19px; }
  .ticket-features li { gap: 10px; font-size: 17.5px; }
  .feature-check { flex-basis: 24px; width: 24px; height: 24px; }
  .ticket-action { padding-inline: 10px; gap: 10px; font-size: 18px; }
}

@media (max-width: 1000px) {
  .participation-hero { padding-block: 40px 88px; }
  .participation-title { font-size: clamp(50px, 7.5vw, 68px); }
  .participation-intro { align-items: flex-start; flex-direction: column; gap: 26px; }
  .participation-quote { align-self: flex-end; }
  .tickets-grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; gap: 22px; }
  .ticket-card { min-height: 0; padding: 28px 30px 30px; }
  .ticket-name { font-size: 24px; }
  .ticket-description { min-height: 0; font-size: 21px; }
  .ticket-features li { font-size: 20px; line-height: 1.3; }
  .ticket-features { padding-bottom: 28px; }
  .ticket-action { font-size: 20px; }
  .support-section { margin-top: 36px; }
  .support-banner { padding: 30px; }
  .support-title { font-size: 38px; }
  .support-description { max-width: 540px; font-size: 21px; }
}

@media (max-width: 600px) {
  .participation-hero { padding-block: 32px 70px; }
  .participation-hero .section-background img { object-position: 35% center; }
  .participation-hero .eyebrow { font-size: 17px; letter-spacing: .06em; }
  .participation-title { margin-top: 24px; font-size: clamp(36px, 9.3vw, 54px); line-height: 1.08; }
  .participation-rule { width: 58%; margin-top: 24px; height: 2px; }
  .participation-intro { margin-top: 22px; gap: 25px; }
  .participation-tagline { font-size: 27px; line-height: 1.22; }
  .participation-quote { max-width: 100%; font-size: 19px; line-height: 1.3; }
  .tickets-section { margin-top: -34px; }
  .tickets-grid { gap: 20px; }
  .ticket-card { padding: 24px 24px 26px; border-radius: 22px; }
  .ticket-name { font-size: 21px; }
  .ticket-price { margin-top: 13px; font-size: 48px; }
  .ticket-description { margin-top: 11px; font-size: 19px; }
  .ticket-features li { font-size: 18px; gap: 11px; }
  .ticket-features { gap: 12px; padding-bottom: 26px; }
  .ticket-action { min-height: 58px; font-size: 18px; }
  .support-section { margin-top: 30px; }
  .support-banner { min-height: 0; padding: 26px 24px 28px; border-radius: 22px; }
  .support-banner .section-background img { object-position: 27% center; }
  .support-eyebrow { font-size: 17px; letter-spacing: .055em; }
  .support-title { margin-top: 18px; font-size: 31px; line-height: 1.15; }
  .support-description { margin-top: 14px; font-size: 19px; line-height: 1.3; }
  .support-description br { display: none; }
  .support-action { width: 100%; min-height: 62px; gap: 12px; padding: 13px 16px; font-size: 18px; }
  .support-arrow { flex-basis: 30px; width: 30px; }
}

@media (max-width: 370px) {
  .participation-title { font-size: 34px; }
  .participation-tagline { font-size: 25px; }
  .participation-quote { font-size: 18px; }
  .ticket-card { padding-inline: 20px; }
  .ticket-name { font-size: 19px; }
  .ticket-features li { font-size: 17px; }
  .ticket-action { font-size: 17px; }
  .support-banner { padding-inline: 20px; }
  .support-title { font-size: 29px; }
  .support-action { padding-inline: 12px; font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .ticket-card:hover, .support-action:hover, .ticket-arrow, .support-arrow { transform: none !important; }
}
