/* mmm-theme.css */

/* Global color + spacing tokens */
:root {
  --panel-opacity: 0.01;  /* lighter overlay */
  --panel-bg-color: 14, 22, 39;      /* shared card RGB */
  --bg: #0b1320;
  --text: #ffffff;
  --muted: #cfd6e6;
  --accent: #ffcc66;
  --sidePad: 10vw;
  --maxWidth: 1000px;
  --radius: 12px;
  --shadow: 0 10px 24px rgba(0,0,0,0.25);
}

/* Base document styles */
html, body {
  height: 100%;
  margin: 0;
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji",
               "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  line-height: 1.6;
}

/* Shared card styling for ALL pages */
.card {
  width: min(100%, var(--maxWidth));
  background: transparent;                  /* no tint */
  backdrop-filter: none;                    /* already removed, but just to be sure */
  border: none;                             /* no pane edge */
  box-shadow: none;                         /* no glow around card */
  padding: clamp(20px, 4vw, 40px);
  color: var(--text);
  text-shadow: 0 0 4px rgba(0,0,0,0.8);     /* keep a small shadow just for text */
}

/* Links */
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Mobile text tuning */
@media (max-width: 500px) {
  p {
    font-size: 15px;
    line-height: 1.4;   /* tighter line spacing for small screens */
  }
}

@media (max-width: 380px) {
  p {
    font-size: 14px;
    line-height: 1.3;    /* even tighter for ultra-small screens */
  }
}

