/* roulang page: index */
:root {
      --primary: #6C0FEB;
      --primary-light: #A855F7;
      --accent: #FFB800;
      --bg-dark: #0D0B1E;
      --card-bg: rgba(26, 21, 48, 0.8);
      --card-border: rgba(108, 15, 235, 0.25);
      --text-light: #B8B5D0;
      --text-white: #FFFFFF;
      --shadow-glow: 0 8px 32px rgba(108, 15, 235, 0.15);
    }
    * {
      box-sizing: border-box;
    }
    body {
      background-color: var(--bg-dark);
      color: var(--text-light);
      font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
      line-height: 1.7;
      margin: 0;
      padding: 0;
      scroll-behavior: smooth;
    }
    .container-custom {
      max-width: 1280px;
      margin-left: auto;
      margin-right: auto;
      padding-left: 1.5rem;
      padding-right: 1.5rem;
    }
    /* 玻璃卡片效果 */
    .glass-card {
      background: var(--card-bg);
      backdrop-filter: blur(12px);
      border: 1px solid var(--card-border);
      border-radius: 24px;
      box-shadow: var(--shadow-glow);
    }
    .glass-card:hover {
      border-color: rgba(108, 15, 235, 0.6);
      box-shadow: 0 16px 40px rgba(108, 15, 235, 0.25);
      transform: translateY(-6px);
      transition: all 0.3s ease;
    }
    .btn-primary {
      background: linear-gradient(135deg, #6C0FEB 0%, #A855F7 100%);
      color: white;
      font-weight: 600;
      border-radius: 9999px;
      padding: 0.875rem 2rem;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      transition: all 0.25s;
      border: none;
      cursor: pointer;
      box-shadow: 0 4px 15px rgba(108, 15, 235, 0.4);
    }
    .btn-primary:hover {
      filter: brightness(1.15);
      box-shadow: 0 0 25px rgba(108, 15, 235, 0.7);
      transform: translateY(-2px);
    }
    .btn-outline {
      background: transparent;
      border: 2px solid rgba(108, 15, 235, 0.7);
      color: white;
      font-weight: 600;
      border-radius: 9999px;
      padding: 0.875rem 2rem;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      transition: all 0.25s;
      cursor: pointer;
    }
    .btn-outline:hover {
      background: rgba(108, 15, 235, 0.15);
      border-color: #A855F7;
      color: #fff;
      box-shadow: 0 0 18px rgba(108, 15, 235, 0.5);
    }
    /* 导航链接动画 */
    .nav-link {
      position: relative;
      color: var(--text-light);
      transition: color 0.2s;
      font-weight: 500;
    }
    .nav-link:hover {
      color: var(--accent);
    }
    .nav-link::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      width: 0;
      height: 2px;
      background: var(--accent);
      transition: width 0.3s;
    }
    .nav-link:hover::after {
      width: 100%;
    }
    /* Mega Menu 下拉 */
    .mega-group:hover .mega-panel {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
      pointer-events: auto;
    }
    .mega-panel {
      opacity: 0;
      visibility: hidden;
      transform: translateY(10px);
      transition: all 0.3s ease;
      pointer-events: none;
      position: absolute;
      top: 100%;
      right: 0;
      width: 640px;
      background: rgba(20, 15, 40, 0.95);
      backdrop-filter: blur(20px);
      border: 1px solid rgba(108,15,235,0.4);
      border-radius: 20px;
      padding: 1.8rem;
      display: flex;
      gap: 2rem;
      z-index: 50;
      box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    }
    /* 手风琴动画 */
    .faq-input {
      display: none;
    }
    .faq-label {
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 1.2rem 1.5rem;
      background: rgba(26,21,48,0.7);
      border: 1px solid rgba(108,15,235,0.2);
      border-radius: 16px;
      margin-bottom: 0.75rem;
      transition: all 0.25s;
      font-weight: 600;
      color: white;
    }
    .faq-content {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease;
      background: rgba(26,21,48,0.5);
      border-radius: 0 0 16px 16px;
      margin-top: -0.5rem;
      margin-bottom: 0.75rem;
      color: var(--text-light);
    }
    .faq-input:checked + .faq-label + .faq-content {
      max-height: 200px;
      padding: 1rem 1.5rem;
    }
    .faq-input:checked + .faq-label {
      border-color: var(--primary);
      background: rgba(108,15,235,0.15);
    }
    /* 移动端菜单checkbox技巧 */
    #menu-toggle {
      display: none;
    }
    @media (max-width: 768px) {
      .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(13,11,30,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1.5rem;
        border-bottom: 1px solid var(--primary);
      }
      #menu-toggle:checked ~ .nav-links {
        display: flex;
      }
      .mega-panel {
        width: 90vw;
        right: 5vw;
        flex-direction: column;
      }
    }
