
:root {
  --bg: #0a0a12;
  --card: #11111a;
  --text: #e7e7ff;
  --muted: #9aa0b3;
  --pink: #ff6ad5;
  --yellow: #ffe55e;
  --cyan: #9ae6ff;
}

html, body {
  min-height: 100vh;
}

body { 
  margin: 0; 
  font-family: 'Inter', sans-serif;
  color: var(--text); 
  background: radial-gradient(1200px 600px at 70% -10%, rgba(154,230,255,.15), transparent 60%),
                radial-gradient(900px 500px at -10% 20%, rgba(255,106,213,.14), transparent 60%),
                radial-gradient(800px 600px at 110% 80%, rgba(255,229,94,.10), transparent 60%),
                var(--bg);
}
.slay-hero-bg {
  padding: 1rem 0 4rem;
}
.site-header {
  display: flex; 
  justify-content: center; 
  align-items: center; 
  border-bottom: solid 1px #222; 
  padding-bottom: 0.8rem;
  margin-bottom: 2rem;
}
.site-header a {
  display: flex; 
  align-items: center; 
  text-decoration: none;
  padding: 8px 16px;
}
.site-logo img {
  height: 40px; 
  width: 40px; 
  object-fit: cover; 
  border-radius: 9999px;
  margin-right: 8px;
}
.site-title {
  font-size: 1.5rem; 
  font-weight: 700; 
  background-image: linear-gradient(to right, #fef08a, #facc15); 
  -webkit-background-clip: text; 
  -webkit-text-fill-color: transparent;
}
.page-title {
  text-align: center;
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.05;
  margin-top: 0;
  margin-bottom: 0;
}
.page-title .zig {
  background: linear-gradient(90deg,var(--yellow),var(--pink) 60%,var(--cyan));
  -webkit-background-clip: text;
  color: transparent;
}
.latest-blog {
  padding: 1rem;
  max-width: 900px;
  margin: auto;
  text-align: center;
}
.latest-blog h2 {
  font-size: 2rem;
  margin-top: 0; 
  margin-bottom: 4rem;
}
.blog-card {
  margin: 2rem auto 0;
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.5);
  max-width: 600px;
  text-align: left;
}
.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start; 
  gap: 1rem;
  flex-wrap: wrap; 
}
.blog-header h3 {
  margin: 0;
  flex: 1 1 auto; 
  line-height: 1.2;
}
.blog-header h3 a {
  color: var(--pink); 
  text-decoration: none;
  font-size: 1.4rem;
}
.blog-date {
  color: var(--text);
  font-size: 0.8rem;
  flex: 0 0 auto; 
  white-space: nowrap; 
  padding-top: 0.2rem;
}
.blog-card p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0.5rem 0 0;
}
.single-post-container {
  max-width: 800px;
  margin: 3rem auto;
  padding: 2rem;
  background: var(--card);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.5);
}
.single-post-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem; 
}
.back-link {
  color: var(--pink);
  font-weight: bold;
  text-decoration: none;
}
.single-post-date {
  color: var(--text);
  font-size: 0.8rem;
  white-space: nowrap;
}
.single-post-title {
  text-align: center;
  margin: 0 0 2.5rem; 
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--text);
  line-height: 1.2;
}
.single-post-content {
  color: var(--text);
  line-height: 1.8;
}
.single-post-content p, 
.single-post-content ul, 
.single-post-content ol {
  margin-bottom: 1.5rem;
}
.single-post-content a {
  color: var(--pink);
  text-decoration: underline;
}
.single-post-content h2,
.single-post-content h3,
.single-post-content h4 {
  color: var(--text);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.single-post-content ul, .single-post-content ol {
  padding-left: 1.5rem;
}
.not-found-section {
  text-align: center;
  padding: 4rem 1rem;
}
.not-found-section .zig {
  font-size: 6rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(90deg,var(--yellow),var(--pink) 60%,var(--cyan));
  -webkit-background-clip: text;
  color: transparent;
}
.not-found-section h1 {
  font-size: 2rem;
  margin: 0.5rem 0 1rem;
}
.not-found-section p {
  color: var(--muted);
  margin-bottom: 2rem;
}
.slay-btn {
  background: rgba(17,17,26,.6);
  border: 1px solid rgba(154,230,255,.3);
  border-radius: 12px;
  padding: 0.9rem 1.3rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  backdrop-filter: blur(6px);
  display: inline-block;
}