/* ---------------------------------------------------------------
   Design tokens + reset
   Ported from tsx/src/styles/{theme,fonts}.css
   --------------------------------------------------------------- */

:root {
  --font-size: 16px;

  --background: #160720;
  --foreground: #ffffff;

  /* pink scale (was Tailwind's pink-*) */
  --pink-50: #fdf2f8;
  --pink-100: #fce7f3;
  --pink-200: #fbcfe8;
  --pink-300: #f9a8d4;
  --pink-400: #f472b6;
  --pink-500: #ec4899;
  --pink-600: #db2777;
  --pink-800: #9d174d;
  --pink-900: #831843;
  --rose-400: #fb7185;
  --rose-500: #f43f5e;

  /* glass surfaces */
  --glass-bg: rgba(255, 255, 255, 0.07);
  --glass-bg-strong: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.14);
  --glass-border-strong: rgba(255, 255, 255, 0.2);
  --glass-inset: inset 0 1px 0 rgba(255, 255, 255, 0.22);

  --radius: 1.25rem;

  --font-hand: "Dancing Script", cursive, serif;
  --font-body: "Caveat", "Quicksand", system-ui, sans-serif;

  --ease-out-expo: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  font-size: var(--font-size);
  height: 100%;
  position: relative;
}

body {
  margin: 0;
  height: 100%;
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--foreground);
  background: var(--background);
  position: relative;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
p,
ul,
figure {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

h1 {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.5;
}
h2 {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.5;
}
h3 {
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.5;
}

button {
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

svg {
  display: block;
}

/* Lucide-style icons render as currentColor strokes */
.icon {
  width: 1.5rem;
  height: 1.5rem;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex-shrink: 0;
}

.icon--filled {
  fill: currentColor;
}

/* Hide the system cursor only on real-pointer (mouse) devices —
   the custom heart cursor takes over there. */
@media (hover: hover) and (pointer: fine) {
  *,
  *::before,
  *::after {
    cursor: none !important;
  }
}

/* Pink gradient text used by every big handwritten heading */
.grad-text {
  background: linear-gradient(
    to right,
    var(--pink-200),
    #ffffff,
    var(--pink-200)
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.grad-text-vertical {
  background: linear-gradient(to bottom, #ffffff, var(--pink-200));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Accessible-only text */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

[hidden] {
  display: none !important;
}
