/* 
 * iwara里站 - 官方网站全局样式表 (流式大字排版 & 奶油粉蓝晶莹玻璃主题色)
 * 主色彩：活力蜜桃粉 (Peach Pink, #ff577f) + 晴空蓝 (Sky Blue, #00c3e3)
 */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('./fonts/font-4.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./fonts/font-3.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('./fonts/font-2.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./fonts/font-1.ttf') format('truetype');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('./fonts/font-6.ttf') format('truetype');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('./fonts/font-7.ttf') format('truetype');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('./fonts/font-5.ttf') format('truetype');
}

:root {
  --bg-primary: #fcfaf7; /* 奶油暖白底色 */
  --bg-secondary: #ffffff; /* 纯白面板色 */
  --bg-tertiary: rgba(255, 87, 127, 0.04); /* 极淡蜜桃粉底色 */
  
  --primary: #ff577f; /* 活力蜜桃粉 */
  --primary-hover: #ff3c6d;
  --primary-light: rgba(255, 87, 127, 0.06);
  --primary-dark: #d82b53;
  
  --accent: #00c3e3; /* 晴空蓝 */
  --accent-hover: #00a8c4;
  --accent-light: rgba(0, 195, 227, 0.06);
  --accent-dark: #008fa5;
  
  --warning: #ff9f43; /* 活泼橙 */
  
  --text-main: #2c3e50; /* 深莓果灰 */
  --text-muted: #576574; /* 灰蓝色 */
  --text-light: #8395a7; /* 浅灰蓝 */
  
  --border-color: rgba(255, 87, 127, 0.15); /* 蜜桃粉描边 */
  --border-strong: rgba(255, 87, 127, 0.28); /* 强色描边 */
  --border-accent: rgba(0, 195, 227, 0.2); /* 蓝色描边 */
  
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-title: "Plus Jakarta Sans", var(--font-sans);
  
  --transition-smooth: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  
  --glow-primary: 0 8px 24px rgba(255, 87, 127, 0.12), 0 0 12px rgba(255, 87, 127, 0.08);
  --glow-accent: 0 8px 24px rgba(0, 195, 227, 0.12), 0 0 12px rgba(0, 195, 227, 0.08);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

/* 基础重置 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

* {
  min-width: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(at 0% 0%, rgba(255, 87, 127, 0.05) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(0, 195, 227, 0.05) 0px, transparent 50%),
    radial-gradient(rgba(255, 87, 127, 0.04) 1.2px, transparent 1.2px);
  background-size: 100% 100%, 100% 100%, 32px 32px;
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.75;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
  padding-top: 75px;
}

body > * {
  max-width: 100%;
}

/* 滚动条 */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 999px;
  border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
  user-select: none;
}

picture {
  display: block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  min-width: 0;
}

/* Typographic Title Styling */
h1, h2, h3, h4, h5 {
  font-family: var(--font-title);
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Glassmorphism panel */
.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px 0 rgba(255, 87, 127, 0.03);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.8rem;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  font-family: var(--font-title);
  transition: var(--transition-smooth);
  border: 1.5px solid transparent;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #ff769f 100%);
  color: #ffffff;
  box-shadow: var(--glow-primary);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 87, 127, 0.2);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.75);
  color: var(--text-main);
  border-color: var(--border-color);
}

.btn-secondary:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--glow-primary);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent) 0%, #3ae4ff 100%);
  color: #ffffff;
  box-shadow: var(--glow-accent);
}

.btn-accent:hover {
  background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent) 100%);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 195, 227, 0.2);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
}

.lang-toggle {
  border: 1.5px solid var(--border-color);
  background: rgba(255, 255, 255, 0.68);
  color: var(--text-main);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.75rem;
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 850;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.lang-toggle:hover {
  color: var(--primary);
  border-color: rgba(255, 87, 127, 0.36);
}

/* Translucent Top Header Navigation */
header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--border-color);
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  transition: var(--transition-smooth);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 75px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-thumb {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--primary);
  object-fit: cover;
}

.brand-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  font-family: var(--font-title);
  letter-spacing: -0.01em;
}

nav {
  display: flex;
  align-items: center;
}

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

.nav-links a {
  display: flex;
  flex-direction: row;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-muted);
  padding: 0.25rem 0.2rem;
  position: relative;
  font-family: var(--font-title);
  letter-spacing: 0.03em;
}

.sub-nav {
  display: none;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--primary);
  border-radius: 99px;
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

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

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

.nav-links a.active {
  color: var(--primary-hover);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
  padding: 0.25rem;
  border-radius: var(--radius-sm);
}

/* Hero Section */
.hero-banner-container {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--border-color);
  background: #ffffff;
  padding: 8px;
  box-shadow: 0 12px 40px rgba(255, 87, 127, 0.04);
  transition: var(--transition-smooth);
}

.hero-banner-container picture,
.hero-banner-container img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}

.hero-banner-container:hover {
  border-color: var(--primary);
  box-shadow: 0 15px 45px rgba(255, 87, 127, 0.12);
}

.hero-download-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin: -2rem auto 4.5rem;
  max-width: 90%;
  padding: 1.5rem 2.25rem;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-strong);
  position: relative;
  z-index: 10;
  box-shadow: 0 15px 35px rgba(255, 87, 127, 0.06);
  transition: var(--transition-smooth);
}

.hero-download-bar:hover {
  border-color: var(--primary);
  box-shadow: 0 18px 45px rgba(255, 87, 127, 0.1);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  font-family: var(--font-title);
}

/* Editorial Spacing Dividers */
.divider-editorial {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  margin: 5rem 0;
  color: var(--primary-dark);
  font-size: 0.88rem;
  font-family: var(--font-title);
  font-weight: 800;
  letter-spacing: 0.15em;
}

.divider-editorial::before,
.divider-editorial::after {
  content: '';
  flex: 1;
  height: 1px;
  border-bottom: 2.5px dashed rgba(255, 87, 127, 0.22);
}

/* Section Title layout */
.section-flow-header {
  padding: 2.5rem 0 1.35rem;
  text-align: left;
  border-bottom: 3px solid var(--primary);
  margin: 2.5rem 0 2rem;
  position: relative;
  max-width: 100%;
}

.section-flow-header::after {
  content: '✦';
  position: absolute;
  right: 0;
  bottom: -6px;
  color: var(--primary);
  background: var(--bg-primary);
  padding-left: 0.75rem;
  font-size: 1.15rem;
}

/* dot grid pattern background decoration */
.dot-pattern-bg {
  background-image: radial-gradient(rgba(255, 87, 127, 0.08) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
  background-position: 0 0;
}

.section-tag {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent-dark);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
  display: block;
  font-family: var(--font-title);
}

.section-title {
  font-size: 2.25rem;
  color: var(--text-main);
  font-weight: 800;
  line-height: 1.25;
}

/* Fluid Grid - 4 Columns for Premium Cards */
.flow-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding: 1.5rem 0 4.5rem;
}

/* Premium Card & Icon Badge styled like bn.png */
.premium-card {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  text-align: left;
  box-shadow: 0 8px 24px rgba(255, 87, 127, 0.02);
}

.premium-card:hover {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: var(--glow-primary);
  transform: translateY(-3px);
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 8px;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: var(--transition-smooth);
  border: 1px solid var(--border-color);
}

.premium-card:hover .icon-badge {
  background: var(--primary);
  color: #ffffff;
}

/* Alternating Showcase Band */
.showcase-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4.5rem;
  align-items: center;
  padding: 5rem 0;
  border-top: 1.5px solid var(--border-color);
}

.showcase-text {
  text-align: left;
}

.showcase-text h3 {
  font-size: 1.75rem;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.showcase-text p {
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.showcase-stats-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.showcase-stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.85rem;
  border-bottom: 1.5px dashed var(--border-color);
  font-size: 0.95rem;
  font-weight: 600;
}

.showcase-stat-item .stat-value {
  color: var(--primary-dark);
  font-weight: 800;
  font-family: var(--font-title);
  font-size: 1.15rem;
}

/* Solid Colored Download Banner */
.download-banner-section {
  background: linear-gradient(90deg, rgba(255, 87, 127, 0.055) 0%, rgba(255, 255, 255, 0.55) 44%, rgba(0, 195, 227, 0.065) 100%);
  border-top: 1.5px solid var(--border-color);
  border-bottom: 1.5px solid var(--border-accent);
  padding: 3.5rem 0;
  width: 100%;
}

.download-banner-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 260px);
  gap: 3rem;
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.download-banner-left {
  text-align: left;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.download-banner-left h2 {
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  line-height: 1.25;
  margin-bottom: 1rem;
  color: var(--text-main);
  max-width: 760px;
}

.download-banner-left p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  max-width: 820px;
}

.download-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.download-banner-meta {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.banner-meta-pill {
  font-size: 0.78rem;
  color: var(--text-muted);
  border: 0;
  border-left: 2px solid rgba(255, 87, 127, 0.34);
  background: transparent;
  padding: 0.1rem 0 0.1rem 0.7rem;
  border-radius: 0;
  font-weight: 750;
  font-family: var(--font-title);
}

.download-banner-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.95rem;
  justify-content: center;
  min-height: auto;
  border-radius: 0;
  background: transparent;
  border: 0;
  border-left: 1.5px dashed rgba(0, 195, 227, 0.32);
  padding: 0 0 0 3.5rem;
}

.download-logo-mark {
  width: clamp(128px, 16vw, 184px);
  aspect-ratio: 1;
  border-radius: 32%;
  padding: 0.7rem;
  background: rgba(255, 255, 255, 0.74);
  border: 1.5px solid rgba(255, 87, 127, 0.24);
  box-shadow: 0 18px 42px rgba(255, 87, 127, 0.12);
}

.download-logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 28%;
}

.download-logo-caption {
  color: var(--text-main);
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 850;
}

.qr-box-fluid {
  background: white;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  box-shadow: none;
}

.qr-label-fluid {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 800;
  font-family: var(--font-title);
  text-align: center;
}

/* Typographic FAQ Accordion */
.flow-faq-section {
  padding: 5rem 0;
}

.flow-faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.flow-faq-item {
  border-bottom: 1.5px dashed var(--border-color);
  padding: 1.75rem 0.5rem;
}

.flow-faq-summary {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-title);
}

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

.flow-faq-summary svg {
  transition: var(--transition-smooth);
  color: var(--primary);
}

.flow-faq-item[open] .flow-faq-summary svg {
  transform: rotate(90deg);
  color: var(--primary-dark);
}

.flow-faq-content {
  padding-top: 1.25rem;
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.8;
}

/* Homepage reviews */
.review-section {
  margin: 4rem 0 5rem;
}

.review-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 0;
  border-top: 1.5px solid var(--border-color);
  border-bottom: 1.5px solid var(--border-color);
}

.review-card {
  padding: 1.75rem;
  border-bottom: 1px dashed rgba(255, 87, 127, 0.18);
}

.review-card:nth-child(2),
.review-card:nth-child(3),
.review-card:nth-child(4) {
  border-left: 1px dashed rgba(0, 195, 227, 0.18);
}

.review-card.featured {
  grid-row: span 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 340px;
  border-bottom: 0;
}

.review-score {
  color: var(--accent);
  font-family: var(--font-title);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  line-height: 1;
  font-weight: 900;
  margin-bottom: 1rem;
}

.review-stars {
  color: var(--primary);
  font-size: 1rem;
  letter-spacing: 0.16em;
  margin-bottom: 0.9rem;
}

.review-card:not(.featured) .review-stars {
  font-size: 0.86rem;
  margin-bottom: 0.75rem;
}

.review-keywords {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.3rem 0 1.45rem;
}

.review-keywords span {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.42rem 0.65rem;
  border: 1px solid rgba(0, 195, 227, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
}

.review-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.45rem;
}

.review-metrics div {
  padding: 0.85rem 0;
  border-top: 1px dashed rgba(255, 87, 127, 0.18);
}

.review-metrics strong {
  display: block;
  color: var(--text-main);
  font-family: var(--font-title);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.review-metrics span {
  color: var(--text-light);
  font-size: 0.76rem;
  line-height: 1.45;
}

.review-card p {
  color: var(--text-main);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 1.35rem;
}

.review-card:not(.featured) p {
  font-size: 0.94rem;
  color: var(--text-muted);
}

.review-user {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: var(--text-light);
  font-size: 0.82rem;
}

.review-user strong {
  color: var(--text-main);
  font-family: var(--font-title);
  font-size: 0.9rem;
}

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

  .review-card,
  .review-card:nth-child(2),
  .review-card:nth-child(3),
  .review-card:nth-child(4) {
    border-left: 0;
  }

  .review-card.featured {
    grid-row: auto;
    min-height: auto;
  }

  .review-user {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }

  .review-metrics {
    grid-template-columns: 1fr;
  }
}

/* Subpage layouts */
.subpage-grid {
  display: grid;
  grid-template-columns: 7.2fr 4.8fr;
  gap: 3.5rem;
  align-items: start;
  margin-bottom: 5rem;
}

.subpage-left {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.subpage-right {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* Specs Table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.5rem 0;
  font-size: 0.9rem;
}

.specs-table td {
  padding: 0.85rem 0.5rem;
  border-bottom: 1px solid var(--border-color);
}

.specs-table tr:last-child td {
  border-bottom: none;
}

.specs-table td:first-child {
  font-weight: 700;
  color: var(--text-muted);
  width: 32%;
}

.specs-table td:last-child {
  color: var(--text-main);
  font-weight: 600;
}

/* Timeline Stepper */
.stepper-timeline {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 1.75rem;
  border-left: 2.5px solid var(--primary);
  gap: 2rem;
}

.stepper-node {
  position: relative;
}

.stepper-node::before {
  content: '';
  position: absolute;
  left: calc(-1.75rem - 7px);
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--bg-primary);
  box-shadow: 0 0 0 2px rgba(255, 87, 127, 0.2);
}

.stepper-node:nth-child(2)::before {
  background: var(--accent);
  box-shadow: 0 0 0 2px rgba(0, 195, 227, 0.2);
}

.stepper-node:nth-child(3)::before {
  background: var(--text-light);
  box-shadow: none;
}

.stepper-node h4 {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  color: var(--text-main);
}

.stepper-node p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Terminal warning box */
.terminal-box {
  background: #1e1e24;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  color: #f1f5f9;
  font-family: monospace;
  font-size: 0.78rem;
  border: 1.5px solid var(--border-color);
}

.terminal-header-mini {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.75rem;
  color: #64748b;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding-bottom: 0.5rem;
}

.terminal-content {
  line-height: 1.65;
}

.terminal-green { color: #34d399; }
.terminal-orange { color: #fb923c; }

/* Subpage hero titles */
.subpage-hero {
  padding: 4rem 0 2.5rem;
  text-align: left;
  border-bottom: 1.5px solid var(--primary);
  margin-bottom: 3.5rem;
}

/* Manga Page Filters & Cards */
.manga-filter-bar {
  display: flex;
  gap: 1.5rem;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.85rem;
  margin-bottom: 3.5rem;
  list-style: none;
}

.manga-filter-btn {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  position: relative;
  font-family: var(--font-title);
}

.manga-filter-btn:hover,
.manga-filter-btn.active {
  color: var(--primary);
}

.manga-filter-btn::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--primary);
  border-radius: 99px;
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

.manga-filter-btn.active::after {
  width: 100%;
}

.manga-modern-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.25rem;
  margin-bottom: 5.5rem;
}

.manga-card-modern {
  background: var(--bg-secondary);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
}

.manga-card-modern:hover {
  border-color: var(--primary);
  box-shadow: var(--glow-primary);
  transform: translateY(-3px);
}

.manga-cover-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  background: var(--primary-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  overflow: hidden;
  border-bottom: 1.5px solid var(--border-color);
}

.manga-cover-wrap::before {
  content: '';
  position: absolute;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(255, 87, 127, 0.04);
  border: 1px dashed var(--primary);
  z-index: 1;
  opacity: 0.75;
  transition: var(--transition-smooth);
}

.manga-card-modern:hover .manga-cover-wrap::before {
  transform: scale(1.15) rotate(45deg);
  background: rgba(0, 195, 227, 0.04);
  border-color: var(--accent);
}

.manga-cover-wrap svg {
  position: relative;
  z-index: 2;
  transition: var(--transition-smooth);
  color: var(--primary);
}

.manga-cover-wrap span.category-label {
  position: relative;
  z-index: 2;
  font-size: 0.72rem;
  font-weight: 800;
  margin-top: 0.75rem;
  letter-spacing: 0.08em;
  font-family: var(--font-title);
  color: var(--text-muted);
}

.manga-card-modern:hover .manga-cover-wrap svg {
  transform: scale(1.1) rotate(-5deg);
  color: var(--primary-hover);
}

.manga-hover-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1.5px solid var(--border-color);
  padding: 1.25rem;
  transform: translateY(100%);
  transition: var(--transition-smooth);
  z-index: 3;
  box-sizing: border-box;
}

.manga-card-modern:hover .manga-hover-info {
  transform: translateY(0);
}

.manga-hover-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.4rem;
  font-family: var(--font-title);
}

.manga-hover-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.manga-body-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.manga-body-info h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-main);
}

.manga-tag-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
}

.manga-tag-primary {
  color: var(--primary);
}

/* FAQ Layout */
.faq-layout-split {
  display: grid;
  grid-template-columns: 3.5fr 8.5fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 5rem;
}

.faq-nav-sticky {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  list-style: none;
}

.faq-nav-item a {
  display: block;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  border-left: 3.5px solid transparent;
  transition: var(--transition-smooth);
}

.faq-nav-item a:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.faq-nav-item.active a {
  background: var(--primary-light);
  color: var(--primary);
  border-left-color: var(--primary);
  font-weight: 800;
}

.faq-accordion-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

details.faq-disclosure {
  background: var(--bg-secondary);
  border: 1.5px solid var(--border-color);
  border-left: 4px solid transparent;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
}

details.faq-disclosure:hover {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.95);
}

details.faq-disclosure[open] {
  border-left-color: var(--primary);
  border-color: var(--border-strong);
  background: var(--bg-secondary);
  box-shadow: var(--glow-primary);
}

summary.faq-summary {
  padding: 1.25rem 1.5rem;
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-main);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  font-family: var(--font-title);
}

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

.faq-question-text {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.faq-caret-icon {
  width: 14px;
  height: 14px;
  transition: transform 0.25s ease;
  color: var(--primary);
}

details.faq-disclosure[open] .faq-caret-icon {
  transform: rotate(90deg);
  color: var(--primary-dark);
}

.faq-answer-content {
  padding: 0 1.5rem 1.5rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
  border-top: 1.5px solid var(--border-color);
  padding-top: 1.25rem;
}

/* Versions timeline */
.timeline-spine-wrap {
  position: relative;
  max-width: 800px;
  margin: 0 auto 5rem;
  padding: 1.5rem 0;
}

.timeline-spine-wrap::before {
  content: '';
  position: absolute;
  left: 20%;
  top: 0;
  height: 100%;
  width: 2.5px;
  background: var(--primary);
}

.timeline-item-modern {
  display: flex;
  margin-bottom: 4rem;
  position: relative;
}

.timeline-item-modern:last-child {
  margin-bottom: 0;
}

.timeline-left-meta {
  width: 20%;
  text-align: right;
  padding-right: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
}

.timeline-left-meta .version-num {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-dark);
  font-family: var(--font-title);
  letter-spacing: -0.03em;
}

.timeline-left-meta .version-date {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 0.2rem;
}

.timeline-connector-dot {
  position: absolute;
  left: calc(20% - 6px);
  top: 12px;
  width: 12px;
  height: 12px;
  background: var(--primary);
  border: 3px solid var(--bg-primary);
  transform: rotate(45deg);
  z-index: 2;
  box-shadow: var(--glow-primary);
}

.timeline-item-modern:nth-child(even) .timeline-connector-dot {
  background: var(--accent);
  box-shadow: var(--glow-accent);
}

.timeline-item-modern:last-child .timeline-connector-dot {
  background: var(--text-light);
  box-shadow: none;
}

.timeline-right-content {
  width: 80%;
  padding-left: 3rem;
}

.timeline-card-modern {
  background: var(--bg-secondary);
  border: 1.5px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: var(--transition-smooth);
}

.timeline-card-modern:hover {
  border-color: var(--primary);
  box-shadow: var(--glow-primary);
  transform: translateY(-2px);
}

.timeline-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-title);
}

.timeline-category-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
}

.timeline-category-item h5 {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 750;
  font-family: var(--font-title);
}

.timeline-category-item h5::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
}

.timeline-category-item.feat h5::before { background: var(--primary); }
.timeline-category-item.fix h5::before { background: var(--accent); }
.timeline-category-item.perf h5::before { background: var(--warning); }

.changelog-sublist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-left: 0.85rem;
}

.changelog-sublist li {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  position: relative;
}

.changelog-sublist li::before {
  content: '·';
  position: absolute;
  left: -8px;
  font-weight: bold;
  color: var(--primary);
}

/* Footer Section */
footer {
  background: var(--bg-secondary);
  border-top: 1.5px solid var(--border-color);
  padding: 5.5rem 0 2.5rem;
}

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

.footer-info-col h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-main);
  font-family: var(--font-title);
}

.footer-info-col p {
  color: var(--text-muted);
  font-size: 0.86rem;
  max-width: 320px;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.footer-links-col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
  color: var(--text-main);
  font-weight: 800;
  font-family: var(--font-title);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

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

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

.footer-bottom {
  border-top: 1.5px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.beian-link {
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.beian-link:hover {
  color: var(--primary);
}

/* Modals System */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(44, 62, 80, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  padding: 1.5rem;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background: #ffffff;
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  max-height: 80vh;
  box-shadow: 0 15px 45px rgba(255, 87, 127, 0.08);
  display: flex;
  flex-direction: column;
  transform: scale(0.98);
  transition: transform 0.2s ease-out;
  overflow: hidden;
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-header {
  padding: 1.25rem 1.75rem;
  border-bottom: 1.5px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  font-family: var(--font-title);
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  transition: var(--transition-smooth);
}

.modal-close:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.modal-body {
  padding: 1.75rem;
  overflow-y: auto;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.modal-body h4 {
  color: var(--text-main);
  margin: 1.5rem 0 0.5rem;
  font-size: 1rem;
  font-family: var(--font-title);
}

.modal-body p {
  margin-bottom: 0.85rem;
}

.modal-body ul {
  margin-left: 1.25rem;
  margin-bottom: 0.85rem;
}

.modal-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

@media (max-width: 576px) {
  .modal-action-row,
  .modal-action-row .btn {
    width: 100%;
  }
}

/* Creator Profile Rows & Thematic Spacers */
.creator-profile-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1.5px dashed var(--border-color);
  width: 100%;
}

.creator-profile-row:last-child {
  border-bottom: none;
}

.creator-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-family: var(--font-title);
  background: var(--primary-light);
  color: var(--primary);
  flex-shrink: 0;
}

.creator-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.creator-name {
  font-weight: 800;
  font-size: 1rem;
  font-family: var(--font-title);
  color: var(--text-main);
}

.creator-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.creator-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.tag-mini {
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--primary-light);
  color: var(--primary-hover);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-family: var(--font-title);
}

/* ==========================================================================
   miHoYo AAA Portal Restructured Layout Styles (Light-Mode Pastel Refinement)
   ========================================================================== */

/* 1. Portal Split News Section */
.portal-news-section {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 2rem;
  margin: 3.5rem 0 5rem;
  min-width: 0;
  align-items: start;
}

.portal-slider-container {
  position: relative;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  min-height: 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.portal-slider-container picture,
.portal-slider-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.portal-slider-container:hover img {
  transform: scale(1.03);
}

.portal-slider-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(44, 62, 80, 0.95) 0%, rgba(44, 62, 80, 0.5) 60%, rgba(44, 62, 80, 0) 100%);
  padding: 2.5rem 1.75rem 1.5rem;
  z-index: 5;
}

.portal-slider-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.35rem;
  font-family: var(--font-title);
}

.portal-news-board {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  aspect-ratio: 80 / 63;
  box-shadow: 0 10px 30px rgba(255, 87, 127, 0.03);
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.portal-news-tabs {
  display: flex;
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 1.25rem;
  list-style: none;
  gap: 1.5rem;
  min-width: 0;
  flex-wrap: wrap;
}

.portal-news-tab {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--text-muted);
  cursor: pointer;
  padding-bottom: 0.75rem;
  position: relative;
  font-family: var(--font-title);
}

.portal-news-tab:hover,
.portal-news-tab.active {
  color: var(--primary);
}

.portal-news-tab::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--primary);
  border-radius: 99px;
  transition: var(--transition-smooth);
}

.portal-news-tab.active::after {
  width: 100%;
}

.portal-news-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
  min-width: 0;
  padding-right: 0.4rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 87, 127, 0.45) transparent;
}

.portal-news-list::-webkit-scrollbar {
  width: 6px;
}

.portal-news-list::-webkit-scrollbar-track {
  background: transparent;
}

.portal-news-list::-webkit-scrollbar-thumb {
  background: rgba(255, 87, 127, 0.45);
  border-radius: 999px;
}

.portal-news-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 0.75rem;
  transition: var(--transition-smooth);
  min-width: 0;
  max-width: 100%;
}

.portal-news-item:hover {
  border-bottom-color: var(--primary);
  transform: translateX(4px);
}

.portal-news-link {
  color: var(--text-main);
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1 1 auto;
  min-width: 0;
  margin-right: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 100%;
}

.portal-news-item:hover .portal-news-link {
  color: var(--primary);
}

.portal-news-date {
  color: var(--text-light);
  font-size: 0.8rem;
  font-family: var(--font-title);
  flex: 0 0 auto;
  white-space: nowrap;
}

.news-tag-bullet {
  font-size: 0.7rem;
  font-weight: 850;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: max-content;
  white-space: nowrap;
}

.news-tag-bullet.notice {
  background: var(--accent-light);
  color: var(--accent-dark);
  border: 1px solid rgba(0, 195, 227, 0.18);
}

.news-tag-bullet.news {
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(255, 87, 127, 0.18);
}

/* 2. Character Interactive Showcase */
.char-showcase-wrap {
  display: grid;
  grid-template-columns: 5.2fr 6.8fr;
  gap: 3rem;
  align-items: center;
  margin: 4rem 0 5.5rem;
}

.char-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  list-style: none;
}

.char-nav-card {
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.15rem 1.5rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 12px rgba(255, 87, 127, 0.01);
}

.char-nav-card:hover {
  border-color: var(--accent);
  background: var(--accent-light);
}

.char-nav-card.active {
  border-color: var(--primary);
  box-shadow: var(--glow-primary);
  background: var(--primary-light);
}

.char-nav-name {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--text-main);
}

.char-nav-card.active .char-nav-name {
  color: var(--primary-dark);
}

.char-nav-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.char-nav-arrow {
  color: var(--text-light);
  font-weight: bold;
  transition: var(--transition-smooth);
}

.char-nav-card.active .char-nav-arrow {
  color: var(--primary);
  transform: translateX(4px);
}

.char-display-panel {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(255, 87, 127, 0.03);
}

.char-display-panel::before {
  content: '✦';
  position: absolute;
  top: 15px;
  left: 15px;
  color: var(--primary);
  font-size: 1.15rem;
}

.char-display-panel::after {
  content: '✦';
  position: absolute;
  bottom: 15px;
  right: 15px;
  color: var(--accent);
  font-size: 1.15rem;
}

.char-content-block {
  display: none;
  animation: fadeIn 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.char-content-block.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.char-title-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.char-accent-badge {
  font-size: 0.75rem;
  font-weight: 850;
  background: var(--primary-light);
  color: var(--primary-dark);
  border: 1px solid var(--border-color);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
}

.char-stats-table {
  width: 100%;
  margin: 1.5rem 0;
  border-collapse: collapse;
}

.char-stats-table td {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.88rem;
}

.char-stats-table td.stat-label {
  color: var(--text-muted);
  font-weight: 700;
  width: 35%;
}

.char-stats-table td.stat-val {
  color: var(--text-main);
  font-weight: 800;
  text-align: right;
}

/* 3. Bento Grid Showcase */
.feature-redesign-section {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
  margin: 2.5rem 0 5rem;
}

.feature-redesign-copy {
  position: sticky;
  top: 105px;
  padding: 2rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  background:
    linear-gradient(135deg, rgba(255, 87, 127, 0.07) 0%, rgba(255, 255, 255, 0.86) 42%),
    #ffffff;
  box-shadow: 0 14px 36px rgba(255, 87, 127, 0.045);
}

.feature-redesign-copy .section-flow-header {
  border-bottom: 0;
  margin: 0;
  padding: 0;
}

.feature-redesign-copy .section-flow-header::after {
  display: none;
}

.feature-redesign-copy .section-title {
  font-size: clamp(1.8rem, 2.6vw, 2.45rem);
}

.feature-redesign-copy p {
  margin-top: 1.2rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
}

.bento-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.bento-item {
  background: #ffffff;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1.35rem 1.35rem 1.35rem 4.75rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 154px;
  box-shadow: 0 8px 24px rgba(44, 62, 80, 0.025);
}

.bento-item:hover {
  border-color: var(--primary);
  box-shadow: var(--glow-primary);
  transform: translateY(-4px);
}

.bento-item.double-width {
  grid-column: span 2;
}

.bento-item.double-height {
  grid-column: span 1;
  grid-row: span 2;
  min-height: 324px;
}

.bento-showcase-grid .bento-item:nth-child(3),
.bento-showcase-grid .bento-item:nth-child(4) {
  grid-column: span 1;
}

.bento-showcase-grid .bento-item:nth-child(5) {
  grid-column: span 2;
}

.bento-item::before {
  content: '✦';
  position: absolute;
  top: 10px;
  right: 15px;
  color: var(--border-strong);
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}

.bento-item:hover::before {
  color: var(--primary);
  transform: rotate(90deg) scale(1.2);
}

.bento-item .bento-icon {
  position: absolute;
  top: 1.35rem;
  left: 1.35rem;
  width: 42px;
  height: 42px;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.bento-item:hover .bento-icon {
  color: var(--primary);
  border-color: var(--primary);
  background: var(--primary-light);
}

.bento-item h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  font-family: var(--font-title);
  line-height: 1.35;
}

.bento-item p {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

.bento-showcase-grid .bento-item:nth-child(1) {
  background: linear-gradient(135deg, #ffffff 0%, rgba(255, 87, 127, 0.04) 100%);
}
.bento-showcase-grid .bento-item:nth-child(1):hover {
  background: linear-gradient(135deg, #ffffff 0%, rgba(255, 87, 127, 0.09) 100%);
}
.bento-showcase-grid .bento-item:nth-child(2) {
  background: linear-gradient(135deg, #ffffff 0%, rgba(0, 195, 227, 0.04) 100%);
}
.bento-showcase-grid .bento-item:nth-child(2):hover {
  background: linear-gradient(135deg, #ffffff 0%, rgba(0, 195, 227, 0.09) 100%);
}
.bento-showcase-grid .bento-item:nth-child(3) {
  background: linear-gradient(135deg, #ffffff 0%, rgba(255, 159, 67, 0.04) 100%);
}
.bento-showcase-grid .bento-item:nth-child(3):hover {
  background: linear-gradient(135deg, #ffffff 0%, rgba(255, 159, 67, 0.09) 100%);
}
.bento-showcase-grid .bento-item:nth-child(4) {
  background: linear-gradient(135deg, #ffffff 0%, rgba(139, 92, 246, 0.04) 100%);
}
.bento-showcase-grid .bento-item:nth-child(4):hover {
  background: linear-gradient(135deg, #ffffff 0%, rgba(139, 92, 246, 0.09) 100%);
}
.bento-showcase-grid .bento-item:nth-child(5) {
  background: linear-gradient(135deg, #ffffff 0%, rgba(16, 185, 129, 0.04) 100%);
}
.bento-showcase-grid .bento-item:nth-child(5):hover {
  background: linear-gradient(135deg, #ffffff 0%, rgba(16, 185, 129, 0.09) 100%);
}

/* Non-card feature layout */
.feature-redesign-section {
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 1fr);
  gap: 4rem;
  margin: 2.5rem 0 5.25rem;
  padding-top: 0.75rem;
}

.feature-redesign-copy {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.feature-redesign-copy .section-flow-header {
  border-bottom: 3px solid var(--primary);
  padding: 0 0 1.15rem;
}

.feature-redesign-copy .section-flow-header::after {
  display: block;
}

.bento-showcase-grid {
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1.5px solid var(--border-color);
}

.bento-item,
.bento-showcase-grid .bento-item:nth-child(n),
.bento-showcase-grid .bento-item:nth-child(n):hover {
  grid-column: span 1;
  grid-row: span 1;
  min-height: auto;
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid var(--border-color);
  border-radius: 0;
  box-shadow: none;
}

.bento-item {
  padding: 1.45rem 0 1.45rem 4.5rem;
  overflow: visible;
}

.bento-item:hover {
  border-color: var(--border-color);
  box-shadow: none;
  transform: translateX(6px);
}

.bento-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1.45rem;
  right: auto;
  width: 2px;
  height: calc(100% - 2.9rem);
  background: linear-gradient(180deg, var(--primary), var(--accent));
  opacity: 0.45;
  color: transparent;
  font-size: 0;
}

.bento-item:hover::before {
  opacity: 1;
  transform: none;
}

.bento-item .bento-icon {
  top: 1.5rem;
  left: 1.1rem;
  width: 32px;
  height: 32px;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.bento-item:hover .bento-icon {
  color: var(--primary);
  border-color: transparent;
  background: transparent;
}

/* Responsiveness Settings */
@media (max-width: 992px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero-download-bar {
    flex-direction: column;
    margin: -1.5rem auto 3.5rem;
    padding: 1.5rem;
    gap: 1.25rem;
    text-align: center;
    width: 95%;
  }

  .hero-download-bar div {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
    align-items: center;
  }

  .hero-download-bar .btn {
    width: 100%;
    justify-content: center;
  }

  .flow-feature-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 1rem 0 3rem;
  }

  .showcase-row {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3.5rem 0;
  }

  .download-banner-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .download-banner-right {
    min-height: auto;
    border-left: 0;
    border-top: 1.5px dashed rgba(0, 195, 227, 0.32);
    padding: 2rem 0 0;
  }

  .subpage-grid {
    grid-template-columns: 1fr;
  }

  .subpage-right {
    position: static;
  }

  .manga-modern-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .faq-layout-split {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .faq-nav-sticky {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .portal-news-section {
    grid-template-columns: 1fr;
  }
  
  .portal-news-board {
    height: 320px;
  }
  
  .char-showcase-wrap {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .char-display-panel {
    min-height: auto;
  }
  
  .feature-redesign-section {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin: 2rem 0 3.5rem;
  }

  .feature-redesign-copy {
    position: relative;
    top: auto;
  }

  .bento-showcase-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 0;
  }
  
  .bento-item.double-width {
    grid-column: span 1;
  }
  
  .bento-item.double-height {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 170px;
  }

  .bento-showcase-grid .bento-item:nth-child(3),
  .bento-showcase-grid .bento-item:nth-child(4) {
    grid-column: span 1;
  }

  .bento-showcase-grid .bento-item:nth-child(5) {
    grid-column: span 1;
  }
  
  .bento-item {
    height: auto;
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-bottom: 2px solid var(--border-color);
    box-shadow: 0 10px 25px rgba(255, 87, 127, 0.08);
    gap: 1rem;
    z-index: 99;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .manga-modern-grid {
    grid-template-columns: 1fr;
  }
  
  .section-title {
    font-size: 1.75rem;
  }

  .portal-news-board {
    padding: 1.25rem;
  }

  .portal-slider-overlay {
    padding: 3.75rem 1.2rem 1.05rem;
    background: linear-gradient(to top, rgba(44, 62, 80, 0.88) 0%, rgba(44, 62, 80, 0.48) 54%, rgba(44, 62, 80, 0) 100%);
  }

  .portal-slider-overlay .news-tag-bullet {
    margin-bottom: 0.25rem !important;
  }

  .portal-slider-title {
    font-size: clamp(1rem, 5.2vw, 1.35rem);
    line-height: 1.25;
    margin-bottom: 0;
  }

  .portal-slider-overlay p {
    display: none;
  }

  .portal-news-item {
    align-items: flex-start;
    gap: 0.75rem;
  }

  .portal-news-link {
    white-space: normal;
    line-height: 1.45;
    margin-right: 0;
  }

  .download-banner-section {
    padding: 3rem 0;
  }

  .download-banner-grid {
    padding: 0;
  }

  .download-banner-left {
    padding: 0;
  }

  .download-banner-left h2 {
    font-size: 1.75rem;
  }

  .download-banner-actions,
  .download-banner-left .btn {
    width: 100%;
  }

  .download-banner-actions .btn {
    width: 100%;
  }

  .download-banner-meta {
    gap: 0.6rem;
  }

  .banner-meta-pill {
    width: 100%;
    border-left-color: rgba(255, 87, 127, 0.28);
  }

  .bento-showcase-grid {
    grid-template-columns: 1fr;
    margin: 1.5rem 0 3rem;
  }

  .feature-redesign-copy {
    padding: 0;
  }

  .bento-item {
    padding: 1.35rem 0 1.35rem 3.5rem;
    min-height: auto;
  }

  .bento-item .bento-icon {
    left: 0.8rem;
  }

  .bento-item.double-width,
  .bento-item.double-height,
  .bento-showcase-grid .bento-item:nth-child(3),
  .bento-showcase-grid .bento-item:nth-child(4),
  .bento-showcase-grid .bento-item:nth-child(5) {
    grid-column: span 1;
  }

  .bento-item.double-height {
    min-height: auto;
  }
}

@media (max-width: 576px) {
  .creator-profile-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

/* Download page redesign */
.download-page {
  overflow-x: hidden;
}

.download-hero {
  padding: 4rem 0 3rem;
  border-bottom: 1.5px solid var(--border-color);
  background: linear-gradient(100deg, rgba(255, 87, 127, 0.06), rgba(255, 255, 255, 0.66) 50%, rgba(0, 195, 227, 0.08));
}

.download-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 3.5rem;
  align-items: center;
}

.download-hero-copy h1 {
  color: var(--text-main);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.15;
  margin: 0.85rem 0 1.2rem;
  max-width: 760px;
}

.download-hero-copy p {
  color: var(--text-muted);
  font-size: 1.04rem;
  line-height: 1.85;
  max-width: 760px;
  margin-bottom: 1.75rem;
}

.download-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.download-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.download-trust-strip span {
  color: var(--text-muted);
  font-family: var(--font-title);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(255, 87, 127, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.54);
}

.download-hero-panel {
  padding: 2rem;
  border: 1.5px solid var(--border-color);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 45px rgba(255, 87, 127, 0.08);
}

.download-page-logo {
  width: 74px;
  height: 74px;
  border-radius: 24px;
  object-fit: cover;
  border: 1.5px solid rgba(255, 87, 127, 0.28);
  margin-bottom: 1rem;
}

.download-hero-panel h2 {
  color: var(--text-main);
  font-size: 1.25rem;
  margin-bottom: 1.2rem;
}

.download-spec-list {
  display: grid;
  gap: 0.85rem;
}

.download-spec-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px dashed rgba(255, 87, 127, 0.18);
}

.download-spec-list dt {
  color: var(--text-light);
  font-size: 0.82rem;
  font-weight: 750;
}

.download-spec-list dd {
  color: var(--text-main);
  font-size: 0.86rem;
  font-weight: 850;
  text-align: right;
}

.download-section {
  margin: 4.5rem auto;
}

.download-section-head {
  max-width: 780px;
  margin-bottom: 2rem;
}

.download-section-head h2 {
  color: var(--text-main);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.25;
  margin: 0.7rem 0 0.9rem;
}

.download-section-head p {
  color: var(--text-muted);
  line-height: 1.8;
}

.download-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.download-benefit-item {
  padding: 1.4rem 1.35rem;
  border-left: 2px solid rgba(255, 87, 127, 0.42);
  background: rgba(255, 255, 255, 0.48);
}

.download-benefit-item h3,
.download-steps h3 {
  color: var(--text-main);
  font-size: 1.02rem;
  margin-bottom: 0.65rem;
}

.download-benefit-item p,
.download-steps p,
.download-copy-block p {
  color: var(--text-muted);
  line-height: 1.78;
  font-size: 0.94rem;
}

.download-steps {
  display: grid;
  gap: 1rem;
  counter-reset: step;
  list-style: none;
}

.download-steps li {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 1.35rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-color);
}

.download-steps li:last-child {
  border-bottom: 1px solid var(--border-color);
}

.download-steps span {
  color: var(--accent);
  font-family: var(--font-title);
  font-size: 1.2rem;
  font-weight: 900;
}

.download-copy-block {
  display: grid;
  gap: 1.15rem;
  max-width: 920px;
  padding: 2rem 0;
  border-top: 1.5px solid var(--border-color);
  border-bottom: 1.5px solid var(--border-color);
}

.download-faq-list {
  max-width: 920px;
}

@media (max-width: 992px) {
  .download-hero-grid,
  .download-benefit-grid {
    grid-template-columns: 1fr;
  }

  .download-hero {
    padding: 3rem 0 2.5rem;
  }
}

@media (max-width: 768px) {
  .download-hero-actions,
  .download-hero-actions .btn {
    width: 100%;
  }

  .download-trust-strip {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .download-trust-strip span {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0.35rem 0.5rem;
    text-align: center;
    white-space: normal;
  }

  .download-steps li {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .download-hero-panel,
  .download-benefit-item {
    padding: 1.25rem;
  }
}

/* FAQ page redesign */
.faq-page {
  overflow-x: hidden;
}

.faq-hero {
  padding: 4rem 0 3rem;
  border-bottom: 1.5px solid var(--border-color);
  background: linear-gradient(100deg, rgba(0, 195, 227, 0.07), rgba(255, 255, 255, 0.68) 48%, rgba(255, 87, 127, 0.055));
}

.faq-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 350px);
  gap: 3.5rem;
  align-items: center;
}

.faq-hero-copy h1 {
  color: var(--text-main);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.15;
  margin: 0.85rem 0 1.2rem;
  max-width: 780px;
}

.faq-hero-copy p {
  color: var(--text-muted);
  font-size: 1.04rem;
  line-height: 1.85;
  max-width: 800px;
  margin-bottom: 1.75rem;
}

.faq-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.faq-hero-panel {
  padding: 0 0 0 2rem;
  border-left: 2px solid rgba(255, 87, 127, 0.24);
  background: transparent;
  box-shadow: none;
}

.faq-panel-kicker {
  color: var(--primary);
  font-family: var(--font-title);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.faq-panel-score {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding-bottom: 1.15rem;
  margin-bottom: 1.15rem;
  border-bottom: 1px solid rgba(255, 87, 127, 0.18);
}

.faq-panel-score strong {
  color: var(--text-main);
  font-family: var(--font-title);
  font-size: clamp(2.6rem, 5vw, 4rem);
  line-height: 0.9;
  font-weight: 900;
}

.faq-panel-score span {
  color: var(--text-muted);
  font-weight: 850;
}

.faq-panel-intro {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.75;
  margin-bottom: 1.35rem;
}

.faq-panel-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.faq-panel-links a {
  color: var(--text-main);
  font-family: var(--font-title);
  font-size: 0.86rem;
  font-weight: 850;
  padding: 0.72rem 0.8rem;
  border: 1px solid rgba(0, 195, 227, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.52);
  text-align: center;
  transition: var(--transition);
}

.faq-panel-links a:hover {
  color: var(--primary);
  border-color: rgba(255, 87, 127, 0.32);
}

.faq-page-section {
  margin: 4.5rem auto;
  scroll-margin-top: 100px;
}

.faq-wide-list {
  max-width: 960px;
}

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

  .faq-hero {
    padding: 3rem 0 2.5rem;
  }
}

@media (max-width: 768px) {
  .faq-hero-actions,
  .faq-hero-actions .btn {
    width: 100%;
  }

  .faq-hero-panel {
    padding: 1.25rem 0 0;
    border-left: 0;
    border-top: 1.5px solid rgba(255, 87, 127, 0.22);
  }
}

/* Versions page redesign */
.versions-page {
  overflow-x: hidden;
}

.versions-hero {
  padding: 4rem 0 3rem;
  border-bottom: 1.5px solid var(--border-color);
  background: linear-gradient(100deg, rgba(255, 87, 127, 0.055), rgba(255, 255, 255, 0.68) 50%, rgba(0, 195, 227, 0.08));
}

.versions-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 3.5rem;
  align-items: center;
}

.versions-hero-copy h1 {
  color: var(--text-main);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.15;
  margin: 0.85rem 0 1.2rem;
  max-width: 780px;
}

.versions-hero-copy p {
  color: var(--text-muted);
  font-size: 1.04rem;
  line-height: 1.85;
  max-width: 800px;
  margin-bottom: 1.75rem;
}

.versions-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.versions-hero-panel {
  padding: 0 0 0 2rem;
  border-left: 2px solid rgba(0, 195, 227, 0.3);
}

.versions-panel-kicker {
  color: var(--primary);
  font-family: var(--font-title);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.9rem;
}

.versions-current-version {
  color: var(--text-main);
  font-family: var(--font-title);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  line-height: 1;
  font-weight: 900;
  margin-bottom: 1rem;
}

.versions-hero-panel p {
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 0.92rem;
  margin-bottom: 1.2rem;
}

.versions-hero-panel dl {
  display: grid;
  gap: 0.75rem;
}

.versions-hero-panel dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px dashed rgba(255, 87, 127, 0.18);
}

.versions-hero-panel dt {
  color: var(--text-light);
  font-size: 0.82rem;
  font-weight: 750;
}

.versions-hero-panel dd {
  color: var(--text-main);
  font-size: 0.86rem;
  font-weight: 850;
  text-align: right;
}

.versions-section {
  margin: 4.5rem auto;
}

.versions-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.versions-guide-grid article {
  padding: 1.4rem 1.35rem;
  border-left: 2px solid rgba(0, 195, 227, 0.42);
  background: rgba(255, 255, 255, 0.48);
}

.versions-guide-grid h3 {
  color: var(--text-main);
  font-size: 1.02rem;
  margin-bottom: 0.65rem;
}

.versions-guide-grid p,
.version-release-body li,
.versions-copy-block p {
  color: var(--text-muted);
  line-height: 1.78;
  font-size: 0.94rem;
}

.versions-timeline {
  display: grid;
  gap: 1.25rem;
  max-width: 980px;
}

.version-release {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 1.75rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-color);
}

.version-release:last-child {
  border-bottom: 1px solid var(--border-color);
}

.version-release-meta {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.version-release-meta strong {
  color: var(--accent);
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 900;
}

.version-release-meta span {
  color: var(--text-light);
  font-size: 0.82rem;
  font-weight: 750;
}

.version-release-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.version-release-title h3 {
  color: var(--text-main);
  font-size: 1.12rem;
}

.version-release-title span {
  color: var(--primary);
  font-family: var(--font-title);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid rgba(255, 87, 127, 0.24);
  border-radius: 999px;
  padding: 0.25rem 0.55rem;
}

.version-release-body ul {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1rem;
  list-style: none;
  padding-left: 0;
}

.version-release-body li {
  padding-left: 1rem;
  position: relative;
}

.version-release-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.version-release.current {
  border-top-color: rgba(255, 87, 127, 0.34);
}

.versions-copy-block {
  display: grid;
  gap: 1.15rem;
  max-width: 920px;
  padding: 2rem 0;
  border-top: 1.5px solid var(--border-color);
  border-bottom: 1.5px solid var(--border-color);
}

.versions-faq-list {
  max-width: 920px;
}

@media (max-width: 992px) {
  .versions-hero-grid,
  .versions-guide-grid {
    grid-template-columns: 1fr;
  }

  .versions-hero {
    padding: 3rem 0 2.5rem;
  }
}

@media (max-width: 768px) {
  .versions-hero-actions,
  .versions-hero-actions .btn {
    width: 100%;
  }

  .versions-hero-panel {
    padding: 1.25rem 0 0;
    border-left: 0;
    border-top: 1.5px solid rgba(0, 195, 227, 0.24);
  }

  .version-release {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .version-release-title {
    align-items: flex-start;
    flex-direction: column;
  }
}
