/*
 * Symbol Categories Grid CSS
 * Styling for the 3-column card grid
 * Created: June 19, 2025
 */

/* Main grid container */
.symbol-categories-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin: 30px 0;
  width: 100%;
  animation: fadeIn 0.5s ease-out;
}

/* Individual category cards */
.symbol-category {
  background: var(--card-background);
  border-radius: var(--border-radius);
  padding: 25px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
  animation: fadeIn 0.5s ease-out;
  animation-delay: calc(var(--animation-order, 0) * 0.1s);
  animation-fill-mode: both;
}

.symbol-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
}

.symbol-category::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.symbol-category:hover::before {
  transform: scaleX(1);
}

.symbol-category-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-color);
}

.symbol-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
  flex: 1;
}

.symbol-category-link {
  display: inline-block;
  padding: 8px 15px;
  background-color: var(--primary-light);
  color: var(--primary-color);
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
  margin-top: auto;
}

.symbol-category-link:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Load more button styling */
.load-more-button-container {
  display: flex;
  justify-content: center;
  margin: 30px 0;
}

.load-more-button {
  font-size: 1rem;
  padding: 12px 30px;
  transition: all 0.3s ease;
}

.load-more-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.load-more-button:active {
  transform: translateY(-1px);
}

.load-more-button.loading {
  opacity: 0.8;
  cursor: not-allowed;
}

/* End of content message */
.end-of-content-message {
  text-align: center;
  padding: 30px;
  background: var(--card-background);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  margin: 30px 0;
  border: 1px solid var(--border-color);
}

.end-of-content-message p {
  margin-bottom: 10px;
  color: var(--text-light);
}

.end-of-content-message a {
  color: var(--primary-color);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.end-of-content-message a:hover {
  text-decoration: underline;
}

/* Media queries for responsive grid */
@media (max-width: 992px) {
  .symbol-categories-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .symbol-categories-container {
    grid-template-columns: 1fr;
  }
  
  .symbol-category {
    padding: 20px;
  }
}
