/* roulang page: index */
:root {
      --primary-color: #6C3CE9;
      --primary-hover: #582bd4;
      --accent-cyan: #00E5A3;
      --accent-orange: #FF7D3B;
      --bg-dark: #0E1017;
      --bg-surface: #141824;
      --bg-card: #1B2032;
      --bg-card-hover: #222940;
      --text-main: #F4F6FB;
      --text-muted: #96A1BA;
      --border-color: rgba(255, 255, 255, 0.08);
      --border-focus: rgba(108, 60, 233, 0.5);
      --radius-sm: 8px;
      --radius-md: 16px;
      --radius-pill: 50px;
      --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
      --shadow-lg: 0 12px 36px rgba(0, 0, 0, 0.45);
      --glow-purple: 0 0 24px rgba(108, 60, 233, 0.35);
      --glow-cyan: 0 0 20px rgba(0, 229, 163, 0.3);
    }

    * {
      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.75;
      font-size: 15px;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }

    p {
      margin-bottom: 1.25rem;
    }

    a {
      text-decoration: none;
      color: inherit;
      transition: all 0.25s ease;
    }

    a:hover {
      color: var(--accent-cyan);
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    /* 顶部滚动条 */
    .top-notification-bar {
      background: #090B10;
      border-bottom: 1px solid var(--border-color);
      font-size: 12px;
      padding: 6px 0;
      color: var(--text-muted);
    }
    .top-notification-bar span {
      margin-right: 20px;
      display: inline-flex;
      align-items: center;
      gap: 6px;
    }
    .top-notification-bar .live-dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--accent-cyan);
      box-shadow: 0 0 8px var(--accent-cyan);
      display: inline-block;
    }

    /* 悬浮胶囊主导航 */
    .capsule-navbar-wrapper {
      position: sticky;
      top: 14px;
      z-index: 1020;
      padding: 0 16px;
    }
    .capsule-navbar {
      background: rgba(20, 24, 36, 0.88);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: var(--radius-pill);
      padding: 10px 24px;
      box-shadow: var(--shadow-lg);
    }
    .nav-brand-text {
      font-size: 1.25rem;
      font-weight: 800;
      letter-spacing: -0.5px;
      color: #FFF;
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .nav-brand-text i {
      color: var(--accent-cyan);
    }
    .nav-menu-link {
      color: var(--text-muted);
      font-size: 14px;
      font-weight: 500;
      padding: 8px 14px;
      border-radius: var(--radius-pill);
    }
    .nav-menu-link:hover, .nav-menu-link.active {
      color: #FFF;
      background: rgba(255, 255, 255, 0.06);
    }
    .btn-capsule-cta {
      background: linear-gradient(135deg, var(--primary-color) 0%, #8A5BFF 100%);
      color: #FFF !important;
      padding: 8px 22px;
      border-radius: var(--radius-pill);
      font-weight: 600;
      font-size: 13px;
      box-shadow: var(--glow-purple);
      border: 1px solid rgba(255, 255, 255, 0.15);
      white-space: nowrap;
      min-height: 40px;
      display: inline-flex;
      align-items: center;
    }
    .btn-capsule-cta:hover {
      transform: translateY(-2px);
      box-shadow: 0 0 28px rgba(108, 60, 233, 0.55);
    }

    /* 区块通用结构 */
    .section-wrap {
      padding: 90px 0;
      position: relative;
    }
    .section-alt {
      background-color: var(--bg-surface);
    }
    .section-header {
      margin-bottom: 54px;
    }
    .section-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: rgba(108, 60, 233, 0.15);
      border: 1px solid rgba(108, 60, 233, 0.4);
      color: #BCA3FF;
      font-size: 13px;
      padding: 4px 14px;
      border-radius: var(--radius-pill);
      margin-bottom: 14px;
      font-weight: 600;
    }
    .section-title {
      font-size: 2.2rem;
      font-weight: 800;
      color: #FFF;
      margin-bottom: 16px;
      letter-spacing: -0.5px;
    }
    .section-desc {
      color: var(--text-muted);
      font-size: 15px;
      max-width: 720px;
      line-height: 1.8;
      margin-bottom: 0;
    }

    /* 卡片通用 */
    .custom-card {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 28px;
      height: 100%;
      transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    }
    .custom-card:hover {
      transform: translateY(-4px);
      background: var(--bg-card-hover);
      border-color: rgba(108, 60, 233, 0.45);
      box-shadow: var(--glow-purple);
    }

    /* 按钮通用 */
    .btn-gaming-primary {
      background: linear-gradient(135deg, #00E5A3 0%, #00B37E 100%);
      color: #051A14 !important;
      font-weight: 700;
      padding: 13px 30px;
      border-radius: var(--radius-pill);
      border: none;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      box-shadow: var(--glow-cyan);
      transition: all 0.25s ease;
      min-height: 48px;
    }
    .btn-gaming-primary:hover {
      transform: translateY(-2px);
      box-shadow: 0 0 28px rgba(0, 229, 163, 0.55);
    }
    .btn-gaming-outline {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.2);
      color: #FFF;
      font-weight: 600;
      padding: 13px 28px;
      border-radius: var(--radius-pill);
      display: inline-flex;
      align-items: center;
      gap: 8px;
      transition: all 0.25s ease;
      min-height: 48px;
    }
    .btn-gaming-outline:hover {
      background: rgba(255, 255, 255, 0.12);
      border-color: #FFF;
      color: #FFF;
    }

    /* Hero 地图/本地感与轮播背景 */
    .hero-section {
      padding: 70px 0 90px;
      position: relative;
      background-image: linear-gradient(180deg, rgba(14, 16, 23, 0.72) 0%, rgba(14, 16, 23, 0.96) 100%), url('/assets/images/30098c2d7324bdce.webp');
      background-size: cover;
      background-position: center;
      border-bottom: 1px solid var(--border-color);
    }
    .hero-h1 {
      font-size: 3.2rem;
      font-weight: 900;
      line-height: 1.25;
      color: #FFF;
      margin-bottom: 22px;
      letter-spacing: -1px;
    }
    .hero-h1 .gradient-text {
      background: linear-gradient(90deg, #00E5A3 0%, #A882FF 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
    .hero-intro {
      font-size: 16px;
      color: #CAD3E6;
      line-height: 1.8;
      margin-bottom: 32px;
      max-width: 760px;
    }
    .hero-geo-tag {
      display: inline-flex;
      align-items: center;
      background: rgba(0, 229, 163, 0.1);
      border: 1px solid rgba(0, 229, 163, 0.3);
      color: var(--accent-cyan);
      border-radius: var(--radius-pill);
      padding: 6px 16px;
      font-size: 13px;
      font-weight: 600;
      margin-bottom: 20px;
      gap: 6px;
    }
    .hero-quick-cities {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-top: 24px;
      align-items: center;
    }
    .hero-city-chip {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.1);
      padding: 5px 14px;
      border-radius: var(--radius-pill);
      font-size: 12px;
      color: var(--text-muted);
    }
    .hero-city-chip:hover {
      border-color: var(--accent-cyan);
      color: #FFF;
    }

    /* 蓝图：秒杀闪购组件 */
    .flash-sale-bar {
      background: linear-gradient(90deg, #24143D 0%, #151A2C 100%);
      border: 1px solid rgba(255, 125, 59, 0.4);
      border-radius: var(--radius-md);
      padding: 20px 28px;
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      margin-top: 40px;
      box-shadow: 0 8px 30px rgba(255, 125, 59, 0.15);
    }
    .flash-left {
      display: flex;
      align-items: center;
      gap: 16px;
    }
    .flash-badge {
      background: var(--accent-orange);
      color: #FFF;
      font-weight: 800;
      font-size: 12px;
      padding: 4px 10px;
      border-radius: 4px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }
    .flash-countdown {
      display: flex;
      align-items: center;
      gap: 6px;
      font-weight: 700;
      color: #FFF;
      font-size: 14px;
    }
    .countdown-box {
      background: rgba(0, 0, 0, 0.4);
      border: 1px solid rgba(255, 255, 255, 0.1);
      padding: 4px 8px;
      border-radius: 4px;
      color: #FFF;
      font-family: monospace;
      font-size: 16px;
    }
    .stock-warning {
      color: #FFB38A;
      font-size: 13px;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    /* 统计看板网格 */
    .metric-number {
      font-size: 2.5rem;
      font-weight: 800;
      color: var(--accent-cyan);
      line-height: 1.1;
      margin-bottom: 8px;
      letter-spacing: -1px;
    }
    .metric-label {
      font-size: 13px;
      color: var(--text-muted);
      margin-bottom: 4px;
    }
    .metric-trend {
      font-size: 12px;
      color: #6CE2A6;
      display: flex;
      align-items: center;
      gap: 4px;
    }

    /* 架构技术对比 */
    .tech-metric-box {
      background: rgba(0, 0, 0, 0.35);
      border: 1px dashed rgba(255, 255, 255, 0.15);
      border-radius: var(--radius-sm);
      padding: 16px 20px;
      margin-bottom: 14px;
    }

    /* 热门产品/互动大卡片 */
    .room-card-banner {
      height: 190px;
      border-radius: var(--radius-md) var(--radius-md) 0 0;
      object-fit: cover;
      width: 100%;
    }
    .room-online-tag {
      background: rgba(0, 0, 0, 0.65);
      backdrop-filter: blur(8px);
      border: 1px solid rgba(255, 255, 255, 0.15);
      color: var(--accent-cyan);
      border-radius: var(--radius-pill);
      padding: 4px 12px;
      font-size: 12px;
      position: absolute;
      top: 14px;
      right: 14px;
    }

    /* 时间轴里程碑 */
    .timeline-container {
      position: relative;
      padding-left: 28px;
    }
    .timeline-container::before {
      content: '';
      position: absolute;
      left: 7px;
      top: 8px;
      bottom: 8px;
      width: 2px;
      background: rgba(255, 255, 255, 0.1);
    }
    .timeline-item {
      position: relative;
      margin-bottom: 36px;
    }
    .timeline-item:last-child {
      margin-bottom: 0;
    }
    .timeline-dot {
      position: absolute;
      left: -28px;
      top: 6px;
      width: 16px;
      height: 16px;
      border-radius: 50%;
      background: var(--primary-color);
      border: 3px solid #0E1017;
      box-shadow: 0 0 10px var(--primary-color);
    }
    .timeline-year {
      font-size: 13px;
      color: var(--accent-cyan);
      font-weight: 700;
      margin-bottom: 4px;
    }

    /* 玩家反馈口碑卡片 */
    .avatar-wrapper {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      border: 2px solid var(--primary-color);
      display: flex;
      align-items: center;
      justify-content: center;
      background: #252B42;
      font-weight: 700;
      color: #FFF;
      flex-shrink: 0;
    }
    .star-rating {
      color: #FFB800;
      font-size: 13px;
    }

    /* 重构 Bootstrap Accordion */
    .accordion-custom .accordion-item {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md) !important;
      margin-bottom: 14px;
      overflow: hidden;
    }
    .accordion-custom .accordion-button {
      background: var(--bg-card);
      color: #FFF;
      font-weight: 600;
      font-size: 16px;
      padding: 20px 24px;
      box-shadow: none;
    }
    .accordion-custom .accordion-button:not(.collapsed) {
      background: rgba(108, 60, 233, 0.12);
      color: #A882FF;
      border-bottom: 1px solid var(--border-color);
    }
    .accordion-custom .accordion-button::after {
      filter: invert(1);
    }
    .accordion-custom .accordion-body {
      padding: 22px 24px;
      color: var(--text-muted);
      line-height: 1.8;
      font-size: 14px;
    }

    /* 表单组件 */
    .form-control-gaming, .form-select-gaming {
      background: rgba(0, 0, 0, 0.35);
      border: 1px solid rgba(255, 255, 255, 0.15);
      color: #FFF;
      border-radius: var(--radius-sm);
      padding: 12px 16px;
      font-size: 14px;
    }
    .form-control-gaming:focus, .form-select-gaming:focus {
      background: rgba(0, 0, 0, 0.55);
      border-color: var(--accent-cyan);
      box-shadow: 0 0 12px rgba(0, 229, 163, 0.25);
      color: #FFF;
    }

    /* 页脚 */
    .site-footer {
      background: #080A0F;
      border-top: 1px solid var(--border-color);
      padding: 80px 0 35px;
      font-size: 14px;
      color: var(--text-muted);
    }
    .footer-title {
      font-size: 15px;
      font-weight: 700;
      color: #FFF;
      margin-bottom: 22px;
      letter-spacing: 0.2px;
    }
    .footer-links {
      list-style: none;
      padding: 0;
      margin: 0;
    }
    .footer-links li {
      margin-bottom: 12px;
    }
    .footer-bottom-bar {
      margin-top: 60px;
      padding-top: 25px;
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      font-size: 13px;
    }

    /* 响应式断点控制 */
    @media (max-width: 991.98px) {
      .hero-h1 {
        font-size: 2.4rem;
      }
      .section-wrap {
        padding: 60px 0;
      }
      .capsule-navbar {
        border-radius: var(--radius-md);
      }
    }
    @media (max-width: 575.98px) {
      .hero-h1 {
        font-size: 1.9rem;
      }
      .section-title {
        font-size: 1.6rem;
      }
      .metric-number {
        font-size: 2rem;
      }
      .capsule-navbar-wrapper {
        padding: 0 10px;
      }
      .btn-gaming-primary, .btn-gaming-outline {
        width: 100%;
        justify-content: center;
      }
    }
