/* roulang page: index */
:root {
      --bg-dark: #0A0C10;
      --bg-card: #121620;
      --bg-card-alt: #181E2B;
      --accent: #FF4D00;
      --accent-hover: #E04400;
      --accent-blue: #007BFF;
      --text-main: #F4F6F9;
      --text-muted: #8F9CAE;
      --border-line: rgba(255, 255, 255, 0.08);
      --border-focus: rgba(255, 77, 0, 0.4);
      --radius-sm: 4px;
      --radius-md: 8px;
      --radius-lg: 12px;
      --transition: all 0.25s ease-in-out;
      --font-stack: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      background-color: var(--bg-dark);
      color: var(--text-main);
      font-family: var(--font-stack);
      line-height: 1.6;
      font-size: 15px;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }

    a {
      color: inherit;
      text-decoration: none;
      transition: var(--transition);
    }

    ul {
      list-style: none;
    }

    img {
      max-width: 100%;
      height: auto;
      display: block;
    }

    .container {
      width: 100%;
      max-width: 1240px;
      margin: 0 auto;
      padding: 0 20px;
    }

    /* 按钮规范 */
    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 12px 28px;
      font-size: 15px;
      font-weight: 600;
      border-radius: var(--radius-sm);
      cursor: pointer;
      border: 1px solid transparent;
      transition: var(--transition);
      min-height: 44px;
    }

    .btn-primary {
      background: var(--accent);
      color: #fff;
    }

    .btn-primary:hover {
      background: var(--accent-hover);
      box-shadow: 0 4px 16px rgba(255, 77, 0, 0.35);
    }

    .btn-outline {
      background: transparent;
      border-color: rgba(255, 255, 255, 0.2);
      color: #fff;
    }

    .btn-outline:hover {
      border-color: var(--accent);
      color: var(--accent);
      background: rgba(255, 77, 0, 0.05);
    }

    /* 双行导航规范 */
    header.site-header {
      position: sticky;
      top: 0;
      z-index: 1000;
      background: rgba(10, 12, 16, 0.95);
      backdrop-filter: blur(10px);
      border-bottom: 1px solid var(--border-line);
    }

    .top-bar {
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
      font-size: 13px;
      color: var(--text-muted);
      padding: 6px 0;
    }

    .top-bar-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .top-bar-info span {
      margin-right: 20px;
    }

    .top-bar-links a {
      margin-left: 15px;
      color: var(--text-muted);
    }

    .top-bar-links a:hover {
      color: var(--accent);
    }

    .main-nav-bar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 14px 0;
    }

    .brand-logo {
      font-size: 20px;
      font-weight: 800;
      letter-spacing: -0.5px;
      color: #fff;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .brand-logo .dot {
      width: 10px;
      height: 10px;
      background: var(--accent);
      border-radius: 50%;
      display: inline-block;
    }

    .nav-links {
      display: flex;
      gap: 32px;
      align-items: center;
    }

    .nav-links a {
      font-size: 15px;
      font-weight: 500;
      color: #D1D7E0;
      position: relative;
      padding: 6px 0;
    }

    .nav-links a:hover,
    .nav-links a.active {
      color: #fff;
    }

    .nav-links a.active::after,
    .nav-links a:hover::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 2px;
      background: var(--accent);
    }

    .nav-right-actions {
      display: flex;
      gap: 12px;
    }

    /* Section 通用 */
    section {
      padding: 90px 0;
      position: relative;
    }

    .section-alt {
      background-color: #0E1118;
      border-top: 1px solid var(--border-line);
      border-bottom: 1px solid var(--border-line);
    }

    .section-header {
      max-width: 780px;
      margin: 0 auto 50px auto;
      text-align: center;
    }

    .section-tag {
      display: inline-block;
      font-size: 13px;
      color: var(--accent);
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1px;
      margin-bottom: 12px;
    }

    .section-title {
      font-size: 32px;
      font-weight: 700;
      color: #fff;
      margin-bottom: 16px;
      letter-spacing: -0.5px;
    }

    .section-desc {
      color: var(--text-muted);
      font-size: 15px;
      line-height: 1.7;
    }

    /* 1. Hero 沉浸海报暗底 */
    .hero-section {
      position: relative;
      min-height: 720px;
      display: flex;
      align-items: center;
      background: url('/assets/images/backpic/back-1.jpg') center/cover no-repeat;
      padding: 120px 0 100px 0;
    }

    .hero-mask {
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(10, 12, 16, 0.85) 0%, rgba(10, 12, 16, 0.95) 100%);
    }

    .hero-content {
      position: relative;
      z-index: 2;
      max-width: 880px;
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      background: rgba(255, 77, 0, 0.15);
      border: 1px solid rgba(255, 77, 0, 0.4);
      color: #FF7E40;
      padding: 6px 14px;
      border-radius: 20px;
      font-size: 13px;
      font-weight: 600;
      margin-bottom: 24px;
    }

    .hero-badge .live-dot {
      width: 8px;
      height: 8px;
      background: #FF4D00;
      border-radius: 50%;
      margin-right: 8px;
      box-shadow: 0 0 8px #FF4D00;
    }

    .hero-title {
      font-size: 46px;
      line-height: 1.25;
      font-weight: 800;
      color: #FFFFFF;
      margin-bottom: 24px;
      letter-spacing: -1px;
    }

    .hero-intro {
      font-size: 16px;
      line-height: 1.8;
      color: #B4BECD;
      margin-bottom: 36px;
    }

    .hero-btns {
      display: flex;
      gap: 16px;
      align-items: center;
    }

    /* 2. 赛事倒计时板块 */
    .countdown-bar {
      background: var(--bg-card);
      border: 1px solid var(--border-line);
      border-radius: var(--radius-md);
      padding: 24px 32px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-top: -45px;
      position: relative;
      z-index: 10;
      box-shadow: 0 16px 36px rgba(0,0,0,0.4);
    }

    .countdown-meta h4 {
      font-size: 18px;
      color: #fff;
      margin-bottom: 4px;
    }

    .countdown-meta p {
      font-size: 13px;
      color: var(--text-muted);
    }

    .countdown-timer {
      display: flex;
      gap: 16px;
    }

    .time-slot {
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid var(--border-line);
      padding: 10px 16px;
      border-radius: var(--radius-sm);
      text-align: center;
      min-width: 64px;
    }

    .time-slot .num {
      display: block;
      font-size: 22px;
      font-weight: 700;
      color: var(--accent);
      line-height: 1;
      margin-bottom: 4px;
    }

    .time-slot .unit {
      font-size: 11px;
      color: var(--text-muted);
    }

    /* 3. 活动亮点区 */
    .highlight-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .highlight-card {
      background: linear-gradient(145deg, rgba(24, 30, 43, 0.6) 0%, rgba(18, 22, 32, 0.4) 100%);
      border: 1px solid var(--border-line);
      padding: 32px;
      border-radius: var(--radius-md);
      transition: var(--transition);
    }

    .highlight-card:hover {
      border-color: rgba(255, 77, 0, 0.3);
      transform: translateY(-4px);
    }

    .highlight-icon {
      font-size: 24px;
      margin-bottom: 16px;
      color: var(--accent);
    }

    .highlight-card h3 {
      font-size: 19px;
      color: #fff;
      margin-bottom: 12px;
    }

    .highlight-card p {
      color: var(--text-muted);
      font-size: 14px;
      line-height: 1.65;
    }

    /* 4. 礼包/会员权益区 */
    .benefit-table {
      background: var(--bg-card);
      border: 1px solid var(--border-line);
      border-radius: var(--radius-md);
      overflow: hidden;
    }

    .benefit-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      border-bottom: 1px solid var(--border-line);
      align-items: center;
    }

    .benefit-header {
      background: rgba(255, 255, 255, 0.02);
      font-weight: 700;
      color: #fff;
    }

    .benefit-cell {
      padding: 18px 24px;
      font-size: 14px;
      text-align: center;
    }

    .benefit-cell:first-child {
      text-align: left;
    }

    .benefit-cell.checked {
      color: var(--accent);
      font-weight: bold;
    }

    /* 5. 玩法步骤/系统集成流程 */
    .steps-container {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
      position: relative;
    }

    .step-box {
      background: var(--bg-card);
      border: 1px solid var(--border-line);
      padding: 28px 22px;
      border-radius: var(--radius-md);
      position: relative;
    }

    .step-index {
      font-size: 28px;
      font-weight: 800;
      color: rgba(255, 255, 255, 0.08);
      position: absolute;
      top: 16px;
      right: 18px;
    }

    .step-box h4 {
      font-size: 17px;
      color: #fff;
      margin-bottom: 10px;
    }

    .step-box p {
      font-size: 13.5px;
      color: var(--text-muted);
      line-height: 1.6;
    }

    /* 6. 奖励预览 / 任务进度 */
    .reward-preview {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 30px;
      align-items: center;
    }

    .reward-img-wrap {
      border-radius: var(--radius-md);
      overflow: hidden;
      border: 1px solid var(--border-line);
    }

    .reward-content h3 {
      font-size: 26px;
      color: #fff;
      margin-bottom: 16px;
    }

    .reward-content p {
      color: var(--text-muted);
      margin-bottom: 24px;
      font-size: 15px;
    }

    .reward-list-item {
      display: flex;
      align-items: flex-start;
      margin-bottom: 16px;
      gap: 14px;
    }

    .reward-item-dot {
      width: 6px;
      height: 6px;
      background: var(--accent);
      border-radius: 50%;
      margin-top: 8px;
    }

    .reward-list-item h5 {
      color: #E2E8F0;
      font-size: 15px;
      margin-bottom: 2px;
    }

    .reward-list-item p {
      font-size: 13px;
      color: var(--text-muted);
      margin-bottom: 0;
    }

    /* 7. 关键数据统计条 */
    .metrics-bar {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
      text-align: center;
    }

    .metric-card {
      background: var(--bg-card);
      border: 1px solid var(--border-line);
      padding: 36px 20px;
      border-radius: var(--radius-md);
    }

    .metric-number {
      font-size: 40px;
      font-weight: 800;
      color: #fff;
      margin-bottom: 6px;
      letter-spacing: -1px;
    }

    .metric-number span {
      color: var(--accent);
      font-size: 24px;
      margin-left: 2px;
    }

    .metric-label {
      color: var(--text-muted);
      font-size: 14px;
    }

    /* 8. 赛事直播与体坛资讯 */
    .news-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .news-card {
      background: var(--bg-card);
      border: 1px solid var(--border-line);
      border-radius: var(--radius-md);
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }

    .news-cover {
      height: 180px;
      overflow: hidden;
    }

    .news-cover img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: var(--transition);
    }

    .news-card:hover .news-cover img {
      transform: scale(1.05);
    }

    .news-body {
      padding: 24px;
      flex: 1;
      display: flex;
      flex-direction: column;
    }

    .news-tag {
      font-size: 12px;
      color: var(--accent);
      font-weight: 600;
      margin-bottom: 8px;
    }

    .news-title {
      font-size: 17px;
      color: #fff;
      margin-bottom: 10px;
      line-height: 1.4;
    }

    .news-desc {
      font-size: 13.5px;
      color: var(--text-muted);
      line-height: 1.6;
      margin-bottom: 16px;
      flex: 1;
    }

    .news-time {
      font-size: 12px;
      color: #637085;
    }

    /* 9. 口碑与评价墙 */
    .testimonial-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }

    .testimonial-card {
      background: var(--bg-card);
      border: 1px solid var(--border-line);
      border-radius: var(--radius-md);
      padding: 28px;
    }

    .quote-body {
      font-size: 14px;
      color: #CBD5E1;
      line-height: 1.7;
      margin-bottom: 20px;
    }

    .user-info {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .user-avatar-initial {
      width: 40px;
      height: 40px;
      background: var(--bg-card-alt);
      border: 1px solid var(--border-line);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      color: var(--accent);
    }

    .user-details h5 {
      font-size: 14px;
      color: #fff;
    }

    .user-details span {
      font-size: 12px;
      color: var(--text-muted);
    }

    /* 10. 报名入口 / 转化表单 */
    .register-wrapper {
      background: linear-gradient(135deg, rgba(24, 30, 43, 0.9) 0%, rgba(18, 22, 32, 0.9) 100%);
      border: 1px solid var(--border-line);
      border-radius: var(--radius-lg);
      padding: 60px 40px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 50px;
      align-items: center;
    }

    .form-box {
      background: rgba(10, 12, 16, 0.6);
      padding: 32px;
      border-radius: var(--radius-md);
      border: 1px solid var(--border-line);
    }

    .form-group {
      margin-bottom: 18px;
    }

    .form-group label {
      display: block;
      font-size: 13px;
      color: #D1D7E0;
      margin-bottom: 6px;
    }

    .form-control {
      width: 100%;
      padding: 12px 14px;
      background: #151922;
      border: 1px solid var(--border-line);
      border-radius: var(--radius-sm);
      color: #fff;
      font-size: 14px;
      outline: none;
      transition: var(--transition);
    }

    .form-control:focus {
      border-color: var(--accent);
      box-shadow: 0 0 0 2px rgba(255, 77, 0, 0.15);
    }

    /* 11. FAQ 手风琴 */
    .faq-wrapper {
      max-width: 860px;
      margin: 0 auto;
    }

    .faq-item {
      background: var(--bg-card);
      border: 1px solid var(--border-line);
      border-radius: var(--radius-md);
      margin-bottom: 14px;
      overflow: hidden;
    }

    .faq-question {
      padding: 20px 24px;
      cursor: pointer;
      font-weight: 600;
      font-size: 16px;
      color: #E2E8F0;
      display: flex;
      justify-content: space-between;
      align-items: center;
      user-select: none;
    }

    .faq-question:hover {
      color: var(--accent);
    }

    .faq-indicator {
      font-size: 18px;
      color: var(--text-muted);
      transition: var(--transition);
    }

    .faq-answer {
      padding: 0 24px 20px 24px;
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.7;
      display: none;
    }

    .faq-item.active .faq-answer {
      display: block;
    }

    .faq-item.active .faq-indicator {
      transform: rotate(45deg);
      color: var(--accent);
    }

    /* 12. 平台保障承诺条 */
    .guarantee-bar {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 24px;
      text-align: center;
      padding: 40px 0;
      border-top: 1px solid var(--border-line);
      border-bottom: 1px solid var(--border-line);
    }

    .guarantee-item h4 {
      font-size: 16px;
      color: #fff;
      margin-bottom: 6px;
    }

    .guarantee-item p {
      font-size: 13px;
      color: var(--text-muted);
    }

    /* 13. 页脚 Footer */
    footer.site-footer {
      background: #08090D;
      border-top: 1px solid var(--border-line);
      padding: 70px 0 30px 0;
      font-size: 14px;
      color: var(--text-muted);
    }

    .footer-top {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1.5fr;
      gap: 40px;
      margin-bottom: 50px;
    }

    .footer-col h5 {
      color: #fff;
      font-size: 15px;
      margin-bottom: 18px;
      font-weight: 600;
    }

    .footer-col ul li {
      margin-bottom: 10px;
    }

    .footer-col ul li a:hover {
      color: var(--accent);
    }

    .footer-bottom {
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      padding-top: 30px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 13px;
    }

    /* 移动端 Hamburger */
    .mobile-menu-btn {
      display: none;
      background: none;
      border: none;
      cursor: pointer;
      padding: 8px;
    }

    .mobile-menu-btn span {
      display: block;
      width: 22px;
      height: 2px;
      background: #fff;
      margin: 5px 0;
      transition: var(--transition);
    }

    /* 响应式断点 */
    @media (max-width: 1024px) {
      .steps-container {
        grid-template-columns: repeat(2, 1fr);
      }
      .benefit-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
      }
      .register-wrapper {
        grid-template-columns: 1fr;
      }
      .footer-top {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 768px) {
      .top-bar {
        display: none;
      }
      .nav-links, .nav-right-actions {
        display: none;
      }
      .mobile-menu-btn {
        display: block;
      }
      .nav-links.mobile-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #0E1118;
        padding: 20px;
        border-bottom: 1px solid var(--border-line);
      }
      .highlight-grid,
      .news-grid,
      .testimonial-grid,
      .metrics-bar,
      .guarantee-bar {
        grid-template-columns: 1fr;
      }
      .countdown-bar {
        flex-direction: column;
        gap: 16px;
        text-align: center;
      }
      .hero-title {
        font-size: 32px;
      }
      .hero-section {
        min-height: auto;
        padding: 80px 0 60px 0;
      }
      .reward-preview {
        grid-template-columns: 1fr;
      }
      .benefit-table {
        overflow-x: auto;
      }
      .benefit-grid {
        min-width: 600px;
      }
      .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
      }
    }

    @media (max-width: 375px) {
      .hero-title {
        font-size: 26px;
      }
      .hero-btns {
        flex-direction: column;
        width: 100%;
      }
      .hero-btns .btn {
        width: 100%;
      }
    }
