/* 9lpron.xyz — Amber Eclipse Theme */
:root {
  --void: #06060e;
  --deep: #0e0e1a;
  --panel: #161628;
  --panel-hover: #1e1e36;
  --glass: rgba(14, 14, 26, 0.88);
  --amber: #ff6b2c;
  --amber-light: #ff8f5a;
  --gold: #c9a227;
  --gold-soft: #e8c96a;
  --teal: #3ecfb0;
  --teal-dim: rgba(62, 207, 176, 0.15);
  --rose: #e84393;
  --text-head: #f5f0e8;
  --text-main: #b8b4c8;
  --text-muted: #6e6a82;
  --border: rgba(255, 107, 44, 0.14);
  --border-soft: rgba(255, 255, 255, 0.06);
  --nav-h: 60px;
  --sticky-h: 0px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  --ease: 0.32s cubic-bezier(0.25, 0.8, 0.25, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Source Han Sans SC", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--void);
  color: var(--text-main);
  line-height: 1.85;
  font-size: 15px;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 40% at 85% 5%, rgba(255, 107, 44, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 45% 35% at 5% 90%, rgba(62, 207, 176, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 30% 25% at 50% 50%, rgba(201, 162, 39, 0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--amber-light); text-decoration: none; transition: color var(--ease); }
a:hover { color: var(--gold-soft); }

ul, ol { padding-left: 1.4em; }
h1, h2, h3, h4 { color: var(--text-head); line-height: 1.38; font-weight: 700; }
h1 { font-size: clamp(1.6rem, 5vw, 2.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.2rem, 3.6vw, 1.75rem); margin-bottom: 0.85rem; }
h3 { font-size: 1.08rem; margin-bottom: 0.6rem; }
p { margin-bottom: 1rem; }

.wrap {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
  position: relative;
  z-index: 1;
}

/* Header */
.site-head {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: var(--glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-soft);
  z-index: 1100;
}

.head-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 18px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--text-head);
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: 0.06em;
}

.logo-link img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(255, 107, 44, 0.25);
}

.site-nav { display: flex; list-style: none; gap: 2px; padding: 0; }

.site-nav a {
  display: block;
  padding: 8px 14px;
  color: var(--text-main);
  font-size: 0.87rem;
  border-radius: var(--radius-sm);
  transition: background var(--ease), color var(--ease);
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text-head);
  background: rgba(255, 107, 44, 0.12);
}

.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  min-width: 48px;
  min-height: 48px;
  width: 48px;
  height: 48px;
  background: rgba(255, 107, 44, 0.1);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 12px 10px;
  flex-shrink: 0;
  position: relative;
  z-index: 10;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.menu-btn::before {
  content: "";
  position: absolute;
  inset: -8px;
}

.menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-head);
  border-radius: 2px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  transition: transform var(--ease), opacity var(--ease);
}

.menu-btn.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--deep);
  border-bottom: 1px solid var(--border-soft);
  padding: 12px 18px 18px;
  z-index: 1050;
  transform: translateY(-110%);
  opacity: 0;
  transition: transform var(--ease), opacity var(--ease);
}

.mobile-nav.open { transform: translateY(0); opacity: 1; }

.mobile-nav ul { list-style: none; padding: 0; }

.mobile-nav a {
  display: block;
  padding: 12px 8px;
  color: var(--text-main);
  border-bottom: 1px solid var(--border-soft);
  font-size: 0.95rem;
}

.mobile-nav a.active { color: var(--amber-light); }

/* Ads */
.ads-sticky-bar {
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
  z-index: 1090;
  padding: 8px 0;
  transform: translateY(-120%);
  opacity: 0;
  visibility: hidden;
  transition: transform var(--ease), opacity var(--ease), visibility var(--ease);
}

.ads-sticky-bar.visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.ads-zone {
  padding: 14px 0 6px;
  margin-top: var(--nav-h);
}

.ads-grid {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 10px 6px;
  background: transparent;
}

.ads-grid > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(25% - 6px);
  box-sizing: border-box;
}

.ads-grid figure { margin: 0; text-align: center; }

.ads-grid img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: block;
  border: 1px solid var(--border-soft);
}

.ads-grid a { display: inline-block; border-radius: 16px; }

.ads-grid img:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 22px rgba(255, 107, 44, 0.2);
}

.ads-grid .caption {
  height: 16px;
  font-size: 10px;
  color: var(--text-muted);
  text-align: center;
  max-width: 72px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 4px;
}

@media (min-width: 768px) {
  .ads-grid > div { width: calc(12.5% - 6px); }
  .ads-grid img { width: 64px; height: 64px; }
  .ads-grid .caption { max-width: 80px; font-size: 11px; }
}

/* Page body */
.page-main { padding-bottom: 48px; }

/* Breadcrumb */
.crumb {
  padding: 18px 0 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.crumb a { color: var(--text-muted); }
.crumb a:hover { color: var(--amber-light); }
.crumb span { color: var(--text-main); margin: 0 6px; }

/* Hero */
.hero-block {
  padding: 36px 0 28px;
}

.hero-badge {
  display: inline-block;
  padding: 5px 14px;
  background: linear-gradient(135deg, rgba(255, 107, 44, 0.2), rgba(201, 162, 39, 0.15));
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 0.78rem;
  color: var(--gold-soft);
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.hero-block h1 { margin-bottom: 14px; }

.hero-desc {
  font-size: 1.02rem;
  color: var(--text-main);
  max-width: 720px;
  margin-bottom: 20px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin-bottom: 22px;
}

.tag-row li {
  padding: 5px 13px;
  background: var(--panel);
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--teal);
}

.btn-dl {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: linear-gradient(135deg, var(--amber), #e85d04);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(255, 107, 44, 0.35);
  transition: transform var(--ease), box-shadow var(--ease);
}

.btn-dl:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(255, 107, 44, 0.45);
}

/* Sections */
.sect {
  padding: 32px 0;
  border-top: 1px solid var(--border-soft);
}

.sect-head { margin-bottom: 24px; }

.sect-head p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* Prose block */
.prose-block {
  background: var(--panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  margin-bottom: 24px;
}

.prose-block h3 {
  color: var(--amber-light);
  font-size: 1.05rem;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-soft);
}

.prose-block p { font-size: 0.93rem; margin-bottom: 0.85rem; }
.prose-block p:last-child { margin-bottom: 0; }

.prose-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 768px) {
  .prose-grid { grid-template-columns: repeat(2, 1fr); }
}

.feat-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-bottom: 32px;
  align-items: start;
}

.feat-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow);
}

.feat-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(6, 6, 14, 0.7) 100%);
  pointer-events: none;
}

.feat-img img { width: 100%; aspect-ratio: 9/16; object-fit: cover; max-height: 420px; }

.feat-img .img-label {
  position: absolute;
  bottom: 12px;
  left: 14px;
  z-index: 2;
  font-size: 0.75rem;
  color: var(--gold-soft);
  background: rgba(0, 0, 0, 0.55);
  padding: 4px 10px;
  border-radius: 6px;
}

.feat-body h3 { color: var(--amber-light); margin-top: 4px; }

.feat-body ul { margin: 12px 0; }
.feat-body li { margin-bottom: 6px; font-size: 0.93rem; }

@media (min-width: 768px) {
  .feat-row { grid-template-columns: 3fr 7fr; gap: 28px; }
  .feat-row.reverse { direction: rtl; }
  .feat-row.reverse > * { direction: ltr; }
}

/* Cards grid */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 600px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
}

.info-card {
  background: var(--panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 22px 20px;
  transition: border-color var(--ease), background var(--ease);
}

.info-card:hover {
  border-color: var(--border);
  background: var(--panel-hover);
}

.info-card h3 { font-size: 1rem; }
.info-card p { font-size: 0.9rem; margin-bottom: 0; color: var(--text-muted); }

/* FAQ */
.faq-item {
  background: var(--panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 12px;
}

.faq-item h3 { font-size: 0.95rem; margin-bottom: 8px; }
.faq-item p { font-size: 0.9rem; margin-bottom: 0; color: var(--text-muted); }

/* Subpage */
.sub-hero {
  padding: 28px 0 20px;
}

.sub-hero h1 { font-size: clamp(1.35rem, 4vw, 1.85rem); }

.legal-body {
  background: var(--panel);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  margin-bottom: 32px;
}

.legal-body h2 {
  font-size: 1.1rem;
  margin-top: 24px;
  margin-bottom: 10px;
  color: var(--amber-light);
}

.legal-body h2:first-child { margin-top: 0; }

.legal-body p, .legal-body li { font-size: 0.9rem; }

/* Error pages */
.err-page {
  min-height: calc(100vh - var(--nav-h) - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 18px;
}

.err-code {
  font-size: clamp(4rem, 15vw, 7rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--amber), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 12px;
}

.err-page h1 { font-size: 1.3rem; margin-bottom: 10px; }
.err-page p { color: var(--text-muted); max-width: 420px; margin: 0 auto 24px; }

/* Footer */
.site-foot {
  background: var(--deep);
  border-top: 1px solid var(--border-soft);
  padding: 32px 0 24px;
  margin-top: 20px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

@media (min-width: 600px) {
  .foot-grid { grid-template-columns: 2fr 1fr 1fr; }
}

.foot-brand p { font-size: 0.85rem; color: var(--text-muted); margin-top: 10px; }

.foot-links h4 {
  font-size: 0.85rem;
  color: var(--text-head);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.foot-links ul { list-style: none; padding: 0; }

.foot-links li { margin-bottom: 8px; }

.foot-links a { font-size: 0.85rem; color: var(--text-muted); }
.foot-links a:hover { color: var(--amber-light); }

.foot-copy {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
}

/* Responsive nav */
@media (max-width: 767px) {
  .site-nav { display: none; }
  .menu-btn { display: flex; }
  .mobile-nav { display: block; }
}
