/* Arena Z Studios — Explore Valekor
   Extends the game-portal-v2 design system with engagement-hub components. */

.ev-hero {
  position: relative;
  padding: 168px 0 84px;
  background:
    radial-gradient(circle at 78% 18%, rgba(208, 162, 76, .16), transparent 42%),
    radial-gradient(circle at 12% 90%, rgba(168, 45, 39, .16), transparent 46%),
    linear-gradient(180deg, var(--ink), var(--ink-2));
  border-bottom: 1px solid var(--line);
}
.ev-hero-grid {
  display: grid;
  grid-template-columns: 1.25fr .85fr;
  gap: 48px;
  align-items: center;
}
.ev-hero h1 {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(42px, 6vw, 84px);
  line-height: .98;
  margin: 14px 0 18px;
}
.ev-hero h1 em { color: var(--gold-light); font-style: normal; }
.ev-hero-copy { color: var(--muted); font-size: clamp(16px, 1.4vw, 20px); max-width: 46ch; }
.ev-hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.ev-stats { display: flex; flex-wrap: wrap; gap: 34px; margin-top: 34px; }
.ev-stats div { display: grid; gap: 2px; }
.ev-stats span { color: var(--muted); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.ev-stats strong { font-family: var(--serif); font-size: 30px; color: var(--gold-light); }

/* Start Here reading path card */
.ev-path {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line-gold);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.ev-path h2 { font-family: var(--serif); font-size: 26px; margin: 6px 0 14px; }
.ev-path ol { list-style: none; margin: 0 0 20px; padding: 0; counter-reset: step; }
.ev-path li {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 12px 0; border-bottom: 1px solid var(--line);
}
.ev-path li:last-child { border-bottom: 0; }
.ev-path li b { font-weight: 700; }
.ev-path li small { color: var(--muted); font-variant-numeric: tabular-nums; }
.ev-note { color: var(--muted); font-size: 13px; margin: 12px 0 0; }

/* Continue Reading */
.ev-continue {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  width: 100%; text-align: left; text-decoration: none; cursor: pointer;
  background: linear-gradient(120deg, rgba(208, 162, 76, .16), rgba(168, 45, 39, .12));
  border: 1px solid var(--line-gold); border-radius: 14px; padding: 16px 20px; color: var(--bone);
}
.ev-continue:hover { border-color: var(--gold); }
.ev-continue .ev-continue-eyebrow { color: var(--gold-light); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 800; }
.ev-continue [data-cr-number] { display: block; font-family: var(--serif); font-size: 20px; margin-top: 2px; }
.ev-continue [data-cr-title] { display: block; color: var(--muted); font-size: 14px; }
.ev-continue span.ev-arrow { font-size: 22px; color: var(--gold-light); }

/* Category cards (Explore Valekor) */
.ev-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.ev-card {
  position: relative; overflow: hidden; border-radius: 18px; min-height: 260px;
  border: 1px solid var(--line); text-decoration: none; color: var(--bone);
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--panel); transition: transform .35s ease, border-color .35s ease;
}
.ev-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; transition: transform .5s ease, opacity .35s ease; }
.ev-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(6, 8, 10, .92)); }
.ev-card > div { position: relative; z-index: 1; padding: 22px; }
.ev-card .ev-icon { position: relative; z-index: 1; align-self: flex-start; margin: 20px 0 auto 20px; font-size: 34px; }
.ev-card h3 { font-family: var(--serif); font-size: 24px; margin: 0 0 6px; }
.ev-card p { color: var(--muted); font-size: 14px; margin: 0; }
.ev-card:hover { transform: translateY(-6px); border-color: var(--line-gold); }
.ev-card:hover img { transform: scale(1.06); opacity: .7; }

/* Chapter finder (searchable list) */
.ev-tools { display: grid; grid-template-columns: 1fr 220px; gap: 14px; margin-bottom: 22px; }
.ev-tools input, .ev-tools select {
  padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--panel); color: var(--bone); font-size: 15px;
}
.ev-tools input:focus, .ev-tools select:focus { outline: none; border-color: var(--gold); }
.ev-chapters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ev-chapter {
  display: block; text-decoration: none; color: var(--bone);
  border: 1px solid var(--line); border-radius: 14px; padding: 20px;
  background: linear-gradient(160deg, var(--panel-2), var(--panel)); transition: border-color .3s ease, transform .3s ease;
}
.ev-chapter:hover { border-color: var(--line-gold); transform: translateY(-4px); }
.ev-chapter b { color: var(--gold); font-family: var(--serif); font-size: 15px; letter-spacing: .08em; }
.ev-chapter h3 { font-family: var(--serif); font-size: 20px; margin: 8px 0 6px; }
.ev-chapter p { color: var(--muted); font-size: 14px; margin: 0 0 12px; }
.ev-chapter .ev-read { color: var(--gold-light); font-weight: 700; font-size: 14px; }
.ev-chapter.is-featured { border-color: var(--line-gold); box-shadow: 0 0 0 1px rgba(208, 162, 76, .18) inset; }
.ev-empty { grid-column: 1 / -1; color: var(--muted); padding: 24px; text-align: center; }

/* Return Every Week */
.ev-week { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ev-week article {
  border: 1px solid var(--line); border-radius: 16px; padding: 24px;
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
}
.ev-week .ev-icon { font-size: 30px; display: block; margin-bottom: 12px; }
.ev-week h3 { font-family: var(--serif); font-size: 20px; margin: 0 0 6px; }
.ev-week p { color: var(--muted); font-size: 14px; margin: 0; }

/* Share row */
.ev-share-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ev-share-row .gp-eyebrow { margin-right: 6px; }

/* Homepage "Start Here" quick-start tiles */
.ev-start-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}
.ev-start-tile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: var(--bone);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 20px;
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  transition: transform .3s ease, border-color .3s ease;
}
.ev-start-tile:hover { transform: translateY(-5px); border-color: var(--line-gold); }
.ev-start-tile .ev-start-icon { font-size: 26px; }
.ev-start-tile strong { font-family: var(--serif); font-size: 18px; }
.ev-start-tile span.ev-start-desc { color: var(--muted); font-size: 13px; }
.ev-start-tile.is-primary {
  background: linear-gradient(135deg, rgba(208, 162, 76, .2), rgba(168, 45, 39, .14));
  border-color: var(--line-gold);
}
.ev-start-tile[data-continue-reading] [data-cr-number] { font-family: var(--serif); font-size: 15px; color: var(--gold-light); }
.ev-start-tile[data-continue-reading] [data-cr-title] { color: var(--muted); font-size: 12.5px; }

@media (max-width: 1024px) {
  .ev-hero-grid { grid-template-columns: 1fr; }
  .ev-cards, .ev-chapters, .ev-week { grid-template-columns: repeat(2, 1fr); }
  .ev-start-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .ev-hero { padding-top: 128px; }
  .ev-cards, .ev-chapters, .ev-week, .ev-tools { grid-template-columns: 1fr; }
  .ev-start-grid { grid-template-columns: 1fr; }
  .ev-stats { gap: 22px; }
}
