/* roulang page: index */
:root {
      --primary-deep: #0A1F1A;
      --accent-gold: #D4AF37;
      --accent-red: #E63946;
      --bg-light: #F5F7F6;
      --card-white: #FFFFFF;
      --text-dark: #0A1F1A;
      --text-body: #2D3A35;
      --text-muted: #6B7B75;
      --text-reverse: #FFFFFF;
      --shadow-sm: 0 2px 8px rgba(10,31,26,0.06);
      --shadow-md: 0 8px 24px rgba(10,31,26,0.12);
      --radius-lg: 16px;
      --radius-md: 12px;
      --radius-sm: 8px;
      --transition: 0.25s ease;
      --max-width: 1200px;
    }
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    body {
      font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
      background-color: var(--bg-light);
      color: var(--text-body);
      line-height: 1.7;
      font-size: 16px;
      font-weight: 400;
    }
    .inter-font {
      font-family: 'Inter', 'Roboto', sans-serif;
      font-weight: 600;
    }
    img {
      max-width: 100%;
      display: block;
    }
    a {
      text-decoration: none;
      color: inherit;
    }
    .container {
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
    }
    /* 导航 */
    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      background: var(--card-white);
      box-shadow: 0 1px 0 rgba(0,0,0,0.04);
      z-index: 1000;
      height: 64px;
      display: flex;
      align-items: center;
    }
    .nav-container {
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
      max-width: var(--max-width);
      margin: 0 auto;
      padding: 0 24px;
    }
    .logo {
      font-size: 22px;
      font-weight: 700;
      color: var(--primary-deep);
      letter-spacing: 1px;
    }
    .logo span {
      color: var(--accent-gold);
      font-weight: 700;
    }
    .nav-menu {
      display: flex;
      align-items: center;
      gap: 32px;
      list-style: none;
    }
    .nav-menu a {
      font-size: 15px;
      font-weight: 500;
      color: var(--text-body);
      position: relative;
      padding: 8px 0;
      transition: color var(--transition);
    }
    .nav-menu a::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--accent-gold);
      transition: width var(--transition);
    }
    .nav-menu a:hover {
      color: var(--accent-gold);
    }
    .nav-menu a:hover::after {
      width: 100%;
    }
    .btn-nav {
      background: var(--accent-gold);
      color: var(--primary-deep) !important;
      padding: 10px 24px !important;
      border-radius: var(--radius-sm);
      font-weight: 600;
      font-size: 14px;
      transition: background var(--transition), transform var(--transition);
    }
    .btn-nav:hover {
      background: #c29a2e;
      transform: scale(1.03);
      color: var(--primary-deep) !important;
    }
    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      background: transparent;
      border: none;
    }
    .hamburger span {
      width: 26px;
      height: 3px;
      background: var(--accent-gold);
      border-radius: 2px;
      transition: var(--transition);
    }
    .mobile-menu {
      display: none;
      position: fixed;
      top: 64px;
      left: 0;
      width: 100%;
      background: var(--primary-deep);
      padding: 32px 24px;
      flex-direction: column;
      gap: 24px;
      z-index: 999;
      text-align: center;
      box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    }
    .mobile-menu a {
      color: var(--text-reverse);
      font-size: 18px;
      font-weight: 500;
      display: block;
      padding: 8px 0;
    }
    .mobile-menu .btn-nav {
      background: var(--accent-gold);
      color: var(--primary-deep);
      width: fit-content;
      margin: 0 auto;
      padding: 14px 32px;
    }
    /* Hero */
    .hero {
      margin-top: 64px;
      padding: 60px 0;
      background: var(--bg-light);
    }
    .hero-grid {
      display: flex;
      align-items: center;
      gap: 48px;
    }
    .hero-left {
      flex: 1;
    }
    .hero-right {
      flex: 1;
      position: relative;
      border-radius: var(--radius-lg);
      overflow: hidden;
    }
    .hero-right img {
      width: 100%;
      height: auto;
      min-height: 380px;
      object-fit: cover;
      border-radius: var(--radius-lg);
    }
    .hero-overlay {
      position: absolute;
      top: 0; left: 0; width: 100%; height: 100%;
      background: linear-gradient(135deg, rgba(10,31,26,0.7) 0%, rgba(10,31,26,0.2) 100%);
      border-radius: var(--radius-lg);
    }
    .live-tag {
      position: absolute;
      top: 20px;
      left: 20px;
      background: var(--accent-red);
      color: white;
      padding: 6px 16px;
      border-radius: 20px;
      font-size: 13px;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 6px;
      z-index: 2;
    }
    .live-dot {
      width: 8px; height: 8px;
      background: white;
      border-radius: 50%;
      animation: pulse 1.4s infinite;
    }
    @keyframes pulse {
      0% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.5; transform: scale(1.3); }
      100% { opacity: 1; transform: scale(1); }
    }
    h1 {
      font-size: 36px;
      font-weight: 700;
      line-height: 1.2;
      color: var(--text-dark);
      letter-spacing: -0.5px;
      margin-bottom: 20px;
    }
    .hero-sub {
      font-size: 18px;
      color: var(--text-body);
      margin-bottom: 32px;
    }
    .btn-group {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }
    .btn-primary {
      background: var(--accent-gold);
      color: var(--primary-deep);
      padding: 14px 32px;
      border-radius: var(--radius-sm);
      font-weight: 600;
      font-size: 16px;
      border: none;
      cursor: pointer;
      transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
      display: inline-block;
      text-align: center;
    }
    .btn-primary:hover {
      background: #c29a2e;
      transform: scale(1.03);
      box-shadow: 0 8px 18px rgba(212,175,55,0.4);
    }
    .btn-outline {
      background: transparent;
      border: 1.5px solid var(--primary-deep);
      color: var(--primary-deep);
      padding: 14px 32px;
      border-radius: var(--radius-sm);
      font-weight: 600;
      font-size: 16px;
      transition: all var(--transition);
    }
    .btn-outline:hover {
      background: var(--primary-deep);
      color: white;
    }
    /* 通用区块 */
    section {
      padding: 70px 0;
    }
    .section-title {
      font-size: 28px;
      font-weight: 600;
      color: var(--text-dark);
      margin-bottom: 16px;
      text-align: center;
    }
    .section-desc {
      color: var(--text-muted);
      text-align: center;
      max-width: 700px;
      margin: 0 auto 48px;
    }
    /* 核心优势网格 */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .feature-card {
      background: var(--card-white);
      padding: 32px 24px;
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-sm);
      transition: var(--transition);
      text-align: center;
    }
    .feature-card:hover {
      transform: translateY(-4px);
      box-shadow: var(--shadow-md);
    }
    .feature-icon {
      width: 48px;
      height: 48px;
      margin: 0 auto 20px;
      color: var(--accent-gold);
    }
    .feature-card h3 {
      font-size: 20px;
      font-weight: 600;
      margin-bottom: 12px;
    }
    /* 赛事数据看板 */
    .scoreboard-scroll {
      display: flex;
      gap: 20px;
      overflow-x: auto;
      padding-bottom: 16px;
      scrollbar-width: thin;
    }
    .match-card {
      min-width: 260px;
      background: white;
      border-radius: var(--radius-md);
      padding: 20px;
      box-shadow: var(--shadow-sm);
      border-left: 4px solid var(--accent-red);
      display: flex;
      flex-direction: column;
      gap: 10px;
      flex-shrink: 0;
    }
    .match-card.gold-border {
      border-left-color: var(--accent-gold);
    }
    .teams {
      display: flex;
      justify-content: space-between;
      font-weight: 600;
      font-size: 16px;
    }
    .score {
      font-size: 28px;
      font-weight: 700;
      font-family: 'Inter', sans-serif;
      text-align: center;
    }
    .match-info {
      font-size: 13px;
      color: var(--text-muted);
      display: flex;
      justify-content: space-between;
    }
    /* 注册流程 */
    .steps {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      position: relative;
      margin-top: 30px;
    }
    .step-item {
      flex: 1;
      text-align: center;
      position: relative;
    }
    .step-circle {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: white;
      border: 2px solid var(--accent-gold);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      font-size: 20px;
      margin: 0 auto 16px;
      color: var(--primary-deep);
      background: white;
      z-index: 2;
      position: relative;
    }
    .step-item.active .step-circle {
      background: var(--accent-gold);
      color: white;
    }
    .step-line {
      position: absolute;
      top: 24px;
      left: 0;
      width: 100%;
      height: 2px;
      background: rgba(212,175,55,0.3);
      z-index: 1;
    }
    .step-text h4 {
      font-weight: 600;
    }
    /* 联赛瀑布流 */
    .league-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      grid-auto-flow: dense;
    }
    .league-card {
      background: white;
      border-radius: var(--radius-md);
      overflow: hidden;
      box-shadow: var(--shadow-sm);
      transition: var(--transition);
      border-left: 4px solid var(--accent-gold);
      display: flex;
      flex-direction: column;
    }
    .league-card:hover {
      transform: translateY(-5px);
      box-shadow: var(--shadow-md);
    }
    .league-img {
      height: 160px;
      background-size: cover;
      background-position: center;
    }
    .league-body {
      padding: 16px;
    }
    .league-body h3 {
      font-weight: 600;
      margin-bottom: 6px;
    }
    .league-link {
      color: var(--accent-gold);
      font-weight: 600;
      margin-top: 8px;
      display: inline-block;
    }
    /* FAQ */
    .faq-item {
      background: white;
      border-radius: var(--radius-sm);
      margin-bottom: 12px;
      box-shadow: var(--shadow-sm);
    }
    .faq-question {
      padding: 18px 24px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-weight: 600;
      cursor: pointer;
      background: white;
      border: none;
      width: 100%;
      text-align: left;
      font-size: 16px;
    }
    .faq-answer {
      padding: 0 24px 18px;
      display: none;
      color: var(--text-body);
    }
    .faq-item.open .faq-answer {
      display: block;
    }
    /* CTA深色 */
    .cta-dark {
      background: var(--primary-deep);
      text-align: center;
      padding: 80px 24px;
    }
    .cta-dark h2 {
      color: white;
    }
    .cta-dark .btn-primary {
      font-size: 20px;
      padding: 18px 48px;
      box-shadow: 0 0 24px rgba(212,175,55,0.6);
    }
    /* 页脚 */
    .footer {
      background: #061412;
      color: var(--text-muted);
      padding: 60px 0 20px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 32px;
    }
    .footer a {
      color: #9aa5a0;
    }
    .copyright {
      text-align: center;
      padding-top: 24px;
      font-size: 13px;
      border-top: 1px solid #1e332c;
    }
    @media (max-width: 1023px) {
      .hero-grid { flex-direction: column; }
      .features-grid { grid-template-columns: 1fr 1fr; }
      .league-grid { grid-template-columns: 1fr 1fr; }
    }
    @media (max-width: 767px) {
      .nav-menu { display: none; }
      .hamburger { display: flex; }
      .features-grid, .league-grid, .footer-grid { grid-template-columns: 1fr; }
      .steps { flex-direction: column; gap: 32px; }
      .step-line { display: none; }
      h1 { font-size: 28px; }
    }
