/* roulang page: index */
:root {
      --color-brand-deep: #1e1b4b;
      --color-brand-primary: #312e81;
      --color-brand-accent: #4f46e5;
      --color-brand-cyan: #06b6d4;
      --color-brand-emerald: #10b981;
      --color-bg-light: #f8fafc;
      --color-text-main: #0f172a;
      --color-text-muted: #475569;
    }
    
    html, body {
      overflow-x: hidden;
      font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
      color: var(--color-text-main);
      background-color: var(--color-bg-light);
    }

    .glass-nav {
      background: rgba(255, 255, 255, 0.92);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
    }

    .badge-glow {
      box-shadow: 0 0 15px rgba(6, 182, 212, 0.25);
    }

    .hero-slide {
      transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .hero-slide.active {
      opacity: 1;
      visibility: visible;
      transform: scale(1);
    }

    .hero-slide.inactive {
      opacity: 0;
      visibility: hidden;
      transform: scale(1.02);
      pointer-events: none;
    }

    /* 手风琴平滑展开与边框高亮 */
    details[open] summary ~ * {
      animation: sweep .3s ease-in-out;
    }

    @keyframes sweep {
      0%    {opacity: 0; transform: translateY(-8px);}
      100%  {opacity: 1; transform: translateY(0);}
    }

    details[open] {
      border-color: #4f46e5;
      background-color: #ffffff;
      box-shadow: 0 10px 25px -5px rgba(79, 70, 229, 0.08);
    }

    details summary::-webkit-details-marker {
      display: none;
    }

    /* 脉冲光效 */
    .pulse-dot {
      box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
      animation: pulse-ring 1.8s infinite cubic-bezier(0.66, 0, 0, 1);
    }

    @keyframes pulse-ring {
      0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
      }
      70% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
      }
      100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
      }
    }
