/* ============================================================
   DREAMGULLY — iOS 26 Liquid Glass System
   Shared CSS for all pages
   ============================================================ */

:root {
  /* Base palette */
  --ink: #1e1b4b;
  --ink-mid: #2d2a5c;
  --ink-soft: #4a4775;
  --ink-mute: #8884a8;
  --bone: #f5f1e8;
  --cream: #faf6ec;
  --white: #ffffff;

  /* Pop colors */
  --cobalt: #2a4ddc;
  --pink:   #ec4899;
  --amber:  #f59e0b;
  --sky:    #38bdf8;
  --lavender: #a78bfa;
  --peach:  #fb923c;

  /* Type */
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --transition-base: 0.3s var(--ease);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================================
   MEMPHIS PATTERN BG (per-page, controlled by body class)
   Vector SVG, scales to infinity
   ============================================================ */
.bg-blue {
  background-color: #1d4ed8;
  background-image: url('assets/patterns/memphis-blue.svg');
  background-size: 220px 220px;
  background-repeat: repeat;
}
.bg-yellow {
  background-color: #fbbf24;
  background-image: url('assets/patterns/memphis-yellow.svg');
  background-size: 220px 220px;
  background-repeat: repeat;
}
.bg-pink {
  background-color: #ec4899;
  background-image: url('assets/patterns/memphis-pink.svg');
  background-size: 220px 220px;
  background-repeat: repeat;
}
.bg-lavender {
  background-color: #a78bfa;
  background-image: url('assets/patterns/memphis-lavender.svg');
  background-size: 220px 220px;
  background-repeat: repeat;
}
.bg-cobalt {
  background-color: #1e1b4b;
  background-image: url('assets/patterns/memphis-cobalt.svg');
  background-size: 220px 220px;
  background-repeat: repeat;
}

/* ============================================================
   iOS 26 LIQUID GLASS CARD
   Nick's Figma recipe: 2% white fill, 10px blur,
   3-stop diagonal white gradient stroke, drop + inner shadow stack
   ============================================================ */
.glass-card {
  position: relative;
  z-index: 1;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  box-shadow:
    0 1px 0 0 rgba(0, 0, 0, 0.05),
    0 1px 2px 0 rgba(0, 0, 0, 0.2),
    inset 0 1px 0 0 rgba(255, 255, 255, 1),
    inset 0 -1px 2px 0 rgba(255, 255, 255, 0.15);
  overflow: hidden;
  display: flex;
  color: white;
}
.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1.5px;
  background: linear-gradient(45deg,
    rgba(255, 255, 255, 0.05) 0%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 0.05) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  z-index: 50;
}

/* ============================================================
   TEXT ON GLASS — all white with text-shadow for legibility
   ============================================================ */
.glass-text-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  margin: 0;
}
.glass-text-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: white;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  margin: 0;
}
.glass-text-body {
  font-size: clamp(14px, 1.1vw, 17px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  margin: 0;
  max-width: 42ch;
}
.glass-text-placeholder {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding: 20px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* ============================================================
   INNER ELEMENTS — chips, badges, ghost text
   ============================================================ */
.glass-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.glass-chip__dot {
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
}

.glass-badge {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.ghost-wordmark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(48px, 8vw, 120px);
  letter-spacing: -0.03em;
  color: rgba(255, 255, 255, 0.15);
  text-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
  pointer-events: none;
  user-select: none;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-glass-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  padding: 16px 32px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--ink);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition-base);
  font-family: var(--font-body);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 0 rgba(255, 255, 255, 1);
}
.btn-glass-primary:hover {
  transform: translate(-2px, -2px);
  box-shadow:
    0 6px 24px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 0 rgba(255, 255, 255, 1);
}

.btn-glass {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  padding: 16px 32px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition-base);
  font-family: var(--font-body);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.5);
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translate(-2px, -2px);
}
