/* =========================================================
   GLOBAL RESET
   ========================================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =========================================================
   CUSTOM FONT
   ========================================================= */
@font-face {
  font-family: "Chomsky";
  src:
    url("assets/Chomsky.woff2") format("woff2"),
    url("assets/Chomsky.woff") format("woff"),
    url("assets/Chomsky.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* =========================================================
   BASE PAGE STYLES
   ========================================================= */
body {
  background: #000 url("assets/space-bg.webp") repeat;
  background-size: 420px;
  background-attachment: scroll;
  font-family: "Chomsky", serif;
  color: #cfcfcf; /* shift from blood to ash */
}

p {
  margin: 10px 0;
  font-size: 16px;
  line-height: 1.35;
}

/* links: steel instead of blood */
a {
  color: #bdbdbd;
  text-decoration: none;
}

a:hover {
  color: #7a0a08; /* subtle red hover */
}

/* =========================================================
   HEADER / SITE TITLE
   ========================================================= */
.header {
  padding: 30px 10px 20px;
  text-align: center;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(1px);
}

.header h1 {
  font-size: 56px;
  font-weight: normal;
  letter-spacing: 2px;
  color: #e6e6e6; /* colder parchment */
  -webkit-text-stroke: 1.5px #0c0c0c; /* charcoal outline */
  text-shadow:
    -2px -2px 0 rgba(255, 255, 255, 0.18), /* subtle bevel highlight */
    3px 3px 0 #111, /* carved shadow (charcoal) */
    5px 5px 0 #060606,
    0 16px 28px rgba(0, 0, 0, 0.95), /* depth */
    0 0 10px rgba(220, 220, 220, 0.12), /* faint cold glow (smoke) */
    0 0 22px rgba(200, 200, 200, 0.08);
}

.header::after {
  content: "";
  display: block;
  width: 80%;
  height: 3px;
  margin: 14px auto 0;
  background: linear-gradient(to right, transparent, #6e6e6e, transparent); /* grey gradient instead of red */
  box-shadow: 0 0 10px rgba(220, 220, 220, 0.1);
}

/* =========================================================
   MAIN GRID LAYOUT
   ========================================================= */
.container {
  display: grid;
  grid-template-columns: 200px 1fr 320px;
  gap: 6px;
  padding: 10px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

/* =========================================================
   PANEL CONTAINERS
   ========================================================= */
.sidebar,
.main,
.right-sidebar {
  text-align: center;
  background: rgba(30, 30, 30, 0.72); /* smoky panel */
  border: 4px solid #5f5f5f; /* steel border */
  padding: 8px;
  min-width: 0;
  box-shadow:
    inset 0 0 0 2px rgba(0, 0, 0, 0.55),
    inset 0 0 22px rgba(0, 0, 0, 0.3),
    0 12px 22px rgba(0, 0, 0, 0.75);
}

/* =========================================================
   PROFILE IMAGE
   ========================================================= */
.profile-pic {
  width: 100%;
  height: 176px;
  background: #111 url("assets/wybie-pfp.webp") center/contain no-repeat;
  border: 5px solid #0b0b0b; /* charcoal frame */
  box-shadow:
    inset 0 0 12px rgba(0, 0, 0, 0.9),
    inset 0 0 18px rgba(255, 255, 255, 0.04),
    0 14px 24px rgba(0, 0, 0, 0.85),
    0 0 10px rgba(200, 200, 200, 0.08);
  margin-bottom: 10px;
}

/* =========================================================
   SECTION HEADERS
   ========================================================= */
.section-title {
  background: rgba(55, 55, 55, 0.92); /* steel banner */
  color: #e8e8e8;
  padding: 6px 10px;
  margin: 2px 0 10px;
  font-weight: normal;
  border: 1px solid rgba(0, 0, 0, 0.75);
  letter-spacing: 0.5px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -10px 16px rgba(0, 0, 0, 0.35),
    0 8px 14px rgba(0, 0, 0, 0.55);
}

.section-title span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}

.section-title span::before,
.section-title span::after {
  content: "";
  flex: 1 1 auto;
  height: 2px;
  min-width: 24px;
  background: linear-gradient(to right, transparent, #7a7a7a); /* grey separators */
}

.section-title span::after {
  background: linear-gradient(to left, transparent, #7a7a7a);
}

.section-title .sigil {
  font-style: normal;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.9);
}

/* =========================================================
   BLOG ENTRY
   ========================================================= */
.blog-entry {
  margin: 10px 0;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.25);
}

.blog-date {
  opacity: 0.85;
  letter-spacing: 0.5px;
}

.blog-body p {
  margin: 10px 0;
}

/* =========================================================
   RIGHT SIDEBAR BLOCKS
   ========================================================= */
.block {
  margin-bottom: 12px;
}

.block-content {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

/* =========================================================
   SPOTIFY BLOCK (FORCE NO GAPS)
   ========================================================= */
.spotify-block {
  padding: 0 !important;
  gap: 0 !important;
}

.spotify-frame {
  height: 90px;
  overflow: hidden;
}

.spotify-frame iframe {
  display: block;
  width: 100%;
  height: 120px;
  border: 0;
}

/* =========================================================
   IMAGES
   ========================================================= */
.right-sidebar img {
  display: block;
  max-width: 100%;
  height: auto;
}
/* =========================================================
   MOBILE
   ========================================================= */
@media (max-width: 820px) {

  body {
    background-size: 300px;
  }

  .header h1 {
    font-size: 44px;
  }

  /* Force single column, no overlap */
  .container {
    display: flex;              /* override grid */
    flex-direction: column;
    gap: 12px;
    max-width: 520px;
    margin: 0 auto;
    padding: 10px;
  }

  .sidebar,
  .main,
  .right-sidebar {
    width: 100%;
    position: static;
  }

  /* Section title wrapping */
  .section-title span {
    white-space: normal;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  /* Profile pic */
  .profile-pic {
    width: 160px;
    height: 160px;
    margin: 0 auto 10px;
    background-size: contain;
  }

  /* Right sidebar content */
  .right-sidebar .block-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .right-sidebar .block-content a {
    display: inline-block;
    width: auto;
  }

  .right-sidebar .block-content img {
    max-width: 100%;
    height: auto;
  }

  /* Spotify */
  .spotify-block {
    gap: 12px !important;
    align-items: center;
  }

  .spotify-frame {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
  }

  .spotify-frame iframe {
    width: 100%;
    height: 140px;
    display: block;
    margin: 0 auto;
  }

}

