/* About page — DiceCodes branded */

.about-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* HERO */
.about-hero {
  text-align: center;
  padding: 24px 16px 8px;
  position: relative;
}
.about-hero::after {
  content: '';
  position: absolute;
  inset: -20px 30% 0 30%;
  background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 70%);
  z-index: -1;
}
.about-logo {
  width: 84px;
  height: 84px;
  margin: 0 auto 18px;
  filter: drop-shadow(0 0 24px var(--accent-glow));
}
.about-title {
  margin: 0 0 14px;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(90deg, var(--text-primary), var(--accent-light));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.about-tagline {
  max-width: 540px;
  margin: 0 auto 24px;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
}
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

/* CARDS */
.about-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.about-card h2 {
  margin: 0 0 14px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.about-card blockquote {
  margin: 0 0 14px;
  padding: 14px 16px;
  border-left: 3px solid var(--accent-light);
  background: var(--accent-glow);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: normal;
  color: var(--text-primary);
  line-height: 1.6;
}
.about-card p { line-height: 1.65; color: var(--text-secondary); }
.about-card p strong { color: var(--text-primary); font-weight: 600; }

/* CREATOR */
.creator-flex {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.creator-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 2px solid var(--border-accent);
  flex-shrink: 0;
  box-shadow: var(--shadow-glow);
  object-fit: cover;
}
.creator-body { flex: 1; }
.creator-name {
  margin: 6px 0 4px;
  font-size: 22px;
  font-weight: 700;
}
.creator-studio {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--text-secondary);
}
.creator-quote {
  margin: 0 0 16px !important;
  font-size: 15px;
  line-height: 1.6;
}
.creator-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.link-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 9999px;
  font-size: 12px;
  color: var(--text-primary);
  text-decoration: none;
  font-family: 'DM Mono', monospace;
  transition: all 0.15s;
}
.link-pill:hover {
  background: var(--bg-hover);
  border-color: var(--border-accent);
  color: var(--text-accent);
  text-decoration: none;
}

/* HOWTO */
.howto-list {
  margin: 0 0 12px;
  padding-left: 22px;
  line-height: 1.7;
  color: var(--text-secondary);
}
.howto-list li {
  margin-bottom: 10px;
}
.howto-list li strong {
  color: var(--text-primary);
  font-weight: 600;
}
.howto-list code {
  background: var(--bg-surface);
  padding: 1px 6px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--text-accent);
}

/* PROJECT GRID */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.project-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  text-decoration: none;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}
.project-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, var(--accent-glow), transparent 60%);
  opacity: 0;
  transition: opacity 0.2s;
}
.project-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}
.project-card:hover::before { opacity: 1; }
.project-card h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  position: relative;
}
.project-card p {
  margin: 0;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
  position: relative;
}
.project-cta {
  margin-top: auto;
  padding-top: 8px;
  font-size: 11px;
  color: var(--text-accent);
  font-family: 'DM Mono', monospace;
  position: relative;
}

/* SUPPORT */
.support-card {
  background: linear-gradient(135deg, var(--bg-card), rgba(124, 58, 237, 0.04));
}
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.support-tile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--text-primary);
  transition: all 0.15s;
}
.support-tile:hover {
  border-color: var(--border-accent);
  background: var(--bg-hover);
  text-decoration: none;
  transform: translateY(-1px);
}
.support-tile strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}
.support-tile p {
  margin: 0;
  font-size: 11px;
}
.support-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  border-radius: 50%;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-accent);
  flex-shrink: 0;
}

/* TECH LIST */
.tech-list {
  margin: 0 0 14px;
  padding-left: 22px;
  line-height: 1.7;
  color: var(--text-secondary);
}
.tech-list li strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* FOOTER */
.about-footer {
  text-align: center;
  padding: 32px 0 0;
  border-top: 1px solid var(--border);
  margin-top: 16px;
}
.footer-credit {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 500;
}
.footer-links {
  margin: 0;
  font-size: 12px;
  font-family: 'DM Mono', monospace;
}
.footer-links a { color: inherit; }
.footer-links a:hover { color: var(--text-accent); }

/* RESPONSIVE */
@media (max-width: 640px) {
  .about-page { padding: 24px 16px 60px; }
  .about-title { font-size: 30px; }
  .about-card { padding: 20px; }
  .creator-flex { flex-direction: column; align-items: center; text-align: center; }
  .creator-avatar { width: 80px; height: 80px; }
  .creator-links { justify-content: center; }
}
