.elementor-30252 .elementor-element.elementor-element-30fd266b{--display:flex;}/* Start custom CSS for text-editor, class: .elementor-element-405928fb *//* ==========================================================================
   9J娛樂城 Crash 遊戲指南 獨立卡片響應式視覺設定
   ========================================================================== */

/* 總容器：外部絕不帶背景，完美融入原生頁面 */
.nj-crash-container {
  width: 100%;
  max-width: 850px;
  margin: 0 auto;
  padding: 15px;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Microsoft JhengHei", sans-serif;
  color: #222222;
  line-height: 1.75;
}

/* 獨立卡片設計 */
.nj-crash-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 30px;
  margin-bottom: 25px;
  box-sizing: border-box;
  border: 1px solid rgba(13, 74, 99, 0.12);
  box-shadow: 0 4px 18px rgba(13, 74, 99, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.nj-crash-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(13, 74, 99, 0.08);
}

/* 自然錨點超連結優化 (使用輔助色 A98B3F 作亮點) */
.nj-crash-container a {
  color: #A98B3F;
  text-decoration: none;
  font-weight: bold;
  border-bottom: 1px dashed #A98B3F;
  transition: all 0.2s ease;
}
.nj-crash-container a:hover {
  color: #0D4A63;
  border-bottom: 1px solid #0D4A63;
}

/* 標題字體系統 (主色 0D4A63) */
.nj-crash-main-title {
  font-size: 25px;
  color: #0D4A63;
  margin-top: 0;
  margin-bottom: 20px;
  line-height: 1.4;
  font-weight: 700;
}

.nj-crash-section-title {
  font-size: 20px;
  color: #0D4A63;
  margin-top: 0;
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 4px solid #D8C67A;
  font-weight: 700;
}

/* 段落與清單 */
.nj-crash-p {
  font-size: 16px;
  margin-top: 0;
  margin-bottom: 14px;
  text-align: justify;
}
.nj-crash-p-bold {
  font-weight: bold;
  color: #0D4A63;
  margin-bottom: 8px;
}
.nj-crash-ul {
  padding-left: 20px;
  margin: 0 0 14px 0;
}
.nj-crash-ul li {
  margin-bottom: 6px;
  font-size: 15.5px;
}

/* 提示警示框 */
.nj-crash-notice-box {
  background: rgba(216, 198, 122, 0.1);
  border: 1px solid rgba(169, 139, 63, 0.25);
  padding: 16px 20px;
  border-radius: 8px;
  margin-top: 15px;
}
.nj-crash-notice-box .nj-crash-p {
  margin-bottom: 0;
}

/* RWD 表格滾動包裝（防手機端變形） */
.nj-crash-table-scroll {
  width: 100%;
  overflow-x: auto;
  margin: 15px 0;
  border-radius: 8px;
  border: 1px solid rgba(13, 74, 99, 0.1);
}

/* 現代化表格樣式 */
.nj-crash-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 15px;
  min-width: 500px; /* 保證表格合理骨架 */
}
.nj-crash-table th {
  background-color: #0D4A63;
  color: #ffffff;
  padding: 12px 14px;
  font-weight: 600;
}
.nj-crash-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(13, 74, 99, 0.08);
  color: #444444;
  background-color: #ffffff;
}
.nj-crash-table tr:last-child td {
  border-bottom: none;
}
.nj-crash-table tr:nth-child(even) td {
  background-color: rgba(13, 74, 99, 0.02);
}
.nj-crash-td-bold {
  font-weight: bold;
  color: #0D4A63;
}

/* 特製結尾 CTA 卡片 */
.nj-crash-cta-card {
  background: rgba(13, 74, 99, 0.02);
  border: 2px dashed #0D4A63;
}

/* 按鈕群組區塊 */
.nj-crash-action-area {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 25px;
  align-items: center;
}

/* 基礎按鈕設定 */
.nj-crash-btn {
  display: inline-block;
  width: 80%;
  max-width: 400px;
  padding: 14px 24px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 15.5px;
  text-align: center;
  box-sizing: border-box;
  text-decoration: none !important;
  border-bottom: none !important;
  transition: all 0.25s ease-in-out;
}

/* 主色按鈕 (遊戲入口) */
.nj-crash-btn-primary {
  background: #0D4A63;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(13, 74, 99, 0.25);
}
.nj-crash-btn-primary:hover {
  background: #072d3d;
  transform: translateY(-1px);
}

/* 輔助色按鈕 (客服專區) */
.nj-crash-btn-secondary {
  background: #D8C67A;
  color: #0D4A63 !important;
  box-shadow: 0 4px 14px rgba(216, 198, 122, 0.3);
}
.nj-crash-btn-secondary:hover {
  background: #cbb769;
  transform: translateY(-1px);
}

/* ==========================================================================
   手機版響應式 RWD 最佳化 (解決排版肥胖與壓迫感)
   ========================================================================== */
@media screen and (max-width: 768px) {
  .nj-crash-container {
    padding: 8px; /* 縮小外部間隙 */
  }

  .nj-crash-card {
    padding: 20px 15px; /* 精準調整 Padding，使移動端看起來俐落不臃腫 */
    margin-bottom: 18px;
    border-radius: 10px;
  }

  .nj-crash-main-title {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .nj-crash-section-title {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .nj-crash-p {
    font-size: 15px;
    line-height: 1.65;
  }
  
  .nj-crash-ul li {
    font-size: 14.5px;
  }

  .nj-crash-btn {
    width: 100%; /* 手機端按鈕全寬，更方便點擊 */
    max-width: none;
    font-size: 15px;
    padding: 13px 16px;
  }
}/* End custom CSS */