:root {
  --primary: #EA580C;
  --secondary: #7C2D12;
  --accent: #FBBF24;
  --bg-dark: #1A0E08;
  --bg-mid: #2A140A;
  --bg-light: rgba(255, 247, 237, 0.06);
  --text-main: #FFF7ED;
  --text-muted: #A8A29E;
  --border-soft: rgba(234, 88, 12, 0.25);
  --shadow-flame: 0 12px 40px rgba(234, 88, 12, 0.35);
  --shadow-deep: 0 18px 60px rgba(0, 0, 0, 0.55);
  --glow-amber: 0 0 24px rgba(251, 191, 36, 0.45);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  background-image:
    radial-gradient(circle at 15% 10%, rgba(234, 88, 12, 0.18), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(124, 45, 18, 0.22), transparent 50%),
    linear-gradient(180deg, #1A0E08 0%, #0F0805 100%);
  background-attachment: fixed;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--primary);
}

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
}

h1 {
  font-size: clamp(1.8rem, 4.5vw, 3.2rem);
}

h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
}

h3 {
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
}

p {
  color: var(--text-muted);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(15, 8, 5, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-soft);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 1.25rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--text-main);
}

.nav-brand img {
  height: 40px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

.nav-menu a {
  color: var(--text-main);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 0.3rem 0;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.4rem;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(15, 8, 5, 0.97);
    padding: 1rem 1.25rem;
    gap: 0.8rem;
    border-bottom: 1px solid var(--border-soft);
    transform: translateY(-150%);
    transition: transform 0.35s ease;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
  }
  .nav-menu.open {
    transform: translateY(0);
  }
  .nav-menu a {
    width: 100%;
    padding: 0.6rem 0;
  }
}

.section {
  padding: clamp(3rem, 7vw, 5.5rem) 0;
}

.section-sm {
  padding: clamp(2rem, 4vw, 3.5rem) 0;
}

.text-center {
  text-align: center;
}

.text-accent {
  color: var(--accent);
}

.text-primary {
  color: var(--primary);
}

.text-muted {
  color: var(--text-muted);
}

.bg-card {
  background: var(--bg-light);
  border: 1px solid var(--border-soft);
}

.gradient-text {
  background: linear-gradient(120deg, var(--accent), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6rem 1.25rem 3rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(26, 14, 8, 0.55), rgba(15, 8, 5, 0.92)),
    linear-gradient(180deg, rgba(15, 8, 5, 0.4), rgba(15, 8, 5, 0.95));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
}

.hero-logo {
  width: clamp(120px, 18vw, 180px);
  height: auto;
  margin: 0 auto 1.5rem;
  filter: drop-shadow(0 0 30px rgba(251, 191, 36, 0.55));
  animation: floatLogo 4s ease-in-out infinite;
}

@keyframes floatLogo {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-title {
  font-size: clamp(2rem, 6vw, 3.8rem);
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: 2px;
  text-shadow: 0 0 20px rgba(234, 88, 12, 0.6), 0 4px 8px rgba(0, 0, 0, 0.5);
}

.hero-tagline {
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  color: var(--accent);
  margin-bottom: 1.2rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.hero-desc {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: var(--text-main);
  margin: 0 auto 2.2rem;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.page-banner {
  position: relative;
  padding: 8rem 1.25rem 3rem;
  text-align: center;
  overflow: hidden;
}

.page-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top, rgba(234, 88, 12, 0.25), transparent 60%),
    linear-gradient(180deg, rgba(26, 14, 8, 0.4), rgba(26, 14, 8, 1));
  z-index: 0;
}

.page-banner-inner {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-lg {
  padding: 1.1rem 2.4rem;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 0.55rem 1.2rem;
  font-size: 0.88rem;
}

.btn-flame {
  background: linear-gradient(135deg, var(--primary) 0%, #F97316 50%, var(--accent) 100%);
  color: #1A0E08;
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-flame::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.btn-flame:hover::before {
  left: 100%;
}

.btn-flame:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 14px 36px rgba(234, 88, 12, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  color: #1A0E08;
}

.btn-press {
  background: linear-gradient(180deg, #C2410C 0%, var(--secondary) 100%);
  color: var(--text-main);
  border: 1px solid #9A3412;
  box-shadow: 0 6px 0 #5C1A06, 0 10px 20px rgba(0, 0, 0, 0.4);
  transition: all 0.18s ease;
}

.btn-press:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 #5C1A06, 0 14px 26px rgba(0, 0, 0, 0.5);
  color: var(--text-main);
}

.btn-press:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 #5C1A06, 0 4px 8px rgba(0, 0, 0, 0.4);
}

.btn-glass {
  background: rgba(251, 191, 36, 0.08);
  color: var(--accent);
  border: 1.5px solid rgba(251, 191, 36, 0.5);
  backdrop-filter: blur(8px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-glass:hover {
  background: rgba(251, 191, 36, 0.18);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(251, 191, 36, 0.25);
  color: var(--accent);
}

.btn-block {
  width: 100%;
}

.card {
  border-radius: 16px;
  padding: 1.6rem;
  transition: all 0.35s ease;
}

.card-glass {
  background: linear-gradient(160deg, rgba(234, 88, 12, 0.08), rgba(124, 45, 18, 0.04));
  border: 1px solid rgba(234, 88, 12, 0.25);
  backdrop-filter: blur(10px);
}

.card-glass:hover {
  transform: translateY(-8px);
  border-color: rgba(251, 191, 36, 0.5);
  box-shadow: var(--shadow-flame);
}

.card-flat {
  background: var(--bg-mid);
  border-left: 4px solid var(--primary);
  border-radius: 12px;
}

.card-flat:hover {
  border-left-color: var(--accent);
  transform: translateX(6px);
}

.card-bordered {
  background: rgba(15, 8, 5, 0.6);
  border: 1px solid var(--border-soft);
  position: relative;
  overflow: hidden;
}

.card-bordered::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.card-bordered:hover::before {
  transform: scaleX(1);
}

.card-bordered:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-deep);
}

.card-img {
  padding: 0;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.card-img:hover img {
  transform: scale(1.08);
}

.card-img-body {
  padding: 1.4rem;
}

.heading-deco-underline {
  position: relative;
  display: inline-block;
  padding-bottom: 0.8rem;
  margin-bottom: 1.2rem;
}

.heading-deco-underline::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 70px;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--accent), var(--primary), transparent);
  border-radius: 2px;
}

.heading-deco-bar {
  position: relative;
  padding-left: 1rem;
  border-left: 5px solid var(--primary);
  display: inline-block;
}

.heading-deco-stamp {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  background: rgba(234, 88, 12, 0.12);
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.8rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.2rem;
}

.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--accent);
  margin-bottom: 1rem;
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.4);
}

.alt-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

.alt-row:last-child {
  margin-bottom: 0;
}

.alt-row:nth-child(even) .alt-text {
  order: 2;
}

@media (max-width: 768px) {
  .alt-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .alt-row:nth-child(even) .alt-text {
    order: 0;
  }
}

.alt-img {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-deep);
}

.alt-img img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.alt-img:hover img {
  transform: scale(1.06);
}

.guide-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: flex-start;
}

.guide-toc {
  position: sticky;
  top: 90px;
  background: var(--bg-light);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 1.4rem;
}

.guide-toc h4 {
  color: var(--accent);
  margin-bottom: 1rem;
  font-size: 1.05rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border-soft);
}

.guide-toc ul {
  list-style: none;
}

.guide-toc li {
  margin-bottom: 0.6rem;
}

.guide-toc a {
  color: var(--text-muted);
  font-size: 0.92rem;
  display: block;
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  border-left: 2px solid transparent;
  transition: all 0.25s ease;
}

.guide-toc a:hover {
  color: var(--accent);
  background: rgba(234, 88, 12, 0.1);
  border-left-color: var(--primary);
}

.guide-section {
  margin-bottom: 2.5rem;
  scroll-margin-top: 90px;
}

.guide-section h3 {
  color: var(--accent);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px dashed var(--border-soft);
}

@media (max-width: 768px) {
  .guide-layout {
    grid-template-columns: 1fr;
  }
  .guide-toc {
    position: static;
  }
}

.code-card {
  background: linear-gradient(160deg, rgba(234, 88, 12, 0.1), rgba(124, 45, 18, 0.05));
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.code-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(251, 191, 36, 0.08), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.code-card:hover::before {
  opacity: 1;
}

.code-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--accent);
  box-shadow: 0 14px 40px rgba(234, 88, 12, 0.35);
}

.code-tag {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--text-main);
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  font-size: 1.05rem;
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
  font-family: "Courier New", monospace;
}

.code-content {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.code-copy {
  margin-top: 1rem;
  background: rgba(251, 191, 36, 0.1);
  color: var(--accent);
  border: 1px solid rgba(251, 191, 36, 0.4);
  padding: 0.5rem 1.1rem;
  border-radius: 6px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.code-copy:hover {
  background: var(--accent);
  color: var(--bg-dark);
}

.news-card {
  background: var(--bg-mid);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  transition: all 0.35s ease;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: var(--shadow-flame);
}

.news-card-img {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-card-img img {
  transform: scale(1.08);
}

.news-card-tag {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--text-main);
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 700;
}

.news-card-body {
  padding: 1.3rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  color: var(--text-main);
}

.news-card-body p {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  flex: 1;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-soft);
  padding-top: 0.8rem;
}

.article-hero {
  position: relative;
  padding: 8rem 1.25rem 2rem;
  text-align: center;
  background:
    radial-gradient(ellipse at top, rgba(234, 88, 12, 0.3), transparent 60%),
    var(--bg-dark);
}

.article-body {
  max-width: 820px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.article-body h2 {
  color: var(--accent);
  margin: 2rem 0 1rem;
  padding-left: 1rem;
  border-left: 5px solid var(--primary);
}

.article-body h3 {
  color: var(--primary);
  margin: 1.5rem 0 0.8rem;
}

.article-body p {
  margin-bottom: 1.2rem;
  color: var(--text-main);
  opacity: 0.92;
  line-height: 1.85;
}

.article-body ul {
  margin: 0 0 1.5rem 1.5rem;
  color: var(--text-main);
  opacity: 0.92;
}

.article-body li {
  margin-bottom: 0.5rem;
}

.article-body blockquote {
  background: rgba(234, 88, 12, 0.1);
  border-left: 4px solid var(--primary);
  padding: 1rem 1.4rem;
  margin: 1.5rem 0;
  border-radius: 6px;
  color: var(--accent);
  font-weight: 600;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.contact-card {
  background: linear-gradient(160deg, rgba(234, 88, 12, 0.08), rgba(124, 45, 18, 0.04));
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  padding: 1.6rem;
  text-align: center;
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: var(--shadow-flame);
}

.contact-card .qr-img {
  width: 140px;
  height: 140px;
  margin: 0 auto 1rem;
  border-radius: 10px;
  background: #fff;
  padding: 6px;
}

.contact-card .qr-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.contact-card h4 {
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.contact-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.download-section {
  background:
    radial-gradient(ellipse at center, rgba(234, 88, 12, 0.18), transparent 70%),
    var(--bg-dark);
  padding: clamp(3rem, 6vw, 5rem) 0;
  position: relative;
  overflow: hidden;
}

.download-card {
  background: linear-gradient(160deg, rgba(234, 88, 12, 0.12), rgba(124, 45, 18, 0.06));
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  padding: 2.2rem;
  text-align: center;
  max-width: 480px;
  margin: 0 auto;
  backdrop-filter: blur(8px);
}

.download-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin-top: 1.5rem;
}

.footer {
  background: #0F0805;
  border-top: 1px solid var(--border-soft);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.footer-brand img {
  height: 50px;
  margin-bottom: 0.8rem;
}

.footer h4 {
  color: var(--accent);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent);
}

.friend-links {
  border-top: 1px solid var(--border-soft);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}

.friend-links-title {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
  letter-spacing: 1px;
}

.friend-links-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.2rem;
}

.friend-links-list a {
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: color 0.25s ease;
}

.friend-links-list a:hover {
  color: var(--accent);
}

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-soft);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.stats-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
  margin: 2rem 0;
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--accent);
  text-shadow: 0 0 20px rgba(251, 191, 36, 0.4);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.tag-pill {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  background: rgba(251, 191, 36, 0.12);
  color: var(--accent);
  border: 1px solid rgba(251, 191, 36, 0.35);
  border-radius: 999px;
  font-size: 0.8rem;
  margin: 0.2rem;
}

.divider-flame {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), var(--accent), var(--primary), transparent);
  margin: 2rem 0;
  border: none;
}

.toc-mobile-toggle {
  display: none;
}

@media (max-width: 768px) {
  .stats-bar {
    gap: 1.5rem;
  }
}

.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--text-main);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 40;
  box-shadow: var(--shadow-flame);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-4px);
}

.section-flame-bg {
  position: relative;
}

.section-flame-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--text-main);
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  z-index: 100;
  box-shadow: var(--shadow-flame);
  transition: transform 0.4s ease;
  pointer-events: none;
}

.toast.show {
  transform: translateX(-50%) translateY(0);
}

.text-shadow-flame {
  text-shadow: 0 0 20px rgba(234, 88, 12, 0.6);
}
