/* Footer variables (light theme by default) */
:root {
  --footer-bg: rgba(180, 220, 255, 0.35);
  --footer-border: rgba(255, 255, 255, 0.4);
  --footer-text: #023a6b;
  --footer-shadow: 0 4px 25px rgba(0, 50, 120, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  --footer-hover-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.6);
}

@media (prefers-color-scheme: dark) {
  :root {
    --footer-bg: rgba(30, 30, 40, 0.9);
    --footer-border: rgba(255, 255, 255, 0.2);
    --footer-text: #e0e0e0;
    --footer-shadow: 0 4px 25px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    --footer-hover-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.4);
  }
}

/* Footer container */
.f_footer {
  width: 100%;
  box-sizing: border-box;
  padding: 20px;
  margin-top: 30px;
  text-align: center;
  font-size: 1rem;
  font-weight: 500;
  color: var(--footer-text);

  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  background: var(--footer-bg);
  border-top: 1px solid var(--footer-border);
  border-radius: 20px 20px 0 0;
  box-shadow: var(--footer-shadow);

  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

/* Hover/interaction style if you want links in the footer */
.f_footer a {
  color: var(--footer-text);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.f_footer a:hover {
  opacity: 0.8;
  text-shadow: var(--footer-hover-shadow);
}

/* Make footer stick to bottom if not enough content */
html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
}

.f_footer {
  margin-top: auto;
}