/* --- Base Font & Body Styling --- */
body {
  margin: 0;
  padding: 20px;
  background: radial-gradient(circle at top, #0b102b 0%, #040615 80%);
  color: #e6e9ef;             /* soft off-white text */
  font-family: 'Lora', serif; /* readable serif font for academic feel */
  line-height: 1.6;
  position: relative;
}

/* --- Headings --- */
h1, h2 {
  font-family: 'Lora', serif;
  position: relative;
  z-index: 1;
}

h1 {
  font-size: 3em;
  text-align: center;
  margin: 20px 0;
  color: #5aa7e0; /* main blue accent */
}

h2 {
  font-size: 2em;
  margin-top: 40px;
  color: #d1d4e0; /* soft-gray lavender */
}

/* --- Paragraphs --- */
p {
  max-width: 700px;
  margin: 10px auto;
  position: relative;
  z-index: 1;
  color: #e6e9ef; /* main body text */
}

.centered {
  text-align: center;
}

/* --- Links --- */
a {
  color: #3b82f6; /* blue accent for links */
  text-decoration: none;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

a:hover {
  color: #60a5fa; /* lighter blue hover */
  text-shadow: 0 0 6px #60a5fa; /* subtle glow effect */
  text-decoration: underline;
}

/* --- Top Right Links Container --- */
.top-right-links {
  position: fixed;
  top: 20px;
  right: 20px;
  text-align: right;
  z-index: 1000;
}

.top-right-links .btn {
  display: inline-block;
  background-color: #1c1f26; /* panel background */
  color: #ff7823;
  font-family: 'Lora', serif;
  text-decoration: none;
  padding: 6px 12px;
  margin: 0 5px;
  border: 1px solid #ff7823;
  border-radius: 6px;
  transition: all 0.25s ease;
}

.top-right-links .btn:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  background-color: #ff7823;
  color: #0e1117;
  border-color: #ff7823;
}

.top-right-links .social-links a {
  display: block;
  margin-top: 5px;
  color: #8c9ac5; /* soft-gray lavender */
  text-decoration: none;
  font-family: monospace;
  font-size: 14px;
  transition: color 0.2s ease;
}

.top-right-links .social-links a:hover {
  color: #5aa7e0; /* subtle blue hover */
  text-decoration: underline;
}

/* --- Section Cards / Panels --- */
.card {
  background-color: #1c1f26; /* lifted panel color */
  border: 1px solid #2a2e36;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.4);
}

/* --- Optional Ambient Background --- */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 20% 30%, rgba(58,130,246,0.03), transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* --- Responsive Adjustments (Mobile + Tablet) --- */
@media (max-width: 768px) {
  body {
    padding: 10px;
  }

  .top-right-links {
    position: static;
    text-align: center;
    margin-bottom: 20px;
  }

  .top-right-links .btn {
    display: block;
    margin: 5px auto;
  }
}
