/* ============================================
   くらべるファンド — 添付画像準拠デザイン
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  /* 左パネル: 赤 */
  --color-left-bg: #b31a37;
  /* 右パネル: 青 */
  --color-right-bg: #0d3d7e;

  --color-text-white: #ffffff;
  --color-text-black: #333333;
  --color-tab-active: #d8005f;

  --font-primary: 'Noto Sans JP', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* --- Reset --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-primary);
  background: #ffffff;
  color: var(--color-text-black);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

/* --- Loading --- */
.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(0, 0, 0, 0.1);
  border-top-color: var(--color-left-bg);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.loading-text {
  margin-top: 12px;
  color: #666;
  font-size: 0.85rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* --- Header --- */
.site-header {
  background: #ffffff;
  padding: 16px 0;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.header-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.logo-icon {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 24px;
}

.logo-bar {
  width: 6px;
  border-radius: 1px 1px 0 0;
}

.logo-bar:nth-child(1) {
  height: 40%;
  background: var(--color-left-bg);
}

.logo-bar:nth-child(2) {
  height: 60%;
  background: var(--color-left-bg);
}

.logo-bar:nth-child(3) {
  height: 100%;
  background: var(--color-right-bg);
}

.logo-bar:nth-child(4) {
  height: 70%;
  background: var(--color-right-bg);
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 800;
  color: #000;
  letter-spacing: -0.02em;
}

.header-subtitle {
  font-size: 0.75rem;
  color: #666;
  margin-bottom: 5px;
}

/* --- Global Navigation --- */
.global-nav {
  width: 100%;
  background-color: #e6e6e6;
  /* Inactive background color */
}

.global-nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.global-nav-item {
  flex: 1;
  text-align: center;
}

.global-nav-link {
  display: block;
  padding: 15px 10px;
  text-decoration: none;
  color: #666;
  font-weight: 800;
  font-size: 1.2rem;
  transition: background-color 0.2s, color 0.2s;
  font-family: var(--font-primary);
}

.global-nav-item:not(.active) .global-nav-link:hover {
  background-color: #dcdcdc;
  color: #333;
}

.global-nav-item.active .global-nav-link {
  background-color: #ffffff;
  color: #333;
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  margin-top: -1px;
  padding-top: 16px;
}

/* --- Layout --- */
.main-split {
  display: flex;
  flex: 1;
  position: relative;
}

/* --- VS Divider --- */
.vs-divider {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  height: 61px;
  display: flex;
  align-items: center;
  z-index: 10;
}

.vs-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
}

/* --- Panel --- */
.panel {
  flex: 1;
  width: 50%;
  min-width: 0;
  padding: 60px 40px 40px;
  display: flex;
  flex-direction: column;
}

.panel--dark {
  background: var(--color-left-bg);
  color: var(--color-text-white);
}

.panel--light {
  background: var(--color-right-bg);
  color: var(--color-text-white);
}

/* --- Fund Name Header --- */
.fund-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
  min-height: 62px;
  /* 2行分の高さを確保して左右を揃える */
}

.fund-name {
  flex: 1;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
  margin: 0;
  letter-spacing: -0.01em;
  min-height: calc(1.5rem * 1.4 * 2);
  /* 2行分の高さを確保 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-all;
}

.fund-change-btn {
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  margin-top: 4px;
}

.fund-change-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: #fff;
}

.base-date {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin: -12px 0 16px;
}

/* --- Stats --- */
.panel-stats {
  margin-bottom: 60px;
}

.stat-row {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
}

.stat-label {
  font-size: 1.2rem;
  font-weight: 500;
  width: 140px;
  flex-shrink: 0;
  color: #fff !important;
}

.stat-main,
.stat-value {
  flex: 1;
  text-align: center;
  color: #fff !important;
}

.stat-value {
  font-size: 2rem;
  font-weight: 500;
}

.nav-value {
  font-size: 4.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.nav-unit {
  font-size: 2rem;
  font-weight: 500;
  margin-left: 8px;
}

.change-positive,
.change-negative {
  color: #fff !important;
}

/* --- Chart Area --- */
.panel-chart-area {
  background: #fff;
  border-radius: 6px;
  padding: 20px;
  color: #333;
  margin-bottom: 24px;
}

.period-tabs {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 20px;
}

.period-tab {
  flex: 1;
  padding: 6px 0;
  font-size: 1.2rem;
  font-weight: 500;
  font-family: var(--font-primary);
  border: 1px solid #e0e0e0;
  background: #fff;
  color: #666;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.period-tab.active {
  background: var(--color-tab-active);
  border-color: var(--color-tab-active);
  color: #fff !important;
}

.period-tab:hover:not(.active) {
  border-color: #999;
  color: #333;
}

.chart-container {
  position: relative;
  height: 200px;
}

.chart-container canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
}

/* --- Detail Area (Tables & Range) --- */
.panel-detail-area {
  background: transparent;
  border-radius: 4px;
  padding: 20px 0;
  margin-top: 10px;
  color: var(--color-text-white);
}

.detail-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.detail-section-title:not(:first-child) {
  margin-top: 20px;
}

.detail-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.detail-table th,
.detail-table td {
  padding: 8px 6px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.detail-table th {
  font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, 0.15);
  font-size: 0.8rem;
}

.detail-table th:first-child,
.detail-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: #fff;
  min-width: 80px;
}

.detail-table td {
  font-weight: 500;
  color: #fff;
}

.detail-table .val-positive {
  color: #fff;
  font-weight: 700;
}

.detail-table .val-negative {
  color: #fff;
  font-weight: 700;
}

/* NAV Range Bar */
.nav-range {
  padding: 4px 0;
}

.nav-range-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
}

.nav-range-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  width: 50px;
  flex-shrink: 0;
}

.nav-range-value {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  min-width: 80px;
}

.nav-range-date {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
}

.nav-range-bar-track {
  position: relative;
  height: 8px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  margin: 6px 0;
  overflow: visible;
}

.nav-range-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.7));
  transition: width 0.8s ease;
}

.nav-range-bar-current {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
  transition: left 0.8s ease;
  z-index: 2;
}

.panel--dark .nav-range-bar-current {
  background: var(--color-left-bg);
}

.panel--light .nav-range-bar-current {
  background: var(--color-right-bg);
}

/* --- Combined Section --- */
.combined-section {
  background: #f8f9fa;
  border-top: 1px solid #eee;
}

.combined-inner {
  margin: 0 auto;
  background: #fff;
  padding: 90px 30px 30px 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.combined-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  color: #333;
}

.combined-controls {
  margin-bottom: 30px;
}

.combined-controls .period-tabs {
  width: 100%;
}

.combined-controls .period-tab {
  white-space: nowrap;
}

.combined-chart-wrapper {
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-height: 300px;
  gap: 0;
}

/* --- Chart Side Stats (left/right fund info) --- */
.chart-side-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 240px;
  flex-shrink: 0;
  padding: 12px 8px;
  gap: 6px;
}

.chart-side-name {
  font-size: 0.6rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-all;
  padding-bottom: 4px;
}

.chart-side-stat--a .chart-side-name {
  color: var(--color-left-bg);
}

.chart-side-stat--b .chart-side-name {
  color: var(--color-right-bg);
}

.chart-side-value {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.chart-side-value--a {
  color: var(--color-left-bg);
}

.chart-side-value--b {
  color: var(--color-right-bg);
}

/* --- Chart Section Label --- */
.combined-chart-label {
  text-align: center;
  margin: 40px 0 12px;
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
}

.combined-chart-label span {
  display: inline-block;
  padding: 60px 16px 16px;
}

.combined-canvas-area {
  width: 1000px;
  height: 500px;
  min-width: 0;
  position: relative;
  flex-shrink: 1;
}

.combined-canvas-area canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
}

/* --- Verdict Card --- */
.verdict-card {
  margin: 24px auto 32px;
  max-width: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 240px;
  animation: verdictFadeIn 0.5s ease-out;
}

@keyframes verdictFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.verdict-side {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 160px;
}

.verdict-side--a {
  justify-content: flex-end;
}

.verdict-side--b {
  justify-content: flex-start;
}

.verdict-crown {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: #fff;
  flex-shrink: 0;
}

/* 勝利時は各ファンドのテーマカラー */
.verdict-side--a.is-win .verdict-crown {
  background: var(--color-left-bg);
}

.verdict-side--b.is-win .verdict-crown {
  background: var(--color-right-bg);
}

/* 敗北・引き分け時 */
.verdict-side--a.is-lose .verdict-crown,
.verdict-side--a.is-draw .verdict-crown {
  background: #e2a9b4;
}

.verdict-side--b.is-lose .verdict-crown,
.verdict-side--b.is-draw .verdict-crown {
  background: #9baec3;
}

.verdict-result {
  text-align: center;
}

.verdict-win-lose {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 2px;
}

.verdict-score {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.1;
}

.verdict-side--a.is-win .verdict-win-lose,
.verdict-side--a.is-win .verdict-score {
  color: var(--color-left-bg);
}

.verdict-side--b.is-win .verdict-win-lose,
.verdict-side--b.is-win .verdict-score {
  color: var(--color-right-bg);
}

.verdict-side--a.is-lose .verdict-win-lose,
.verdict-side--a.is-draw .verdict-win-lose,
.verdict-side--a.is-lose .verdict-score,
.verdict-side--a.is-draw .verdict-score {
  color: #e2a9b4;
}

.verdict-side--b.is-lose .verdict-win-lose,
.verdict-side--b.is-draw .verdict-win-lose,
.verdict-side--b.is-lose .verdict-score,
.verdict-side--b.is-draw .verdict-score {
  color: #9baec3;
}


.verdict-center {
  font-size: 1.6rem;
  font-weight: 800;
  color: #333;
  text-align: center;
  line-height: 1.3;
}

.verdict-period-text {
  font-size: 2rem;
}

/* --- Comparison Summary --- */
.comparison-summary {
  margin-bottom: 20px;
}

.comparison-summary-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9rem;
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
}

.summary-th-label {
  width: 500px;
  padding: 12px 8px;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  color: #fff;
  background: #444;
}

.summary-th {
  height: 72px;
  width: 39%;
  padding: 12px 8px;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  color: #fff;
  line-height: 1.4;
  word-break: break-all;
}

.summary-th--a {
  background: var(--color-left-bg);
  border-radius: 0 0 0 0;
}

.summary-th--b {
  background: var(--color-right-bg);
  border-radius: 0 10px 0 0;
}

.summary-th--port {
  background: #00a99d;
  /* コア・サテライトテーマカラー（緑系など） */
  color: #fff;
}

/* ポートフォリオ用3カラム比較の幅調整 */
.portfolio-summary-table .summary-th-label {
  width: 20%;
}

.portfolio-summary-table .summary-th {
  width: 26%;
}

.summary-label {
  padding: 14px 10px;
  font-weight: 600;
  font-size: 1.2rem;
  color: #555;
  background: #f9f9f9;
  border-bottom: 1px solid #f0f0f0;
  text-align: center;
  white-space: nowrap;
}

.summary-label-sub {
  font-size: 0.65rem;
  font-weight: 400;
  color: #aaa;
}

.summary-value {
  height: 92px;
  padding: 14px 10px;
  text-align: center;
  font-weight: 700;
  font-size: 2rem;
  color: #333;
  border-bottom: 1px solid #f0f0f0;
  transition: background 0.3s ease;
}

.summary-winner {
  position: relative;
}

.summary-winner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: transparent;
  border: 8px solid #00a99d50;
  pointer-events: none;
}

/* --- Chart Side Winner Dot --- */
.chart-side-winner {
  position: relative;
}

.chart-side-winner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: transparent;
  border: 8px solid #00a99d50;
  pointer-events: none;
}

/* --- Footer --- */
.site-footer {
  text-align: center;
  padding: 20px;
  background: #ffffff;
  border-top: 1px solid #eee;
}

.footer-source {
  font-size: 0.8rem;
  color: #666;
  line-height: 1.6;
}

.footer-source a {
  color: #333;
  text-decoration: underline;
}

/* --- Error --- */
.error-message {
  text-align: center;
  padding: 80px 24px;
  color: #666;
  width: 100%;
}

.error-icon {
  font-size: 3rem;
  margin-bottom: 12px;
  opacity: 0.5;
}

.error-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.error-desc {
  font-size: 0.85rem;
  max-width: 400px;
  margin: 0 auto;
}

.retry-btn {
  margin-top: 20px;
  padding: 10px 30px;
  background: var(--color-left-bg);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
}

.retry-btn:hover {
  opacity: 0.9;
}

/* --- Responsive --- */
@media (max-width: 1200px) {
  .panel {
    padding: 40px 30px;
  }

  .nav-value {
    font-size: 5rem;
  }

  .stat-value {
    font-size: 1.6rem;
  }

  .panel-fund-name {
    font-size: 2rem;
  }
}

@media (max-width: 900px) {
  .main-split {
    flex-direction: column;
  }

  .vs-divider {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    height: auto;
    text-align: center;
    padding: 10px 0;
    background: linear-gradient(90deg, var(--color-left-bg) 50%, var(--color-right-bg) 50%);
  }

  .nav-value {
    font-size: 4rem;
  }

  .chart-side-stat {
    width: 240px;
    padding: 8px 4px;
  }

  .chart-side-name {
    font-size: 0.55rem;
    -webkit-line-clamp: 1;
  }

  .chart-side-value {
    font-size: 1.1rem;
  }

  .summary-value {
    font-size: 0.8rem;
  }

  .summary-label {
    font-size: 0.7rem;
  }

}

/* --- Fund Search Modal --- */
.fund-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  backdrop-filter: blur(4px);
  opacity: 1;
  transition: opacity 0.3s ease;
}

.fund-modal-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.fund-modal-content {
  background: #fff;
  width: 100%;
  max-width: 600px;
  height: 80vh;
  max-height: 800px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.fund-modal-overlay.hidden .fund-modal-content {
  transform: translateY(20px);
}

.fund-modal-header {
  padding: 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.fund-modal-title {
  margin: 0;
  font-size: 1.3rem;
  color: #333;
}

.fund-modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #999;
  cursor: pointer;
  line-height: 1;
  padding: 0 10px;
  transition: color 0.2s;
}

.fund-modal-close:hover {
  color: #333;
}

.fund-modal-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
}

.fund-modal-search {
  margin-bottom: 15px;
}

.fund-modal-search input {
  width: 100%;
  padding: 12px 15px;
  font-size: 1.1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s;
  font-family: var(--font-primary);
}

.fund-modal-search input:focus {
  border-color: #0d3d7e;
}

.fund-modal-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.category-tag {
  background: #f0f0f0;
  border: 1px solid #e0e0e0;
  color: #555;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font-primary);
}

.category-tag:hover {
  background: #e4e4e4;
}

.category-tag.active {
  background: #0d3d7e;
  color: #fff;
  border-color: #0d3d7e;
}

.fund-modal-list-wrapper {
  flex: 1;
  overflow-y: auto;
  border: 1px solid #eee;
  border-radius: 8px;
}

.fund-modal-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fund-list-item {
  padding: 15px;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  transition: background 0.2s;
  color: #333;
  font-size: 1.1rem;
  line-height: 1.4;
}

.fund-list-item:last-child {
  border-bottom: none;
}

.fund-list-item:hover {
  background: #f9f9f9;
}

.fund-list-item-empty {
  padding: 30px;
  text-align: center;
  color: #999;
}

/* --- About Page --- */
.about-container {
  flex: 1;
  background: #fdfdfd;
  padding: 60px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-inner {
  max-width: 800px;
  width: 100%;
}

.about-section {
  text-align: center;
  margin-bottom: 60px;
}

.about-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #333;
  margin-bottom: 20px;
}

.about-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.feature-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature-icon {
  color: var(--color-left-bg);
  font-size: 1.4rem;
}

.feature-card:nth-child(2) .feature-icon {
  color: var(--color-right-bg);
}

.feature-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #666;
  margin-bottom: 25px;
}

.feature-link {
  display: inline-block;
  background: var(--color-right-bg);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s;
}

.feature-link i {
  margin-left: 8px;
}

.feature-link:hover {
  background: #092e62;
}

/* --- About: Data Source Notice --- */
.about-notice {
  margin-top: 50px;
  background: #f0f4f8;
  border-left: 4px solid var(--color-right-bg);
  border-radius: 0 8px 8px 0;
  padding: 30px 35px;
}

.about-notice-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-notice-title i {
  color: var(--color-right-bg);
}

.about-notice-text {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #555;
}

.about-notice-text a {
  color: var(--color-right-bg);
  font-weight: 600;
  text-decoration: underline;
}

.about-notice-text a:hover {
  color: #092e62;
}

/* --- About: Disclaimer --- */
.about-disclaimer {
  margin-top: 40px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 30px 35px;
}

.about-disclaimer-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-disclaimer-title i {
  color: #c9a800;
}

.about-disclaimer-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-disclaimer-list li {
  position: relative;
  padding: 8px 0 8px 20px;
  font-size: 0.93rem;
  line-height: 1.7;
  color: #555;
  border-bottom: 1px solid #f0f0f0;
}

.about-disclaimer-list li:last-child {
  border-bottom: none;
}

.about-disclaimer-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #999;
  font-weight: bold;
}