/* =========================================================
   UCCR — Interior pages (sponsor, pit, bots, resources)
   ========================================================= */

/* ================= SPONSOR PAGE ================= */

.pitch {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: center;
}

.pitch-media {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: var(--shadow-md);
  background: var(--bg-alt);
}

.pitch-media img { width: 100%; height: 100%; object-fit: cover; }

.benefit {
  position: relative;
  padding-top: 26px;
}

.benefit::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

.benefit h3 {
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: .02em;
  margin-bottom: 10px;
}

.benefit p { color: var(--ink-2); font-size: .98rem; }

.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--r-lg);
  background: var(--bg-dark);
  color: #fff;
}

.cta-band h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  text-transform: uppercase;
  max-width: 20ch;
}

.cta-band p { color: var(--on-dark-2); margin-top: 10px; max-width: 46ch; }

@media (max-width: 900px) {
  .pitch { grid-template-columns: 1fr; }
}

/* ================= THE PIT ================= */

.bot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
}

.bot-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--bg);
  text-decoration: none;
  color: inherit;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.bot-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-line);
  box-shadow: var(--shadow-md);
}

.bot-card-media {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: var(--bg-alt);
}

.bot-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.22, .61, .36, 1);
}

.bot-card:hover .bot-card-media img { transform: scale(1.05); }

.bot-card-body { padding: 22px; }

.bot-card-body h3 {
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: .02em;
  margin-bottom: 8px;
}

.bot-card-body p { color: var(--ink-2); font-size: .96rem; }

.tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.timeline { border-left: 2px solid var(--line); padding-left: 26px; }

.timeline-item { position: relative; padding-bottom: 32px; }
.timeline-item:last-child { padding-bottom: 0; }

.timeline-item::before {
  content: "";
  position: absolute;
  left: -33px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--accent-line);
}

.timeline-date {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}

.timeline-item h3 {
  font-size: 1.2rem;
  text-transform: uppercase;
  margin: 6px 0 8px;
}

.timeline-item p { color: var(--ink-2); font-size: .97rem; }

/* ================= SINGLE BOT ================= */

.bot-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(28px, 4.5vw, 60px);
  align-items: center;
}

.bot-hero-media {
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  box-shadow: var(--shadow-lg);
  background: var(--bg-dark);
}

.bot-hero-media img { width: 100%; height: 100%; object-fit: cover; }

.spec-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.spec-key {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.spec-val {
  font-family: var(--font-display);
  font-size: 1.05rem;
  text-align: right;
  text-transform: uppercase;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
  text-decoration: none;
}

.back-link:hover { color: var(--accent); }
.back-link::before { content: "←"; }

@media (max-width: 900px) {
  .bot-hero { grid-template-columns: 1fr; }
  .bot-hero-media { order: -1; }
}

/* ================= RESOURCES & LOGIN ================= */

.auth-wrap {
  max-width: 940px;
  margin-inline: auto;
}

.auth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(18px, 2.4vw, 28px);
}

.auth-form {
  display: grid;
  gap: 16px;
  align-content: start;
  padding: clamp(22px, 2.8vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}

.auth-form h3 {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.field { display: grid; gap: 7px; }

.field span {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.input {
  width: 100%;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.auth-note {
  margin-top: 18px;
  font-size: .92rem;
  color: var(--ink-3);
}

.auth-message {
  margin-top: 14px;
  min-height: 22px;
  font-size: .95rem;
  color: #16794a;
}

.auth-message.is-error { color: var(--accent); }

.resources-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.resource-card {
  display: block;
  padding: clamp(22px, 2.6vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--bg);
  text-decoration: none;
  color: inherit;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.resource-card:hover {
  border-color: var(--accent-line);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.resource-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 18px;
}

.resource-card h3 {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: .02em;
  margin-bottom: 8px;
}

.resource-card p { color: var(--ink-2); font-size: .96rem; }

@media (max-width: 720px) {
  .auth-grid { grid-template-columns: 1fr; }
}
