.rokr-stats-section {
  --spacing-margin-top: 0rem;
  --spacing-margin-bottom: 0rem;
  --spacing-padding-top: 3rem;
  --spacing-padding-bottom: 3rem;
  
  margin-top: var(--spacing-margin-top);
  margin-bottom: var(--spacing-margin-bottom);
  padding-top: var(--spacing-padding-top);
  padding-bottom: var(--spacing-padding-bottom);
  
  background-color: #141414;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

/* 内部容器 - 居中对齐 */
.rokr-stats-container {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0px;
  box-sizing: border-box;
}

/* ============================================
   统计数据网格 - Stats Grid Layout
   ============================================ */
.rokr-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  justify-items: center;
}

/* ============================================
   单个统计项 - Stat Item
   ============================================ */
.rokr-stat-item {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(12px, 1.5vw, 20px);
}

/* 数字容器 */
.rokr-stat-number-wrapper {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  justify-content: center;
}

/* 主数字样式 - 大号白色字体 */
.rokr-stat-number {
    
  line-height: 1.2;
  letter-spacing: -0.02em;
  display: inline-block;
  transition: opacity 0.3s ease;
 
  font-family: Inter-Bold, Inter;
  font-weight: bold;
  font-size: 96px;
  color: #FFFFFF; 
  text-align: center;
  font-style: normal;
  text-transform: none;
}

/* 数字后缀 (K, M, + 等) */
.rokr-stat-suffix {
  
  line-height: 1.2;
  letter-spacing: -0.02em;

  font-family: Inter-Bold, Inter;
  font-weight: bold;
  font-size: 96px;
  color: #FFFFFF; 
  text-align: center;
  font-style: normal;
  text-transform: none;
}

/* 统计标签 - 灰色小字 */
.rokr-stat-label {
  
  line-height: 1.5;
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
 
  font-family: Inter-Medium, Inter-Medium;
  font-weight: 500;
  font-size: 20px;
  color: #7F7F7F;
  text-align: center;
  font-style: normal;
  text-transform: none;
}

/* ============================================
   动画效果 - Animation Effects
   ============================================ */

/* 初始状态 - 数字淡入 */
.rokr-stat-item {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
}

/* 交错动画延迟 */
.rokr-stat-item:nth-child(1) {
  animation-delay: 0.1s;
}

.rokr-stat-item:nth-child(2) {
  animation-delay: 0.2s;
}

.rokr-stat-item:nth-child(3) {
  animation-delay: 0.3s;
}

.rokr-stat-item:nth-child(4) {
  animation-delay: 0.4s;
}

.rokr-stat-item:nth-child(5) {
  animation-delay: 0.5s;
}

.rokr-stat-item:nth-child(6) {
  animation-delay: 0.6s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 数字更新时的微动画 */
.rokr-stat-number.updating {
  transition: transform 0.15s ease;
}

/* ============================================
   响应式断点优化 - Responsive Breakpoints
   ============================================ */

/* 大屏平板 (1024px - 1280px) */
@media (min-width: 769px) and (max-width: 1280px) {
  .rokr-stats-section {
    --spacing-margin-top: 0rem;
    --spacing-margin-bottom: 0rem;
    --spacing-padding-top: 3rem;
    --spacing-padding-bottom: 3rem;
  }
  
  .rokr-stats-container {
    padding: 0 32px;
  }
  
  .rokr-stats-grid {
    gap: clamp(32px, 5vw, 60px);
  }
  
  .rokr-stat-number {
    font-size: clamp(2.5rem, 7vw, 4rem);
  }
  
  .rokr-stat-suffix {
    font-size: clamp(1.875rem, 5.25vw, 3rem);
  }
}

/* 平板竖屏 (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) and (orientation: portrait) {
  .rokr-stats-section {
    --spacing-margin-top: 0rem;
    --spacing-margin-bottom: 0rem;
    --spacing-padding-top: 3rem;
    --spacing-padding-bottom: 3rem;
  }

  .rokr-stats-container {
    padding: 0 28px;
  }

  .rokr-stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(28px, 4vw, 48px);
  }

  .rokr-stat-number {
    font-size: clamp(2.25rem, 6vw, 3.5rem);
  }

  .rokr-stat-suffix {
    font-size: clamp(1.6875rem, 4.5vw, 2.625rem);
  }

  .rokr-stat-label {
    font-size: 0.9375rem;
    max-width: 160px;
  }
}

/* 手机横屏 (<768px) */
@media (max-width: 768px) and (orientation: landscape) {
  .rokr-stats-section {
    --spacing-margin-top: 0rem;
    --spacing-margin-bottom: 0rem;
    --spacing-padding-top: 2.5rem;
    --spacing-padding-bottom: 2.5rem;
  }

  .rokr-stats-container {
    padding: 0 24px;
  }

  .rokr-stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(24px, 3vw, 40px);
  }

  .rokr-stat-number {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .rokr-stat-suffix {
    font-size: clamp(1.5rem, 3.75vw, 2.25rem);
  }

  .rokr-stat-label {
    font-size: 0.875rem;
    max-width: 140px;
  }

  .rokr-stat-item {
    gap: 10px;
  }
}


@media (max-width: 768px) and (orientation: portrait) {
  .rokr-stats-section {
    --spacing-margin-top: 0rem;
    --spacing-margin-bottom: 0rem;
    --spacing-padding-top: 3rem;
    --spacing-padding-bottom: 3rem;
  }

  .rokr-stats-container {
    padding: 0 20px;
  }

  .rokr-stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .rokr-stat-number-wrapper{
    font-size: 30px;
  }

  .rokr-stat-number {
    font-size: 30px;
    
    white-space: nowrap;
  }

  .rokr-stat-suffix {
    font-size: clamp(1.875rem, 7.5vw, 3rem);
  }

  .rokr-stat-label {
    font-size: 0.9375rem;
    max-width: 220px;
  }

  .rokr-stat-item {
    gap: 14px;
  }
}

/* 超小屏手机 (<480px) */
@media (max-width: 480px) {
  .rokr-stats-section {
    --spacing-margin-top: 0rem;
    --spacing-margin-bottom: 0rem;
    --spacing-padding-top: 2.5rem;
    --spacing-padding-bottom: 2.5rem;
  }

  .rokr-stats-container {
    padding: 0 16px;
  }

  .rokr-stats-grid {
    gap: 10px;
  }

  .rokr-stat-number {
    font-size: 30px;
    white-space: nowrap;
  }

  .rokr-stat-suffix {
    /* font-size: 2.25rem; */
    font-size: 30px;
  }

  .rokr-stat-label {
    font-size: 0.875rem;
  }
}

 

/* ============================================
   高分辨率屏幕优化 - Retina Displays
   ============================================ */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .rokr-stat-number,
  .rokr-stat-suffix {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* ============================================
   性能优化 - Reduced Motion
   ============================================ */

/* 尊重用户的减少动画偏好 */
@media (prefers-reduced-motion: reduce) {
  .rokr-stat-item {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .rokr-stat-number {
    transition: none;
  }
}

/* ============================================
   打印样式 - Print Styles
   ============================================ */
@media print {
  .rokr-stats-section {
    background-color: white !important;
    color: black !important;
    padding: 30px 0;
    break-inside: avoid;
  }

  .rokr-stat-number,
  .rokr-stat-suffix {
    color: black !important;
  }

  .rokr-stat-label {
    color: rgba(0, 0, 0, 0.7) !important;
  }
}

/* ============================================
   可访问性优化 - Accessibility
   ============================================ */

/* 键盘焦点可见性 */
.rokr-stat-item:focus-within {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 4px;
  border-radius: 4px;
}

/* 高对比度模式 */
@media (prefers-contrast: high) {
  .rokr-stat-number,
  .rokr-stat-suffix {
    opacity: 1;
    font-weight: 500;
  }

  .rokr-stat-label {
    color: rgba(255, 255, 255, 0.9);
  }
}

/* ============================================
   浅色主题适配 - Light Color Scheme
   ============================================ */
.color-scheme-2 .rokr-stats-section,
.color-scheme-3 .rokr-stats-section,
.color-scheme-4 .rokr-stats-section,
.color-scheme-5 .rokr-stats-section {
  background-color: #f5f5f5;
  color: #141414;
}

.color-scheme-2 .rokr-stat-number,
.color-scheme-3 .rokr-stat-number,
.color-scheme-4 .rokr-stat-number,
.color-scheme-5 .rokr-stat-number {
  color: #141414;
}

.color-scheme-2 .rokr-stat-suffix,
.color-scheme-3 .rokr-stat-suffix,
.color-scheme-4 .rokr-stat-suffix,
.color-scheme-5 .rokr-stat-suffix {
  color: #141414;
}

.color-scheme-2 .rokr-stat-label,
.color-scheme-3 .rokr-stat-label,
.color-scheme-4 .rokr-stat-label,
.color-scheme-5 .rokr-stat-label {
  color: rgba(0, 0, 0, 0.6);
}