/* roulang page: index */
:root {
      --primary-purple: #6C3CF0;
      --primary-orange: #F04E30;
      --dark-rock: #1E1E24;
      --bg-light: #F8F9FC;
      --text-main: #1E1E24;
      --text-body: #4A4A5A;
      --text-weak: #8C8C9A;
      --success-green: #00C48C;
      --white: #FFFFFF;
      --border-light: #E8E8EC;
      --radius-xl: 20px;
      --radius-lg: 16px;
      --radius-md: 12px;
      --radius-sm: 8px;
      --shadow-card: 0 4px 20px rgba(0,0,0,0.04);
      --shadow-hover: 0 12px 32px rgba(108,60,240,0.12);
      --transition: all 0.25s ease;
      --font-sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
      --container-max: 1280px;
      --section-padding: 100px;
    }
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    body {
      font-family: var(--font-sans);
      background-color: var(--bg-light);
      color: var(--text-body);
      line-height: 1.6;
      font-size: 16px;
      -webkit-font-smoothing: antialiased;
    }
    img {
      max-width: 100%;
      display: block;
    }
    a {
      text-decoration: none;
      color: inherit;
    }
    .container {
      max-width: var(--container-max);
      margin: 0 auto;
      padding: 0 24px;
    }
    /* 导航 */
    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 1000;
      height: 72px;
      display: flex;
      align-items: center;
      transition: background 0.3s ease, backdrop-filter 0.3s ease;
      background: transparent;
    }
    .navbar.scrolled {
      background: rgba(30,30,36,0.92);
      backdrop-filter: blur(12px);
      box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    }
    .navbar .container {
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
    }
    .logo {
      display: flex;
      align-items: center;
      gap: 8px;
      font-weight: 800;
      font-size: 22px;
      color: var(--white);
      letter-spacing: 1px;
      text-shadow: 0 2px 8px rgba(0,0,0,0.3);
    }
    .logo-icon {
      width: 32px;
      height: 32px;
      background: linear-gradient(135deg, var(--primary-purple), var(--primary-orange));
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-size: 20px;
    }
    .nav-links {
      display: flex;
      gap: 32px;
      align-items: center;
      list-style: none;
    }
    .nav-links a {
      color: rgba(255,255,255,0.9);
      font-weight: 500;
      font-size: 16px;
      position: relative;
      padding: 4px 0;
      transition: color 0.2s;
    }
    .nav-links a:hover,
    .nav-links a.active {
      color: var(--primary-orange);
    }
    .nav-links a.active::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 100%;
      height: 2px;
      background: var(--primary-orange);
      border-radius: 2px;
    }
    .btn-capsule {
      background: var(--primary-purple);
      color: white;
      padding: 10px 24px;
      border-radius: 50px;
      font-weight: 600;
      transition: background 0.2s, transform 0.2s;
      display: inline-block;
      border: none;
    }
    .btn-capsule:hover {
      background: var(--primary-orange);
      transform: translateY(-2px);
    }
    .hamburger {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      background: transparent;
      border: none;
      padding: 8px;
      z-index: 1001;
    }
    .hamburger span {
      width: 26px;
      height: 2px;
      background: white;
      transition: 0.3s;
      border-radius: 2px;
    }
    .mobile-menu {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      background: var(--dark-rock);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 32px;
      transform: translateX(100%);
      transition: transform 0.35s ease;
      z-index: 999;
      list-style: none;
    }
    .mobile-menu.active {
      transform: translateX(0);
    }
    .mobile-menu a {
      color: white;
      font-size: 22px;
      font-weight: 600;
    }
    /* 版块通用 */
    section {
      padding: var(--section-padding) 0;
    }
    .section-title {
      font-size: 36px;
      font-weight: 700;
      color: var(--text-main);
      margin-bottom: 16px;
      text-align: center;
    }
    .section-sub {
      color: var(--text-weak);
      text-align: center;
      max-width: 640px;
      margin: 0 auto 48px;
      font-size: 18px;
    }
    /* Hero */
    .hero {
      min-height: 100vh;
      display: flex;
      align-items: center;
      position: relative;
      background: var(--dark-rock);
      overflow: hidden;
    }
    .hero-bg {
      position: absolute;
      inset: 0;
      background: url('/assets/images/backpic/back-1.webp') center/cover no-repeat;
      opacity: 0.5;
      z-index: 1;
    }
    .hero-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(108,60,240,0.25) 0%, rgba(240,78,48,0.2) 100%);
      z-index: 2;
    }
    .hero .container {
      position: relative;
      z-index: 3;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: center;
    }
    .hero-left h1 {
      font-size: 48px;
      font-weight: 800;
      color: white;
      line-height: 1.2;
      margin-bottom: 20px;
    }
    .hero-left p {
      color: rgba(255,255,255,0.8);
      font-size: 18px;
      margin-bottom: 32px;
      max-width: 480px;
    }
    .hero-buttons {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }
    .btn-primary {
      background: var(--primary-purple);
      color: white;
      padding: 14px 32px;
      border-radius: 50px;
      font-weight: 700;
      transition: 0.2s;
      border: none;
      display: inline-block;
    }
    .btn-primary:hover {
      background: var(--primary-orange);
    }
    .btn-outline {
      border: 2px solid var(--primary-orange);
      color: var(--primary-orange);
      padding: 14px 32px;
      border-radius: 50px;
      font-weight: 700;
      background: transparent;
      transition: 0.2s;
    }
    .btn-outline:hover {
      background: var(--primary-orange);
      color: white;
    }
    .hero-right {
      position: relative;
      display: flex;
      justify-content: center;
    }
    .hero-right img {
      max-height: 400px;
      border-radius: 32px;
      box-shadow: 0 20px 40px rgba(0,0,0,0.4);
      animation: float 4s ease-in-out infinite;
      z-index: 2;
    }
    @keyframes float {
      0%{transform: translateY(0);}
      50%{transform: translateY(-12px);}
      100%{transform: translateY(0);}
    }
    .scroll-down {
      position: absolute;
      bottom: 30px;
      left: 50%;
      transform: translateX(-50%);
      color: white;
      font-size: 28px;
      animation: bounce 2s infinite;
      z-index: 5;
    }
    @keyframes bounce {
      0%,20%,50%,80%,100%{transform:translateY(0);}
      40%{transform:translateY(-10px);}
      60%{transform:translateY(-5px);}
    }
    /* 优势网格 */
    .advantages-grid {
      display: grid;
      grid-template-columns: repeat(3,1fr);
      gap: 24px;
    }
    .advantage-card {
      background: white;
      border-radius: var(--radius-xl);
      padding: 32px;
      box-shadow: var(--shadow-card);
      transition: var(--transition);
      border: 1px solid transparent;
    }
    .advantage-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-hover);
      border-color: var(--primary-purple);
    }
    .adv-icon {
      width: 64px;
      height: 64px;
      margin-bottom: 20px;
      color: var(--primary-orange);
    }
    .adv-title {
      font-size: 20px;
      font-weight: 700;
      margin-bottom: 8px;
    }
    .badge {
      background: var(--primary-purple);
      color: white;
      padding: 4px 12px;
      border-radius: 20px;
      font-size: 14px;
      font-weight: 600;
      display: inline-block;
      margin-top: 12px;
    }
    /* 赛事数据 */
    .stats-section {
      background: linear-gradient(135deg, #1E1E24 0%, #2A2040 100%);
      color: white;
    }
    .stats-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
    }
    .counter-item {
      font-size: 42px;
      font-weight: 800;
      color: var(--primary-orange);
    }
    .event-cards {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }
    .event-card {
      background: rgba(255,255,255,0.08);
      border-radius: 16px;
      padding: 16px;
      display: flex;
      gap: 16px;
      backdrop-filter: blur(8px);
    }
    /* 产品 */
    .products-grid {
      display: grid;
      grid-template-columns: repeat(3,1fr);
      gap: 24px;
    }
    .product-card {
      background: white;
      border-radius: var(--radius-xl);
      overflow: hidden;
      box-shadow: var(--shadow-card);
      transition: var(--transition);
    }
    .product-card:hover {
      transform: translateY(-6px);
      box-shadow: var(--shadow-hover);
    }
    .product-card img {
      aspect-ratio: 16/9;
      object-fit: cover;
    }
    .product-info {
      padding: 20px;
    }
    /* 合作伙伴 */
    .partner-grid {
      display: grid;
      grid-template-columns: repeat(4,1fr);
      gap: 24px;
    }
    .partner-item {
      background: white;
      border-radius: 16px;
      padding: 24px;
      filter: grayscale(1);
      transition: 0.3s;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 700;
      color: var(--text-weak);
    }
    .partner-item:hover {
      filter: grayscale(0);
      transform: scale(1.05);
      color: var(--primary-purple);
    }
    /* FAQ */
    .faq-item {
      border-bottom: 1px solid var(--border-light);
    }
    .faq-question {
      font-weight: 700;
      font-size: 20px;
      padding: 20px 0;
      display: flex;
      justify-content: space-between;
      cursor: pointer;
      color: var(--primary-purple);
    }
    .faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.35s ease, padding 0.35s ease;
      background: #F4F2FF;
      padding: 0 16px;
      border-radius: 8px;
    }
    .faq-item.active .faq-answer {
      max-height: 200px;
      padding: 16px;
    }
    /* CTA */
    .cta-banner {
      background: linear-gradient(135deg, var(--primary-purple), var(--primary-orange));
      padding: 80px 0;
      text-align: center;
      color: white;
    }
    .contact-form {
      display: flex;
      gap: 12px;
      justify-content: center;
      flex-wrap: wrap;
      margin-top: 32px;
    }
    .contact-form input {
      padding: 12px 16px;
      border-radius: 8px;
      border: none;
      width: 220px;
    }
    .footer {
      background: var(--dark-rock);
      color: #ccc;
      padding: 60px 0 30px;
    }
    .footer-grid {
      display: grid;
      grid-template-columns: 2fr 1fr 1fr;
      gap: 32px;
    }
    @media (max-width: 992px) {
      .hero .container { grid-template-columns: 1fr; }
      .advantages-grid { grid-template-columns: repeat(2,1fr); }
      .products-grid { grid-template-columns: repeat(2,1fr); }
    }
    @media (max-width: 768px) {
      .nav-links { display: none; }
      .hamburger { display: flex; }
      .advantages-grid, .products-grid { grid-template-columns: 1fr; }
      .stats-grid { grid-template-columns: 1fr; }
      .partner-grid { grid-template-columns: repeat(2,1fr); }
      .footer-grid { grid-template-columns: 1fr; }
      .hero-left h1 { font-size: 34px; }
    }
