/* index.css */

.welcome-header {
  text-align: center;
  margin-top: 5px;
  /* Reduced */
  margin-bottom: 15px;
  /* Reduced */
}

.welcome-header h1 {
  font-size: 1.4rem;
  /* Reduced */
  font-weight: 700;
  margin: 0;
  color: var(--text-main);
}

.welcome-header h4 {
  font-size: 0.85rem;
  /* Reduced */
  font-weight: 600;
  margin: 3px 0 5px;
  color: var(--primary-color);
}

.welcome-header p {
  font-size: 12px;
  margin: 0;
  color: var(--text-muted);
}

.train-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 130px);
  /* Specific smaller width */
  justify-content: center;
  /* Centralize */
  gap: 16px 33px;
  padding: 0 10px;
}

.train-card {
  background: linear-gradient(45deg, rgba(177, 31, 129, 1) 0%, rgba(202, 22, 131, 1) 27%, rgba(237, 90, 158, 1) 79%);
  border-radius: 12px;
  /* Smoother radius */
  padding: 12px 10px;
  /* Reduced padding */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  width: 100%;
  height: 100px;
}

.train-card:active {
  transform: scale(0.95);
}

.train-card i {
  font-size: 22px;
  /* Reduced icon size even more */
  margin-bottom: 6px;
}

.train-card img.custom-icon {
  width: 22px;
  height: 22px;
  margin-bottom: 6px;
  object-fit: contain;
}

.train-card h5 {
  margin: 0;
  font-size: 14px;
  /* Increased font size */
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.5px;
}