/* ==========================================================================
   Pinky Arcade — shared theme
   ========================================================================== */

:root {
  --pink-25: #fffafc;
  --pink-50: #fff3f9;
  --pink-100: #ffe4f1;
  --pink-200: #ffc9e3;
  --pink-300: #ffa8d2;
  --pink-400: #ff86c0;
  --pink-500: #f45fa8;
  --pink-600: #d9418c;
  --pink-700: #b52e72;

  --plum-900: #35132b;
  --plum-800: #451a37;
  --plum-700: #5a2447;
  --plum-600: #713156;
  --plum-500: #8d4570;

  --lav-50: #f7f3ff;
  --lav-100: #efe8ff;
  --lav-200: #e1d5ff;
  --lav-300: #cbb8f8;
  --lav-400: #b79cf6;
  --lav-600: #8159d8;

  --mint-100: #d9f7ec;
  --mint-300: #9fe8cf;
  --sky-100: #ddefff;
  --sky-300: #a9d5ff;
  --cream: #fff9fd;

  --font-display: "Fredoka", "Baloo 2", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  --font-body: "Nunito", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-soft: 0 18px 40px -22px rgba(93, 33, 73, 0.45);
  --shadow-pink: 0 16px 34px -14px rgba(217, 65, 140, 0.55);
  --shadow-card: 0 30px 60px -40px rgba(70, 20, 56, 0.55);

  --outline: #5b2bd6;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font-body);
  color: var(--plum-900);
  background: var(--pink-50);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--plum-900);
}

p {
  margin: 0;
}

a {
  color: inherit;
}

img,
svg {
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--outline);
  outline-offset: 3px;
  border-radius: 6px;
}

button:focus-visible,
a:focus-visible {
  outline-offset: 4px;
}

::selection {
  background: var(--pink-300);
  color: var(--plum-900);
}

/* ---------- Buttons ---------- */

.btn {
  --btn-bg: var(--cream);
  --btn-fg: var(--plum-900);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 44px;
  padding: 0.65em 1.3em;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.985);
}

.btn-primary {
  --btn-bg: linear-gradient(145deg, #ffa8d2 0%, #ff7ebc 100%);
  --btn-fg: #3d132f;
  border-color: rgba(255, 255, 255, 0.7);
  box-shadow: 0 10px 0 -4px #c43f87, var(--shadow-pink);
}

.btn-primary:hover {
  box-shadow: 0 13px 0 -4px #c43f87, 0 22px 40px -14px rgba(217, 65, 140, 0.6);
}

.btn-primary:active {
  box-shadow: 0 6px 0 -4px #c43f87, 0 10px 22px -12px rgba(217, 65, 140, 0.55);
}

.btn-ghost {
  --btn-bg: rgba(255, 255, 255, 0.55);
  --btn-fg: var(--plum-800);
  border-color: rgba(124, 58, 98, 0.28);
  backdrop-filter: blur(6px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.82);
}

.btn-small {
  min-height: 38px;
  padding: 0.45em 1em;
  font-size: 0.92rem;
}

.btn-large {
  min-height: 56px;
  padding: 0.8em 1.6em;
  font-size: 1.12rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  margin-bottom: 0.9rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--pink-700);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
