/* Shiba Viewer website - same palette as the viewer's login page */
:root {
  --bg: #101216;
  --bg2: #161920;
  --panel: #1c1f26;
  --edge: #2c313b;
  --text: #e6e8eb;
  --muted: #9aa1ab;
  --accent: #e8642c;
  --accent-hi: #ff7a3d;
  --accent-soft: rgba(232, 100, 44, 0.14);
  --radius: 10px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hi); text-decoration: underline; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 14px; color: var(--muted); }

/* nav */
nav.top {
  position: sticky; top: 0; z-index: 10;
  background: rgba(16, 18, 22, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--edge);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 19px; font-weight: 600; }
.brand:hover { text-decoration: none; color: var(--text); }
.brand img { width: 34px; height: 34px; }
.brand b { color: var(--accent); font-weight: 600; }
.nav-links { display: flex; gap: 20px; margin-left: auto; }
.nav-links a { color: var(--muted); font-size: 15px; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--accent); color: #fff; font-weight: 600;
  border: 0; border-radius: 8px; cursor: pointer; font-family: inherit;
}
.btn:hover { background: var(--accent-hi); color: #fff; text-decoration: none; }
.btn-small { padding: 7px 16px; font-size: 15px; }
.btn-big { padding: 16px 30px; font-size: 20px; box-shadow: 0 8px 28px rgba(232, 100, 44, 0.32); }
.btn-big svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.btn-ghost { background: transparent; color: var(--accent); border: 1px solid var(--accent); padding: 9px 20px; font-size: 15px; margin-top: 8px; }
.btn-ghost:hover { background: var(--accent-soft); color: var(--accent-hi); }

/* hero */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 30% 0%, #1d2330 0%, var(--bg) 65%);
  border-bottom: 1px solid var(--edge);
}
.hero-shot { position: absolute; inset: 0; }
.hero-shot img { width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.hero-shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--bg) 15%, rgba(16, 18, 22, 0.55) 70%, rgba(16, 18, 22, 0.2)); }
.hero-inner { position: relative; display: flex; align-items: center; gap: 48px; padding-top: 72px; padding-bottom: 72px; }
.hero-logo { width: 200px; height: 200px; flex: none; filter: drop-shadow(0 10px 30px rgba(232, 100, 44, 0.25)); }
.hero h1 { margin: 0; font-size: 60px; line-height: 1.05; font-weight: 600; letter-spacing: 0.3px; }
.hero h1 span { color: var(--accent); }
.tagline { margin: 8px 0 18px; font-size: 21px; color: var(--muted); }
.pitch { margin: 0 0 28px; max-width: 620px; font-size: 18px; }
.cta { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-bottom: 14px; }
.dl-meta { display: flex; flex-direction: column; gap: 4px; font-size: 14px; color: var(--muted); }
.checksum summary { cursor: pointer; color: var(--muted); }
.checksum code { display: block; margin-top: 4px; font-size: 12px; word-break: break-all; max-width: 360px; color: var(--text); }

/* highlights */
.highlights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: -1px; padding-top: 40px; padding-bottom: 20px; }
.hl { background: var(--panel); border: 1px solid var(--edge); border-radius: var(--radius); padding: 20px; border-top: 3px solid var(--accent); }
.hl h3 { margin: 0 0 6px; font-size: 18px; }
.hl p { margin: 0; color: var(--muted); font-size: 15px; }

/* sections */
section { padding-top: 56px; padding-bottom: 8px; }
h2 { font-size: 34px; font-weight: 600; margin: 0 0 8px; }
.lead { color: var(--muted); margin: 0 0 30px; font-size: 17px; max-width: 760px; }

.feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: 36px; align-items: center; padding: 28px 0; border-top: 1px solid var(--edge); }
.feature.reverse .feature-text { order: 2; }
.feature.no-media { grid-template-columns: 1fr; }
.feature.no-media .feature-media { display: none; }
.feature h3 { font-size: 24px; margin: 0 0 12px; color: var(--accent); font-weight: 600; }
.feature ul { margin: 0; padding-left: 20px; }
.feature li { margin-bottom: 7px; }
.feature li::marker { color: var(--accent); }
.feature-media { display: grid; gap: 14px; }
.feature-media.two { grid-template-columns: 1fr 1fr; }
figure { margin: 0; background: var(--panel); border: 1px solid var(--edge); border-radius: var(--radius); overflow: hidden; }
figure img { width: 100%; height: auto; cursor: zoom-in; }
figcaption { padding: 8px 12px; font-size: 13px; color: var(--muted); }

.fixlist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fixlist li { background: var(--panel); border: 1px solid var(--edge); border-radius: var(--radius); padding: 16px 18px 16px 48px; position: relative; }
.fixlist li::before { content: "\2713"; position: absolute; left: 18px; top: 14px; color: var(--accent); font-weight: 700; font-size: 18px; }
.fixlist b { display: block; margin-bottom: 2px; }
.fixlist span { color: var(--muted); font-size: 15px; }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.gallery a { display: block; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--edge); background: var(--panel); aspect-ratio: 16 / 10; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s; }
.gallery a:hover img { transform: scale(1.04); }
.gallery img.top { object-position: top; }

/* what's new */
.release { background: var(--panel); border: 1px solid var(--edge); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 14px; }
.release .date { color: var(--accent); font-size: 14px; }
.release h3 { margin: 2px 0 10px; font-size: 19px; }
.release ul { margin: 0; padding-left: 20px; color: #cfd3d8; }
.release li { margin-bottom: 5px; }

/* install */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.steps li { counter-increment: step; position: relative; padding: 14px 18px 14px 64px; background: var(--panel); border: 1px solid var(--edge); border-radius: var(--radius); }
.steps li::before { content: counter(step); position: absolute; left: 18px; top: 12px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; display: grid; place-items: center; }
.req h3 { margin: 0 0 6px; }
.req ul { margin: 0; padding-left: 20px; color: var(--muted); }

/* faq */
#faq details { background: var(--panel); border: 1px solid var(--edge); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 10px; }
#faq summary { cursor: pointer; font-weight: 600; }
#faq details p { margin: 10px 0 0; color: var(--muted); }

footer { margin-top: 64px; border-top: 1px solid var(--edge); background: var(--bg2); }
.foot { padding-top: 28px; padding-bottom: 36px; font-size: 14px; }
.foot img { margin-bottom: 8px; }
.foot p { margin: 0 0 8px; max-width: 820px; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, 0.88); display: grid; place-items: center; padding: 24px; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; border-radius: 6px; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-inner .btn-small { margin-left: auto; }
  .hero-inner { flex-direction: column; text-align: center; gap: 24px; padding-top: 44px; padding-bottom: 48px; }
  .hero-logo { width: 140px; height: 140px; }
  .hero h1 { font-size: 44px; }
  .pitch { margin-left: auto; margin-right: auto; }
  .cta { justify-content: center; }
  .highlights { grid-template-columns: 1fr 1fr; }
  .feature, .feature.reverse { grid-template-columns: 1fr; }
  .feature.reverse .feature-text { order: 0; }
  .fixlist { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .highlights { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .feature-media.two { grid-template-columns: 1fr; }
  .btn-big { font-size: 18px; padding: 14px 22px; }
  h2 { font-size: 28px; }
}
