/* roulang page: index */
:root {
      --primary-color: #00E599;
      --secondary-color: #0EA5E9;
      --bg-dark: #0A0F1D;
      --bg-surface: #0F172A;
      --bg-card: #131D35;
      --text-main: #FFFFFF;
      --text-muted: #94A3B8;
      --border-subtle: rgba(255, 255, 255, 0.08);
      --radius-sm: 8px;
      --radius-md: 12px;
      --radius-lg: 16px;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      background-color: var(--bg-dark);
      color: var(--text-main);
      font-family: system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
      line-height: 1.6;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }

    /* 网格与装饰底纹 */
    .tech-grid-bg {
      background-image: linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
                        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
      background-size: 36px 36px;
    }

    .glow-border {
      position: relative;
    }
    .glow-border::after {
      content: '';
      position: absolute;
      inset: -1px;
      background: linear-gradient(90deg, rgba(0, 229, 153, 0.3), rgba(14, 165, 233, 0.3));
      border-radius: inherit;
      z-index: -1;
      opacity: 0;
      transition: opacity 0.3s ease;
    }
    .glow-border:hover::after {
      opacity: 1;
    }

    /* 按钮悬浮微发光 */
    .btn-glow {
      transition: all 0.25s ease;
    }
    .btn-glow:hover {
      box-shadow: 0 0 25px rgba(0, 229, 153, 0.45);
      transform: translateY(-2px);
    }

    .btn-glow-blue:hover {
      box-shadow: 0 0 25px rgba(14, 165, 233, 0.45);
      transform: translateY(-2px);
    }

    /* 卡片上浮 */
    .metric-card {
      background: rgba(19, 29, 53, 0.7);
      backdrop-filter: blur(8px);
      border: 1px solid var(--border-subtle);
      transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
    }
    .metric-card:hover {
      transform: translateY(-4px);
      border-color: rgba(0, 229, 153, 0.4);
    }

    /* 倒计时环 SVG 动画 */
    .countdown-circle {
      stroke-dasharray: 283;
      stroke-dashoffset: 65;
      transform: rotate(-90deg);
      transform-origin: 50% 50%;
      transition: stroke-dashoffset 1s linear;
    }

    /* 优惠券齿孔边缘效果 */
    .coupon-edge {
      position: relative;
      background: #111A2E;
      border: 1px dashed rgba(0, 229, 153, 0.35);
    }
    .coupon-notch-left, .coupon-notch-right {
      position: absolute;
      top: 50%;
      width: 16px;
      height: 16px;
      background: var(--bg-dark);
      border-radius: 50%;
      transform: translateY(-50%);
    }
    .coupon-notch-left { left: -8px; }
    .coupon-notch-right { right: -8px; }

    /* 手风琴折叠动画 */
    details summary::-webkit-details-marker {
      display: none;
    }

    /* 滚动条美化 */
    ::-webkit-scrollbar {
      width: 8px;
    }
    ::-webkit-scrollbar-track {
      background: #0A0F1D;
    }
    ::-webkit-scrollbar-thumb {
      background: #1E293B;
      border-radius: 4px;
    }
    ::-webkit-scrollbar-thumb:hover {
      background: #00E599;
    }
