/* styles_pools.css */

/* Responsive Grid */
.features-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

/* Feature Card Base */
.feature-card {
  position: relative;
  background-color: #11141b; /* secondary-dark-color */
  border: 1px solid #2a2c31;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.4s ease;
  overflow: hidden;
}

.card-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.card-content p {
  font-size: 1rem;
  color: #979ba2; /* gray-color */
}

/* Full Screen Overlay */
.card-details {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: #080a0e; /* dark-color */
  padding: 2rem;
  overflow-y: auto;
}

.card-details.active {
  display: flex;
}

/* Bank Header */
.bank-header {
  text-align: center;
  margin-bottom: 2rem;
}

.bank-header img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.bank-header h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.bank-level {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  background-color: #28a745;
  color: #000;
  border-radius: 0.5rem;
  font-size: 0.9rem;
}

/* Description */
.bank-description p {
  max-width: 700px;
  margin: 1rem auto 2rem;
  font-size: 1rem;
  line-height: 1.6;
}

/* Services */
.bank-services {
  max-width: 700px;
  margin: 0 auto 2rem;
}

.service-item {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid #2a2c31;
}

.service-item:last-child {
  border-bottom: none;
}

.service-item strong {
  color: var(--primary-color);
}

/* Actions */
.bank-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}