/* ============================================================
   Dragon Ball Super: Beerus Guide — poster/sticker theme
   cream bg / bold black outlines / hard shadows
   accents: lemon green / sky blue / bright yellow
   ============================================================ */

:root {
  --cream: #FBF4DC;
  --ink: #141414;
  --lemon: #A8E63C;
  --lemon-deep: #8CD21F;
  --sky: #6EC6FF;
  --sky-deep: #3FA9F5;
  --sun: #FFD93D;
  --paper: #FFFDF4;
  --red: #FF6B57;
  --shadow: 6px 6px 0 var(--ink);
  --shadow-sm: 4px 4px 0 var(--ink);
  --radius: 14px;
  --font-display: "Archivo Black", "Arial Black", "Helvetica Neue", sans-serif;
  --font-body: "Nunito", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  background-image: radial-gradient(rgba(20, 20, 20, 0.045) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* ---------- layout ---------- */

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

main { padding: 34px 0 60px; }

section + section { margin-top: 42px; }

/* ---------- header / nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--lemon);
  border-bottom: 3px solid var(--ink);
}

.nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 12px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  text-decoration: none;
  color: var(--ink);
}

.brand .ball {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--sun);
  border: 3px solid var(--ink);
  box-shadow: 3px 3px 0 var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--red);
}

.brand .name {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nav a.link {
  font-weight: 800;
  font-size: 14.5px;
  text-decoration: none;
  color: var(--ink);
  padding: 6px 12px;
  border: 3px solid transparent;
  border-radius: 999px;
  transition: transform 0.08s ease;
}

.nav a.link:hover {
  background: var(--paper);
  border-color: var(--ink);
  box-shadow: var(--shadow-sm);
  transform: translate(-1px, -1px);
}

.nav a.link.active {
  background: var(--ink);
  color: var(--cream);
}

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 28px;
  align-items: stretch;
}

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

.hero-copy h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.6vw, 52px);
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  text-shadow: 3px 3px 0 var(--sun);
}

.hero-copy h1 .accent {
  display: inline-block;
  background: var(--sky);
  padding: 0 10px;
  border: 3px solid var(--ink);
  box-shadow: var(--shadow-sm);
  text-shadow: none;
  transform: rotate(-1.5deg);
}

.hero-copy p.sub {
  margin-top: 16px;
  font-size: 18px;
  font-weight: 700;
  max-width: 56ch;
}

.verdict {
  margin-top: 22px;
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px 20px;
}

.verdict .label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--cream);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.verdict .big {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.2;
}

.verdict .note { font-size: 15px; font-weight: 700; margin-top: 8px; }

/* ---------- countdown card ---------- */

.count-card {
  background: var(--sky);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  transform: rotate(1deg);
}

.count-card .status {
  display: inline-block;
  align-self: center;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--cream);
  padding: 5px 12px;
  border-radius: 999px;
}

.count-card .what {
  font-family: var(--font-display);
  font-size: 22px;
  margin-top: 12px;
  text-transform: uppercase;
}

.count-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 16px;
}

.count-grid .cell {
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 10px;
  padding: 10px 4px;
}

.count-grid .num {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 34px);
  line-height: 1;
}

.count-grid .unit {
  font-size: 11.5px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 5px;
}

/* ---------- trailer / video ---------- */

.trailer-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 18px;
  align-items: start;
  margin-top: 16px;
}

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

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.yt-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
  display: block;
  background-position: center;
  background-size: cover;
  background-color: var(--ink);
}

.yt-facade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.05), rgba(20, 20, 20, 0.25));
}

.yt-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--sun);
  border: 4px solid var(--ink);
  box-shadow: 0 0 0 10px rgba(255, 217, 61, 0.28), 6px 6px 0 var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.yt-play::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 24px solid var(--ink);
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  margin-left: 6px;
}

.yt-facade:hover .yt-play { background: var(--lemon); }

.video-meta {
  margin-top: 12px;
  font-size: 14.5px;
  font-weight: 800;
}

.video-credit {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
  opacity: 0.72;
}

.more-videos { list-style: none; margin-top: 0; }

.more-videos li {
  border: 3px solid var(--ink);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  margin-bottom: 12px;
  overflow: hidden;
}

.more-videos a {
  display: block;
  padding: 14px 16px;
  text-decoration: none;
  color: var(--ink);
}

.more-videos a:hover { background: #F2FFD8; }

.more-videos .t { font-weight: 900; font-size: 15.5px; }
.more-videos .d { font-size: 13.5px; font-weight: 700; margin-top: 4px; }

/* ---------- cards & panels ---------- */

.panel {
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 28px;
}

.panel.tint-lemon { background: #F2FFD8; }
.panel.tint-sky   { background: #E8F5FF; }
.panel.tint-sun   { background: #FFF6D6; }

.panel > h2, .panel > h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: 1.15;
}

.panel > h2 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 6px; }
.panel > h3 { font-size: 19px; margin-bottom: 6px; }

.panel .kick {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--sun);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  padding: 3px 12px;
  margin-bottom: 14px;
}

.panel p + p { margin-top: 12px; }

.lead { font-size: 18px; font-weight: 700; }

/* ---------- tables ---------- */

.table-wrap {
  overflow-x: auto;
  border: 3px solid var(--ink);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  background: var(--paper);
  margin-top: 14px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15.5px;
  min-width: 520px;
}

thead th {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--cream);
  padding: 11px 14px;
  text-align: left;
  white-space: nowrap;
}

tbody td {
  padding: 11px 14px;
  border-top: 2px dashed rgba(20, 20, 20, 0.25);
  vertical-align: top;
}

tbody tr:nth-child(even) { background: rgba(110, 198, 255, 0.10); }

td strong { font-weight: 900; }

/* ---------- badges / chips ---------- */

.chip {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 10px;
  border-radius: 999px;
  border: 2.5px solid var(--ink);
  background: var(--paper);
  white-space: nowrap;
}

.chip.aired  { background: var(--lemon); }
.chip.next   { background: var(--sun); }
.chip.upcoming { background: #EEE7CF; }
.chip.finale { background: var(--red); color: #fff; }
.chip.live   { background: var(--red); color: #fff; }
.chip.jpn    { background: var(--sky); }

/* ---------- episode list ---------- */

.ep-list { list-style: none; margin-top: 14px; }

.ep-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 14px;
  border: 3px solid var(--ink);
  border-radius: 12px;
  background: var(--paper);
  margin-bottom: 10px;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
}

.ep-list li.next-ep { background: #FFF6D6; transform: scale(1.01); }

.ep-list .ep-no {
  font-family: var(--font-display);
  font-size: 18px;
  min-width: 84px;
}

.ep-list .ep-date { font-weight: 800; min-width: 210px; }

.ep-list .spacer { margin-left: auto; }

/* ---------- timeline (debut history) ---------- */

.timeline { list-style: none; margin-top: 16px; position: relative; }

.timeline li {
  position: relative;
  padding: 0 0 26px 34px;
  border-left: 4px solid var(--ink);
  margin-left: 10px;
}

.timeline li:last-child { padding-bottom: 0; border-left-color: transparent; }

.timeline li::before {
  content: "";
  position: absolute;
  left: -13px;
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--sun);
  border: 3px solid var(--ink);
  box-shadow: 2px 2px 0 var(--ink);
}

.timeline .when {
  font-family: var(--font-display);
  font-size: 16px;
  background: var(--lemon);
  border: 2.5px solid var(--ink);
  border-radius: 8px;
  padding: 2px 10px;
  display: inline-block;
  margin-bottom: 6px;
}

.timeline h3 {
  font-family: var(--font-display);
  font-size: 18px;
  text-transform: uppercase;
}

/* ---------- FAQ ---------- */

.faq-item {
  border: 3px solid var(--ink);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  margin-bottom: 14px;
  overflow: hidden;
}

.faq-item details summary {
  cursor: pointer;
  list-style: none;
  font-weight: 900;
  font-size: 17px;
  padding: 14px 48px 14px 16px;
  position: relative;
}

.faq-item details summary::-webkit-details-marker { display: none; }

.faq-item details summary::after {
  content: "+";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 22px;
}

.faq-item details[open] summary::after { content: "−"; }

.faq-item details[open] summary {
  background: var(--lemon);
  border-bottom: 3px solid var(--ink);
}

.faq-item .faq-body { padding: 14px 16px; }

/* ---------- CTA / cross links ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 16px;
}

.link-card {
  display: block;
  text-decoration: none;
  color: var(--ink);
  background: var(--paper);
  border: 3px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 18px 20px;
  transition: transform 0.08s ease;
}

.link-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow);
  background: #F2FFD8;
}

.link-card .t {
  font-family: var(--font-display);
  font-size: 17px;
  text-transform: uppercase;
}

.link-card .d { font-size: 14.5px; font-weight: 700; margin-top: 6px; }

/* ---------- notice / disclaimer ---------- */

.notice {
  border: 3px solid var(--ink);
  border-radius: 12px;
  background: #FFF6D6;
  padding: 14px 16px;
  font-size: 14.5px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 3px solid var(--ink);
  background: var(--ink);
  color: var(--cream);
  padding: 30px 0 36px;
  font-size: 14px;
}

.site-footer .cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}

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

.site-footer h4 {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sun);
  margin-bottom: 10px;
}

.site-footer a { color: var(--cream); font-weight: 800; text-decoration: underline; }

.site-footer .legal { margin-top: 26px; padding-top: 16px; border-top: 1px dashed rgba(251, 244, 220, 0.35); font-size: 12.5px; opacity: 0.85; }

/* ---------- breadcrumbs ---------- */

.crumbs {
  font-size: 13.5px;
  font-weight: 800;
  margin-bottom: 18px;
}

.crumbs a { color: var(--ink); }

/* ---------- utilities ---------- */

.center { text-align: center; }
.mt { margin-top: 16px; }
.small { font-size: 14px; }

.update-tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 900;
  background: var(--sky);
  border: 2.5px solid var(--ink);
  border-radius: 999px;
  padding: 2px 10px;
}
