/* ================================
   Body Default Styles (other pages)
================================ */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  min-height: 100vh;
  background-color: #f0f0f0; /* fallback color if no BG.png */
}

/* ================================
   Popup Sign (index only)
================================ */
.popup-sign {
  max-width: 400px;
  width: 80%;
  box-shadow: 0 8px 20px rgba(0,0,0,0.6);
  border: 2px solid #ccc;
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.95);
  text-align: center;
  z-index: 10;
  margin-bottom: 50px;
}

.popup-sign img {
  display: block;
  width: 300px;
  height: auto;
  border-radius: 6px 6px 0 0;
}

/* ================================
   Button Container (all pages)
================================ */
.button-container {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  z-index: 100;
}

/* ================================
   Frutiger Aero Button Base Styles
================================ */
.frutiger-aero-button {
  --hue: 140;
  --sat: 0.2;
  --glow-intensity: 0.7;

  --fg: oklch(15% calc(var(--sat) * 0.5) var(--hue));
  --bg: oklch(75% var(--sat) var(--hue) / 0.8);
  --bg-dark: oklch(45% var(--sat) var(--hue) / 0.75);
  --bottom-glow: radial-gradient(
    farthest-corner at bottom center,
    rgba(255,255,255,var(--glow-intensity)),
    transparent
  );

  background-color: var(--bg);
  background: var(--bottom-glow),
              linear-gradient(to bottom, var(--bg-dark), var(--bg));

  border: 1px solid var(--bg);
  border-radius: 9999px;
  box-shadow: 0 4px 4px rgba(0,0,0,0.4);

  color: var(--fg);
  font-family: "Lucida Grande","Lucida Sans Unicode","Segoe UI",system-ui,sans-serif;
  font-weight: 700;
  text-shadow: 0 2px 0.5em rgba(0,0,0,0.2);

  cursor: pointer;
  position: relative;
  transition: all 300ms ease;
  user-select: none;
  -webkit-user-select: none;
}

/* Top Highlight */
.frutiger-aero-button::after {
  content: "";
  position: absolute;
  top: 4%;
  left: 0.75em;
  width: calc(100% - 1.5em);
  height: 40%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.8), rgba(255,255,255,0.1));
  border-radius: inherit;
  transition: background 400ms ease;
  pointer-events: none;
}

/* Hover & Active States */
.frutiger-aero-button:hover,
.frutiger-aero-button:focus {
  box-shadow: 0 6px 8px rgba(0,0,0,0.4);
  transform: translateY(-1px);
}

.frutiger-aero-button:active {
  box-shadow: 0 2px 4px rgba(0,0,0,0.4);
  transform: translateY(1px);
}

/* Sizes */
.frutiger-aero-button.small { padding: 0.5em 1.5em; font-size: 0.875rem; }
.frutiger-aero-button.medium { padding: 0.75em 2em; font-size: 1rem; }
.frutiger-aero-button.large { padding: 1em 3em; font-size: 1.125rem; }

/* Color Variants */
.frutiger-aero-button.green  { --hue: 140; } /* Random Stuff */
.frutiger-aero-button.blue   { --hue: 245; } /* Future Plans */
.frutiger-aero-button.orange { --hue: 35;  } /* About This Site */
