.technical-indicators-container {
  padding: 20px;
  height: 100%;
  overflow: hidden;
  background: transparent;
}

.indicators-header {
  text-align: center;
  margin-bottom: 30px;
  color: #333;
}

.indicators-header h3 {
  color: #333;
  margin-bottom: 15px;
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.indicators-header p {
  color: #666;
  font-size: 0.95rem;
  font-weight: 400;
}

/* 簡潔的3x3九宮格佈局 */
.indicators-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 20px;
}

.indicator-card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 25px 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  position: relative;
  overflow: hidden;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.indicator-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(102,126,234,0.05) 0%, rgba(118,75,162,0.05) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.indicator-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border-color: #667eea;
}

.indicator-card:hover::before {
  opacity: 1;
}

.indicator-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.indicator-info {
  position: relative;
  z-index: 2;
  width: 100%;
}

.indicator-info h4 {
  color: #2c3e50;
  margin-bottom: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
}

.indicator-info p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 15px;
}

.category-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 12px;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* 手機版垂直布局優化 */
@media (max-width: 768px) {
  .technical-indicators-container {
    padding: 10px;
  }
  
  .indicators-grid {
    max-width: 100%;
    margin: 0;
  }
}

/* 響應式設計 */
@media (max-width: 768px) {
  .indicators-grid {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 15px;
  }
  
  .indicator-card {
    min-height: 180px;
    padding: 20px 15px;
    margin-bottom: 10px;
  }
  
  .indicator-icon {
    font-size: 2.5rem;
  }
  
  .indicator-info h4 {
    font-size: 1rem;
  }
  
  .indicator-info p {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .indicators-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .indicator-card {
    min-height: 180px;
    padding: 20px 15px;
  }
  
  .indicator-icon {
    font-size: 2rem;
  }
  
  .indicator-info h4 {
    font-size: 0.95rem;
  }
  
  .indicator-info p {
    font-size: 0.8rem;
  }
}

/* 彈窗樣式 */
.indicator-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(3px);
}

.modal-content {
  background: white;
  border-radius: 16px;
  max-width: 550px;
  width: 90%;
  max-height: 75vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  border: 1px solid #e0e0e0;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  border-bottom: 1px solid #e0e0e0;
  background: #f8f9fa;
  border-radius: 16px 16px 0 0;
}

.modal-header h3 {
  margin: 0;
  color: #2c3e50;
  font-size: 1.3rem;
  font-weight: 600;
}

.close-btn {
  background: #e9ecef;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: #6c757d;
  padding: 6px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.close-btn:hover {
  background: #dee2e6;
  color: #495057;
  transform: scale(1.05);
}

.modal-body {
  padding: 25px;
  background: white;
  border-radius: 0 0 16px 16px;
}

.indicator-details .detail-item {
  margin-bottom: 18px;
}

.indicator-details .detail-item strong {
  color: #2c3e50;
  display: block;
  margin-bottom: 6px;
  font-size: 0.95rem;
  font-weight: 600;
}

.indicator-details .detail-item p {
  color: #6c757d;
  margin: 0;
  line-height: 1.5;
  font-size: 0.9rem;
}

.indicator-details .detail-item code {
  background: #f8f9fa;
  padding: 10px 14px;
  border-radius: 6px;
  font-family: 'Courier New', monospace;
  color: #2c3e50;
  display: block;
  margin-top: 6px;
  border: 1px solid #e9ecef;
  font-size: 0.85rem;
} 