/* Base: variables, resets, tipografía, helpers */
:root {
  --bg: #0f1115;
  --surface: #151922;
  --card: #171c26;
  --text: #e9eef8;
  --muted: #9aa4b2;
  --primary: #7c5cff;
  --border: #242a37;
  --ring: 0 0 0 3px rgba(124, 92, 255, 0.35);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
    Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible,
button:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: 10px;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.5rem;
  line-height: 1.2;
}
p {
  margin: 0 0 1rem;
  color: var(--text);
}
ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}

/* Utilidades */
.hidden {
  display: none !important;
}
.muted {
  color: var(--muted);
}

/* Fondo del wrapper (igual que Massively) */
#wrapper {
  background-color: #212931;
  background-image: url("../../images/overlay.png"),
    linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
    url("../../images/bg.jpg");
  background-size: auto, auto, 100% auto;
  background-position: center, center, top center;
  background-repeat: repeat, no-repeat, no-repeat;
  background-attachment: fixed, fixed, fixed;
}
