/* ============================================================
   HARDLIGHT COLLECTIVE — style.css
   Vista Aero glass. Franklin Gothic Medium + Segoe UI bold italic.
   ============================================================ */

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Segoe UI', Tahoma, 'MS Sans Serif', sans-serif;
  font-size: 11px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── BACKGROUND ── */
.site-bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 130% 80% at 0% 100%, #1a4acc 0%, #0c2288 25%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 100% 80%, #1a0a44 0%, #120838 40%, transparent 70%),
    linear-gradient(170deg, #050818 0%, #080e28 30%, #0a1440 55%, #0e1e60 80%, #1a3088 100%);
}

.site-beams {
  position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden;
}
.site-beams::before {
  content: '';
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background:
    radial-gradient(ellipse 3% 95% at 18% 0%, rgba(200,240,255,0.75) 0%, rgba(140,210,255,0.25) 45%, transparent 100%),
    radial-gradient(ellipse 1.8% 100% at 12% 0%, rgba(220,245,255,0.55) 0%, rgba(160,220,255,0.15) 50%, transparent 100%),
    radial-gradient(ellipse 2.5% 90% at 24% 0%, rgba(180,230,255,0.45) 0%, rgba(120,195,255,0.10) 55%, transparent 100%),
    radial-gradient(ellipse 22% 70% at 18% 0%, rgba(80,160,255,0.14) 0%, transparent 100%),
    radial-gradient(ellipse 1.2% 85% at 30% 0%, rgba(200,240,255,0.30) 0%, transparent 100%),
    radial-gradient(ellipse 40% 25% at 18% 100%, rgba(60,140,255,0.22) 0%, transparent 70%);
}
.site-beams::after {
  content: '';
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background:
    radial-gradient(ellipse 2.5% 95% at 78% 0%, rgba(220,200,255,0.60) 0%, rgba(180,150,255,0.18) 50%, transparent 100%),
    radial-gradient(ellipse 1.5% 100% at 84% 0%, rgba(230,210,255,0.42) 0%, rgba(190,160,255,0.12) 55%, transparent 100%),
    radial-gradient(ellipse 20% 65% at 80% 0%, rgba(120,80,200,0.12) 0%, transparent 100%),
    radial-gradient(ellipse 1% 80% at 90% 0%, rgba(210,180,255,0.25) 0%, transparent 100%),
    radial-gradient(ellipse 35% 20% at 80% 100%, rgba(100,60,180,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 95% 60%, rgba(80,40,160,0.10) 0%, transparent 70%);
}
.site-vignette {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 60% at 50% 40%, transparent 40%, rgba(2,4,18,0.50) 100%),
    linear-gradient(180deg, rgba(2,4,16,0.35) 0%, transparent 20%, transparent 75%, rgba(2,4,20,0.40) 100%);
}

/* ── LAYOUT ── */
.site-wrap { position: relative; z-index: 1; display: flex; flex-direction: column; min-height: 100vh; }

/* ── HEADER ── */
header.hdr {
  position: sticky; top: 0; z-index: 100;
  height: 46px;
  background: linear-gradient(180deg,
    rgba(80,130,220,0.72) 0%,
    rgba(50,95,195,0.62) 40%,
    rgba(30,65,170,0.70) 100%);
  border-bottom: 1px solid rgba(140,190,255,0.38);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.30), inset 0 -1px 0 rgba(10,30,100,0.35), 0 2px 16px rgba(0,5,40,0.55);
  display: flex; align-items: center;
  padding: 0 18px; gap: 14px; flex-shrink: 0; overflow: hidden;
}
header.hdr::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 55%;
  background: linear-gradient(180deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0.04) 100%);
  pointer-events: none;
}

.hdr-logo {
  font-family: 'Franklin Gothic Medium', 'Franklin Gothic', 'ITC Franklin Gothic', Arial Narrow, Arial, sans-serif;
  font-size: 19px; font-weight: normal; color: #ffffff;
  text-shadow: 0 1px 4px rgba(0,10,60,0.7), 0 0 18px rgba(140,200,255,0.5);
  white-space: nowrap; position: relative; z-index: 1; text-decoration: none;
}
.hdr-logo span { color: #90d8ff; }
.hdr-sep { width: 1px; height: 22px; background: rgba(200,230,255,0.22); position: relative; z-index: 1; flex-shrink: 0; }
.hdr-tagline { font-size: 11px; font-style: italic; font-weight: 700; color: rgba(190,220,255,0.65); position: relative; z-index: 1; }
.hdr-nav { margin-left: auto; display: flex; position: relative; z-index: 1; }
.hdr-nav a {
  display: block; padding: 0 13px; height: 46px; line-height: 46px;
  font-size: 12px; font-style: italic; font-weight: 700;
  color: rgba(215,238,255,0.90); text-decoration: none;
  border-left: 1px solid rgba(160,210,255,0.14);
  transition: background 0.12s, color 0.12s; white-space: nowrap;
}
.hdr-nav a:last-child { border-right: 1px solid rgba(160,210,255,0.14); }
.hdr-nav a:hover { background: rgba(255,255,255,0.12); color: #fff; }
.hdr-nav a.active { background: rgba(255,255,255,0.16); color: #fff; box-shadow: inset 0 -2px 0 rgba(160,220,255,0.85); }

/* ── BODY LAYOUT ── */
.site-body { display: flex; flex: 1; }

/* ── SIDEBAR ── */
aside.sb {
  width: 178px; flex-shrink: 0;
  background: linear-gradient(180deg, rgba(40,80,185,0.58), rgba(22,52,155,0.65));
  border-right: 1px solid rgba(120,175,255,0.22);
  padding: 10px 0 8px; display: flex; flex-direction: column;
  min-height: calc(100vh - 46px);
  box-shadow: inset -1px 0 0 rgba(255,255,255,0.06);
}

.sb-panel {
  margin: 0 8px 10px;
  background: linear-gradient(180deg, rgba(55,100,210,0.45), rgba(30,68,175,0.52));
  border: 1px solid rgba(120,175,255,0.24); border-radius: 6px; overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.20), inset 0 -1px 0 rgba(0,20,80,0.20);
}
.sb-panel-hdr {
  background: linear-gradient(180deg, rgba(70,120,230,0.60), rgba(40,85,200,0.45));
  border-bottom: 1px solid rgba(120,175,255,0.22); padding: 4px 10px;
  font-family: 'Franklin Gothic Medium', 'Franklin Gothic', 'ITC Franklin Gothic', Arial Narrow, Arial, sans-serif;
  font-size: 12px; font-weight: normal; color: rgba(225,242,255,0.96);
  text-shadow: 0 1px 3px rgba(0,10,60,0.55); position: relative;
}
.sb-panel-hdr::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 52%;
  background: linear-gradient(180deg, rgba(255,255,255,0.18) 0%, transparent 100%); pointer-events: none;
}
.sb-panel-body { padding: 7px 10px; }
.sb-link {
  display: flex; align-items: center; gap: 7px; padding: 3px 0;
  font-size: 11px; font-style: italic; font-weight: 700;
  color: rgba(205,230,255,0.82); text-decoration: none; cursor: pointer;
}
.sb-link:hover { color: #fff; }
.sb-link:hover .lbl { text-decoration: underline; }
.sb-link.active { color: #fff; }

.sb-dot { width: 5px; height: 5px; border-radius: 50%; flex-shrink: 0; }
.d-bl { background: #60aaff; box-shadow: 0 0 5px #60aaff; }
.d-pu { background: #c090ff; box-shadow: 0 0 5px #c090ff; }
.d-or { background: #ff9050; box-shadow: 0 0 5px #ff9050; }
.d-gr { background: #40e898; box-shadow: 0 0 5px #40e898; }
.d-cy { background: #30d8f0; box-shadow: 0 0 5px #30d8f0; }

.sb-upd { padding: 4px 0; border-bottom: 1px solid rgba(120,175,255,0.12); }
.sb-upd:last-child { border-bottom: none; padding-bottom: 0; }
.sb-upd-meta { display: flex; align-items: center; gap: 5px; font-size: 9px; font-style: italic; font-weight: 700; color: rgba(170,210,255,0.55); margin-bottom: 2px; }
.sb-upd-title { font-size: 10px; font-style: italic; font-weight: 700; color: rgba(205,230,255,0.82); line-height: 1.4; }
.sb-footer { margin-top: auto; padding: 7px 10px; font-size: 9px; font-style: italic; font-weight: 700; color: rgba(150,195,255,0.38); line-height: 1.8; border-top: 1px solid rgba(120,175,255,0.12); }

/* ── TAGS ── */
.tag { display: inline-block; font-style: normal; font-weight: 700; font-size: 8px; padding: 0 4px; border-radius: 2px; vertical-align: middle; margin-right: 4px; }
.tag-w  { background: rgba(160,100,255,0.30); color: #d8b8ff; border: 1px solid rgba(180,120,255,0.38); }
.tag-c  { background: rgba(255,140,50,0.28);  color: #ffbb80; border: 1px solid rgba(255,160,70,0.38); }
.tag-ch { background: rgba(40,220,140,0.22);  color: #70f0b8; border: 1px solid rgba(50,230,150,0.38); }
.tag-b  { background: rgba(50,170,255,0.22);  color: #80d8ff; border: 1px solid rgba(60,185,255,0.38); }

/* ── MAIN ── */
main.main { flex: 1; padding: 14px 18px; display: flex; flex-direction: column; gap: 12px; }

/* ── PANELS ── */
.panel {
  background: linear-gradient(180deg, rgba(48,95,205,0.52), rgba(25,62,168,0.60));
  border: 1px solid rgba(120,180,255,0.28); border-radius: 8px;
  position: relative; overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.26), inset 0 -1px 0 rgba(5,20,80,0.25), 0 4px 24px rgba(0,5,40,0.50);
}
.panel::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 48%;
  background: linear-gradient(180deg, rgba(255,255,255,0.12) 0%, transparent 100%); pointer-events: none;
}
.panel-hdr {
  background: linear-gradient(180deg, rgba(65,115,225,0.65), rgba(38,82,195,0.50));
  border-bottom: 1px solid rgba(120,180,255,0.24); padding: 6px 14px;
  font-family: 'Franklin Gothic Medium', 'Franklin Gothic', 'ITC Franklin Gothic', Arial Narrow, Arial, sans-serif;
  font-size: 13px; font-weight: normal; color: rgba(235,248,255,0.97);
  text-shadow: 0 1px 3px rgba(0,10,60,0.55); position: relative;
}
.panel-hdr::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 54%;
  background: linear-gradient(180deg, rgba(255,255,255,0.16) 0%, transparent 100%); pointer-events: none;
}
.panel-body { padding: 14px 16px; position: relative; z-index: 1; }

/* ── HERO ── */
.hero-title {
  font-family: 'Franklin Gothic Medium', 'Franklin Gothic', 'ITC Franklin Gothic', Arial Narrow, Arial, sans-serif;
  font-size: 28px; font-weight: normal; color: #ffffff;
  text-shadow: 0 0 26px rgba(120,200,255,0.60), 0 2px 6px rgba(0,5,80,0.65);
  margin-bottom: 6px; line-height: 1.15;
}
.hero-sub { font-size: 11px; font-style: italic; font-weight: 700; color: rgba(180,218,255,0.62); margin-bottom: 10px; }
.hero-desc { font-size: 12px; font-style: italic; font-weight: 700; color: rgba(188,222,255,0.78); line-height: 1.85; max-width: 480px; }

/* ── SECTION CARDS ── */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.card {
  background: linear-gradient(180deg, rgba(48,95,205,0.46), rgba(25,62,168,0.54));
  border: 1px solid rgba(120,180,255,0.24); border-radius: 8px; padding: 12px 13px;
  text-decoration: none; display: block; cursor: pointer; position: relative; overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.20);
  transition: border-color 0.12s, background 0.12s;
}
.card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 50%; background: linear-gradient(180deg, rgba(255,255,255,0.10) 0%, transparent 100%); pointer-events: none; }
.card:hover { border-color: rgba(170,215,255,0.42); background: linear-gradient(180deg, rgba(65,120,230,0.55), rgba(35,82,195,0.64)); }
.card-icon { width: 22px; height: 22px; margin-bottom: 9px; position: relative; z-index: 1; }
.card-title { font-size: 13px; font-style: italic; font-weight: 700; color: rgba(238,250,255,0.96); margin-bottom: 3px; position: relative; z-index: 1; }
.card-sub { font-size: 9px; font-style: italic; font-weight: 700; color: rgba(165,208,255,0.52); margin-bottom: 4px; position: relative; z-index: 1; }
.card-desc { font-size: 10px; font-style: italic; font-weight: 700; color: rgba(175,215,255,0.70); line-height: 1.65; position: relative; z-index: 1; }
.card-enter { display: block; margin-top: 7px; font-size: 9px; font-style: italic; font-weight: 700; color: rgba(145,192,255,0.45); position: relative; z-index: 1; }

/* ── POST LIST ── */
.post-list { display: flex; flex-direction: column; }
.post-row { display: flex; gap: 12px; align-items: flex-start; padding: 7px 0; border-bottom: 1px solid rgba(120,180,255,0.12); }
.post-row:last-child { border-bottom: none; }
.post-date { font-size: 9px; font-style: italic; font-weight: 700; color: rgba(155,200,255,0.48); white-space: nowrap; padding-top: 2px; width: 46px; flex-shrink: 0; }
.post-title { font-size: 11px; font-style: italic; font-weight: 700; color: rgba(218,240,255,0.92); margin-bottom: 2px; line-height: 1.4; text-decoration: none; display: block; }
a.post-title:hover { color: #fff; text-decoration: underline; }
.post-meta { font-size: 9px; font-style: italic; font-weight: 700; color: rgba(145,192,255,0.45); }

/* ── ENTRY GRID (listing pages) ── */
.entry-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.entry-card {
  background: linear-gradient(180deg, rgba(48,95,205,0.46), rgba(25,62,168,0.54));
  border: 1px solid rgba(120,180,255,0.24); border-radius: 8px; padding: 10px 11px;
  text-decoration: none; display: block; position: relative; overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.18);
  transition: border-color 0.12s, background 0.12s;
}
.entry-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 50%; background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 100%); pointer-events: none; }
.entry-card:hover { border-color: rgba(170,215,255,0.42); background: linear-gradient(180deg, rgba(65,120,230,0.55), rgba(35,82,195,0.64)); }
.entry-thumb { width: 100%; aspect-ratio: 3/2; background: rgba(20,50,150,0.45); border: 1px solid rgba(100,160,255,0.18); border-radius: 4px; margin-bottom: 8px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.entry-thumb img { width: 100%; height: 100%; object-fit: cover; }
.entry-thumb-placeholder { font-size: 9px; font-style: italic; font-weight: 700; color: rgba(140,185,255,0.38); }
.entry-title { font-size: 11px; font-style: italic; font-weight: 700; color: rgba(218,240,255,0.92); margin-bottom: 3px; }
.entry-meta { font-size: 9px; font-style: italic; font-weight: 700; color: rgba(145,192,255,0.45); }

/* ── ARTICLE ── */
.article-header { margin-bottom: 14px; }
.article-title { font-family: 'Franklin Gothic Medium', 'Franklin Gothic', 'ITC Franklin Gothic', Arial Narrow, Arial, sans-serif; font-size: 22px; font-weight: normal; color: #ffffff; text-shadow: 0 0 18px rgba(120,200,255,0.50); margin-bottom: 5px; }
.article-meta { font-size: 10px; font-style: italic; font-weight: 700; color: rgba(155,200,255,0.50); margin-bottom: 10px; }
.article-body { font-size: 12px; font-style: italic; font-weight: 700; color: rgba(190,225,255,0.80); line-height: 2.0; max-width: 620px; }
.article-body p { margin-bottom: 12px; }
.article-body h2 { font-family: 'Franklin Gothic Medium', 'Franklin Gothic', 'ITC Franklin Gothic', Arial Narrow, Arial, sans-serif; font-size: 16px; font-weight: normal; color: rgba(220,242,255,0.92); margin: 18px 0 7px; }
.article-body img { max-width: 100%; border: 1px solid rgba(120,180,255,0.25); border-radius: 4px; margin: 10px 0; display: block; }

/* ── COMIC ── */
.comic-page { display: flex; flex-direction: column; gap: 8px; max-width: 700px; }
.comic-page img { width: 100%; border: 1px solid rgba(120,180,255,0.25); border-radius: 4px; }
.comic-nav { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; font-size: 11px; font-style: italic; font-weight: 700; color: rgba(155,200,255,0.50); }
.comic-nav a { color: rgba(200,230,255,0.75); text-decoration: none; }
.comic-nav a:hover { color: #fff; text-decoration: underline; }

/* ── GUESTBOOK ── */
.gb-entry { padding: 8px 0; border-bottom: 1px solid rgba(120,180,255,0.12); }
.gb-entry:last-child { border-bottom: none; }
.gb-name { font-size: 11px; font-style: italic; font-weight: 700; color: rgba(218,240,255,0.92); margin-bottom: 2px; }
.gb-date { font-size: 9px; font-style: italic; font-weight: 700; color: rgba(145,192,255,0.45); margin-bottom: 4px; }
.gb-msg { font-size: 11px; font-style: italic; font-weight: 700; color: rgba(188,222,255,0.75); line-height: 1.7; }
.gb-form { display: flex; flex-direction: column; gap: 8px; max-width: 420px; }
.gb-form label { font-size: 10px; font-style: italic; font-weight: 700; color: rgba(170,210,255,0.60); }
.gb-form input, .gb-form textarea { background: rgba(15,40,140,0.55); border: 1px solid rgba(120,180,255,0.28); border-radius: 4px; padding: 5px 8px; font-family: 'Segoe UI', Tahoma, sans-serif; font-style: italic; font-weight: 700; font-size: 11px; color: rgba(210,235,255,0.90); width: 100%; outline: none; resize: vertical; }
.gb-form input:focus, .gb-form textarea:focus { border-color: rgba(160,215,255,0.50); }
.gb-form button { align-self: flex-start; background: linear-gradient(180deg, rgba(65,115,225,0.65), rgba(38,82,195,0.55)); border: 1px solid rgba(120,180,255,0.35); border-radius: 4px; padding: 5px 16px; font-family: 'Segoe UI', Tahoma, sans-serif; font-style: italic; font-weight: 700; font-size: 11px; color: rgba(220,242,255,0.92); cursor: pointer; position: relative; overflow: hidden; transition: background 0.12s; }
.gb-form button::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 52%; background: linear-gradient(180deg, rgba(255,255,255,0.18) 0%, transparent 100%); pointer-events: none; }
.gb-form button:hover { background: linear-gradient(180deg, rgba(85,140,245,0.72), rgba(52,100,215,0.62)); color: #fff; }

/* ── MISC ── */
.divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(120,180,255,0.25), transparent); margin: 10px 0; }
.page-title { font-family: 'Franklin Gothic Medium', 'Franklin Gothic', 'ITC Franklin Gothic', Arial Narrow, Arial, sans-serif; font-size: 22px; font-weight: normal; color: #ffffff; text-shadow: 0 0 18px rgba(120,200,255,0.50); margin-bottom: 5px; }
.page-intro { font-size: 11px; font-style: italic; font-weight: 700; color: rgba(175,215,255,0.65); line-height: 1.8; margin-bottom: 14px; }
