/* Voided Heart — minimal cosmic theme
   Keep it lightweight, readable, and 4K-friendly. */

:root{
  --bg: #000000;
  --panel: rgba(10, 13, 18, 0.42);
  --panel-border: rgba(255,255,255,0.03);
  --text: rgba(220, 222, 226, 0.92);
  --muted: rgba(150, 155, 165, 0.80);
  --blue: rgb(130, 195, 212);
  --blue-glow: rgba(40, 190, 210, 0.18);
  --red: rgba(177, 15, 46, 0.80);
  --red-dim: rgba(177, 15, 46, 0.35);
}

*{ box-sizing: border-box; }
html, body { height: 100%; }
body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  letter-spacing: 0.2px;
  overflow-x: hidden;
}

.bg{ display: none; }

/* Header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 18px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.header__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.brand{
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 240px;
}

.brand__mark{
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.35), 0 16px 40px rgba(0,0,0,0.55);
}

.brand__title{
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 16px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: rgba(235,235,235,0.92);
  white-space: nowrap;
}

.brand__tag{
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
}

/* Nav */
.nav{
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav__link{
  position: relative;
  padding: 10px 10px;
  color: rgba(230,230,230,0.78);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 3px;
}
.nav__link:hover{ color: rgba(255,255,255,0.92); }
.nav__link.is-active{
  color: rgba(255,255,255,0.95);
}
.nav__link.is-active::after{
  content:"";
  position:absolute;
  left: 10px;
  right: 10px;
  bottom: 6px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  filter: drop-shadow(0 0 6px rgba(177, 15, 46, 0.35));
}

/* Main layout */
.main{
  max-width: 1200px;
  margin: 0 auto;
  padding: 22px 18px 56px;
}

.heart{
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.heart__img{
  position: absolute;
  display: block;
  transition: opacity 500ms ease;
}

.heart__img--default{
  width: auto;
  height: 50vh;
  top: 66%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: contrast(1.02) saturate(0.95) brightness(1.7);
}

.heart__img--alt{
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  object-fit: cover;
  opacity: 0;
}

body.bg-alt .heart__img--default{ opacity: 0; }
body.bg-alt .heart__img--alt{ opacity: 1; }

.heart__veil{
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.05), rgba(0,0,0,0.20));
  pointer-events: none;
}

/* Content panel */
.panel{
  margin-top: 8px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 22px;
  padding: 34px 28px;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 80px rgba(0,0,0,0.55);
}

.panel__title{
  margin: 0;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: clamp(22px, 2.2vw, 32px);
  letter-spacing: 8px;
  text-transform: uppercase;
  text-align: center;
  color: var(--blue);
}

.divider{
  margin: 14px auto 26px;
  height: 1px;
  width: min(680px, 90%);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  position: relative;
}
.divider::after{
  content:"";
  position:absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -1px;
  width: 140px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--red-dim), transparent);
}

.lead{
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.7;
  text-align: center;
  margin: 0 auto 18px;
  max-width: 860px;
}

p{
  line-height: 1.8;
  max-width: 860px;
  margin: 0 auto 14px;
  font-size: 16px;
}
.muted{ color: var(--muted); }
.small{ font-size: 13px; }

.footer{
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  color: rgba(255,255,255,1);
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px;
  z-index: 5;
}

/* Tabs */
.tab{ display: none; }
.tab.is-visible{ display: block; }

/* Blog cards */
.cards{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 6px auto 14px;
  max-width: 980px;
}

.card{
  display: block;
  text-decoration: none;
  color: inherit;
  padding: 16px 16px 18px;
  border-radius: 18px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 120ms ease, border-color 120ms ease;
}
.card:hover{
  transform: translateY(-2px);
  border-color: rgba(177, 15, 46, 0.22);
}
.card__meta{
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(150,155,165,0.75);
}
.card__title{
  margin-top: 10px;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 18px;
  letter-spacing: 0.5px;
  color: var(--blue);
}
.card__blurb{
  margin-top: 8px;
  color: rgba(210,212,218,0.86);
  font-size: 14px;
  line-height: 1.6;
}

/* Contact */
.contact{
  max-width: 860px;
  margin: 10px auto 0;
  border-radius: 18px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 16px;
}
.contact__row{
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 6px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.contact__row:last-child{ border-bottom: none; }
.contact__label{
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(150,155,165,0.78);
}
.contact__value{
  color: rgba(235,235,235,0.92);
  text-decoration: none;
}
.contact__value:hover{ text-decoration: underline; }

/* ── Blog: category filter tabs ── */
.cat-tabs{
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 auto 20px;
  max-width: 980px;
}
.cat-tab{
  background: transparent;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(220,220,220,0.65);
  cursor: pointer;
  font-family: inherit;
  transition: border-color 120ms ease, color 120ms ease;
}
.cat-tab:hover{
  color: rgba(255,255,255,0.90);
  border-color: rgba(255,255,255,0.20);
}
.cat-tab.is-active{
  color: rgba(255,255,255,0.95);
  border-color: var(--red);
}

/* ── Blog: card cover image ── */
.card__cover{
  width: calc(100% + 32px);
  margin: -16px -16px 12px;
  height: 130px;
  object-fit: cover;
  display: block;
  border-radius: 18px 18px 0 0;
}

/* ── Blog: back button ── */
.back-btn{
  display: block;
  background: none;
  border: none;
  color: var(--muted);
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0;
  margin-bottom: 22px;
}
.back-btn:hover{ color: rgba(255,255,255,0.90); }

/* ── Blog: single post ── */
.post__meta{
  text-align: center;
  font-size: 18px;
  letter-spacing: 2px;
  color: var(--muted);
  margin: 4px auto 0;
  max-width: 860px;
}
.post__cover{
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  margin: 0 auto 28px;
}
.post__body{
  max-width: 860px;
  margin: 0 auto;
}
.post__body h1,
.post__body h2,
.post__body h3{
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  letter-spacing: 2px;
  margin: 1.6em 0 0.5em;
  color: var(--blue);
}
.post__body h1{ font-size: clamp(20px, 2vw, 28px); }
.post__body h2{ font-size: clamp(17px, 1.6vw, 22px); }
.post__body h3{ font-size: clamp(15px, 1.4vw, 18px); }
.post__body a{ color: rgba(40,190,210,0.90); }
.post__body blockquote{
  border-left: 2px solid var(--red-dim);
  margin: 0 0 14px;
  padding: 4px 16px;
  color: var(--muted);
}
.post__body code{
  background: rgba(255,255,255,0.07);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 14px;
}
.post__body pre{
  background: rgba(0,0,0,0.45);
  border-radius: 12px;
  padding: 18px;
  overflow-x: auto;
  margin-bottom: 14px;
}
.post__body pre code{ background: none; padding: 0; }
.post__body ul,
.post__body ol{ padding-left: 24px; margin-bottom: 14px; }
.post__body li{ margin-bottom: 6px; }

/* ── Lyrics: song translation layout ── */
.lyrics__desc{
  max-width: 940px;
  margin: 0 auto 28px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  text-align: center;
}
.lyrics__columns{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 980px;
  margin: 0 auto;
}
.lyrics__col{
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 22px 20px;
}
.lyrics__col-title{
  margin: 0 0 16px;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  font-size: 16px;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-align: center;
  color: var(--blue);
}
.lyrics__text{
  font-size: 15px;
  line-height: 2;
  white-space: pre-line;
  color: rgba(210,212,218,0.90);
}

@media (max-width: 900px){
  .site-header{ padding: 14px 16px; }
  .brand__title{ letter-spacing: 4px; }
  .cards{ grid-template-columns: 1fr; }
  .lyrics__columns{ grid-template-columns: 1fr; }
}

@media (max-width: 768px){
  .site-header{ padding: 10px 14px; }
  .header__inner{ flex-direction: column; align-items: center; gap: 6px; }
  .brand{ min-width: 0; gap: 10px; flex-direction: column; align-items: center; text-align: center; }
  .brand__mark{ width: 40px; height: 40px; border-radius: 10px; }
  .brand__title{ font-size: 13px; letter-spacing: 3px; white-space: normal; }
  .brand__tag{ display: none; }
  .nav{ gap: 4px; justify-content: center; }
  .nav__link{ font-size: 11px; letter-spacing: 2px; padding: 8px 6px; }
  .panel{ padding: 20px 14px; border-radius: 16px; backdrop-filter: none; background: rgba(10, 13, 18, 0.65); }
  .panel__title{ font-size: 20px; letter-spacing: 5px; }
  .lead{ font-size: 16px; }
  .heart__img--default{ height: 52.5vh; max-width: 120vw; }
}
