/* Tiki Lounge download page — styled after tiki3d.com (WordPress theme palette, 2026-09-06):
   theme-1 #182F38 header · theme-5 #11262E hero/body · theme-2 #02090C deep · theme-3 #CEE1DB mint
   buttons · theme-6 #E3ECE9 light mint · Inter · pill buttons (9999px) · 18px card radius.
   Only tiki.html uses this file (the Chinese index.html on the NAS keeps its own site.css). */
:root {
  --bg: #11262e;
  --bg-deep: #02090c;
  --surface: #182f38;
  --surface-2: #1f3a44;
  --surface-3: #27454f;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #ffffff;
  --muted: #c6d4d0;
  --faint: #8ea29d;
  --mint: #cee1db;
  --mint-light: #e3ece9;
  --mint-ink: #11262e;
  --ch-release: #7bdcb5;
  --ch-dev: #fcb900;
  --ch-test: #8ed1fc;
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',
    system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3 {
  font-family: inherit;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

.muted {
  color: var(--muted);
}
.small {
  font-size: 12.5px;
}

/* ------------------------------------------------------------------- Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  padding: 18px 56px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand__logo {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.brand__logo img {
  width: 36px;
  height: 36px;
}
.brand__name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
}
.brand__name strong {
  font-weight: 700;
  letter-spacing: -0.01em;
}
.brand__div {
  width: 1px;
  height: 18px;
  background: var(--line-strong);
}
.brand__name span {
  font-weight: 400;
  color: var(--muted);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  margin-left: auto;
}
.nav__links a {
  position: relative;
  padding: 4px 0;
  opacity: 0.88;
}
.nav__links a:hover,
.nav__links a.on {
  opacity: 1;
}
.nav__links a.on::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 2px;
  border-radius: 2px;
  background: var(--mint);
}
.nav__search {
  display: none;
}
.nav__cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--mint-ink) !important;
  background: var(--mint);
  padding: 11px 22px;
  border-radius: 9999px;
  font-weight: 500;
  font-size: 15px;
  transition: background 0.15s ease;
}
.nav__cta:hover {
  background: var(--mint-light);
}

/* ------------------------------------------------------------------ Hero */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 520px at 72% -10%, rgba(206, 225, 219, 0.1), transparent 64%),
    radial-gradient(720px 480px at 0% 100%, rgba(206, 225, 219, 0.06), transparent 60%),
    var(--bg);
}
.hero__inner {
  padding: 96px 56px 88px;
  display: flex;
  align-items: center;
  gap: 48px;
}
.hero__copy {
  flex: 1 1 0;
  min-width: 0;
  max-width: 640px;
}
.hero h1 {
  margin: 0 0 26px;
  font-size: clamp(44px, 5.6vw, 76px);
  line-height: 1.05;
  font-weight: 700;
  color: var(--text);
}
.hero h1 em {
  font-style: normal;
  color: var(--mint);
}
.hero p {
  margin: 0;
  color: var(--muted);
  max-width: 460px;
  font-size: 16px;
}
.hero__actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  align-items: center;
}
.hero__meta {
  margin-top: 16px !important;
  font-size: 13px;
  font-style: italic;
  color: var(--faint) !important;
}
.hero__shot {
  position: relative;
  flex: 1.3 1 0;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
}
.hero__shot::before {
  content: '';
  position: absolute;
  inset: -12% -8% -12% 6%;
  background: radial-gradient(circle at 40% 40%, rgba(206, 225, 219, 0.18), transparent 62%);
  filter: blur(40px);
  z-index: 0;
}
.hero__shot img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 960px;
  display: block;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  box-shadow: 0 36px 80px rgba(2, 9, 12, 0.7);
}

/* --------------------------------------------------------------- Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn--primary {
  color: var(--mint-ink);
  background: var(--mint);
}
.btn--primary:hover {
  background: var(--mint-light);
}
.btn--ghost {
  color: var(--text);
  background: transparent;
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  border-color: var(--mint);
  color: var(--mint);
}
.btn--store {
  color: var(--text);
  background: var(--surface);
  border-color: var(--line-strong);
}
.btn--store:hover {
  background: var(--surface-2);
  border-color: var(--mint);
}
.btn--store img {
  border-radius: 5px;
}
.btn--block {
  width: 100%;
}
.btn span {
  font-weight: 400;
  font-size: 12.5px;
  opacity: 0.75;
}

/* ---------------------------------------------------------------- Showcase */
.showcase {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 32px 96px;
  text-align: center;
}
.cluster {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 34px;
}
.cluster__tile {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 -9px;
  border: 1px solid var(--line-strong);
  box-shadow: 0 12px 26px rgba(2, 9, 12, 0.5);
}
.cluster__tile svg {
  width: 26px;
  height: 26px;
  color: var(--mint-ink);
}
.cluster__tile--a {
  background: linear-gradient(160deg, #e3ece9, #a9c4bb);
  transform: rotate(-11deg) translateY(7px);
}
.cluster__tile--b {
  background: linear-gradient(160deg, #cee1db, #8fb0a6);
  transform: rotate(-5deg) translateY(2px);
}
.cluster__tile--mid {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  background: var(--surface);
  margin: 0 -6px;
  z-index: 2;
}
.cluster__tile--mid img {
  width: 48px;
  height: 48px;
}
.cluster__tile--c {
  background: linear-gradient(160deg, #cee1db, #8fb0a6);
  transform: rotate(5deg) translateY(2px);
}
.cluster__tile--d {
  background: linear-gradient(160deg, #e3ece9, #a9c4bb);
  transform: rotate(11deg) translateY(7px);
}
.showcase h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
}
.showcase > p {
  margin: 0 auto;
  max-width: 480px;
  color: var(--muted);
  font-size: 15px;
}
.showcase__q {
  margin: 38px 0 16px !important;
  color: var(--faint) !important;
  font-size: 13.5px;
  font-style: italic;
}
.showcase .btn {
  margin: 0 auto;
}

/* -------------------------------------------------------------- Sections */
.section {
  padding: 72px 56px;
}
.section__head {
  margin-bottom: 32px;
}
.section__head h2 {
  margin: 0 0 6px;
  font-size: 34px;
  font-weight: 700;
}
.section__head p {
  margin: 0;
  font-size: 14px;
}

/* ---------------------------------------------------------- Product grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 18px;
  align-items: stretch;
}
.pcard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.12s ease, border-color 0.12s ease;
}
.pcard:hover {
  transform: translateY(-3px);
  border-color: var(--mint);
}
.pcard__cover {
  position: relative;
  aspect-ratio: 210 / 264;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pcard__cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pcard__initial {
  font-size: 72px;
  font-weight: 700;
  color: rgba(206, 225, 219, 0.18);
}
.pcard__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 9999px;
  background: var(--ch-release);
  color: var(--mint-ink);
}
.pcard__badge--dev {
  background: var(--ch-dev);
  color: #2a1a02;
}
.pcard__badge--test {
  background: var(--ch-test);
  color: #061a33;
}
.pcard__body {
  padding: 14px 16px 16px;
}
.pcard__body h3 {
  margin: 0 0 4px;
  font-size: 15.5px;
  font-weight: 600;
}
.pcard__body p {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.6;
}
.pcard__ver {
  margin-top: 8px !important;
  font-size: 11.5px !important;
  color: var(--faint) !important;
}

/* ------------------------------------------------------------- dlcard tag */
.tag {
  display: inline-block;
  margin-left: 8px;
  vertical-align: 2px;
  font-size: 11px;
  font-weight: 600;
  padding: 1px 10px;
  border-radius: 9999px;
  background: rgba(206, 225, 219, 0.16);
  color: var(--mint);
}

/* ---------------------------------------------------------------- Features */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  transition: background 0.12s ease, border-color 0.12s ease;
}
.feature:hover {
  background: var(--surface-2);
  border-color: var(--mint);
}
.feature h3 {
  margin: 0 0 5px;
  font-size: 18px;
  font-weight: 600;
}
.feature p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

/* ---------------------------------------------------------------- Download */
.section--download {
  border-top: 1px solid var(--line);
  background: var(--bg-deep);
}
.download__cards {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.dlcard {
  flex: 1;
  min-width: 280px;
  max-width: 420px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
}
.dlcard h3 {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
}
.dlcard > p {
  margin: 0 0 16px;
  font-size: 12.5px;
}
.relnotes {
  margin-top: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 22px;
  max-width: 720px;
}
.relnotes h3 {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 600;
}
.relnotes__ver {
  margin-left: 8px;
  font-size: 12px;
  font-weight: 400;
  color: var(--faint);
}
.relnotes ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  font-size: 13.5px;
}
.relnotes li {
  margin-bottom: 6px;
}
.steps {
  margin: 32px 0 12px;
  padding-left: 20px;
  color: var(--muted);
  font-size: 13.5px;
  max-width: 560px;
}
.steps li {
  margin-bottom: 6px;
}
.steps strong {
  color: var(--text);
}

/* ---------------------------------------------------------------- Footer */
.footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 26px 56px 44px;
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: var(--muted);
}
.footer a:hover {
  color: var(--mint);
}

@media (max-width: 920px) {
  .nav__inner {
    padding: 14px 24px;
    gap: 18px;
  }
  .nav__links {
    display: none;
  }
  .hero__inner {
    flex-direction: column;
    padding: 56px 24px 64px;
  }
  .section,
  .footer {
    padding-left: 24px;
    padding-right: 24px;
  }
}
