/* ==========================================================================
   GTA Cache — Location (collectibles) page stylesheet
   ========================================================================== */

/* -------- Hero (flat panel, no background image) -------- */

.location-hero {
  margin-top: 16px;
  padding: 38px 40px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background:
    radial-gradient(circle at 88% 12%, rgba(127,181,57,.16), transparent 55%),
    linear-gradient(160deg, var(--bg-2) 0%, var(--bg-1) 100%);
}
.location-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.location-hero h1 {
  font-size: clamp(30px, 4.4vw, 46px);
  margin: 0 0 10px;
  max-width: 800px;
}
.location-hero__tagline {
  font-size: 17px;
  color: #d2d5dc;
  max-width: 720px;
  margin: 0;
}

/* -------- Meta strip -------- */

.location-meta {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 14px;
}
.location-meta__item {
  padding: 16px 20px;
  border-right: 1px solid var(--border);
}
.location-meta__item:last-child { border-right: none; }
.location-meta__label {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 600;
}
.location-meta__value {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--text);
  margin-top: 4px;
}

/* -------- Layout -------- */

.location-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  margin-top: 40px;
}
.location-content > section { margin-bottom: 40px; }
.location-content > section > h2 {
  font-size: 24px;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}
.location-content > section > h2::before {
  content: "";
  width: 4px;
  height: 20px;
  background: var(--accent);
  border-radius: 2px;
  display: inline-block;
}
.location-content p { color: #c9ccd3; }
.location-content p:last-child { margin-bottom: 0; }

/* -------- Map figure -------- */

.location-map__frame {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.location-map__frame img {
  width: 100%;
  height: auto;
  display: block;
}
.location-map figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-faint);
  text-align: center;
}
.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-3) 0%, var(--bg-2) 100%);
  color: var(--text-faint);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.location-map .img-placeholder { min-height: 400px; }

/* -------- Info grid (regions / methods) -------- */

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.info-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
}
.info-card h3 {
  font-size: 16px;
  margin: 0 0 6px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.info-card h3 svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--accent-hi);
}
.info-card p {
  font-size: 14px;
  margin: 0;
  color: #c4c8d0;
  line-height: 1.6;
}

/* -------- Callout -------- */

.callout {
  background: linear-gradient(135deg, rgba(245,197,24,.08), rgba(245,197,24,.02));
  border: 1px solid rgba(245,197,24,.28);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  margin: 18px 0 0;
}
.callout p { margin: 0; color: #d4d7de; }
.callout strong { color: var(--gold); }

/* -------- Tips list -------- */

.tips-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.tips-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  color: var(--text);
}
.tips-list svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent-hi);
}

/* -------- Reward box -------- */

.reward-box {
  display: flex;
  gap: 18px;
  background: linear-gradient(135deg, rgba(245,197,24,.10), rgba(245,197,24,.03));
  border: 1px solid rgba(245,197,24,.30);
  border-radius: var(--radius);
  padding: 22px 26px;
}
.reward-box__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(245,197,24,.16);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
}
.reward-box__icon svg { width: 24px; height: 24px; }
.reward-box__body h3 {
  font-size: 18px;
  margin: 2px 0 8px;
}
.reward-box__body p { margin: 0; color: #d4d7de; }

/* -------- Sidebar -------- */

.location-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.side-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.side-card__title {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.location-facts {
  list-style: none;
  margin: 0;
  padding: 0;
}
.location-facts li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.location-facts li:last-child { border-bottom: none; }
.location-facts dt {
  color: var(--text-faint);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.location-facts dd {
  margin: 0;
  color: var(--text);
  font-weight: 500;
  text-align: right;
}
.link-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.link-list li { border-bottom: 1px solid var(--border); }
.link-list li:last-child { border-bottom: none; }
.link-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  color: var(--text-dim);
  font-size: 14px;
}
.link-list a:hover { color: var(--accent-hi); }
.link-list svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: .45;
}

/* -------- Responsive -------- */

@media (max-width: 1080px) {
  .location-layout { grid-template-columns: 1fr; gap: 32px; }
  .location-meta { grid-template-columns: repeat(3, 1fr); }
  .location-meta__item:nth-child(3) { border-right: none; }
  .location-meta__item:nth-child(n+4) { border-top: 1px solid var(--border); }
}
@media (max-width: 620px) {
  .location-hero { padding: 28px 22px; }
  .location-meta { grid-template-columns: repeat(2, 1fr); }
  .location-meta__item:nth-child(odd) { border-right: 1px solid var(--border); }
  .location-meta__item:nth-child(even) { border-right: none; }
  .location-meta__item:nth-child(n+3) { border-top: 1px solid var(--border); }
  .info-grid { grid-template-columns: 1fr; }
  .reward-box { flex-direction: column; gap: 12px; }
}
