/* roulang page: index */
:root {
      --bg-dark: #0A0E17;
      --bg-card: #121824;
      --bg-card-hover: #192233;
      --brand-green: #00E676;
      --brand-blue: #00B0FF;
      --brand-gold: #FFD600;
      --brand-purple: #7C4DFF;
      --text-main: #FFFFFF;
      --text-muted: #CFD8DC;
      --text-dim: #78909C;
      --border-color: rgba(0, 230, 118, 0.15);
      --border-light: rgba(255, 255, 255, 0.08);
      --radius-sm: 6px;
      --radius-md: 12px;
      --radius-pill: 999px;
      --shadow-subtle: 0 8px 32px rgba(0, 0, 0, 0.45);
      --shadow-glow: 0 0 20px rgba(0, 230, 118, 0.25);
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    body {
      background-color: var(--bg-dark);
      color: var(--text-muted);
      font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
      line-height: 1.65;
      font-size: 15px;
      overflow-x: hidden;
    }

    a {
      color: var(--brand-green);
      text-decoration: none;
      transition: all 0.25s ease;
    }
    a:hover, a:focus {
      color: #33eb91;
      text-decoration: none;
    }

    h1, h2, h3, h4, h5, h6 {
      color: var(--text-main);
      font-weight: 700;
      line-height: 1.35;
    }

    .section-wrap {
      padding: clamp(50px, 6vw, 85px) 0;
      position: relative;
      border-bottom: 1px solid var(--border-light);
    }

    .section-wrap.alt-bg {
      background-color: #0d131f;
    }

    .section-title-wrap {
      margin-bottom: 36px;
    }

    .section-badge {
      display: inline-block;
      font-size: 12px;
      font-weight: 600;
      color: var(--brand-green);
      background: rgba(0, 230, 118, 0.1);
      border: 1px solid rgba(0, 230, 118, 0.25);
      padding: 4px 12px;
      border-radius: var(--radius-pill);
      margin-bottom: 10px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .section-title {
      font-size: clamp(22px, 2.8vw, 32px);
      margin-bottom: 12px;
    }

    .section-desc {
      font-size: 15px;
      color: var(--text-dim);
      max-width: 820px;
      margin: 0 auto;
      line-height: 1.7;
    }

    /* Floating Nav */
    .nav-outer-container {
      position: sticky;
      top: 16px;
      z-index: 1000;
      padding: 0 16px;
      margin-bottom: -72px;
    }

    .floating-nav {
      background: rgba(18, 24, 36, 0.9);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      border: 1px solid var(--border-color);
      border-radius: 16px;
      padding: 10px 24px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      box-shadow: var(--shadow-subtle);
    }

    .nav-brand {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 18px;
      font-weight: 800;
      color: var(--text-main);
    }

    .nav-brand svg {
      width: 28px;
      height: 28px;
      fill: var(--brand-green);
    }

    .nav-menu {
      display: flex;
      gap: 20px;
      list-style: none;
      margin: 0;
    }

    .nav-menu a {
      color: var(--text-muted);
      font-size: 14px;
      font-weight: 500;
    }

    .nav-menu a:hover, .nav-menu a.active {
      color: var(--brand-green);
    }

    .btn-pill-action {
      background: var(--brand-green);
      color: #0A0E17 !important;
      font-weight: 700;
      font-size: 13px;
      padding: 8px 18px;
      border-radius: var(--radius-pill);
      display: inline-flex;
      align-items: center;
      gap: 6px;
      border: none;
      cursor: pointer;
      box-shadow: 0 4px 14px rgba(0, 230, 118, 0.3);
      transition: all 0.25s ease;
    }

    .btn-pill-action:hover {
      transform: translateY(-2px);
      box-shadow: var(--shadow-glow);
    }

    .btn-ghost-action {
      background: transparent;
      color: var(--text-main) !important;
      font-size: 13px;
      padding: 7px 16px;
      border-radius: var(--radius-pill);
      border: 1px solid rgba(255, 255, 255, 0.2);
      display: inline-flex;
      align-items: center;
      gap: 6px;
      transition: all 0.25s ease;
    }

    .btn-ghost-action:hover {
      border-color: var(--brand-green);
      color: var(--brand-green) !important;
    }

    /* Cards */
    .glass-card {
      background: var(--bg-card);
      border: 1px solid var(--border-light);
      border-radius: var(--radius-md);
      padding: 24px;
      height: 100%;
      position: relative;
      transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    }

    .glass-card:hover {
      transform: translateY(-4px);
      border-color: var(--border-color);
      box-shadow: var(--shadow-subtle);
    }

    /* Hero */
    .hero-section {
      padding-top: 120px;
      padding-bottom: 50px;
      background: radial-gradient(circle at 50% 10%, rgba(0, 230, 118, 0.08) 0%, transparent 65%);
    }

    .hero-status-strip {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(0, 176, 255, 0.1);
      border: 1px solid rgba(0, 176, 255, 0.25);
      border-radius: var(--radius-pill);
      padding: 5px 14px;
      font-size: 13px;
      color: var(--brand-blue);
      margin-bottom: 20px;
    }

    .hero-status-strip .pulse-dot {
      width: 7px;
      height: 7px;
      background: var(--brand-green);
      border-radius: 50%;
      box-shadow: 0 0 8px var(--brand-green);
    }

    .hero-title {
      font-size: clamp(26px, 3.8vw, 44px);
      line-height: 1.25;
      margin-bottom: 18px;
      font-weight: 800;
      letter-spacing: -0.5px;
    }

    .hero-title span {
      color: var(--brand-green);
    }

    .hero-intro-text {
      font-size: 16px;
      line-height: 1.75;
      color: var(--text-muted);
      max-width: 860px;
      margin: 0 auto 28px;
    }

    .hero-icon-matrix {
      margin-top: 36px;
    }

    .icon-matrix-item {
      background: rgba(18, 24, 36, 0.6);
      border: 1px solid var(--border-light);
      border-radius: var(--radius-md);
      padding: 18px 14px;
      text-align: center;
      transition: all 0.25s ease;
    }

    .icon-matrix-item:hover {
      border-color: rgba(0, 230, 118, 0.3);
      background: var(--bg-card);
    }

    .icon-matrix-item i {
      font-size: 22px;
      color: var(--brand-green);
      margin-bottom: 8px;
      display: block;
    }

    .icon-matrix-item h4 {
      font-size: 14px;
      margin-bottom: 4px;
    }

    .icon-matrix-item p {
      font-size: 12px;
      color: var(--text-dim);
      margin: 0;
      line-height: 1.4;
    }

    /* Comparison Table / Matrix */
    .compare-table {
      width: 100%;
      border-collapse: separate;
      border-spacing: 0;
      background: var(--bg-card);
      border: 1px solid var(--border-light);
      border-radius: var(--radius-md);
      overflow: hidden;
    }

    .compare-table th, .compare-table td {
      padding: 14px 18px;
      text-align: left;
      font-size: 14px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .compare-table th {
      background: rgba(255, 255, 255, 0.03);
      color: var(--text-main);
      font-weight: 600;
    }

    .compare-table td.highlight {
      background: rgba(0, 230, 118, 0.04);
      color: var(--brand-green);
      font-weight: 600;
    }

    /* Timeline */
    .timeline-stream {
      position: relative;
      padding-left: 24px;
      border-left: 2px solid rgba(0, 230, 118, 0.2);
      margin-left: 10px;
    }

    .timeline-node {
      position: relative;
      margin-bottom: 30px;
    }

    .timeline-node:last-child {
      margin-bottom: 0;
    }

    .timeline-node::before {
      content: '';
      position: absolute;
      left: -31px;
      top: 4px;
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: var(--brand-green);
      box-shadow: 0 0 10px var(--brand-green);
    }

    .timeline-tag {
      font-size: 12px;
      font-weight: 700;
      color: var(--brand-blue);
      margin-bottom: 4px;
    }

    /* SandBox Panel */
    .sandbox-container {
      background: #0e1420;
      border: 1px solid rgba(0, 176, 255, 0.25);
      border-radius: var(--radius-md);
      padding: 24px;
    }

    .match-header {
      border-bottom: 1px solid var(--border-light);
      padding-bottom: 14px;
      margin-bottom: 16px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 10px;
    }

    .prob-bar {
      height: 10px;
      background: rgba(255, 255, 255, 0.08);
      border-radius: var(--radius-pill);
      overflow: hidden;
      display: flex;
      margin: 8px 0;
    }

    .prob-win { background: var(--brand-green); }
    .prob-draw { background: var(--brand-gold); }
    .prob-loss { background: #ff5252; }

    /* FAQ accordion custom */
    .faq-item {
      background: var(--bg-card);
      border: 1px solid var(--border-light);
      border-radius: var(--radius-md);
      margin-bottom: 12px;
      padding: 18px 22px;
    }

    .faq-question {
      font-size: 16px;
      font-weight: 600;
      color: var(--text-main);
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 8px;
    }

    .faq-question i {
      color: var(--brand-green);
    }

    .faq-answer {
      font-size: 14px;
      color: var(--text-muted);
      line-height: 1.65;
      padding-left: 24px;
    }

    /* Convert Box */
    .cta-card {
      background: linear-gradient(135deg, #121824 0%, #152238 100%);
      border: 1px solid rgba(0, 230, 118, 0.3);
      border-radius: 16px;
      padding: clamp(30px, 5vw, 50px) 24px;
      text-align: center;
      box-shadow: var(--shadow-subtle);
    }

    .input-field-custom {
      background: #0A0E17 !important;
      border: 1px solid rgba(255, 255, 255, 0.15) !important;
      color: #fff !important;
      border-radius: var(--radius-sm) !important;
      height: 44px !important;
      padding: 0 14px !important;
    }
    .input-field-custom:focus {
      border-color: var(--brand-green) !important;
      box-shadow: 0 0 8px rgba(0, 230, 118, 0.3) !important;
    }

    /* Footer */
    .site-footer {
      background: #070a10;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      padding: 50px 0 24px;
      font-size: 14px;
    }

    .footer-col h5 {
      font-size: 15px;
      margin-bottom: 16px;
      color: var(--text-main);
      position: relative;
      padding-bottom: 8px;
    }

    .footer-col h5::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 24px;
      height: 2px;
      background: var(--brand-green);
    }

    .footer-col ul {
      list-style: none;
      margin: 0;
      padding: 0;
    }

    .footer-col ul li {
      margin-bottom: 8px;
    }

    .footer-col ul li a {
      color: var(--text-dim);
      font-size: 13px;
    }

    .footer-col ul li a:hover {
      color: var(--brand-green);
    }

    .copyright-bar {
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      margin-top: 36px;
      padding-top: 20px;
      text-align: center;
      font-size: 12px;
      color: var(--text-dim);
    }

    @media (max-width: 639px) {
      .nav-menu { display: none; }
      .floating-nav { padding: 10px 16px; }
      .section-wrap { padding: 40px 0; }
      .hero-section { padding-top: 100px; }
      .icon-matrix-item { margin-bottom: 12px; }
    }
