/* roulang page: index */
:root {
      --bg-primary: #0A0D14;
      --bg-secondary: #121620;
      --card-bg: #1A1F2C;
      --card-border: rgba(255, 255, 255, 0.08);
      --accent-cyan: #00F5D4;
      --accent-glow: rgba(0, 245, 212, 0.25);
      --accent-magenta: #FF2A6D;
      --text-white: #FFFFFF;
      --text-gray: #94A3B8;
      --text-muted: #64748B;
      --sidebar-width: 250px;
      --radius-sm: 6px;
      --radius-md: 10px;
      --radius-lg: 14px;
      --transition-smooth: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      background-color: var(--bg-primary);
      color: var(--text-gray);
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
      line-height: 1.6;
      overflow-x: hidden;
    }

    a {
      color: inherit;
      text-decoration: none;
      transition: var(--transition-smooth);
    }
    a:hover {
      color: var(--accent-cyan);
    }

    /* Left App Shell Layout */
    .app-shell {
      display: flex;
      min-height: 100vh;
      position: relative;
    }

    .app-sidebar {
      width: var(--sidebar-width);
      background-color: var(--bg-secondary);
      border-right: 1px solid var(--card-border);
      position: fixed;
      top: 0;
      bottom: 0;
      left: 0;
      z-index: 1000;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 1.5rem 1rem;
      transition: transform 0.3s ease;
    }

    .sidebar-brand {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      padding: 0.5rem 0.75rem;
      margin-bottom: 2rem;
    }
    .brand-icon {
      width: 36px;
      height: 36px;
      background: linear-gradient(135deg, var(--accent-cyan), #00bb9f);
      border-radius: var(--radius-sm);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #051614;
      font-size: 1.1rem;
      font-weight: 800;
      box-shadow: 0 0 15px var(--accent-glow);
    }
    .brand-text {
      font-size: 1.05rem;
      font-weight: 700;
      color: var(--text-white);
      letter-spacing: 0.5px;
      line-height: 1.3;
    }

    .sidebar-nav {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 0.35rem;
      flex-grow: 1;
    }
    .sidebar-nav-item a {
      display: flex;
      align-items: center;
      gap: 0.85rem;
      padding: 0.8rem 1rem;
      border-radius: var(--radius-md);
      font-size: 0.95rem;
      font-weight: 500;
      color: var(--text-gray);
      border: 1px solid transparent;
    }
    .sidebar-nav-item a:hover {
      background: rgba(255, 255, 255, 0.04);
      color: var(--text-white);
    }
    .sidebar-nav-item.active a {
      background: rgba(0, 245, 212, 0.08);
      color: var(--accent-cyan);
      border-color: rgba(0, 245, 212, 0.2);
    }
    .sidebar-nav-item a i {
      font-size: 1.1rem;
      width: 20px;
      text-align: center;
    }

    .sidebar-status {
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: var(--radius-md);
      padding: 0.85rem;
      margin-top: 1.5rem;
    }
    .status-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      font-size: 0.8rem;
    }
    .status-pulse {
      display: inline-block;
      width: 8px;
      height: 8px;
      background-color: var(--accent-cyan);
      border-radius: 50%;
      box-shadow: 0 0 8px var(--accent-cyan);
      margin-right: 6px;
    }

    /* Mobile Top Bar */
    .mobile-topbar {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      height: 60px;
      background: var(--bg-secondary);
      border-bottom: 1px solid var(--card-border);
      z-index: 1100;
      align-items: center;
      justify-content: space-between;
      padding: 0 1.25rem;
    }
    .mobile-menu-btn {
      background: none;
      border: none;
      color: var(--text-white);
      font-size: 1.3rem;
      cursor: pointer;
    }

    /* Main Content Canvas */
    .main-canvas {
      margin-left: var(--sidebar-width);
      flex: 1;
      min-width: 0;
      background: var(--bg-primary);
      padding: 2.5rem 2.5rem 5rem 2.5rem;
    }

    /* Common Components & Micro styles */
    .section-wrap {
      margin-bottom: 4.5rem;
    }
    .section-header {
      margin-bottom: 1.75rem;
    }
    .section-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 0.4rem;
      color: var(--accent-cyan);
      font-size: 0.8rem;
      font-weight: 600;
      letter-spacing: 1px;
      text-transform: uppercase;
      margin-bottom: 0.4rem;
    }
    .section-title {
      font-size: 1.75rem;
      font-weight: 700;
      color: var(--text-white);
      margin: 0;
      letter-spacing: 0.5px;
    }
    .section-desc {
      color: var(--text-gray);
      font-size: 0.95rem;
      margin-top: 0.6rem;
      max-width: 850px;
      line-height: 1.7;
    }

    .badge-tag {
      font-size: 0.75rem;
      padding: 0.2rem 0.55rem;
      border-radius: var(--radius-sm);
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 0.3rem;
    }
    .tag-magenta {
      background: rgba(255, 42, 109, 0.15);
      color: var(--accent-magenta);
      border: 1px solid rgba(255, 42, 109, 0.3);
    }
    .tag-cyan {
      background: rgba(0, 245, 212, 0.12);
      color: var(--accent-cyan);
      border: 1px solid rgba(0, 245, 212, 0.3);
    }
    .tag-dark {
      background: rgba(255, 255, 255, 0.05);
      color: var(--text-gray);
      border: 1px solid var(--card-border);
    }

    .glow-card {
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: var(--radius-md);
      transition: var(--transition-smooth);
      position: relative;
    }
    .glow-card:hover {
      transform: translateY(-4px);
      border-color: rgba(0, 245, 212, 0.35);
      box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.5), 0 0 20px -5px rgba(0, 245, 212, 0.12);
    }

    .btn-action {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.5rem;
      padding: 0.75rem 1.4rem;
      font-size: 0.95rem;
      font-weight: 600;
      border-radius: var(--radius-md);
      cursor: pointer;
      border: none;
      transition: var(--transition-smooth);
    }
    .btn-primary {
      background: var(--accent-cyan);
      color: #051614;
      box-shadow: 0 4px 15px var(--accent-glow);
    }
    .btn-primary:hover {
      background: #26f8db;
      box-shadow: 0 6px 20px rgba(0, 245, 212, 0.4);
      color: #051614;
    }
    .btn-secondary {
      background: rgba(255, 255, 255, 0.06);
      color: var(--text-white);
      border: 1px solid var(--card-border);
    }
    .btn-secondary:hover {
      background: rgba(255, 255, 255, 0.1);
      border-color: var(--text-gray);
      color: var(--text-white);
    }

    /* Hero Section (No-Big-Image Blueprint: Icon matrix + status strip + short punchy title) */
    .hero-panel {
      background: radial-gradient(circle at 10% 20%, rgba(0, 245, 212, 0.08) 0%, transparent 60%),
                  radial-gradient(circle at 90% 80%, rgba(255, 42, 109, 0.06) 0%, transparent 60%),
                  var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: var(--radius-lg);
      padding: 2.75rem 2.25rem;
      margin-bottom: 4rem;
      position: relative;
      overflow: hidden;
    }
    .hero-status-strip {
      display: inline-flex;
      align-items: center;
      gap: 0.75rem;
      background: rgba(10, 13, 20, 0.75);
      border: 1px solid var(--card-border);
      padding: 0.4rem 0.9rem;
      border-radius: 30px;
      font-size: 0.85rem;
      margin-bottom: 1.5rem;
    }
    .hero-h1 {
      font-size: 2.4rem;
      font-weight: 800;
      color: var(--text-white);
      letter-spacing: -0.5px;
      line-height: 1.25;
      margin-bottom: 1.2rem;
    }
    .hero-h1 span {
      color: var(--accent-cyan);
      text-shadow: 0 0 20px rgba(0, 245, 212, 0.3);
    }
    .hero-lead {
      color: var(--text-gray);
      font-size: 1.05rem;
      line-height: 1.8;
      max-width: 900px;
      margin-bottom: 2rem;
    }
    .hero-icon-matrix {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
      gap: 1.25rem;
      margin-top: 1rem;
    }
    .matrix-node {
      background: rgba(18, 22, 32, 0.8);
      border: 1px solid var(--card-border);
      border-radius: var(--radius-md);
      padding: 1rem 1.2rem;
      display: flex;
      align-items: center;
      gap: 0.9rem;
    }
    .matrix-node i {
      font-size: 1.4rem;
      color: var(--accent-cyan);
    }
    .matrix-info strong {
      display: block;
      color: var(--text-white);
      font-size: 0.95rem;
    }
    .matrix-info span {
      color: var(--text-muted);
      font-size: 0.8rem;
    }

    /* 1. Metrics Board */
    .metric-card {
      padding: 1.6rem 1.4rem;
      text-align: left;
    }
    .metric-value {
      font-size: 2.2rem;
      font-weight: 800;
      color: var(--text-white);
      line-height: 1.1;
      margin: 0.5rem 0 0.3rem 0;
      font-family: monospace, sans-serif;
    }
    .metric-value.highlight-cyan {
      color: var(--accent-cyan);
      text-shadow: 0 0 15px rgba(0, 245, 212, 0.3);
    }
    .metric-value.highlight-magenta {
      color: var(--accent-magenta);
    }
    .metric-sub {
      font-size: 0.82rem;
      color: var(--text-muted);
    }

    /* 2. Service Matrix */
    .service-card {
      padding: 1.75rem;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .service-icon {
      width: 46px;
      height: 46px;
      background: rgba(0, 245, 212, 0.08);
      border: 1px solid rgba(0, 245, 212, 0.2);
      border-radius: var(--radius-md);
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--accent-cyan);
      font-size: 1.25rem;
      margin-bottom: 1.25rem;
    }
    .service-card h4 {
      color: var(--text-white);
      font-size: 1.15rem;
      margin-bottom: 0.75rem;
    }
    .service-card p {
      font-size: 0.9rem;
      line-height: 1.65;
      color: var(--text-gray);
      margin-bottom: 1rem;
    }

    /* 3. Category Access Hub */
    .category-hub-card {
      padding: 1.5rem;
      background: linear-gradient(145deg, #1A1F2C 0%, #151924 100%);
      border: 1px solid var(--card-border);
      border-radius: var(--radius-lg);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1.5rem;
    }
    .category-pill-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
      margin-top: 1rem;
    }
    .pill-link {
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid var(--card-border);
      padding: 0.6rem 1.15rem;
      border-radius: 25px;
      font-size: 0.88rem;
      color: var(--text-white);
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
    }
    .pill-link:hover {
      background: rgba(0, 245, 212, 0.1);
      border-color: var(--accent-cyan);
      color: var(--accent-cyan);
    }

    /* 4. Comparison */
    .comparison-container {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 1.5rem;
    }
    .compare-side {
      padding: 2rem;
      border-radius: var(--radius-lg);
    }
    .compare-side.bad {
      background: rgba(18, 22, 32, 0.6);
      border: 1px solid rgba(255, 255, 255, 0.05);
    }
    .compare-side.good {
      background: rgba(26, 31, 44, 0.9);
      border: 1px solid rgba(0, 245, 212, 0.25);
      box-shadow: 0 0 25px rgba(0, 245, 212, 0.05);
    }
    .compare-side h4 {
      font-size: 1.25rem;
      margin-bottom: 1.25rem;
      display: flex;
      align-items: center;
      gap: 0.6rem;
    }
    .compare-side.bad h4 { color: #cbd5e1; }
    .compare-side.good h4 { color: var(--accent-cyan); }
    .compare-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }
    .compare-list li {
      font-size: 0.92rem;
      display: flex;
      align-items: flex-start;
      gap: 0.75rem;
    }
    .compare-list li i {
      margin-top: 0.2rem;
    }

    /* 5. Timeline */
    .milestone-track {
      position: relative;
      border-left: 2px solid rgba(255, 255, 255, 0.08);
      padding-left: 2rem;
      margin-left: 1rem;
      display: flex;
      flex-direction: column;
      gap: 2rem;
    }
    .milestone-point {
      position: relative;
    }
    .milestone-dot {
      position: absolute;
      left: -2.45rem;
      top: 0.25rem;
      width: 14px;
      height: 14px;
      border-radius: 50%;
      background: var(--accent-cyan);
      border: 3px solid var(--bg-primary);
      box-shadow: 0 0 10px var(--accent-cyan);
    }
    .milestone-date {
      font-size: 0.8rem;
      color: var(--accent-cyan);
      font-weight: 700;
      letter-spacing: 0.5px;
    }
    .milestone-point h4 {
      color: var(--text-white);
      font-size: 1.1rem;
      margin: 0.25rem 0 0.5rem 0;
    }
    .milestone-point p {
      font-size: 0.9rem;
      color: var(--text-gray);
      line-height: 1.6;
    }

    /* 6. Feed Waterfall */
    .feed-card {
      display: flex;
      gap: 1.25rem;
      padding: 1.25rem;
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: var(--radius-md);
      margin-bottom: 1.25rem;
    }
    .feed-thumb {
      width: 130px;
      height: 85px;
      border-radius: var(--radius-sm);
      background: #11151e;
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--text-muted);
      position: relative;
      overflow: hidden;
    }
    .feed-thumb-icon {
      font-size: 1.8rem;
      color: rgba(0, 245, 212, 0.4);
    }
    .feed-body {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
    }
    .feed-body h5 {
      color: var(--text-white);
      font-size: 1.05rem;
      margin-bottom: 0.35rem;
      line-height: 1.4;
    }
    .feed-body p {
      color: var(--text-gray);
      font-size: 0.85rem;
      line-height: 1.5;
      margin-bottom: 0.5rem;
    }
    .feed-meta {
      display: flex;
      align-items: center;
      gap: 1rem;
      font-size: 0.78rem;
      color: var(--text-muted);
    }

    /* 7.rail-container {
      display: flex;
      gap: 1.25rem;
      overflow-x: auto;
      padding-bottom: 1rem;
      scrollbar-width: thin;
      scrollbar-color: rgba(0, 245, 212, 0.3) var(--bg-secondary);
    }
    .rail-container::-webkit-scrollbar {
      height: 6px;
    }
    .rail-container::-webkit-scrollbar-thumb {
      background: rgba(0, 245, 212, 0.3);
      border-radius: 4px;
    }
    .rail-card {
      min-width: 220px;
      max-width: 220px;
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: var(--radius-md);
      overflow: hidden;
      flex-shrink: 0;
      transition: var(--transition-smooth);
    }
    .rail-card:hover {
      transform: translateY(-4px);
      border-color: rgba(0, 245, 212, 0.3);
    }
    .rail-poster {
      width: 100%;
      height: 125px;
      background: linear-gradient(135deg, #161b26, #22293a);
      position: relative;
      display: flex;
      align-items: center;
      justify-content: center;
      color: rgba(255, 255, 255, 0.15);
      font-size: 2.5rem;
    }
    .rail-badge {
      position: absolute;
      top: 8px;
      left: 8px;
    }
    .rail-content {
      padding: 0.85rem;
    }
    .rail-content h5 {
      color: var(--text-white);
      font-size: 0.95rem;
      margin-bottom: 0.3rem;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .rail-content span {
      font-size: 0.78rem;
      color: var(--text-muted);
    }

    /* 8. Assurance */
    .assure-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
      gap: 1.25rem;
    }
    .assure-box {
      padding: 1.5rem;
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: var(--radius-md);
    }
    .assure-box i {
      font-size: 1.6rem;
      color: var(--accent-cyan);
      margin-bottom: 0.85rem;
      display: block;
    }
    .assure-box h5 {
      color: var(--text-white);
      font-size: 1.05rem;
      margin-bottom: 0.5rem;
    }
    .assure-box p {
      font-size: 0.88rem;
      color: var(--text-gray);
      line-height: 1.6;
    }

    /* 9. Fast Guide Steps */
    .step-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 1.25rem;
    }
    .step-card {
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: var(--radius-md);
      padding: 1.5rem;
      position: relative;
    }
    .step-number {
      position: absolute;
      top: 1rem;
      right: 1.25rem;
      font-size: 2.2rem;
      font-weight: 800;
      color: rgba(255, 255, 255, 0.05);
      font-family: monospace, sans-serif;
    }
    .step-card h5 {
      color: var(--text-white);
      font-size: 1.05rem;
      margin: 0.5rem 0 0.5rem 0;
    }
    .step-card p {
      font-size: 0.88rem;
      color: var(--text-gray);
      line-height: 1.6;
    }

    /* 10. FAQ Accordion Custom */
    .custom-accordion {
      display: flex;
      flex-direction: column;
      gap: 0.85rem;
    }
    .faq-card {
      background: var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: var(--radius-md);
      overflow: hidden;
    }
    .faq-question {
      padding: 1.15rem 1.25rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      color: var(--text-white);
      font-size: 0.98rem;
      font-weight: 600;
      cursor: pointer;
    }
    .faq-question i {
      color: var(--accent-cyan);
      transition: transform 0.25s ease;
    }
    .faq-card.active .faq-question i {
      transform: rotate(180deg);
    }
    .faq-answer {
      padding: 0 1.25rem 1.15rem 1.25rem;
      color: var(--text-gray);
      font-size: 0.9rem;
      line-height: 1.7;
      display: none;
      border-top: 1px solid rgba(255, 255, 255, 0.04);
      padding-top: 0.85rem;
    }
    .faq-card.active .faq-answer {
      display: block;
    }

    /* 11. Speed Test Sandbox */
    .speed-panel {
      background: linear-gradient(180deg, #1A1F2C 0%, #131722 100%);
      border: 1px solid var(--card-border);
      border-radius: var(--radius-lg);
      padding: 1.75rem;
    }
    .node-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 1rem 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    .node-row:last-child {
      border-bottom: none;
      padding-bottom: 0;
    }
    .node-title {
      font-weight: 600;
      color: var(--text-white);
      display: flex;
      align-items: center;
      gap: 0.6rem;
    }
    .node-ping {
      font-family: monospace, sans-serif;
      font-size: 0.95rem;
    }
    .ping-excellent { color: #00F5D4; }
    .ping-good { color: #38bdf8; }

    /* 12. Feedback Form */
    .form-panel {
      background: radial-gradient(circle at 80% 20%, rgba(0, 245, 212, 0.05) 0%, transparent 50%), var(--card-bg);
      border: 1px solid var(--card-border);
      border-radius: var(--radius-lg);
      padding: 2.25rem;
    }
    .form-group {
      margin-bottom: 1.25rem;
    }
    .form-label {
      display: block;
      color: var(--text-white);
      font-size: 0.88rem;
      margin-bottom: 0.4rem;
      font-weight: 600;
    }
    .form-control, .form-select, .form-textarea {
      width: 100%;
      background: rgba(10, 13, 20, 0.8);
      border: 1px solid var(--card-border);
      border-radius: var(--radius-sm);
      padding: 0.75rem 1rem;
      color: var(--text-white);
      font-size: 0.9rem;
      outline: none;
      transition: var(--transition-smooth);
    }
    .form-control:focus, .form-select:focus, .form-textarea:focus {
      border-color: var(--accent-cyan);
      box-shadow: 0 0 10px rgba(0, 245, 212, 0.2);
    }
    .form-textarea {
      resize: vertical;
      min-height: 90px;
    }

    /* Site Footer */
    .app-footer {
      border-top: 1px solid var(--card-border);
      padding-top: 2.5rem;
      margin-top: 4rem;
      font-size: 0.85rem;
      color: var(--text-muted);
    }
    .footer-content {
      display: flex;
      flex-direction: column;
      gap: 1.25rem;
    }
    .footer-brand {
      color: var(--text-white);
      font-size: 1.1rem;
      font-weight: 700;
    }
    .footer-desc {
      line-height: 1.6;
      max-width: 800px;
    }
    .footer-meta {
      display: flex;
      align-items: center;
      justify-content: space-between;
      flex-wrap: wrap;
      gap: 1rem;
      padding-top: 1rem;
      border-top: 1px solid rgba(255, 255, 255, 0.04);
    }

    /* Responsive Queries */
    @media (max-width: 1023px) {
      .app-sidebar {
        transform: translateX(-100%);
      }
      .app-sidebar.open {
        transform: translateX(0);
        box-shadow: 10px 0 30px rgba(0,0,0,0.8);
      }
      .mobile-topbar {
        display: flex;
      }
      .main-canvas {
        margin-left: 0;
        padding: 5rem 1.25rem 3rem 1.25rem;
      }
      .comparison-container {
        grid-template-columns: 1fr;
      }
      .category-hub-card {
        flex-direction: column;
        align-items: flex-start;
      }
    }
    @media (max-width: 640px) {
      .hero-h1 {
        font-size: 1.85rem;
      }
      .section-title {
        font-size: 1.45rem;
      }
      .feed-card {
        flex-direction: column;
      }
      .feed-thumb {
        width: 100%;
        height: 120px;
      }
    }

/* roulang page: category1 */
:root {
            --bg-primary: #0A0D14;
            --bg-secondary: #121620;
            --card-bg: #1A1F2C;
            --card-border: rgba(255, 255, 255, 0.08);
            --accent-cyan: #00F5D4;
            --accent-glow: rgba(0, 245, 212, 0.25);
            --accent-magenta: #FF2A6D;
            --text-white: #FFFFFF;
            --text-gray: #94A3B8;
            --text-muted: #64748B;
            --sidebar-width: 250px;
            --radius-sm: 6px;
            --radius-md: 10px;
            --radius-lg: 14px;
            --transition-smooth: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
        }
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        body {
            background-color: var(--bg-primary);
            color: var(--text-gray);
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
            line-height: 1.6;
            overflow-x: hidden;
        }
        a {
            color: inherit;
            text-decoration: none;
            transition: var(--transition-smooth);
        }
        a:hover {
            color: var(--accent-cyan);
        }
        .app-shell-container {
            display: flex;
            min-height: 100vh;
            position: relative;
        }
        /* Left Fixed Sidebar */
        .desktop-sidebar {
            width: var(--sidebar-width);
            background: var(--bg-secondary);
            border-right: 1px solid var(--card-border);
            position: fixed;
            top: 0;
            left: 0;
            bottom: 0;
            padding: 1.75rem 1.25rem;
            display: flex;
            flex-direction: column;
            z-index: 1000;
        }
        .sidebar-brand {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.5rem 0.25rem;
            margin-bottom: 2rem;
        }
        .brand-icon {
            width: 36px;
            height: 36px;
            background: linear-gradient(135deg, var(--accent-cyan), #00bb9f);
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            color: #051614;
            font-size: 1.1rem;
            font-weight: 800;
            box-shadow: 0 0 15px var(--accent-glow);
            flex-shrink: 0;
        }
        .brand-text {
            font-size: 1.05rem;
            font-weight: 700;
            color: var(--text-white);
            letter-spacing: 0.5px;
            line-height: 1.3;
        }
        .sidebar-nav {
            list-style: none;
            display: flex;
            flex-direction: column;
            gap: 0.35rem;
            flex-grow: 1;
        }
        .sidebar-nav-item a {
            display: flex;
            align-items: center;
            gap: 0.85rem;
            padding: 0.8rem 1rem;
            border-radius: var(--radius-md);
            font-size: 0.95rem;
            font-weight: 500;
            color: var(--text-gray);
            border: 1px solid transparent;
        }
        .sidebar-nav-item a:hover {
            background: rgba(255, 255, 255, 0.04);
            color: var(--text-white);
        }
        .sidebar-nav-item.active a {
            background: rgba(0, 245, 212, 0.08);
            color: var(--accent-cyan);
            border-color: rgba(0, 245, 212, 0.2);
        }
        .sidebar-nav-item a i {
            font-size: 1.1rem;
            width: 20px;
            text-align: center;
        }
        .sidebar-status-box {
            background: rgba(0, 0, 0, 0.25);
            border: 1px solid var(--card-border);
            border-radius: var(--radius-md);
            padding: 0.85rem;
            margin-top: auto;
        }
        .status-header {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.8rem;
            font-weight: 600;
            color: var(--text-white);
            margin-bottom: 0.5rem;
        }
        .status-indicator-dot {
            width: 8px;
            height: 8px;
            background: var(--accent-cyan);
            border-radius: 50%;
            box-shadow: 0 0 8px var(--accent-cyan);
            animation: pulseDot 2s infinite;
        }
        @keyframes pulseDot {
            0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 245, 212, 0.7); }
            70% { transform: scale(1.1); box-shadow: 0 0 0 6px rgba(0, 245, 212, 0); }
            100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 245, 212, 0); }
        }
        .status-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 0.75rem;
            color: var(--text-muted);
            margin-top: 0.3rem;
        }
        .status-val {
            color: var(--accent-cyan);
            font-family: monospace;
            font-weight: bold;
        }
        /* Mobile Top Bar */
        .mobile-topbar {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            height: 60px;
            background: var(--bg-secondary);
            border-bottom: 1px solid var(--card-border);
            z-index: 1100;
            align-items: center;
            justify-content: space-between;
            padding: 0 1.25rem;
        }
        .mobile-menu-btn {
            background: none;
            border: none;
            color: var(--text-white);
            font-size: 1.3rem;
            cursor: pointer;
        }
        /* Main Content Canvas */
        .main-canvas {
            margin-left: var(--sidebar-width);
            flex: 1;
            min-width: 0;
            background: var(--bg-primary);
            padding: 2.5rem 2.5rem 5rem 2.5rem;
        }
        /* Reusable Components */
        .section-wrap {
            margin-bottom: 4.5rem;
        }
        .section-header {
            margin-bottom: 1.75rem;
        }
        .section-eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            color: var(--accent-cyan);
            font-size: 0.8rem;
            font-weight: 600;
            letter-spacing: 1px;
            text-transform: uppercase;
            margin-bottom: 0.4rem;
        }
        .section-title {
            font-size: 1.65rem;
            font-weight: 700;
            color: var(--text-white);
            margin: 0;
            letter-spacing: 0.5px;
        }
        .section-desc {
            color: var(--text-gray);
            font-size: 0.95rem;
            margin-top: 0.6rem;
            max-width: 850px;
            line-height: 1.7;
        }
        .glow-card {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: var(--radius-md);
            transition: var(--transition-smooth);
            position: relative;
        }
        .glow-card:hover {
            transform: translateY(-4px);
            border-color: rgba(0, 245, 212, 0.35);
            box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.5), 0 0 20px -5px rgba(0, 245, 212, 0.12);
        }
        .badge-tag {
            font-size: 0.72rem;
            padding: 0.2rem 0.55rem;
            border-radius: var(--radius-sm);
            font-weight: 600;
            display: inline-flex;
            align-items: center;
            gap: 0.3rem;
        }
        .tag-magenta {
            background: rgba(255, 42, 109, 0.15);
            color: var(--accent-magenta);
            border: 1px solid rgba(255, 42, 109, 0.3);
        }
        .tag-cyan {
            background: rgba(0, 245, 212, 0.12);
            color: var(--accent-cyan);
            border: 1px solid rgba(0, 245, 212, 0.3);
        }
        .tag-dark {
            background: rgba(255, 255, 255, 0.05);
            color: var(--text-gray);
            border: 1px solid var(--card-border);
        }
        .btn-action {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            padding: 0.75rem 1.4rem;
            font-size: 0.95rem;
            font-weight: 600;
            border-radius: var(--radius-md);
            cursor: pointer;
            border: none;
            transition: var(--transition-smooth);
        }
        .btn-primary {
            background: var(--accent-cyan);
            color: #051614;
            box-shadow: 0 4px 15px var(--accent-glow);
        }
        .btn-primary:hover {
            background: #26f8db;
            box-shadow: 0 6px 20px rgba(0, 245, 212, 0.4);
            color: #051614;
        }
        .btn-secondary {
            background: rgba(255, 255, 255, 0.06);
            color: var(--text-white);
            border: 1px solid var(--card-border);
        }
        .btn-secondary:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: var(--text-gray);
            color: var(--text-white);
        }
        /* Category Specific Styles */
        .category-hero-board {
            background: linear-gradient(135deg, rgba(18, 22, 32, 0.9) 0%, rgba(26, 31, 44, 0.95) 100%);
            border: 1px solid var(--card-border);
            border-radius: var(--radius-lg);
            padding: 2.25rem;
            margin-bottom: 3.5rem;
            position: relative;
            overflow: hidden;
        }
        .category-hero-board::after {
            content: '';
            position: absolute;
            top: -40%;
            right: -20%;
            width: 400px;
            height: 400px;
            background: radial-gradient(circle, rgba(0, 245, 212, 0.08) 0%, transparent 70%);
            pointer-events: none;
        }
        .category-breadcrumb {
            display: flex;
            align-items: center;
            gap: 0.6rem;
            font-size: 0.85rem;
            color: var(--text-muted);
            margin-bottom: 1.25rem;
        }
        .category-breadcrumb a {
            color: var(--text-gray);
        }
        .category-breadcrumb a:hover {
            color: var(--accent-cyan);
        }
        .category-h1 {
            font-size: 2.1rem;
            font-weight: 800;
            color: var(--text-white);
            letter-spacing: -0.5px;
            margin-bottom: 0.85rem;
            line-height: 1.25;
        }
        .filter-group-wrap {
            margin-top: 1.75rem;
            padding-top: 1.5rem;
            border-top: 1px solid var(--card-border);
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        .filter-row {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
            gap: 0.5rem;
        }
        .filter-label {
            font-size: 0.82rem;
            color: var(--text-muted);
            min-width: 60px;
            font-weight: 600;
        }
        .filter-chip {
            padding: 0.35rem 0.85rem;
            border-radius: var(--radius-sm);
            font-size: 0.82rem;
            font-weight: 500;
            background: rgba(255, 255, 255, 0.04);
            border: 1px solid var(--card-border);
            color: var(--text-gray);
            cursor: pointer;
            transition: var(--transition-smooth);
        }
        .filter-chip:hover {
            color: var(--text-white);
            border-color: rgba(255, 255, 255, 0.2);
        }
        .filter-chip.active {
            background: rgba(0, 245, 212, 0.15);
            color: var(--accent-cyan);
            border-color: var(--accent-cyan);
            font-weight: 600;
        }
        /* Video Card Grid */
        .media-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 1.5rem;
        }
        .media-card {
            display: flex;
            flex-direction: column;
            overflow: hidden;
        }
        .media-thumb-box {
            position: relative;
            width: 100%;
            padding-top: 56.25%; /* 16:9 Aspect Ratio */
            background: #0f131a;
            border-radius: var(--radius-md) var(--radius-md) 0 0;
            overflow: hidden;
        }
        .media-thumb-inner {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(180deg, rgba(18, 22, 32, 0.2) 0%, rgba(10, 13, 20, 0.95) 100%);
            transition: var(--transition-smooth);
        }
        .media-card:hover .media-thumb-inner {
            transform: scale(1.04);
        }
        .thumb-bg-visual {
            position: absolute;
            inset: 0;
            opacity: 0.18;
            background-size: cover;
            background-position: center;
            filter: blur(1px);
        }
        .play-overlay-icon {
            position: relative;
            width: 44px;
            height: 44px;
            background: rgba(0, 245, 212, 0.9);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #051614;
            font-size: 1rem;
            transform: scale(0.9);
            transition: var(--transition-smooth);
            box-shadow: 0 0 15px rgba(0, 245, 212, 0.4);
            z-index: 2;
        }
        .media-card:hover .play-overlay-icon {
            transform: scale(1.05);
            background: var(--accent-cyan);
            box-shadow: 0 0 22px var(--accent-glow);
        }
        .badge-top-left {
            position: absolute;
            top: 10px;
            left: 10px;
            z-index: 3;
        }
        .badge-bottom-right {
            position: absolute;
            bottom: 8px;
            right: 10px;
            z-index: 3;
            font-family: monospace;
            font-size: 0.72rem;
            background: rgba(0, 0, 0, 0.75);
            padding: 0.15rem 0.4rem;
            border-radius: var(--radius-sm);
            color: #cbd5e1;
        }
        .media-content-box {
            padding: 1.15rem;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }
        .media-title {
            font-size: 1.05rem;
            font-weight: 700;
            color: var(--text-white);
            margin-bottom: 0.4rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .media-desc-brief {
            font-size: 0.82rem;
            color: var(--text-muted);
            line-height: 1.5;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            margin-bottom: 0.85rem;
            flex-grow: 1;
        }
        .media-meta-bar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 0.78rem;
            color: var(--text-muted);
            border-top: 1px solid rgba(255, 255, 255, 0.05);
            padding-top: 0.65rem;
        }
        .media-loadmore-wrap {
            margin-top: 2.75rem;
            text-align: center;
        }
        /* Horizontal Stream */
        .h-scroll-container {
            display: flex;
            gap: 1.25rem;
            overflow-x: auto;
            padding-bottom: 1.25rem;
            scroll-behavior: smooth;
        }
        .h-scroll-container::-webkit-scrollbar {
            height: 6px;
        }
        .h-scroll-container::-webkit-scrollbar-track {
            background: var(--bg-secondary);
            border-radius: 4px;
        }
        .h-scroll-container::-webkit-scrollbar-thumb {
            background: rgba(255, 255, 255, 0.15);
            border-radius: 4px;
        }
        .h-scroll-container::-webkit-scrollbar-thumb:hover {
            background: var(--accent-cyan);
        }
        .rank-stream-card {
            min-width: 270px;
            flex-shrink: 0;
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: var(--radius-md);
            padding: 1.25rem;
            display: flex;
            flex-direction: column;
            position: relative;
        }
        .rank-number-flag {
            position: absolute;
            top: 12px;
            right: 12px;
            font-size: 2.2rem;
            font-weight: 900;
            font-style: italic;
            line-height: 1;
            color: rgba(255, 255, 255, 0.08);
            user-select: none;
        }
        .rank-stream-card:nth-child(1) .rank-number-flag {
            color: rgba(255, 42, 109, 0.25);
        }
        .rank-stream-card:nth-child(2) .rank-number-flag {
            color: rgba(0, 245, 212, 0.25);
        }
        .rank-stream-card:nth-child(3) .rank-number-flag {
            color: rgba(0, 245, 212, 0.18);
        }
        .rank-title {
            font-size: 1.05rem;
            font-weight: 700;
            color: var(--text-white);
            margin-bottom: 0.5rem;
            padding-right: 2rem;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        .rank-metric {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 0.82rem;
            color: var(--accent-magenta);
            font-weight: 600;
            margin-bottom: 0.75rem;
        }
        /* Bitrate spec grid */
        .spec-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 1.5rem;
        }
        .spec-card {
            padding: 1.75rem 1.5rem;
            display: flex;
            flex-direction: column;
            border-top: 3px solid transparent;
        }
        .spec-card.highlight {
            border-top-color: var(--accent-cyan);
            background: linear-gradient(180deg, rgba(0, 245, 212, 0.04) 0%, var(--card-bg) 100%);
        }
        .spec-card.standard {
            border-top-color: rgba(255, 255, 255, 0.2);
        }
        .spec-card.eco {
            border-top-color: #3b82f6;
        }
        .spec-badge {
            font-size: 0.75rem;
            font-weight: 700;
            letter-spacing: 0.5px;
            margin-bottom: 0.75rem;
            display: inline-block;
        }
        .spec-header-title {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--text-white);
            margin-bottom: 0.5rem;
        }
        .spec-param-list {
            list-style: none;
            margin: 1.25rem 0;
            display: flex;
            flex-direction: column;
            gap: 0.65rem;
            font-size: 0.88rem;
        }
        .spec-param-list li {
            display: flex;
            justify-content: space-between;
            border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
            padding-bottom: 0.4rem;
        }
        .spec-param-name {
            color: var(--text-muted);
        }
        .spec-param-val {
            color: var(--text-white);
            font-weight: 600;
        }
        /* Troubleshoot dashboard */
        .troubleshoot-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1.5rem;
        }
        .troubleshoot-card {
            padding: 1.5rem;
            display: flex;
            gap: 1.2rem;
            align-items: flex-start;
        }
        .troubleshoot-icon {
            width: 46px;
            height: 46px;
            border-radius: var(--radius-md);
            background: rgba(0, 245, 212, 0.08);
            border: 1px solid rgba(0, 245, 212, 0.2);
            color: var(--accent-cyan);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.25rem;
            flex-shrink: 0;
        }
        .troubleshoot-text h4 {
            font-size: 1.05rem;
            font-weight: 700;
            color: var(--text-white);
            margin-bottom: 0.45rem;
        }
        .troubleshoot-text p {
            font-size: 0.88rem;
            color: var(--text-gray);
            line-height: 1.6;
        }
        /* Category FAQ */
        .cat-faq-item {
            background: var(--card-bg);
            border: 1px solid var(--card-border);
            border-radius: var(--radius-md);
            padding: 1.25rem 1.5rem;
            margin-bottom: 1rem;
        }
        .cat-faq-q {
            font-size: 1.05rem;
            font-weight: 700;
            color: var(--text-white);
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 0.5rem;
        }
        .cat-faq-q i {
            color: var(--accent-cyan);
            font-size: 0.95rem;
        }
        .cat-faq-a {
            font-size: 0.9rem;
            color: var(--text-gray);
            line-height: 1.65;
            padding-left: 1.7rem;
        }
        /* Sync log list */
        .log-table {
            width: 100%;
            border-collapse: collapse;
        }
        .log-table th, .log-table td {
            padding: 1rem 1.25rem;
            text-align: left;
            border-bottom: 1px solid var(--card-border);
            font-size: 0.88rem;
        }
        .log-table th {
            background: rgba(255, 255, 255, 0.02);
            color: var(--text-muted);
            font-weight: 600;
        }
        .log-table td {
            color: var(--text-gray);
        }
        .log-table tr:hover td {
            background: rgba(255, 255, 255, 0.02);
            color: var(--text-white);
        }
        /* Footer */
        .app-footer {
            background: var(--bg-secondary);
            border-top: 1px solid var(--card-border);
            padding: 3rem 2.5rem;
            margin-left: var(--sidebar-width);
        }
        .footer-content {
            max-width: 1100px;
            margin: 0 auto;
        }
        .footer-brand {
            font-size: 1.25rem;
            font-weight: 700;
            color: var(--text-white);
            margin-bottom: 1rem;
            display: inline-flex;
            align-items: center;
            gap: 0.6rem;
        }
        .footer-desc {
            font-size: 0.88rem;
            color: var(--text-muted);
            line-height: 1.8;
            margin-bottom: 1.75rem;
            max-width: 900px;
        }
        .footer-meta {
            border-top: 1px solid rgba(255, 255, 255, 0.06);
            padding-top: 1.5rem;
            display: flex;
            align-items: center;
            justify-content: space-between;
            font-size: 0.82rem;
            color: var(--text-muted);
            flex-wrap: wrap;
            gap: 1rem;
        }
        /* Mobile Drawer State & Responsive */
        .mobile-drawer-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.7);
            backdrop-filter: blur(4px);
            z-index: 1050;
        }
        @media (max-width: 1024px) {
            .desktop-sidebar {
                transform: translateX(-100%);
                transition: transform 0.3s ease;
                box-shadow: 10px 0 30px rgba(0, 0, 0, 0.8);
                width: 280px;
            }
            .desktop-sidebar.drawer-open {
                transform: translateX(0);
            }
            .mobile-topbar {
                display: flex;
            }
            .main-canvas {
                margin-left: 0;
                padding: 5.5rem 1.25rem 3.5rem 1.25rem;
            }
            .app-footer {
                margin-left: 0;
                padding: 2.5rem 1.25rem;
            }
            .media-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 1rem;
            }
            .spec-grid {
                grid-template-columns: 1fr;
            }
            .troubleshoot-grid {
                grid-template-columns: 1fr;
            }
        }
        @media (max-width: 580px) {
            .media-grid {
                grid-template-columns: 1fr;
            }
            .category-h1 {
                font-size: 1.6rem;
            }
            .footer-meta {
                flex-direction: column;
                align-items: flex-start;
            }
            .log-table th:nth-child(3), .log-table td:nth-child(3) {
                display: none;
            }
        }
