/* === LANDING PAGE === */
.landing {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.hero {
  text-align: center;
  margin-bottom: 3rem;
}

.hero-title {
  font-size: 2.2rem;
  color: var(--accent-legendary);
  margin-bottom: 0.3rem;
  letter-spacing: 0.02em;
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.search-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  gap: 0.8rem;
  align-items: end;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 650px;
  margin: 0 auto;
}

.search-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.search-field label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.search-field input,
.search-field select {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.7rem 0.8rem;
  font-size: 0.9rem;
  min-height: 44px;
  width: 160px;
}

.search-field select { width: 180px; }

.search-field input:hover,
.search-field input:focus,
.search-field select:hover,
.search-field select:focus {
  border-color: var(--border-hover);
}

.search-btn {
  background: var(--accent-rare);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  padding: 0.7rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  letter-spacing: 0.03em;
  min-height: 44px;
  transition: background 0.15s;
}

.search-btn:hover { background: #0060bb; }

/* === CLASS/SPEC GRID === */
.grid-header {
  font-size: 1rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
}

.class-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.class-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0.9rem 1rem;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.class-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-light);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.class-card .class-name {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.class-card .specs {
  font-size: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.6rem;
}

.spec-link {
  text-decoration: none;
  transition: opacity 0.15s;
}

.spec-link:hover {
  opacity: 0.8;
  background: var(--bg-tertiary);
}

.spec-unavailable {
  color: var(--text-dim);
  font-style: italic;
}

/* === LANDING RESPONSIVE === */
@media (max-width: 768px) {
  .landing { padding: 2rem 1rem; }
  .class-grid { grid-template-columns: repeat(2, 1fr); }
  .search-box { flex-direction: column; align-items: stretch; }
  .search-field input, .search-field select { width: 100%; }
}

@media (max-width: 480px) {
  .class-grid { grid-template-columns: 1fr; }
}
