/* =====================================
   RESET
===================================== */

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

/* =====================================
   VARIABLES
===================================== */

:root {
  --bg-base: #000000;
  --bg-surface: #121218;
  --bg-elevated: #1d1d26;
  --border: #57576a;
  --text-primary: #ffffff;
  --text-secondary: #d2d2e0;
  --text-muted: #9d9daf;
  --accent: #9b63ff;
  --accent-dark: #6f3ed6;
  --accent-light: #e1ccff;
  --link: #d3b4ff;
  --link-hover: #f2e7ff;
  --site-width: 980px;
}


/* =====================================
   BODY
===================================== */

body {
  background: #000000;
  color: #ffffff;
  font-family: Verdana, Arial, sans-serif;
  font-size: 12px;
  line-height: 1.5;
  padding-left: 18px;
  padding-right: 18px;
}

/* =====================================
   LINKS
===================================== */

a { color: #d3b4ff; text-decoration: underline; }
a:hover { color: #f2e7ff; }

/* =====================================
   HEADER
===================================== */

#header {
  background: none;
  border: none;
  margin-top: 18px;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  padding: 10px 16px;
}

#header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
}

/* =====================================
   LOGO
===================================== */

#logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 1;
  min-width: 0;
}

#logo-box {
  width: 180px;
  height: auto;
  display: block;
  flex-shrink: 0;
}

#tagline {
  color: #d2d2e0;
  font-size: 11px;
  font-weight: bold;
}

/* =====================================
   SOCIAL LINKS
===================================== */

#social-links {
  display: flex;
  gap: 8px;
  font-size: 11px;
  flex-shrink: 0;
}

#social-links a {
  background: #1d1d26;
  border-top: 1px solid #69697c;
  border-left: 1px solid #69697c;
  border-right: 1px solid #202028;
  border-bottom: 1px solid #202028;
  color: #d2d2e0;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
}

#social-links a:hover {
  background: #34225c;
  color: #ffffff;
}

.icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
  flex-shrink: 0;
}

/* =====================================
   NAVIGATION
===================================== */

#nav-bar {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  background: none;
  border: none;
  padding-top: 8px;
}

#nav-inner {
  display: flex;
  justify-content: center;
  gap: 3px;
  padding: 0 6px;
  flex-wrap: nowrap;
}

#nav-inner a {
  background: #393945;
  border-top: 1px solid #838399;
  border-left: 1px solid #838399;
  border-right: 1px solid #22222b;
  border-bottom: none !important;
  border-top-left-radius: 12px !important;
  border-top-right-radius: 12px !important;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  color: #ededf5;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  font-size: 11px;
  white-space: nowrap;
  padding: 8px 14px 7px 14px;
  position: relative;
  top: 1px;
  flex: 0 0 auto;
}

#nav-inner a:hover {
  background: #5d35b6;
  color: #ffffff;
}

#nav-inner a.active {
  background: #32254d !important;
  border-top: 1px solid #e2d2ff !important;
  border-left: 1px solid #e2d2ff !important;
  border-right: 1px solid #40256f !important;
  border-bottom: none !important;
  color: #ffffff;
}

/* =====================================
   PAGE PANEL
===================================== */

#page-panel {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;

  background: linear-gradient(
    to bottom,
    #32254d 0%,
    #2a1f3f 60%,
    rgba(50, 37, 77, 0) 100%
  ) !important;

  border: none !important;

  padding: 8px 16px;
  min-height: 34px;

  border-top-left-radius: 12px;
  border-top-right-radius: 12px;

  overflow: hidden;
}

/* =====================================
   MAIN
===================================== */

#main-wrapper {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  padding: 20px 16px 30px 16px;
  background: none;
  border: none;
}

/* =====================================
   FOOTER
===================================== */

#footer {
  max-width: 980px;
  margin: 0 auto 18px auto;
  text-align: center;
  padding: 14px 10px;
  color: #9d9daf;
  font-size: 11px;
  background: none;
  border: none;
}

/* =====================================
   RESPONSIVE
===================================== */

@media (max-width: 700px) {
  body { padding-left: 8px; padding-right: 8px; }

  #header-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
  }

  #logo-box { width: 120px; }

  #tagline { display: none; }

  #social-links a span { display: none; }

  #nav-inner a {
    font-size: 10px;
    padding: 7px 10px 6px 10px;
    border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
  }
}

@media (max-width: 500px) {
  #logo-box { width: 90px; }

  #nav-inner { flex-wrap: wrap; justify-content: center; }

  #nav-inner a {
    font-size: 9px;
    padding: 6px 8px 5px 8px;
    border-top-left-radius: 8px !important;
    border-top-right-radius: 8px !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
  }
}