/* ==========================
   THEME CONFIGURATION
   ========================== */
:root {
  --bg: #111111;
  --panel: #1a1a1a;
  --card: #2d2d2d;
  /*--accent: #ff6608;*/
  --accent: #064ea0;
  --text: #f2f2f2;
  --muted: #b0b0b0;
  --border: #3a3a3a;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  --max-width: 900px;
  --font: "Poppins", system-ui, sans-serif;
}

/* ==========================
   BASE
   ========================== */
* { box-sizing: border-box; }

body {
  margin: 0;
  background: radial-gradient(circle at top, #1a1a1a, #0a0a0a);
  font-family: var(--font);
  color: var(--text);
  line-height: 1.6;
}

.container {
  max-width: var(--max-width);
  margin: auto;
  padding: 2.5rem 1.5rem 4rem;
}

/* ==========================
   NAVIGATION BAR
   ========================== */
.navbar {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1.5rem 1.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.navbar a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: background 0.2s ease, color 0.2s ease;
}

.navbar-logo {
  display: flex;
  align-items: center;
  padding: 0.3rem 0.5rem;
  border-radius: 8px;
  width: 32px;
  height: 32px;
}

.navbar-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.navbar a:hover {
  background: var(--panel);
  color: var(--accent);
}

.navbar a.active {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  padding-bottom: calc(0.5rem - 2px);
}

/* ==========================
   HEADER
   ========================== */
.header-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
  position: relative;
  width: 100%;
}

/* Offset version (commented out)
.header-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}
*/

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin: 0;
  flex: 0 0 auto;
}

.logo-box {
  width: 8px;
  height: 8px;
  border-radius: 10px;
  background: rgba(113, 186, 255, 0.15);
  border: 1px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.logo-img {
  width: 40%;
  height: 40%;
  object-fit: contain;
  padding: 0px;
}

/* ==========================
   LINKS
   ========================== */
.links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.links a {
  text-decoration: none;
  color: var(--accent);
  font-size: 0.85rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(113, 186, 255, 0.15);
  transition: background 0.2s ease, transform 0.2s ease;
}

.links a:hover {
  background: rgba(113, 186, 255, 0.15);
  transform: translateY(-1px);
}

/* ==========================
   PAGE TITLE
   ========================== */
header {
  margin-bottom: 3rem;
}

h1 {
  font-size: 2.4rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
}

.subtitle {
  color: var(--muted);
  font-size: 1rem;
}

/* ==========================
   FOOTER
   ========================== */
footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-block h4 {
  margin-bottom: 0.5rem;
}

.footer-block p {
  color: var(--muted);
  font-size: 0.85rem;
}

.footer-credit {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
  margin-top: 1rem;
}

a:link {
  color: #0163d3bb;
  background-color: transparent;
  text-decoration: none;
}

a:visited {
  color: #0163d3bb;
  background-color: transparent;
  text-decoration: none;
}

a:hover {
  color: rgb(138, 255, 255);
  background-color: transparent;
  text-decoration: underline;
}

a:active {
  color: rgb(255, 255, 255);
  background-color: transparent;
  text-decoration: underline;
}

/* ==========================
   PRINT
   ========================== */
@media print {
  .links, .navbar {
    display: none;
  }
}
