@import url("./race/odds-happening.css");

article.nar_top_page {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 84px;
  position: relative;
  isolation: isolate;
}

article.nar_top_page::before,
article.nar_top_page::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  pointer-events: none;
  z-index: -1;
}

article.nar_top_page::before {
  top: 40px;
  right: -20px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(25, 118, 210, 0.18), rgba(25, 118, 210, 0));
}

article.nar_top_page::after {
  bottom: 120px;
  left: -50px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(0, 150, 136, 0.14), rgba(0, 150, 136, 0));
}

article.nar_top_page h1 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #16324f;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.75);
}

.nar_top_lead,
.nar_today_box {
  margin-bottom: 24px;
  padding: 20px 22px;
  border: 1px solid rgba(22, 50, 79, 0.12);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 252, 255, 0.98)),
    linear-gradient(135deg, rgba(29, 78, 216, 0.05), rgba(13, 148, 136, 0.05));
  box-shadow: 0 14px 32px rgba(21, 36, 60, 0.12);
}

.nar_top_lead {
  display: grid;
  gap: 10px;
}

.nar_top_lead p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: #334155;
}

.nar_section_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(22, 50, 79, 0.1);
}

.nar_section_header h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 900;
  color: #0f172a;
}

.nar_section_caption {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0f172a, #1d4ed8);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.nar_venue_picker_list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}

.nar_venue_picker_item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 96px;
  padding: 16px;
  border: 1px solid rgba(16, 42, 67, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 249, 255, 0.96));
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
  text-decoration: none;
  color: inherit;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

.nar_venue_picker_item:hover {
  transform: translateY(-2px);
  border-color: rgba(30, 64, 175, 0.28);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.nar_venue_picker_label {
  font-size: 1.08rem;
  font-weight: 900;
  color: #0f172a;
}

.nar_venue_picker_count {
  align-self: flex-start;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(15, 118, 110, 0.1);
  color: #0f766e;
  font-size: 0.82rem;
  font-weight: 800;
}

.nar_venue_picker_note {
  font-size: 0.86rem;
  color: #475569;
}

@media (max-width: 767px) {
  article.nar_top_page {
    width: min(100%, calc(100% - 20px));
    padding-top: 16px;
    padding-bottom: 56px;
  }

  .nar_top_lead,
  .nar_today_box {
    padding: 16px;
    border-radius: 18px;
  }

  .nar_section_header {
    flex-direction: column;
    align-items: flex-start;
  }

  .nar_venue_picker_list {
    grid-template-columns: 1fr;
  }
}
