/* ============================================================
   吃瓜网网红达人数据库与商业价值评估 - 全局样式表
   版本: 1.0.0
   色彩方案: 潮流紫+白
   布局: 数据库检索式布局 (Mobile First)
   命名规范: BEM (Block Element Modifier)
   ============================================================ */

/* === CSS Variables (色彩方案) === */
:root {
  --primary: #7C4DFF;
  --secondary: #651FFF;
  --bg: #FFFFFF;
  --card-bg: #EDE7F6;
  --accent: #B388FF;
  --text: #1A1A1A;
  --text-light: #757575;
  --success: #00C853;
  --danger: #FF1744;
  --border-color: #E0E0E0;
  --shadow-sm: 0 2px 8px rgba(124, 77, 255, 0.08);
  --shadow-md: 0 4px 16px rgba(124, 77, 255, 0.12);
  --shadow-lg: 0 8px 24px rgba(124, 77, 255, 0.15);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --font-sans: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
  --font-mono: 'Roboto Mono', 'DIN Alternate', 'Fira Code', monospace;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1400px;
}

/* === Reset & Base === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

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

ul, ol {
  list-style: none;
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

.text-mono {
  font-family: var(--font-mono);
}

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

/* === Layout === */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container { padding: 0 2rem; }
}

.section {
  padding: 3rem 0;
}

@media (min-width: 768px) {
  .section { padding: 5rem 0; }
}

/* === Header (顶部导航栏) === */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--primary);
}

.header__logo img {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
}

.header__search {
  display: none;
  flex: 1;
  max-width: 480px;
  margin: 0 2rem;
  position: relative;
}

@media (min-width: 768px) {
  .header__search { display: flex; }
}

.header__search input {
  width: 100%;
  height: 40px;
  padding: 0 40px 0 16px;
  border: 2px solid var(--border-color);
  border-radius: 20px;
  font-size: 0.875rem;
  outline: none;
  transition: var(--transition);
}

.header__search input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(124, 77, 255, 0.1);
}

.header__search-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
}

.header__nav {
  display: none;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .header__nav { display: flex; }
}

.header__nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
}

.header__nav a:hover,
.header__nav a.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

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

.header__mobile-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--text);
}

@media (min-width: 1024px) {
  .header__mobile-toggle { display: none; }
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn--primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 4px 12px rgba(124, 77, 255, 0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 77, 255, 0.4);
  color: #fff;
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn--outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn--sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
}

.btn--lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
}

/* === Hero Section === */
.hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1rem;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 0, 51, 0.7) 0%, rgba(101, 31, 255, 0.5) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero__title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

@media (min-width: 768px) {
  .hero__title { font-size: 2.75rem; }
}

.hero__subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .hero__subtitle { font-size: 1.2rem; }
}

.hero__search {
  position: relative;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero__search input {
  width: 100%;
  height: 56px;
  padding: 0 60px 0 24px;
  border: none;
  border-radius: 28px;
  font-size: 1rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  outline: none;
}

.hero__search input:focus {
  box-shadow: 0 8px 32px rgba(124, 77, 255, 0.4);
}

.hero__search button {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
}

.hero__search button:hover {
  transform: translateY(-50%) scale(1.05);
}

.hero__stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero__stat {
  text-align: center;
}

.hero__stat-number {
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
}

.hero__stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.25rem;
}

/* === Data Cards Grid === */
.data-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 576px) {
  .data-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 992px) {
  .data-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1200px) {
  .data-grid { grid-template-columns: repeat(4, 1fr); }
}

/* === Influencer Data Card (达人数据卡片) === */
.influencer-card {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  transition: var(--transition);
  position: relative;
  border: 1px solid transparent;
}

.influencer-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.influencer-card__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.influencer-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent);
  position: relative;
}

.influencer-card__platform-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  color: #fff;
}

.influencer-card__info {
  flex: 1;
}

.influencer-card__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.125rem;
}

.influencer-card__title {
  font-size: 0.75rem;
  color: var(--text-light);
}

.influencer-card__actions {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.5rem;
}

.influencer-card__action-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.75rem;
  color: var(--text-light);
  transition: var(--transition);
}

.influencer-card__action-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.influencer-card__metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.influencer-card__metric {
  text-align: center;
  padding: 0.5rem;
  background: #fff;
  border-radius: var(--radius-sm);
}

.influencer-card__metric-value {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
}

.influencer-card__metric-label {
  font-size: 0.7rem;
  color: var(--text-light);
  margin-top: 0.125rem;
}

.influencer-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-bottom: 1rem;
}

.influencer-card__tag {
  padding: 0.2rem 0.5rem;
  font-size: 0.7rem;
  border-radius: 3px;
  background: rgba(124, 77, 255, 0.1);
  color: var(--primary);
  font-weight: 500;
}

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

.influencer-card__score-ring {
  width: 44px;
  height: 44px;
  position: relative;
}

.influencer-card__score-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.influencer-card__score-ring circle {
  fill: none;
  stroke-width: 4;
}

.influencer-card__score-ring .bg {
  stroke: var(--border-color);
}

.influencer-card__score-ring .progress {
  stroke: var(--primary);
  stroke-linecap: round;
  transition: stroke-dashoffset 1s ease;
}

.influencer-card__score-value {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
}

.influencer-card__score-text {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* === Filter Panel (筛选面板) === */
.filter-panel {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.filter-panel__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-panel__group {
  margin-bottom: 1rem;
}

.filter-panel__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  display: block;
}

.filter-panel__options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-panel__option {
  padding: 0.375rem 0.75rem;
  font-size: 0.8rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  transition: var(--transition);
}

.filter-panel__option:hover,
.filter-panel__option.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* === Trending Section (热度飙升榜) === */
.trending {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

.trending__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.trending__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: #fff;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.trending__item:hover {
  box-shadow: var(--shadow-sm);
}

.trending__rank {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  width: 32px;
  text-align: center;
}

.trending__rank--top {
  color: var(--danger);
}

.trending__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.trending__info {
  flex: 1;
}

.trending__name {
  font-size: 0.9rem;
  font-weight: 600;
}

.trending__category {
  font-size: 0.75rem;
  color: var(--text-light);
}

.trending__growth {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--success);
}

/* === Section Headers === */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.section-header__title {
  font-size: 1.5rem;
  font-weight: 700;
  position: relative;
  padding-left: 1rem;
}

.section-header__title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 24px;
  background: linear-gradient(180deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

.section-header__more {
  font-size: 0.875rem;
  color: var(--text-light);
}

.section-header__more:hover {
  color: var(--primary);
}

/* === Quick Filter Icons === */
.quick-filters {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .quick-filters { grid-template-columns: repeat(4, 1fr); }
}

.quick-filter__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 1rem;
  background: var(--card-bg);
  border-radius: var(--radius-md);
  transition: var(--transition);
  text-align: center;
  cursor: pointer;
}

.quick-filter__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.quick-filter__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
}

.quick-filter__label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

.quick-filter__desc {
  font-size: 0.75rem;
  color: var(--text-light);
}

/* === Timeline (时间线) === */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--primary), var(--accent));
}

.timeline__item {
  position: relative;
  padding-bottom: 2rem;
}

.timeline__dot {
  position: absolute;
  left: -2rem;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px var(--primary);
}

.timeline__date {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  font-family: var(--font-mono);
}

.timeline__content {
  background: var(--card-bg);
  border-radius: var(--radius-sm);
  padding: 1rem;
}

.timeline__title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.timeline__desc {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

.timeline__impact {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.timeline__impact-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-family: var(--font-mono);
}

/* === Partners/Trust Section === */
.partners {
  text-align: center;
}

.partners__logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
  opacity: 0.6;
  transition: var(--transition);
}

.partners__logos:hover {
  opacity: 1;
}

.partners__logo {
  height: 32px;
  filter: grayscale(100%);
  transition: var(--transition);
}

.partners__logo:hover {
  filter: grayscale(0%);
}

/* === Testimonials === */
.testimonial {
  background: var(--card-bg);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.testimonial__text {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-style: italic;
}

.testimonial__author {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 600;
}

/* === Footer === */
.footer {
  background: #1A1A2E;
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 2rem;
}

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

@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

.footer__brand {
  max-width: 360px;
}

.footer__brand-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer__brand-desc {
  font-size: 0.85rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
}

.footer__col-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__links a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

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

.footer__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__tag {
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 3px;
  color: rgba(255, 255, 255, 0.5);
  transition: var(--transition);
}

.footer__tag:hover {
  background: rgba(124, 77, 255, 0.3);
  color: var(--accent);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer__seo-text {
  max-width: 900px;
  margin: 0 auto 2rem;
  font-size: 0.8rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.4);
  text-align: justify;
}

/* === Breadcrumb === */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0;
  font-size: 0.8rem;
  color: var(--text-light);
}

.breadcrumb a {
  color: var(--text-light);
}

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

.breadcrumb__separator {
  color: var(--border-color);
}

/* === Pagination === */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.pagination__btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: #fff;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.pagination__btn:hover,
.pagination__btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* === Skeleton Loading === */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.skeleton--avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
}

.skeleton--text {
  height: 14px;
  margin-bottom: 0.5rem;
}

.skeleton--text-short {
  width: 60%;
}

/* === Utility Classes === */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.hidden { display: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* === Mobile Navigation Overlay === */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.5);
  display: none;
}

.mobile-nav.active {
  display: block;
}

.mobile-nav__panel {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 280px;
  background: #fff;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}

.mobile-nav__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-nav__links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.mobile-nav__links a {
  font-size: 1rem;
  color: var(--text);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

/* === Feature Cards === */
.feature-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  background: var(--card-bg);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

@media (min-width: 768px) {
  .feature-card { flex-direction: row; align-items: center; }
}

.feature-card:hover {
  box-shadow: var(--shadow-md);
}

.feature-card__image {
  width: 100%;
  max-width: 280px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.feature-card__content {
  flex: 1;
}

.feature-card__tag {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  font-size: 0.7rem;
  background: rgba(124, 77, 255, 0.1);
  color: var(--primary);
  border-radius: 3px;
  margin-bottom: 0.5rem;
}

.feature-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.feature-card__desc {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* === Ranking Table === */
.ranking-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.ranking-table th {
  padding: 0.75rem;
  text-align: left;
  font-weight: 600;
  color: var(--text-light);
  border-bottom: 2px solid var(--border-color);
  font-size: 0.8rem;
}

.ranking-table td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}

.ranking-table tr:hover td {
  background: var(--card-bg);
}

/* === Tags Cloud === */
.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tags-cloud__item {
  padding: 0.375rem 0.75rem;
  font-size: 0.8rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-light);
  transition: var(--transition);
}

.tags-cloud__item:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(124, 77, 255, 0.05);
}

/* === Detail Page Specific === */
.detail-hero {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  padding: 3rem 0;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.detail-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .detail-hero__inner {
    flex-direction: row;
    text-align: left;
  }
}

.detail-hero__avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.3);
  object-fit: cover;
}

.detail-hero__metrics {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

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

.detail-hero__metric-value {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
}

.detail-hero__metric-label {
  font-size: 0.75rem;
  opacity: 0.8;
}

/* === Tab Navigation === */
.tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 2rem;
  overflow-x: auto;
}

.tabs__item {
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.tabs__item:hover,
.tabs__item.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* === Animations === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes countUp {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease forwards;
}

/* === Print Styles === */
@media print {
  .header, .footer, .mobile-nav { display: none; }
  body { color: #000; background: #fff; }
}
