/* ============================================
   BATTLE PAGE — NOMINATIONS
   2x2 grid of gradient-bordered cards.
   Each: name + prize on one row, description,
   divider, then a "Кому подходит" fit line.
   ============================================ */

.nominations {
  padding: 12rem 10rem;
}

.nominations__inner {
  width: 100%;
  max-width: 148rem;
  margin: 0 auto;
}

.nominations__title {
  font-size: 6.4rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.05em;
  color: var(--color-white);
  margin: 0 0 3rem;
}

/* Gradient span for the "100 000$" part */
.nominations__title-accent {
  background: linear-gradient(90deg, #FF6B2D 0%, #8B5CF6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nominations__lead {
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 5rem;
}

/* ============================================
   GRID
   ============================================ */

.nominations__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

/* ============================================
   CARD — gradient border via masked ::before
   ============================================ */

.nomination-card {
  position: relative;
  display: flex;
  flex-direction: column;

  padding: 3.4rem;
  border-radius: 2rem;

  background: #0D1018;
}

.nomination-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 0.2rem;
  background: linear-gradient(120deg, #FF6B2D 0%, #8B5CF6 55%, #00B4FF 100%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

/* ── Header row: name left, prize right ── */

.nomination-card__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.nomination-card__name {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-white);
  margin: 0;
}

.nomination-card__prize {
  flex-shrink: 0;
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #38A0FF;
  white-space: nowrap;
}

/* ── Body text ── */

.nomination-card__text {
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
  padding-bottom: 2.4rem;
  border-bottom: 0.1rem solid rgba(255, 255, 255, 0.1);
}

.nomination-card__fit {
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
  margin: 2.4rem 0 0;
}

.nomination-card__fit strong {
  font-weight: 700;
  color: var(--color-white);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1280px) {
  .nominations {
    padding: 10rem 6rem;
  }

  .nominations__title {
    font-size: 5.2rem;
  }

  .nominations__grid {
    gap: 2.4rem;
  }

  .nomination-card {
    padding: 3rem;
  }

  .nomination-card__name {
    font-size: 2.6rem;
  }

  .nomination-card__prize {
    font-size: 2.4rem;
  }
}

/* MOBILE — single column */
@media (max-width: 900px) {
  .nominations {
    padding: 8rem 3rem;
  }

  .nominations__title {
    font-size: 4rem;
    margin-bottom: 2rem;
  }

  .nominations__lead {
    font-size: 2rem;
    margin-bottom: 3.5rem;
  }

  .nominations__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .nomination-card {
    padding: 2.8rem 2.4rem;
  }

  /* Prize drops below the name on narrow screens */
  .nomination-card__header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }

  .nomination-card__name {
    font-size: 2.8rem;
  }

  .nomination-card__prize {
    font-size: 2.6rem;
  }

  .nomination-card__text,
  .nomination-card__fit {
    font-size: 2rem;
  }
}