/* Mystic Art Tattoo — custom components + tokens layered on top of Tailwind */

:root {
  --ink:   #0a0a0a;
  --slate: #111113;
  --bone:  #f5f5f2;
  --gold:  #d4af37;
}

body { background: var(--ink); color: var(--bone); -webkit-font-smoothing: antialiased; }

.font-display { font-family: 'Playfair Display', serif; }
.font-sans    { font-family: 'Inter', system-ui, sans-serif; }

/* Buttons */
.btn-gold {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.6rem; border-radius: 6px;
  background: var(--gold); color: var(--ink);
  text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.75rem; font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 6px 24px -8px rgba(212,175,55,0.6); }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.6rem; border-radius: 6px;
  border: 1px solid rgba(245,245,242,0.2); color: var(--bone);
  text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.75rem;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* Forms */
.label { display: block; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.15em; color: rgba(245,245,242,0.5); margin-bottom: 0.35rem; }
.input {
  width: 100%;
  background: rgba(10,10,10,0.8);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 0.65rem 0.85rem;
  color: var(--bone);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,0.15); }

/* Chips */
.chip {
  display: inline-flex; padding: 0.5rem 0.9rem; border-radius: 999px;
  background: rgba(255,255,255,0.05); color: rgba(245,245,242,0.65);
  text-transform: uppercase; letter-spacing: 0.15em; font-size: 0.65rem;
  border: 1px solid rgba(255,255,255,0.08);
}
.chip:hover { color: var(--bone); }
.chip-active { background: var(--gold); color: var(--ink); border-color: var(--gold); }

/* Status pills */
.pill {
  display: inline-flex; padding: 0.25rem 0.65rem; border-radius: 999px;
  font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.15em; font-weight: 600;
  border: 1px solid;
}
.pill-pending    { background: rgba(234,179,8,0.1);  color: #facc15; border-color: rgba(234,179,8,0.3); }
.pill-approved   { background: rgba(59,130,246,0.1); color: #60a5fa; border-color: rgba(59,130,246,0.3); }
.pill-upcoming   { background: rgba(139,92,246,0.1); color: #a78bfa; border-color: rgba(139,92,246,0.3); }
.pill-completed  { background: rgba(34,197,94,0.1);  color: #4ade80; border-color: rgba(34,197,94,0.3); }
.pill-canceled   { background: rgba(239,68,68,0.1);  color: #f87171; border-color: rgba(239,68,68,0.3); }
.pill-no_show    { background: rgba(107,114,128,0.1); color: #9ca3af; border-color: rgba(107,114,128,0.3); }
.pill-draft      { background: rgba(107,114,128,0.1); color: #9ca3af; border-color: rgba(107,114,128,0.3); }
.pill-submitted  { background: rgba(59,130,246,0.1); color: #60a5fa; border-color: rgba(59,130,246,0.3); }
.pill-signed     { background: rgba(212,175,55,0.1); color: var(--gold); border-color: rgba(212,175,55,0.3); }

/* Artist card (booking step 1) */
.artist-card {
  display: block; cursor: pointer; border-radius: 12px; overflow: hidden;
  border: 2px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.artist-card:hover { transform: translateY(-3px); border-color: rgba(212,175,55,0.4); }
.artist-card-active {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 4px rgba(212,175,55,0.2), 0 20px 50px -20px rgba(212,175,55,0.45);
  transform: translateY(-4px) scale(1.02);
  background: rgba(212,175,55,0.05);
}

/* Text */
.text-ink   { color: var(--ink); }
.text-bone  { color: var(--bone); }
.text-gold  { color: var(--gold); }
.bg-ink     { background: var(--ink); }
.bg-slate   { background: var(--slate); }
.bg-gold    { background: var(--gold); }
.border-gold{ border-color: var(--gold); }

/* Selection color */
::selection { background: var(--gold); color: var(--ink); }

/* ---------- Hero animation ---------- */
.hero {
  background: radial-gradient(ellipse at top, #1a1a1a 0%, #0a0a0a 50%, #050505 100%);
}
.hero-bg {
  position: absolute; inset: 0; overflow: hidden;
  pointer-events: none;
}
.hero-layer {
  position: absolute; inset: -20%; opacity: 0.35;
  filter: blur(60px);
}
.hero-layer-1 {
  background: radial-gradient(circle at 20% 30%, rgba(212,175,55,0.4) 0%, transparent 40%);
  animation: drift1 22s ease-in-out infinite;
}
.hero-layer-2 {
  background: radial-gradient(circle at 80% 70%, rgba(212,175,55,0.25) 0%, transparent 45%);
  animation: drift2 28s ease-in-out infinite;
}
.hero-layer-3 {
  background:
    radial-gradient(circle at 60% 20%, rgba(255,255,255,0.03) 0%, transparent 35%),
    radial-gradient(circle at 30% 80%, rgba(212,175,55,0.15) 0%, transparent 40%);
  animation: drift3 35s ease-in-out infinite;
}
@keyframes drift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%      { transform: translate(4%, -3%) scale(1.08); }
  66%      { transform: translate(-3%, 2%) scale(0.95); }
}
@keyframes drift2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%      { transform: translate(-5%, 4%) scale(1.1); }
}
@keyframes drift3 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50%      { transform: translate(2%, -2%) rotate(5deg); }
}
.hero-watermark {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%) scale(1.4);
  width: min(90vw, 900px);
  opacity: 0.05;
  pointer-events: none;
  mix-blend-mode: screen;
  animation: breathe 8s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1.4); opacity: 0.05; }
  50%      { transform: translate(-50%, -50%) scale(1.5); opacity: 0.08; }
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up {
  animation: fade-in-up 0.9s ease-out both;
}

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: rgba(212,175,55,0.2); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: rgba(212,175,55,0.4); }

/* Locked / readonly form fields — keep them readable */
.input[readonly],
.input:read-only,
select.input:disabled,
textarea.input[readonly],
textarea.input:read-only {
  opacity: 1;
  color: rgba(245,245,242,0.85);
  -webkit-text-fill-color: rgba(245,245,242,0.85);
  background: rgba(10,10,10,0.5);
  border-color: rgba(255,255,255,0.06);
  cursor: default;
}
input[type=checkbox]:disabled,
input[type=radio]:disabled {
  opacity: 0.9;
  accent-color: var(--gold);
}

/* [x-cloak] hidden until Alpine initialises */
[x-cloak] { display: none !important; }
