/* FONT IMPORT */
@import url('https://fonts.googleapis.com/css2?family=Pixelify+Sans&display=swap');

/* -------------------------------------------------------- */
/* VARIABLES */
/* -------------------------------------------------------- */
:root {
  /* Background Colors */
  --background-color: #05020d;
  --content-background-color: rgba(10, 5, 30, 0.85);
  --sidebar-background-color: rgba(12, 6, 40, 0.9);
  /* Text Colors */
  --text-color: #c6baff;
  --sidebar-text-color: #b8b0ff;
  --link-color: #7df9ff;
  --link-color-hover: #ff9de6;
  /* Fonts */
  --font: 'Pixelify Sans', sans-serif;
  --heading-font: 'Pixelify Sans', sans-serif;
  --font-size: 12px;
  /* Layout */
  --margin: 40px;
  --padding: 24px;
  /* Borders */
  --border: 2px solid rgba(180, 160, 255, 0.5);
  --round-borders: 14px;
  --sidebar-width: 300px;
  /* Glow */
  --panel-glow: 0 0 15px rgba(160, 140, 255, 0.35);
}

/* -------------------------------------------------------- */
/* BASICS */
/* -------------------------------------------------------- */
* {
  box-sizing: border-box;
}

body {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 100vh;
  font-size: var(--font-size);
  margin: 0;
  padding: var(--margin);
  color: var(--text-color);
  font-family: var(--font);
  line-height: 1.3;
  /* Space Background */
  background:
    radial-gradient(circle at top, rgba(140, 100, 255, 0.15), transparent 60%),
    radial-gradient(circle at bottom, rgba(255, 120, 220, 0.12), transparent 65%),
    url("https://64.media.tumblr.com/6720afe4b23fff20fb0a55a8733db945/147bfebdf112f180-c6/s400x600/b6f51cddbdd98ddab9e322b88807158dac343608.gifv"),
    #05020d;
  background-attachment: fixed;
}

/* Selection */
::selection {
  background: rgba(140, 120, 255, 0.35);
  color: #fff;
}

mark {
  text-shadow: 0 0 6px var(--link-color);
  background-color: transparent;
  color: var(--text-color);
}

/* Links */
a {
  text-decoration: underline;
  text-decoration-color: rgba(125, 249, 255, 0.6);
}

a,
a:visited {
  color: var(--link-color);
}

a:hover,
a:focus {
  color: var(--link-color-hover);
  text-shadow: 0 0 6px rgba(255, 150, 230, 0.8);
  text-decoration: none;
}

/* -------------------------------------------------------- */
/* LAYOUT */
/* -------------------------------------------------------- */
.layout {
  width: 100%;
  display: grid;
  grid-gap: var(--margin);
  grid-template:
    "header header header" auto
    "leftSidebar main rightSidebar" auto
    "footer footer footer" auto
    / var(--sidebar-width) auto var(--sidebar-width);
}

/* FRAME */
.banner-frame {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin-bottom: 26px;
}

/* BANNER */
.header-banner {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: visible;          /* allow stars outside */
  border-radius: 18px;
}

/* IMAGE */
.banner-img {
  position: relative;
  z-index: 1;                 /* image layer */
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

/* OVERLAY */
.banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;                 /* above image */
  pointer-events: none;
}

/* STARS */
.corner-star {
  position: absolute;
  z-index: 5;                 /* FORCE above image */
  font-size: 1.6rem;
  color: #f5f4ff;
  pointer-events: none;
  animation: cornerTwinkle 4s ease-in-out infinite;
  text-shadow:
    0 0 6px rgba(200,200,255,0.9),
    0 0 14px rgba(180,180,255,0.7);
}

/* POSITIONS */
.top-left {
  top: 30px;
  left: 30px;
}

.bottom-right {
  bottom: 310px;
  right: 35px;
}

/* TWINKLE */
@keyframes cornerTwinkle {
  0% { opacity: 0.5; transform: scale(1) rotate(0deg); }
  50% { opacity: 1; transform: scale(1.3) rotate(12deg); }
  100% { opacity: 0.5; transform: scale(1) rotate(0deg); }
}


.site-header {
  position: relative;
  overflow: hidden;
}

.header-banner img {
  width: 100%;
  height: 220px;          /* adjust banner height */
  object-fit: cover;
  display: block;
}

.header-content {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  background: rgba(0, 0, 30, 0.6); /* soft overlay */
  padding: 10px 20px;
  border-radius: 12px;
  backdrop-filter: blur(6px);
}


/* IMAGE */
.banner-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0.9;
  filter: drop-shadow(0 0 12px rgba(200,200,255,0.4));
}

/* OVERLAY */
.banner-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 18px;
  background:
    linear-gradient(to top, rgba(0,0,0,0.55), transparent 60%);
}

/* TITLE */
.header-title {
  font-size: 2.3rem;
  letter-spacing: 2px;
  color: #fff;
  text-shadow:
    0 0 8px rgba(200,200,255,0.8),
    0 0 18px rgba(160,160,255,0.6);
}

/* NAV */
.main-nav {
  margin-top: 14px;
  text-align: center;
}

.main-nav ul {
  list-style: none;
  padding: 10px 14px;
  display: inline-flex;
  gap: 16px;
  background: rgba(10,10,30,0.75);
  border-radius: 14px;
  backdrop-filter: blur(6px);
  box-shadow: 0 0 18px rgba(150,150,255,0.3);
}

.main-nav a {
  color: #e6e6ff;
  text-decoration: none;
  padding: 6px 10px;
}

.main-nav a:hover {
  color: #fff;
  text-shadow: 0 0 8px #bdbdff;
}

/* NAV */
.banner-nav {
  display: flex;
  gap: 14px;
  font-size: 0.95rem;
}

.banner-nav a {
  color: #e6e6ff;
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
  box-shadow: 0 0 10px rgba(160,160,255,0.25);
  transition: 0.3s ease;
}

.banner-nav a:hover {
  background: rgba(200,200,255,0.25);
  box-shadow: 0 0 18px rgba(200,200,255,0.8);
}


main {
  grid-area: main;
  overflow-y: auto;
  padding: var(--padding);
  background: var(--content-background-color);
  border: var(--border);
  border-radius: var(--round-borders);
  box-shadow: var(--panel-glow);
  backdrop-filter: blur(6px);
}

/* -------------------------------------------------------- */
/* HEADER */
/* -------------------------------------------------------- */
header {
  grid-area: header;
  font-size: 1.2em;
  border: var(--border);
  border-radius: var(--round-borders);
  box-shadow: var(--panel-glow);
  backdrop-filter: blur(6px);
}

.header-content {
  padding: var(--padding);
}

.header-title {
  font-family: var(--heading-font);
  font-size: 1.6em;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(180, 160, 255, 0.8);
}

.header-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* -------------------------------------------------------- */
/* SIDEBARS */
/* -------------------------------------------------------- */
.profile-card {
  text-align: center;
  padding: 16px;
  border-radius: 14px;
  max-width: 250px;
  margin: auto;
  background: rgba(20, 10, 60, 0.5);
  box-shadow: inset 0 0 12px rgba(150, 130, 255, 0.25);
}

.profile-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 2px solid #a88bff;
  box-shadow: 0 0 12px rgba(168, 139, 255, 0.8);
}

.profile-card h2 {
  margin: 10px 0 5px;
  text-shadow: 0 0 6px rgba(180, 160, 255, 0.7);
}

.profile-card p {
  font-size: 14px;
  opacity: 0.9;
}

/* Partner Panel */
.partner-panel {
  text-align: center;
}

.partner-link {
  display: inline-block;
}

.partner-img {
  width: 10px;
  height: 10px;
  object-fit: cover;
  border: 2px solid #a88bff;
  border-radius: 10px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.partner-img:hover {
  transform: scale(1.08);
  box-shadow: 0 0 18px rgba(255, 140, 230, 0.9);
}

.partner-caption {
  margin-top: 6px;
  font-size: 13px;
  color: #c6baff;
}
.status-box {
  text-align: center;
}

.status-text-wrap {
  display: block;
  margin-bottom: 6px; /* space between text and image */
}

.taken-img {
  width: 50%;
  max-width: 90px;
  display: block;
  margin: 0 auto;
}


/* Sidebar Panels */
aside {
  border: var(--border);
  border-radius: var(--round-borders);
  overflow: hidden;
  background: var(--sidebar-background-color);
  padding: var(--padding);
  color: var(--sidebar-text-color);
  box-shadow: var(--panel-glow);
  backdrop-filter: blur(6px);
}

.left-sidebar {
  grid-area: leftSidebar;
}

.right-sidebar {
  grid-area: rightSidebar;
}

.sidebar-title {
  font-weight: bold;
  font-size: 1.25em;
  font-family: var(--heading-font);
  text-shadow: 0 0 6px rgba(180, 160, 255, 0.8);
}

.sidebar-section:not(:last-child) {
  margin-bottom: 3em;
}

.sidebar-section ul,
.sidebar-section ol {
  padding-left: 1.5em;
}

.sidebar-section>*:not(p):not(ul):not(ol):not(blockquote) {
  margin-top: 10px;
}

/* Sidebar Blockquote */
.sidebar-section blockquote {
  background: rgba(30, 20, 80, 0.6);
  padding: 15px;
  margin: 1em 0;
  border-radius: 12px;
  box-shadow: inset 0 0 10px rgba(140, 120, 255, 0.3);
}

.sidebar-section blockquote>*:first-child {
  margin-top: 0;
}

.sidebar-section blockquote>*:last-child {
  margin-bottom: 0;
}

/* Site Button */
.site-button {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-button textarea {
  font-family: monospace;
  font-size: 0.7em;
  background: rgba(10, 5, 30, 0.8);
  color: #b8b0ff;
  border: 1px solid rgba(160, 140, 255, 0.4);
}

/* -------------------------------------------------------- */
/* FOOTER */
/* -------------------------------------------------------- */
footer {
  grid-area: footer;
  border: var(--border);
  border-radius: var(--round-borders);
  overflow: hidden;
  font-size: 0.75em;
  padding: 15px;
  background: linear-gradient(135deg,
      rgba(40, 20, 120, 0.5),
      rgba(15, 5, 50, 0.85));
  display: flex;
  justify-content: center;
  box-shadow: var(--panel-glow);
  backdrop-filter: blur(6px);
}

footer a,
footer a:visited {
  color: var(--link-color);
  text-shadow: 0 0 4px rgba(125, 249, 255, 0.6);
}

footer a:hover,
footer a:focus {
  color: var(--link-color-hover);
  text-shadow: 0 0 6px rgba(255, 150, 230, 0.9);
}

/* -------------------------------------------------------- */
/* NAVIGATION */
/* -------------------------------------------------------- */
nav {
  margin-bottom: 3em;
}

nav .sidebar-title {
  margin-bottom: 0.6em;
  text-shadow: 0 0 6px rgba(180, 160, 255, 0.8);
}

nav ul {
  margin: 0 -5px;
  padding: 0;
  list-style: none;
  user-select: none;
}

nav ul li {
  margin-bottom: 2px;
}

/* Main nav items */
nav>ul li>a,
nav>ul li>strong,
nav>ul li>details summary {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 10px;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

/* Hover effect */
nav>ul li>a:hover,
nav>ul li>details summary:hover {
  background: rgba(120, 100, 255, 0.25);
  box-shadow: 0 0 10px rgba(160, 140, 255, 0.6);
  transform: translateX(2px);
}

/* Active nav */
nav>ul li>a.active,
nav>ul li>details.active summary {
  font-weight: bold;
  text-shadow: 0 0 6px rgba(180, 160, 255, 0.9);
}

/* Submenu cursor */
nav ul summary {
  cursor: pointer;
}

/* Nested links */
nav ul ul li>a {
  padding-left: 32px;
  font-size: 0.95em;
  opacity: 0.9;
}

/* -------------------------------------------------------- */
/* NAVIGATION IN HEADER */
/* -------------------------------------------------------- */
header nav {
  margin-bottom: 0;
}

header nav ul {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  gap: 8px;
}

header nav ul li {
  position: relative;
}

/* Header nav links */
header nav ul li>a,
header nav ul li>strong {
  padding: 6px 12px;
  border-radius: 12px;
}

header nav ul li>a:hover {
  background: rgba(125, 249, 255, 0.2);
  box-shadow: 0 0 10px rgba(125, 249, 255, 0.7);
}

/* Remove edge padding */
header nav ul li:first-child>a {
  padding-left: 0;
}

header nav ul li:last-child>a {
  padding-right: 0;
}

/* -------------------------------------------------------- */
/* SUBNAVIGATION (DROP-DOWN) */
/* -------------------------------------------------------- */
header nav ul ul {
  background: rgba(15, 8, 50, 0.95);
  display: none;
  position: absolute;
  top: 100%;
  left: 6px;
  padding: 0.6em;
  z-index: 1;
  border: var(--border);
  border-radius: 12px;
  min-width: 100%;
  box-shadow:
    0 0 15px rgba(160, 140, 255, 0.4),
    inset 0 0 10px rgba(120, 100, 255, 0.2);
  backdrop-filter: blur(6px);
}

/* Show dropdown */
header nav ul li:hover ul,
header nav ul li:focus-within ul {
  display: block;
}

/* Dropdown text */
header nav ul li strong {
  color: var(--link-color);
  text-decoration: underline;
  font-weight: normal;
  text-shadow: 0 0 4px rgba(125, 249, 255, 0.6);
}

header nav ul ul li a {
  display: block;
  padding: 6px 10px;
  border-radius: 8px;
}

header nav ul ul li a:hover {
  background: rgba(255, 150, 230, 0.25);
  box-shadow: 0 0 8px rgba(255, 150, 230, 0.7);
}

/* -------------------------------------------------------- */
/* CONTENT */
/* -------------------------------------------------------- */
main {
  line-height: 1.55;
}

main a,
main a:visited {
  color: var(--link-color);
  text-shadow: 0 0 4px rgba(125, 249, 255, 0.6);
}

main a:hover,
main a:focus {
  color: var(--link-color-hover);
  text-decoration-style: wavy;
  text-shadow: 0 0 6px rgba(255, 150, 230, 0.9);
}

main p,
main .image,
main .full-width-image,
main .two-columns {
  margin: 0.85em 0;
}

main ol,
main ul {
  margin: 0.6em 0;
  padding-left: 1.5em;
}

main ol li,
main ul li {
  margin-bottom: 0.25em;
  line-height: 1.35;
}

main ol {
  padding-left: 2em;
}

/* Cosmic blockquote */
main blockquote {
  background: rgba(30, 20, 80, 0.55);
  padding: 16px;
  margin: 1.2em 0;
  border-radius: 14px;
  box-shadow:
    inset 0 0 12px rgba(140, 120, 255, 0.3),
    0 0 10px rgba(120, 100, 255, 0.2);
}

main pre {
  margin: 1.2em 0 1.6em;
}

main code {
  text-transform: none;
  color: #b8b0ff;
}

main center {
  margin: 1.2em 0;
  padding: 0 1em;
}

main hr {
  border: 0;
  border-top: 1px solid rgba(180, 160, 255, 0.4);
  margin: 1.8em 0;
}

/* -------------------------------------------------------- */
/* HEADINGS */
/* -------------------------------------------------------- */
main h1,
main h2,
main h3,
main h4,
main h5,
main h6 {
  font-family: var(--heading-font);
  margin-bottom: 0;
  line-height: 1.5;
  text-shadow: 0 0 8px rgba(180, 160, 255, 0.75);
}

main h1:first-child,
main h2:first-child,
main h3:first-child,
main h4:first-child,
main h5:first-child,
main h6:first-child {
  margin-top: 0;
}

main h1 {
  font-size: 1.55em;
}

main h2 {
  font-size: 1.45em;
}

main h3 {
  font-size: 1.35em;
}

main h4 {
  font-size: 1.25em;
}

main h5 {
  font-size: 1.15em;
}

main h6 {
  font-size: 1em;
}

/* -------------------------------------------------------- */
/* COLUMNS */
/* -------------------------------------------------------- */
.two-columns {
  display: flex;
  gap: 1.5em;
}

.two-columns>* {
  flex: 1 1 0;
  margin: 0;
}

/* -------------------------------------------------------- */
/* CONTENT IMAGES */
/* -------------------------------------------------------- */
.image,
.full-width-image,
.images img {
  border-radius: 14px;
  box-shadow: 0 0 12px rgba(150, 130, 255, 0.35);
}

.image {
  display: block;
  max-width: 100%;
  height: auto;
}

.full-width-image {
  display: block;
  width: 100%;
  height: auto;
}

.images {
  display: flex;
  width: calc(100% + 10px);
  margin-left: -5px;
  margin-right: -5px;
}

.images img {
  width: 100%;
  height: auto;
  padding: 5px;
  margin: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.images img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 18px rgba(255, 150, 230, 0.8);
}

/* -------------------------------------------------------- */
/* ACCESSIBILITY */
/* -------------------------------------------------------- */
/* please do not remove this */
#skip-to-content-link {
  position: fixed;
  top: 0;
  left: 0;
  display: inline-block;
  padding: 0.45rem 0.85rem;
  line-height: 1;
  font-size: 1.25rem;
  background: rgba(20, 10, 60, 0.95);
  color: var(--text-color);
  border-radius: 0 0 12px 0;
  box-shadow: 0 0 12px rgba(160, 140, 255, 0.6);
  transform: translateY(-3rem);
  transition: transform 0.15s ease-in;
  z-index: 99999999999;
}

#skip-to-content-link:focus,
#skip-to-content-link:focus-within {
  transform: translateY(0);
}

/* -------------------------------------------------------- */
/* MOBILE RESPONSIVE */
/* -------------------------------------------------------- */
@media (max-width: 800px) {
  body {
    font-size: 14px;
  }

  .layout {
    width: 100%;
    grid-template:
      "header" auto
      "rightSidebar" auto
        "leftSidebar" auto
      "main" auto
      "footer" auto
      / 1fr;
  }

  

  aside {
    border-bottom: 1px solid rgba(180, 160, 255, 0.4);
    padding: 10px;
    font-size: 0.9em;
  }

  nav {
    padding: 0;
  }

  nav>ul {
    padding-top: 0.5em;
  }

  nav>ul li>a,
  nav>ul li>details summary,
  nav>ul li>strong {
    padding: 0.55em;
  }

  main {
    max-height: none;
    padding: 16px;
  }

  .images {
    flex-wrap: wrap;
  }

  .images img {
    width: 100%;
  }

  #skip-to-content-link {
    font-size: 1rem;
  }
}