/* Extracted from globals.css */
:root {
  --background: #0a0a0a;
  --foreground: #ededed;
}

html,
body {
  max-width: 100vw;
  overflow-x: hidden;
  color-scheme: dark; /* Assume dark mode */
}

body {
  color: var(--foreground);
  background: var(--background);
  font-family: 'Inter', sans-serif; /* Use Inter as primary */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0;
  padding-top: 20px; /* Top padding from body */
  display: flex;
  flex-direction: column;
  /* Removed align/justify items center for full width content */
  background-color: #0a0a0a;
  background-image:
    radial-gradient(circle at 20% 35%, rgba(255, 100, 50, 0.1) 0%, transparent 20%),
    radial-gradient(circle at 75% 44%, rgba(255, 255, 255, 0.1) 0%, transparent 25%),
    radial-gradient(circle at 5% 85%, rgba(255, 70, 150, 0.1) 0%, transparent 15%),
    radial-gradient(2px 2px at 10% 10%, rgba(255, 255, 255, 0.9) 0%, transparent 100%),
    radial-gradient(2px 2px at 30% 40%, rgba(255, 255, 255, 0.9) 0%, transparent 100%),
    radial-gradient(2px 2px at 50% 70%, rgba(255, 255, 255, 0.8) 0%, transparent 100%),
    radial-gradient(2px 2px at 70% 20%, rgba(255, 255, 255, 0.9) 0%, transparent 100%),
    radial-gradient(2px 2px at 90% 90%, rgba(255, 255, 255, 0.8) 0%, transparent 100%);
  background-repeat: repeat;
  /* Removed animation: twinkling 50s linear infinite; - Can be added back if desired */
  color: #F0F0F0;
}

main.page-content { /* Add a class to the main content area */
  width:100%;
  display:flex;
  justify-content: center; /* Center content horizontally */
  align-items: center;
  flex-direction: column;
  padding: 0 20px; /* Add some side padding */
}

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

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'DM Sans', sans-serif;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -1.5px;
  margin-bottom: 20px; /* Adjusted margin */
  color: #F0F0F0;
  position: relative;
  text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.2);
  text-align: center; /* Center main headings */
}

/* Gradient effect for H1 - Note: This might need JS or specific structure not easily replicable statically */
/* Keeping the text shadow version */
/*
h1::before {
  content: attr(data-text); // Requires data-text attribute on H1
  position: absolute;
  left: 0; top: 0; width: 100%; height: 100%;
  background: linear-gradient(90deg, #ff6b9d 0%, #c77aff 50%, #66c5ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-stroke: 3px transparent;
  filter: drop-shadow(0 0 1px rgba(255,255,255,0.5));
  z-index: -1;
}
*/

h2 {
  margin-top: 1.5em; /* Adjusted spacing */
  margin-bottom: 1em;
  font-size: 32px;
  font-weight: 700;
}

h3 {
  margin-top: 1.2em;
  margin-bottom: 0.8em;
  font-size: 24px;
  font-weight: 600;
}

h4 {
  margin-top: 1em;
  margin-bottom: 0.6em;
  font-size: 20px;
  font-weight: 500;
}

p {
  color: #F0F0F0;
  font-size: 18px;
  font-weight: 400;
  margin: 0 0 1em 0; /* Bottom margin for paragraphs */
  letter-spacing: 0px;
  line-height: 1.6;
}

li {
  color: #F0F0F0;
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 8px;
}

strong { font-weight: 700; }
em { font-style: italic; }

a {
  color: #66c5ff; /* Use a distinct link color from markdown */
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* --- Footer --- */
footer {
  padding: 60px 0;
  margin-top: 80px; /* Use margin-top instead of margin */
  width: 100%;
  border-top: 1px solid #222; /* Add a top border */
}

.footer-content {
  display: flex;
  flex-direction: column; /* Stack logo and columns vertically */
  justify-content: start;
  align-items: center; /* Center align items */
  gap: 30px;
  max-width: 960px; /* Consistent max-width */
  margin: 0 auto;
  padding: 0 20px;
}

.footer-logo {
  text-align: center; /* Center logo */
}

.footer-columns {
  display: flex;
  justify-content: center; /* Center columns */
  gap: 60px; /* Wider gap */
  width: 100%;
  flex-wrap: wrap; /* Allow wrapping */
}

.footer-column {
   text-align: center;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  margin-top: 0;
  background: none;
  border-radius: 0;
  padding: 0;
  color: #B0B0B0; /* Lighter footer link color */
  text-decoration: none;
  font-weight: 400;
  font-size: 16px;
  box-shadow: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ef4e7b;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row; /* Side-by-side on larger screens */
        justify-content: space-between;
        align-items: flex-start;
    }
    .footer-logo {
        text-align: left;
    }
    .footer-columns {
       justify-content: flex-end; /* Align columns to the right */
       width: auto;
    }
    .footer-column {
       text-align: left;
    }
}


@media (max-width: 768px) {
  h1 { font-size: 42px; }
  /* Add other responsive adjustments if needed */
}
