.gs-page {
  padding: 2rem 3rem;
  color: #e5e7eb;
}

.gs-hero {
  text-align: center;
  margin-bottom: 2.5rem;

  .hero-icon { color: #a78bfa; margin-bottom: 0.75rem; }
  h1 { font-size: 2rem; margin: 0.5rem 0 0.25rem; color: white; }
  .hero-subtitle { color: #9ca3af; margin: 0; }
}

.gs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.gs-card {
  background: #111827;
  border: 1px solid #1f2937;
  border-radius: 12px;
  padding: 1.25rem;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;

  &:hover {
    border-color: #a78bfa;
    transform: translateY(-2px);
  }

  .card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;

    h2 { color: white; font-size: 1.1rem; margin: 0; }
  }

  .card-description {
    color: #9ca3af;
    font-size: 0.9rem;
    min-height: 2.5em;
  }

  .card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.75rem;
    font-size: 0.8rem;

    .author { color: #6b7280; }
    .badge-public {
      background: #1e3a8a;
      color: #bfdbfe;
      padding: 2px 8px;
      border-radius: 10px;
    }
  }
}

.icon-btn {
  background: transparent;
  border: none;
  color: #6b7280;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  display: flex;

  &:hover { color: #f87171; background: rgba(248, 113, 113, 0.1); }
}

.card-new {
  border-style: dashed;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;

  .new-icon {
    background: rgba(167, 139, 250, 0.1);
    color: #a78bfa;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
  }
  h2 { margin: 0 0 0.25rem; color: white; }
}

.tip {
  margin-top: 2rem;
  color: #6b7280;
  font-size: 0.85rem;

  code {
    background: #1f2937;
    padding: 1px 6px;
    border-radius: 4px;
    color: #a78bfa;
  }
}
