/* ============================================================
   SITHEAN — Shared Stylesheet
   Used by all pages. Edit here to change the look site-wide.
============================================================ */

/* --- Google / CDN Fonts --- */
@import url('https://fonts.cdnfonts.com/css/ocr-a-std');

/* ============================================================
   RESET & BASE
============================================================ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  /* Animated star field tiles the whole page */
  background: url("https://cosmiccomfort.neocities.org/backgrounds/7QYZXBU4KD6EC2LB52RZ6DLVG5D6U6KS.gif") repeat;
  font-family: 'OCR A Std', monospace;
  color: #A398B8;
  /* Custom cursor — the little sparkle */
  cursor: url("https://www.rw-designer.com/cursor-extern.php?id=165"), auto;
}

/* ============================================================
   MAIN CONTAINER — 800px centered column
============================================================ */
#container {
  width: 800px;
  margin: 30px auto 50px auto;
  background: url("https://cosmiccomfort.neocities.org/backgrounds/galaxy3.gif");
  border: 5px solid #3c003c;
  box-shadow: 0 0 30px #7a00aa88, inset 0 0 50px rgba(60,0,60,0.5);
}

/* ============================================================
   HEADER BANNER — the "Welcome to Sithean" image
============================================================ */
#header {
  width: 100%;
  height: 220px;
  background-image: url("https://cosmiccomfort.neocities.org/translucent/welcometosithean.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  /* Subtle scanline overlay for depth */
  position: relative;
}

#header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.08) 2px,
    rgba(0,0,0,0.08) 4px
  );
  pointer-events: none;
}

/* ============================================================
   NAVIGATION BAR
============================================================ */
#nav {
  text-align: center;
  padding: 13px 10px;
  background: url("https://sithean.space/backgrounds/spacegal.gif");
  border-top: 2px solid #5500aa;
  border-bottom: 2px solid #5500aa;
  /* Sticky so it stays visible when scrolling long pages */
  position: sticky;
  top: 0;
  z-index: 100;
}

#nav a {
  color: #ffffff;
  margin: 0 14px;
  text-decoration: none;
  font-weight: bold;
  font-size: 13px;
  letter-spacing: 1.5px;
  padding: 4px 6px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s, text-shadow 0.2s;
}

#nav a:hover {
  color: #ff66ff;
  text-shadow: 0 0 10px #ff66ff;
  border-bottom-color: #ff66ff;
}

/* Active page link — add class="active" to the matching link per page */
#nav a.active {
  color: #cc99ff;
  border-bottom-color: #cc99ff;
  text-shadow: 0 0 8px #cc99ff;
}

/* ============================================================
   PAGE TITLE STRIP — coloured bar below nav with page name
============================================================ */
#pageTitle {
  background: rgba(0,0,0,0.55);
  border-bottom: 1px solid #5500aa;
  padding: 14px 25px;
  display: flex;
  align-items: center;
  gap: 10px;
}

#pageTitle h1 {
  font-size: 18px;
  color: #d4c8ff;
  text-shadow: 0 0 12px #aa66ff;
  letter-spacing: 2px;
}

#pageTitle .titleGlyph {
  color: #7a00aa;
  font-size: 20px;
}

/* ============================================================
   MAIN CONTENT AREA
============================================================ */
#content {
  padding: 28px 32px;
}

/* ============================================================
   TYPOGRAPHY
============================================================ */
h2 {
  color: #d4c8ff;
  font-size: 15px;
  margin: 22px 0 10px 0;
  letter-spacing: 1px;
  border-left: 3px solid #7a00aa;
  padding-left: 10px;
}

p {
  font-size: 13px;
  line-height: 1.85;
  margin-bottom: 14px;
  color: #b8adcc;
}

a {
  color: #cc99ff;
  text-decoration: none;
  transition: color 0.2s, text-shadow 0.2s;
}

a:hover {
  color: #ff66ff;
  text-shadow: 0 0 8px #ff66ff;
}

strong {
  color: #d4c8ff;
}

em {
  color: #9988bb;
  font-style: italic;
}

/* ============================================================
   HORIZONTAL DIVIDER
============================================================ */
hr {
  border: 0;
  border-top: 1px solid #44006688;
  margin: 24px 0;
}

/* ============================================================
   CARD / PANEL — generic content box
============================================================ */
.card {
  background: rgba(0,0,0,0.4);
  border: 1px solid #440066;
  border-left: 3px solid #7a00aa;
  padding: 16px 20px;
  margin-bottom: 18px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.card:hover {
  border-color: #9900cc;
  box-shadow: 0 0 12px rgba(120,0,200,0.25);
}

.card h3 {
  color: #cc99ff;
  font-size: 14px;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

/* ============================================================
   TAG / BADGE — little pill labels
============================================================ */
.tag {
  display: inline-block;
  background: rgba(100,0,160,0.4);
  border: 1px solid #7700bb;
  color: #cc99ff;
  font-size: 11px;
  padding: 2px 8px;
  margin: 3px 3px 3px 0;
  letter-spacing: 0.5px;
}

/* ============================================================
   TERMINAL / CODE BLOCK — monospace highlighted box
============================================================ */
.terminal {
  background: rgba(0,0,0,0.7);
  border: 1px solid #5500aa;
  padding: 12px 16px;
  font-size: 12px;
  color: #cc99ff;
  letter-spacing: 1px;
  margin: 12px 0;
  word-break: break-all;
  position: relative;
}

.terminal::before {
  content: '> ';
  color: #7a00aa;
}

/* ============================================================
   INFO ROW — icon + text pairs
============================================================ */
.infoRow {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  padding: 12px;
  background: rgba(0,0,0,0.3);
  border: 1px solid #330044;
}

.infoRow .icon {
  font-size: 22px;
  min-width: 30px;
  text-align: center;
}

.infoRow .text {
  font-size: 12px;
  line-height: 1.7;
  color: #b8adcc;
}

/* ============================================================
   VISIT COUNTER
============================================================ */
#visitCounter {
  font-size: 11px;
  color: #6a5a8a;
  text-align: right;
  margin-bottom: 20px;
}

#visitCounter a {
  color: #7755aa;
}

/* ============================================================
   RETRO 88x31 BUTTON BADGES
============================================================ */
#retroButtons {
  text-align: center;
  padding: 14px 10px;
  background: rgba(0,0,0,0.35);
  border-top: 1px dashed #440066;
}

#retroButtons img {
  height: 31px;
  width: 88px;
  object-fit: contain;
  margin: 5px 5px;
  transition: transform 0.15s ease, filter 0.15s ease;
}

#retroButtons img:hover {
  transform: translateY(-3px) scale(1.05);
  filter: brightness(1.3) drop-shadow(0 0 4px #cc66ff);
}

/* ============================================================
   FOOTER
============================================================ */
#footer {
  text-align: center;
  padding: 12px;
  font-size: 11px;
  color: #5a4a7a;
  border-top: 2px solid #3c003c;
  background: rgba(0,0,0,0.5);
  letter-spacing: 1px;
}

#footer a {
  color: #7755aa;
}

/* ============================================================
   COMING SOON PLACEHOLDER
============================================================ */
.comingSoon {
  text-align: center;
  padding: 40px 20px;
  color: #5a4a7a;
  font-size: 13px;
  letter-spacing: 2px;
  border: 1px dashed #440066;
}

.comingSoon .bigGlyph {
  font-size: 36px;
  display: block;
  margin-bottom: 12px;
  opacity: 0.4;
}
