@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&family=Noto+Nastaliq+Urdu:wght@400;600;700&display=swap');

:root {
  --rose: #8c3b50;
  --rose-deep: #5a1a2d;
  --saffron: #d9ae5c;
  --gold: #c48b34;
  --ivory: #f7efe3;
  --sand: #eadbc6;
  --paper: #fffaf3;
  --ink: #2c1f2d;
  --text-soft: #5f4a57;
  --rule: rgba(44, 31, 45, 0.14);
  --shadow: 0 16px 36px rgba(70, 37, 55, 0.14);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: linear-gradient(180deg, #f8efe6 0%, #f6e4d8 100%);
  color: var(--ink);
  font-family: 'Cormorant Garamond', serif;
}

body {
  background-image:
    radial-gradient(circle at top left, rgba(255,255,255,0.7), transparent 34%),
    linear-gradient(160deg, rgba(255,250,243,0.9), rgba(243,227,203,0.96));
}

h1, h2, h3, .display {
  font-family: 'Noto Nastaliq Urdu', serif;
  letter-spacing: 0.01em;
  color: var(--rose-deep);
  margin: 0;
}

.mono {
  font-family: 'IBM Plex Mono', monospace;
}

a { color: inherit; }

::selection { background: rgba(201, 142, 63, 0.35); }

button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, a:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 2px;
}

button {
  font-family: 'IBM Plex Mono', monospace;
  cursor: pointer;
  border: none;
  background: var(--ink);
  color: var(--paper);
  padding: 0.75em 1.3em;
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  transition: transform 0.15s ease, background 0.15s ease;
}

button:hover { background: var(--rose); transform: translateY(-1px); }
button.secondary {
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--ink);
}
button.secondary:hover { background: rgba(140, 59, 80, 0.08); }
button.danger { background: var(--rose); }
button.danger:hover { background: var(--rose-deep); }

input, textarea, select {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  padding: 0.7em 0.9em;
  border: 1px solid rgba(92, 59, 68, 0.2);
  border-radius: 12px;
  background: rgba(255,255,255,0.4);
  color: var(--ink);
  width: 100%;
}

label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
  display: block;
  margin-bottom: 0.45em;
}

.card {
  background: rgba(255, 250, 243, 0.96);
  border: 1px solid rgba(92, 59, 68, 0.12);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.tag {
  display: inline-block;
  padding: 0.28em 0.7em;
  border-radius: 999px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.66rem;
  color: var(--rose-deep);
  background: rgba(201, 142, 63, 0.15);
  border: 1px solid rgba(201, 142, 63, 0.28);
}
