/* roulang page: index */
:root {
            --bg-main: #0B0E14;
            --bg-card: #131822;
            --bg-surface: #1A2232;
            --border-light: rgba(255, 255, 255, 0.08);
            --border-focus: rgba(0, 242, 254, 0.4);
            --text-primary: #FFFFFF;
            --text-secondary: #E2E8F0;
            --text-muted: #94A3B8;
            --primary-cyan: #00F2FE;
            --primary-blue: #4FACFE;
            --accent-gold: #FFAE00;
            --radius-md: 12px;
            --radius-lg: 16px;
            --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5);
            --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            background-color: var(--bg-main);
            color: var(--text-secondary);
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
            line-height: 1.6;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
        }

        a {
            color: inherit;
            text-decoration: none;
            transition: var(--transition-smooth);
        }

        .custom-glass {
            background: rgba(11, 14, 20, 0.85);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            border-bottom: 1px solid var(--border-light);
        }

        .media-card {
            background-color: var(--bg-card);
            border: 1px solid var(--border-light);
            border-radius: var(--radius-lg);
            transition: var(--transition-smooth);
            box-shadow: var(--shadow-card);
            overflow: hidden;
        }

        .media-card:hover {
            transform: translateY(-4px);
            border-color: var(--border-focus);
            box-shadow: 0 15px 35px rgba(0, 242, 254, 0.12);
        }

        .gradient-text {
            background: linear-gradient(135deg, #00F2FE 0%, #4FACFE 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .btn-gradient-primary {
            background: linear-gradient(135deg, #00F2FE 0%, #4FACFE 100%);
            color: #0B0E14;
            font-weight: 600;
            border-radius: 8px;
            padding: 8px 18px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            transition: var(--transition-smooth);
        }

        .btn-gradient-primary:hover {
            opacity: 0.92;
            box-shadow: 0 0 18px rgba(0, 242, 254, 0.4);
            transform: translateY(-1px);
        }

        .btn-ghost-cyan {
            border: 1px solid rgba(0, 242, 254, 0.4);
            color: #00F2FE;
            background: rgba(0, 242, 254, 0.05);
            font-weight: 500;
            border-radius: 8px;
            padding: 8px 16px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            transition: var(--transition-smooth);
        }

        .btn-ghost-cyan:hover {
            background: rgba(0, 242, 254, 0.15);
            border-color: #00F2FE;
            color: #FFFFFF;
        }

        .badge-status {
            display: inline-flex;
            align-items: center;
            padding: 2px 8px;
            font-size: 11px;
            font-weight: 600;
            border-radius: 4px;
            letter-spacing: 0.05em;
        }

        .aspect-poster {
            aspect-ratio: 2 / 3;
            width: 100%;
            position: relative;
            background: #1A2232;
        }

        .aspect-poster img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        /* Pulse animation for node status */
        .pulse-dot {
            width: 8px;
            height: 8px;
            background-color: #10B981;
            border-radius: 50%;
            display: inline-block;
            box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
            animation: statusPulse 2s infinite;
        }

        @keyframes statusPulse {
            0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
            70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
            100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
        }

        /* Custom Scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
            height: 8px;
        }
        ::-webkit-scrollbar-track {
            background: #0B0E14;
        }
        ::-webkit-scrollbar-thumb {
            background: #263348;
            border-radius: 4px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: #3A4D6B;
        }

        /* Responsive Mobile Drawer */
        #mobileMenu {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease-out;
        }
        #mobileMenu.active {
            max-height: 480px;
        }

/* roulang page: category1 */
:root {
      --bg-main: #0B0E14;
      --bg-card: #131822;
      --bg-surface: #1A2232;
      --border-light: rgba(255, 255, 255, 0.08);
      --border-focus: rgba(0, 242, 254, 0.4);
      --text-primary: #FFFFFF;
      --text-secondary: #E2E8F0;
      --text-muted: #94A3B8;
      --primary-cyan: #00F2FE;
      --primary-blue: #4FACFE;
      --accent-gold: #FFAE00;
      --radius-md: 12px;
      --radius-lg: 16px;
      --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5);
      --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    body {
      background-color: var(--bg-main);
      color: var(--text-secondary);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      line-height: 1.6;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }
    a {
      color: inherit;
      text-decoration: none;
      transition: var(--transition-smooth);
    }
    .media-card {
      background-color: var(--bg-card);
      border: 1px solid var(--border-light);
      border-radius: var(--radius-lg);
      transition: var(--transition-smooth);
      box-shadow: var(--shadow-card);
      overflow: hidden;
    }
    .media-card:hover {
      transform: translateY(-4px);
      border-color: var(--border-focus);
      box-shadow: 0 15px 35px rgba(0, 242, 254, 0.12);
    }
    .btn-gradient-primary {
      background: linear-gradient(135deg, #00F2FE 0%, #4FACFE 100%);
      color: #0B0E14;
      font-weight: 600;
      border-radius: 8px;
      padding: 8px 18px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      transition: var(--transition-smooth);
    }
    .btn-gradient-primary:hover {
      opacity: 0.92;
      box-shadow: 0 0 18px rgba(0, 242, 254, 0.4);
      transform: translateY(-1px);
    }
    .btn-ghost-cyan {
      border: 1px solid rgba(0, 242, 254, 0.4);
      color: #00F2FE;
      background: rgba(0, 242, 254, 0.05);
      font-weight: 500;
      border-radius: 8px;
      padding: 8px 16px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      transition: var(--transition-smooth);
    }
    .btn-ghost-cyan:hover {
      background: rgba(0, 242, 254, 0.15);
      border-color: #00F2FE;
      color: #FFFFFF;
    }
    .badge-status {
      display: inline-flex;
      align-items: center;
      padding: 2px 8px;
      font-size: 11px;
      font-weight: 600;
      border-radius: 4px;
      letter-spacing: 0.05em;
    }
    .aspect-poster {
      position: relative;
      width: 100%;
      padding-top: 142%;
      background-color: #1a2232;
      overflow: hidden;
    }
    .aspect-poster img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.5s ease;
    }
    .media-card:hover .aspect-poster img {
      transform: scale(1.05);
    }
    #mobileMenu {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease-out;
    }
    #mobileMenu.active {
      max-height: 480px;
    }
    .filter-chip {
      padding: 4px 12px;
      border-radius: 6px;
      font-size: 13px;
      transition: var(--transition-smooth);
      cursor: pointer;
      color: var(--text-muted);
    }
    .filter-chip:hover {
      color: var(--text-primary);
      background-color: rgba(255, 255, 255, 0.05);
    }
    .filter-chip.active {
      background: rgba(0, 242, 254, 0.15);
      color: var(--primary-cyan);
      font-weight: 600;
      border: 1px solid rgba(0, 242, 254, 0.3);
    }

/* roulang page: category2 */
:root {
      --bg-main: #0B0E14;
      --bg-card: #131822;
      --bg-surface: #1A2232;
      --border-light: rgba(255, 255, 255, 0.08);
      --border-focus: rgba(0, 242, 254, 0.4);
      --text-primary: #FFFFFF;
      --text-secondary: #E2E8F0;
      --text-muted: #94A3B8;
      --primary-cyan: #00F2FE;
      --primary-blue: #4FACFE;
      --accent-gold: #FFAE00;
      --radius-md: 12px;
      --radius-lg: 16px;
      --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5);
      --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    body {
      background-color: var(--bg-main);
      color: var(--text-secondary);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      line-height: 1.6;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }
    a {
      color: inherit;
      text-decoration: none;
      transition: var(--transition-smooth);
    }
    .media-card {
      background-color: var(--bg-card);
      border: 1px solid var(--border-light);
      border-radius: var(--radius-lg);
      transition: var(--transition-smooth);
      box-shadow: var(--shadow-card);
      overflow: hidden;
    }
    .media-card:hover {
      transform: translateY(-4px);
      border-color: var(--border-focus);
      box-shadow: 0 15px 35px rgba(0, 242, 254, 0.12);
    }
    .btn-gradient-primary {
      background: linear-gradient(135deg, #00F2FE 0%, #4FACFE 100%);
      color: #0B0E14;
      font-weight: 600;
      border-radius: 8px;
      padding: 8px 18px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      transition: var(--transition-smooth);
    }
    .btn-gradient-primary:hover {
      opacity: 0.92;
      box-shadow: 0 0 18px rgba(0, 242, 254, 0.4);
      transform: translateY(-1px);
    }
    .btn-ghost-cyan {
      border: 1px solid rgba(0, 242, 254, 0.4);
      color: #00F2FE;
      background: rgba(0, 242, 254, 0.05);
      font-weight: 500;
      border-radius: 8px;
      padding: 8px 16px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      transition: var(--transition-smooth);
    }
    .btn-ghost-cyan:hover {
      background: rgba(0, 242, 254, 0.15);
      border-color: #00F2FE;
      color: #FFFFFF;
    }
    .badge-status {
      display: inline-flex;
      align-items: center;
      padding: 2px 8px;
      font-size: 11px;
      font-weight: 600;
      border-radius: 4px;
      letter-spacing: 0.05em;
    }
    .aspect-poster {
      position: relative;
      width: 100%;
      padding-top: 142%;
      background-color: #1a2232;
    }
    .aspect-poster img {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    #mobileMenu {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease-out;
    }
    #mobileMenu.active {
      max-height: 480px;
    }
    .filter-item {
      padding: 4px 12px;
      border-radius: 6px;
      font-size: 13px;
      color: #94A3B8;
      transition: all 0.2s ease;
      cursor: pointer;
    }
    .filter-item.active {
      background: rgba(0, 242, 254, 0.12);
      color: #00F2FE;
      font-weight: 600;
      border: 1px solid rgba(0, 242, 254, 0.3);
    }
    .filter-item:hover:not(.active) {
      color: #FFFFFF;
      background: rgba(255, 255, 255, 0.05);
    }
    .custom-scrollbar::-webkit-scrollbar {
      width: 4px;
      height: 4px;
    }
    .custom-scrollbar::-webkit-scrollbar-thumb {
      background: rgba(255, 255, 255, 0.15);
      border-radius: 4px;
    }

/* roulang page: category3 */
:root {
            --bg-main: #0B0E14;
            --bg-card: #131822;
            --bg-surface: #1A2232;
            --border-light: rgba(255, 255, 255, 0.08);
            --border-focus: rgba(0, 242, 254, 0.4);
            --text-primary: #FFFFFF;
            --text-secondary: #E2E8F0;
            --text-muted: #94A3B8;
            --primary-cyan: #00F2FE;
            --primary-blue: #4FACFE;
            --accent-gold: #FFAE00;
            --radius-md: 12px;
            --radius-lg: 16px;
            --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5);
            --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        }
        body {
            background-color: var(--bg-main);
            color: var(--text-secondary);
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
            line-height: 1.6;
            overflow-x: hidden;
            -webkit-font-smoothing: antialiased;
        }
        a {
            color: inherit;
            text-decoration: none;
            transition: var(--transition-smooth);
        }
        .media-card {
            background-color: var(--bg-card);
            border: 1px solid var(--border-light);
            border-radius: var(--radius-lg);
            transition: var(--transition-smooth);
            box-shadow: var(--shadow-card);
            overflow: hidden;
        }
        .media-card:hover {
            transform: translateY(-4px);
            border-color: var(--border-focus);
            box-shadow: 0 15px 35px rgba(0, 242, 254, 0.12);
        }
        .btn-gradient-primary {
            background: linear-gradient(135deg, #00F2FE 0%, #4FACFE 100%);
            color: #0B0E14;
            font-weight: 600;
            border-radius: 8px;
            padding: 8px 18px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            transition: var(--transition-smooth);
        }
        .btn-gradient-primary:hover {
            opacity: 0.92;
            box-shadow: 0 0 18px rgba(0, 242, 254, 0.4);
            transform: translateY(-1px);
        }
        .btn-ghost-cyan {
            border: 1px solid rgba(0, 242, 254, 0.4);
            color: #00F2FE;
            background: rgba(0, 242, 254, 0.05);
            font-weight: 500;
            border-radius: 8px;
            padding: 8px 16px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            transition: var(--transition-smooth);
        }
        .btn-ghost-cyan:hover {
            background: rgba(0, 242, 254, 0.15);
            border-color: #00F2FE;
            color: #FFFFFF;
        }
        .badge-status {
            display: inline-flex;
            align-items: center;
            padding: 2px 8px;
            font-size: 11px;
            font-weight: 600;
            border-radius: 4px;
            letter-spacing: 0.05em;
        }
        .aspect-poster {
            position: relative;
            width: 100%;
            padding-top: 140%;
            overflow: hidden;
            background-color: #171d2b;
        }
        .aspect-poster img {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        .media-card:hover .aspect-poster img {
            transform: scale(1.05);
        }
        .filter-tag {
            padding: 5px 14px;
            border-radius: 6px;
            font-size: 13px;
            color: #94A3B8;
            background-color: transparent;
            transition: var(--transition-smooth);
            cursor: pointer;
            user-select: none;
        }
        .filter-tag:hover {
            color: #00F2FE;
            background-color: rgba(255, 255, 255, 0.03);
        }
        .filter-tag.active {
            color: #0B0E14;
            background-color: #00F2FE;
            font-weight: 600;
        }
        #mobileMenu {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease-out;
        }
        #mobileMenu.active {
            max-height: 480px;
        }

/* roulang page: category4 */
:root {
      --bg-main: #0B0E14;
      --bg-card: #131822;
      --bg-surface: #1A2232;
      --border-light: rgba(255, 255, 255, 0.08);
      --border-focus: rgba(0, 242, 254, 0.4);
      --text-primary: #FFFFFF;
      --text-secondary: #E2E8F0;
      --text-muted: #94A3B8;
      --primary-cyan: #00F2FE;
      --primary-blue: #4FACFE;
      --accent-gold: #FFAE00;
      --radius-md: 12px;
      --radius-lg: 16px;
      --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.5);
      --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    body {
      background-color: var(--bg-main);
      color: var(--text-secondary);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      line-height: 1.6;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }
    a {
      color: inherit;
      text-decoration: none;
      transition: var(--transition-smooth);
    }
    .media-card {
      background-color: var(--bg-card);
      border: 1px solid var(--border-light);
      border-radius: var(--radius-lg);
      transition: var(--transition-smooth);
      box-shadow: var(--shadow-card);
      overflow: hidden;
    }
    .media-card:hover {
      transform: translateY(-4px);
      border-color: var(--border-focus);
      box-shadow: 0 15px 35px rgba(0, 242, 254, 0.12);
    }
    .btn-gradient-primary {
      background: linear-gradient(135deg, #00F2FE 0%, #4FACFE 100%);
      color: #0B0E14;
      font-weight: 600;
      border-radius: 8px;
      padding: 8px 18px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      transition: var(--transition-smooth);
    }
    .btn-gradient-primary:hover {
      opacity: 0.92;
      box-shadow: 0 0 18px rgba(0, 242, 254, 0.4);
      transform: translateY(-1px);
    }
    .btn-ghost-cyan {
      border: 1px solid rgba(0, 242, 254, 0.4);
      color: #00F2FE;
      background: rgba(0, 242, 254, 0.05);
      font-weight: 500;
      border-radius: 8px;
      padding: 8px 16px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      transition: var(--transition-smooth);
    }
    .btn-ghost-cyan:hover {
      background: rgba(0, 242, 254, 0.15);
      border-color: #00F2FE;
      color: #FFFFFF;
    }
    .badge-status {
      display: inline-flex;
      align-items: center;
      padding: 2px 8px;
      font-size: 11px;
      font-weight: 600;
      border-radius: 4px;
      letter-spacing: 0.05em;
    }
    .aspect-poster img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    #mobileMenu {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.3s ease-out;
    }
    #mobileMenu.active {
      max-height: 480px;
    }
    /* Tech Category Specific Extensions */
    .tech-pill {
      border: 1px solid rgba(255, 255, 255, 0.08);
      background: rgba(19, 24, 34, 0.6);
      transition: var(--transition-smooth);
    }
    .tech-pill:hover, .tech-pill.active {
      border-color: var(--primary-cyan);
      background: rgba(0, 242, 254, 0.1);
      color: var(--primary-cyan);
    }
    .accordion-content {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.35s ease;
    }
    .accordion-item.active .accordion-content {
      max-height: 320px;
    }
    .accordion-item.active .accordion-icon {
      transform: rotate(180deg);
      color: #00F2FE;
    }
