/* Modern, minimal styles for ashley.geek.nz */

:root {
  --bg: #0f1724;
  --card: #0b1220;
  --muted: #9aa6b2;
  --accent: #7fffd4;
  --accent-2: #8b5cf6;
  --radius: 12px;
  --max-width: 980px;
}

/* Global reset */
* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background:
    radial-gradient(1200px 600px at 10% 10%, rgba(139, 92, 246, 0.08), transparent),
    radial-gradient(1000px 500px at 90% 90%, rgba(127, 255, 212, 0.04), transparent),
    var(--bg);
  color: #e6eef6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding: 48px 20px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: 36px;
  border-radius: 18px;
  backdrop-filter: blur(6px);
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.site-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #072029;
}

h1 {
  font-size: 1.6rem;
  margin: 0;
}

.tagline {
  color: var(--muted);
  font-size: 0.94rem;
}

.nav {
  display: flex;
  gap: 12px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  padding: 8px;
  border-radius: 8px;
}

.nav a:hover {
  color: var(--accent);
}

.hero {
  padding: 20px 18px;
  margin: 8px 0 18px 0;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.06), rgba(127, 255, 212, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.02);
}

.hero p {
  margin: 0;
  color: #d9f6ea;
}

.main {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
}

.card {
  background: var(--card);
  padding: 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.02);
}

.posts-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.post a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.post .desc {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 6px;
}

.sidebar .muted {
  color: var(--muted);
  font-size: 0.95rem;
}

.footer {
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

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

  .nav {
    display: none;
  }
}
