*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0a0a0a;
  --text: #e0e0e0;
  --text-muted: #888;
  --ember-1: #ff6b35;
  --ember-2: #f7931e;
}

html {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 2rem 1.5rem;
}

main:has(.page) {
  align-items: flex-start;
  padding: 3rem 1.5rem;
}

/* ember glow behind content */
.container {
  text-align: center;
  max-width: 520px;
  position: relative;
  animation: fadeIn 0.8s ease-out;
}

.container::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.12) 0%, rgba(247, 147, 30, 0.04) 40%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* logo */
.logo-wrap {
  margin-bottom: 1.5rem;
}

.logo {
  width: 96px;
  height: 96px;
  object-fit: contain;
  border-radius: 20px;
}

/* typography */
h1 {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
  background: linear-gradient(135deg, var(--ember-1), var(--ember-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tagline {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
}

.about {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 2rem;
}

/* social links */
.links {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.links a {
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.5rem;
  border-radius: 8px;
  transition: color 0.25s, box-shadow 0.25s;
}

.links a:hover {
  color: var(--ember-1);
  box-shadow: 0 0 16px rgba(255, 107, 53, 0.25);
}

/* featured game */
.featured-game {
  margin-bottom: 2rem;
  text-align: left;
}

.game-feature {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  background: #1a1a1a;
  border: 1px solid #252525;
  border-radius: 10px;
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s;
}

.game-feature:hover {
  border-color: var(--ember-1);
}

.game-feature-info {
  flex: 1;
}

.game-feature-info h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ember-1);
  margin-bottom: 0.25rem;
}

.game-feature-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.game-feature-info p:last-child {
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text);
}

.game-feature-img {
  width: 120px;
  flex-shrink: 0;
  border-radius: 10px;
  border: 2px solid #252525;
}

@media (max-width: 600px) {
  .game-feature {
    flex-direction: column;
  }

  .game-feature-img {
    width: 100%;
    max-width: 200px;
  }
}

/* feature cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2.5rem;
  text-align: left;
}

.card {
  background: #1a1a1a;
  border: 1px solid #252525;
  border-radius: 10px;
  padding: 1.25rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s;
}

.card:hover {
  border-color: var(--ember-1);
}

.card h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ember-1);
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.8rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-muted);
}

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

/* site nav */
.site-nav {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.site-nav a,
.site-nav a:visited {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 400;
  transition: color 0.2s;
}

.site-nav a:hover {
  color: var(--ember-1);
}

/* footer */
footer {
  padding: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
}

footer a,
footer a:visited {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover {
  color: var(--ember-1);
}

.footer-nav {
  margin-top: 0.5rem;
}

/* ---- page layout (privacy, etc.) ---- */
.page {
  max-width: 680px;
  width: 100%;
  text-align: left;
  animation: fadeIn 0.8s ease-out;
}

.page h1 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--ember-1), var(--ember-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page h2 {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 2.5rem;
  margin-bottom: 0.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #1a1a1a;
  border-left: 3px solid var(--ember-1);
  padding-left: 0.75rem;
}

.page h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.page p {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 1rem;
}

.page ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.page li {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.page a,
.page a:visited {
  color: var(--ember-1);
  text-decoration: none;
  transition: color 0.2s;
}

.page a:hover {
  color: var(--ember-2);
  text-decoration: underline;
}

.page strong {
  color: #fff;
  font-weight: 600;
}

.page li::marker {
  color: var(--ember-1);
}

.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  font-size: 0.9rem;
}

.headshot {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #252525;
  margin-bottom: 1.5rem;
}

.last-updated {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 2rem;
}

.game-showcase {
  background: #1a1a1a;
  border: 1px solid #252525;
  border-radius: 10px;
  padding: 2rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.game-showcase h2 {
  border: none;
  padding-top: 0;
  margin-top: 0;
  color: var(--ember-1);
  font-size: 1.5rem;
  text-align: center;
}

.game-subtitle {
  text-align: center;
  color: var(--text-muted) !important;
  font-size: 0.95rem !important;
  margin-bottom: 1.5rem !important;
}

.screenshot-gallery {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 1.5rem 0;
  -webkit-overflow-scrolling: touch;
}

.screenshot-gallery img {
  width: 200px;
  flex-shrink: 0;
  border-radius: 12px;
  border: 2px solid #252525;
}

.contact {
  background: #1a1a1a;
  border: 1px solid #252525;
  padding: 1.5rem;
  border-radius: 10px;
  margin-top: 2rem;
}

.contact h2 {
  border: none;
  padding-top: 0;
  margin-top: 0;
}

.page-footer {
  text-align: center;
  margin-top: 3rem;
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* fade in */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
