:root {
  --bg-color: #0f172a;
  --card-bg: #1e293b;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --accent: #38bdf8;
  --accent-hover: #0284c7;
  --border-color: #334155;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  padding: 20px;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
}

h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: var(--accent);
}

p {
  color: var(--text-muted);
}

/* Card Grid Layout */
.card-grid, .info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.card, .info-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}

.card h2, .info-card h3 {
  color: var(--text-main);
  margin-bottom: 10px;
  font-size: 1.3rem;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 8px;
}

.info-card p {
  margin: 8px 0;
  font-size: 0.95rem;
}

.info-card strong {
  color: var(--text-main);
}

.small-text {
  font-size: 0.8rem;
  word-break: break-all;
}

.placeholder {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Header & Navigation */
.header {
  margin-bottom: 30px;
}

.back-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 15px;
}

.back-link:hover {
  text-decoration: underline;
}

/* Buttons */
button {
  background-color: var(--accent);
  color: #0f172a;
  border: none;
  padding: 10px 18px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 12px;
  transition: background-color 0.2s;
}

button:hover {
  background-color: var(--accent-hover);
  color: #ffffff;
}
