/* ================================

   Fizzy – Unified CSS
   Link Hub + Blog Feed + Post Pages
   ================================ */

:root {
  /* Dark base */
  --bg0: #07040a;
  /* deepest */
  --bg1: #0d0712;
  /* main */
  --bg2: #140a1f;
  /* lifted */
  --card: rgba(20, 10, 31, 0.72);

  /* Text */
  --fg: #ffeaf6;
  --fg-soft: #f2b8d7;
  --fg-muted: #c989ad;

  /* Fizzy accents */
  --fizzy-main: #ff6a98;
  --fizzy-deep: #ff3a78;
  --fizzy-cream: #1a0c26;

  --fizzy-yellow: #ffd447;
  --fizzy-lavender: #d18cff;

  --border: rgba(255, 106, 152, 0.35);

  --shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
  --shadow-soft: 0 10px 26px rgba(0, 0, 0, 0.35);


  --radius: 1.4rem;
  --font: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;

}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  color: var(--fg);
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(255, 106, 152, 0.10) 0, transparent 45%),
    radial-gradient(circle at top right, rgba(209, 140, 255, 0.10) 0, transparent 55%),
    radial-gradient(circle at bottom left, rgba(255, 212, 71, 0.06) 0, transparent 55%),
    linear-gradient(180deg, var(--bg0), var(--bg1) 40%, var(--bg2));
}

/* ================================

   Link Hub

   ================================ */

.linkhub .hub {

  min-height: 100vh;

  display: grid;
  place-items: center;
  padding: 2.2rem 1.1rem;
}


.hub-card {
  width: 100%;
  max-width: 520px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  backdrop-filter: blur(14px);
}

.hub-header {
  text-align: center;
  padding: 0.25rem 0 1rem;
}

.hub-avatar {
  width: 124px;
  height: 124px;
  margin: 0 auto 0.95rem;
  border-radius: 999px;
  padding: 6px;

  background:
    radial-gradient(circle at 0 0, rgba(255, 255, 255, 0.18) 0, rgba(255, 255, 255, 0.03) 45%, transparent 70%),
    conic-gradient(from 160deg, rgba(255, 159, 193, 0.95), var(--fizzy-yellow), var(--fizzy-lavender), rgba(255, 159, 193, 0.95));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.55);
}

.hub-avatar img {
  width: 100%;
  height: 100%;
  border-radius: inherit;

  object-fit: cover;
  border: 3px solid rgba(255, 234, 246, 0.12);
}

.hub-title {
  margin: 0;
  font-size: 2rem;
  letter-spacing: 0.02em;
  color: var(--fg);

}


.hub-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  margin: 0.6rem auto 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--fizzy-deep), var(--fizzy-yellow), var(--fizzy-lavender));
  opacity: 0.95;
}

.hub-subtitle {
  margin: 0.55rem 0 0;
  color: var(--fg-soft);
  font-weight: 650;
}

.hub-links {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;

}


.hub-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  padding: 0.95rem 1rem;
  border-radius: 999px;
  text-decoration: none;

  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 106, 152, 0.22);
  color: var(--fg);

  font-weight: 750;

  box-shadow: var(--shadow-soft);
  transition: transform 0.12s ease-out, filter 0.12s ease-out, box-shadow 0.12s ease-out, border-color 0.12s ease-out;
}


.hub-link:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.45);
  border-color: rgba(255, 106, 152, 0.40);
}


.hub-link.primary {
  background:
    radial-gradient(circle at 20% 0, rgba(255, 234, 246, 0.14), rgba(255, 58, 120, 0.20)),
    linear-gradient(180deg, rgba(255, 58, 120, 0.12), rgba(20, 10, 31, 0.35));
  border-color: rgba(255, 58, 120, 0.55);
}

.hub-link.primary:hover {
  filter: brightness(1.06);
  border-color: rgba(255, 58, 120, 0.70);
}


.hub-divider {
  border: none;

  height: 1px;
  margin: 1.35rem 0 1.05rem;
  background: linear-gradient(90deg, transparent, rgba(255, 106, 152, 0.55), transparent);
}

.hub-mini-title {
  margin: 0 0 0.45rem;
  text-transform: lowercase;
  letter-spacing: 0.12em;

  color: var(--fg-muted);
  font-size: 0.85rem;

  text-align: center;
}

.hub-mini-links {
  display: grid;
  gap: 0.4rem;
  text-align: center;
}

.hub-mini-links a {
  color: var(--fg-soft);
  text-decoration: none;
  font-weight: 650;
}

.hub-mini-links a:hover {
  text-decoration: underline;
  color: var(--fizzy-yellow);
}

.hub-footer {

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;

  margin-top: 1.2rem;
  color: var(--fg-muted);
  font-size: 0.85rem;
}

.hub-footer a {
  color: var(--fizzy-main);
  text-decoration: none;
  font-weight: 800;
}

.hub-footer a:hover {
  text-decoration: underline;
}

.hub-footer-dot {
  opacity: 0.55;
}

@media (max-width: 420px) {
  .hub-card {
    padding: 1.2rem;
  }

  .hub-title {
    font-size: 1.75rem;
  }
}

/* Optional: "bloghub" mode (if you ever use it again) */

.bloghub .hub-link {

  justify-content: space-between;
  gap: 1rem;
}

.bloghub .hub-link .meta {
  color: var(--fg-muted);
  font-weight: 700;
  font-size: 0.85rem;
  opacity: 0.9;
  white-space: nowrap;
}

/* ================================
   Blog Feed (simple GitHub-pages-style)
   ================================ */

.blog .container {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1.1rem;
}

.blog-header {
  padding: 2.2rem 0 1.2rem;
  border-bottom: 1px solid rgba(255, 106, 152, 0.25);
}

.blog-topbar {
  display: flex;
  justify-content: space-between;

  gap: 1rem;

  margin-bottom: 1.1rem;
  font-weight: 700;
}


.blog-home,
.blog-social {
  color: var(--fg-soft);
  text-decoration: none;
}

.blog-home:hover,
.blog-social:hover {
  text-decoration: underline;
  color: var(--fg);
}

.blog-title {
  margin: 0;
  font-size: 2rem;
  color: var(--fg);
}

.blog-subtitle {
  margin: 0.35rem 0 0;
  color: var(--fg-muted);
  font-weight: 700;
}

.blog-main {
  padding: 1.5rem 0 2.5rem;

}


.post-feed {
  display: grid;
  gap: 1.1rem;
}

.post-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 106, 152, 0.18);

  border-radius: 1.1rem;
  padding: 1.1rem 1.1rem;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--fg-muted);
  font-weight: 700;
  font-size: 0.9rem;
}

.post-meta .dot {
  opacity: 0.6;
}

.post-meta .tags {
  color: var(--fg-soft);
  opacity: 0.95;
}

.post-title {
  margin: 0.4rem 0 0.35rem;
  font-size: 1.35rem;
  line-height: 1.2;
}

.post-title a {

  color: var(--fg);
  text-decoration: none;
}

.post-title a:hover {
  color: var(--fizzy-yellow);
  text-decoration: underline;
}


.post-excerpt {
  margin: 0;
  color: var(--fg-soft);
  font-size: 1rem;
}

.blog-footer {
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 106, 152, 0.18);
  color: var(--fg-muted);
  font-weight: 700;
}

.blog-footer a {
  color: var(--fizzy-main);
  text-decoration: none;
}

.blog-footer a:hover {
  text-decoration: underline;
}

/* ================================
   Post Pages (typography + code + media)
   ================================ */


.post-page {

  margin-top: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 106, 152, 0.18);
  border-radius: 1.1rem;
  padding: 1.25rem 1.25rem;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);

}

.post-page p {
  color: var(--fg-soft);

  font-size: 1.02rem;
  margin: 0.8rem 0;

}


.post-page h2,
.post-page h3 {
  color: var(--fg);
  margin: 1.4rem 0 0.6rem;
  line-height: 1.2;
}

.post-page h2 {
  font-size: 1.4rem;
}

.post-page h3 {
  font-size: 1.15rem;
}

.post-page a {
  color: var(--fizzy-main);
  text-decoration: none;
  font-weight: 700;

}

.post-page a:hover {
  text-decoration: underline;
  color: var(--fizzy-yellow);
}

.post-page strong {
  color: var(--fg);
}

.post-page code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 0.92em;
  padding: 0.12em 0.35em;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 106, 152, 0.20);

  color: var(--fg);
}

.post-page pre {
  margin: 0.9rem 0 1rem;
  padding: 1rem 1rem;
  border-radius: 0.95rem;
  overflow-x: auto;
  background:
    radial-gradient(circle at top left, rgba(255, 106, 152, 0.12), transparent 55%),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 106, 152, 0.22);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}

.post-page pre code {
  background: transparent;
  border: none;

  padding: 0;
  color: var(--fg);
  font-size: 0.95rem;
  line-height: 1.55;
  display: block;

}

.post-page blockquote {
  margin: 1.1rem 0;
  padding: 0.75rem 0.95rem;
  border-left: 4px solid rgba(255, 212, 71, 0.85);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 0.85rem;
  color: var(--fg-soft);
  font-weight: 650;
}

.post-page hr {
  border: none;
  height: 1px;
  margin: 1.6rem 0 1.2rem;
  background: linear-gradient(90deg, transparent, rgba(255, 106, 152, 0.45), transparent);
}

.post-page figure {
  margin: 1rem 0;
}

.post-page img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 1rem;

  border: 1px solid rgba(255, 106, 152, 0.20);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.35);

}


.post-page figcaption {
  margin-top: 0.45rem;
  color: var(--fg-muted);
  font-size: 0.9rem;
  font-weight: 700;
}


.post-nav {
  margin-top: 1.2rem;
  font-weight: 800;
}
