/* ============================================================
   TAROTHEALERS — GLOBAL STYLES
   ============================================================ */

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

:root {
  --bg-deep:       #06040f;
  --bg-mid:        #0d0820;
  --bg-card:       #110c2a;
  --bg-card2:      #160e34;
  --violet:        #7c3aed;
  --violet-light:  #a855f7;
  --violet-glow:   #c084fc;
  --indigo:        #4f46e5;
  --gold:          #f5c842;
  --gold-light:    #fde68a;
  --rose:          #e879f9;
  --teal:          #06b6d4;
  --moonwhite:     #f0e8ff;
  --text-body:     #c4b8e8;
  --text-muted:    #7c6fa0;
  --border:        rgba(124,58,237,0.25);
  --border-glow:   rgba(168,85,247,0.5);
  --font-title:    'Cinzel Decorative', serif;
  --font-body:     'Cinzel', serif;
  --font-light:    'Raleway', sans-serif;
  --radius:        16px;
  --radius-lg:     24px;
  --shadow-glow:   0 0 60px rgba(124,58,237,0.3);
}

html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg-deep);
  color: var(--text-body);
  font-family: var(--font-light);
  font-weight: 300;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
  min-height: 100vh;
}

h1, h2, h3, h4, p, span, a, label {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* ============================================================
   STARFIELD CANVAS
   ============================================================ */
#starCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   FLOATING PARTICLES
   ============================================================ */
.particles {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, var(--violet-glow), transparent);
  animation: floatParticle linear infinite;
  opacity: 0;
}
@keyframes floatParticle {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.3; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 32px;
  background: rgba(6,4,15,0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}
.navbar.scrolled {
  padding: 10px 32px;
  background: rgba(6,4,15,0.92);
  box-shadow: 0 4px 30px rgba(124,58,237,0.2);
}
.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.moon-icon {
  font-size: 2rem;
  line-height: 1;
  animation: moonGlow 3s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 10px var(--violet-glow));
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(168,85,247,0.35);
  border-radius: 50%;
  transition: background 0.3s, border-color 0.3s;
}
.moon-icon:hover {
  background: rgba(124,58,237,0.28);
  border-color: var(--violet-light);
}
@keyframes moonGlow {
  0%  { filter: drop-shadow(0 0 6px var(--violet-glow)); }
  100%{ filter: drop-shadow(0 0 20px var(--rose)); }
}
.brand-name { display: none; }
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-body);
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--violet), var(--rose));
  transform: scaleX(0);
  transition: transform 0.3s;
}
.nav-links a:hover { color: var(--moonwhite); }
.nav-links a:hover::after { transform: scaleX(1); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 120px 60px 80px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  top: 50%; left: 30%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(124,58,237,0.25) 0%, rgba(79,70,229,0.1) 40%, transparent 70%);
  animation: breathe 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes breathe {
  0%,100% { transform: translate(-50%,-50%) scale(1); opacity: 0.7; }
  50%      { transform: translate(-50%,-50%) scale(1.2); opacity: 1; }
}
.hero-content { position: relative; z-index: 2; }

.moon-phases {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
  font-size: 1.1rem;
  opacity: 0.7;
  animation: fadeSlideUp 1s ease 0.2s both;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.25em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 20px;
  animation: fadeSlideUp 1s ease 0.3s both;
}

.hero-title {
  font-family: var(--font-title);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--moonwhite);
  line-height: 1.2;
  margin-bottom: 24px;
  animation: fadeSlideUp 1s ease 0.4s both;
}

.gradient-text {
  background: linear-gradient(135deg, var(--violet-glow) 0%, var(--rose) 50%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
}
@keyframes gradientShift {
  0%,100% { background-position: 0% 50%; }
  50%      { background-position: 100% 50%; }
}

.hero-subtitle {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-body);
  max-width: 480px;
  margin-bottom: 40px;
  animation: fadeSlideUp 1s ease 0.5s both;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--violet), var(--indigo));
  color: var(--moonwhite);
  font-family: var(--font-body);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  border-radius: 50px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 8px 40px rgba(124,58,237,0.5);
  animation: fadeSlideUp 1s ease 0.6s both;
}
.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 60px rgba(124,58,237,0.7);
}
.btn-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.15) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s;
}
.cta-btn:hover .btn-glow { transform: translateX(100%); }

.hero-image-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeSlideUp 1.2s ease 0.3s both;
}
.hero-orb {
  position: absolute;
  width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(168,85,247,0.2) 0%, rgba(79,70,229,0.1) 50%, transparent 70%);
  border-radius: 50%;
  animation: orbPulse 5s ease-in-out infinite;
}
@keyframes orbPulse {
  0%,100% { transform: scale(1); }
  50%      { transform: scale(1.08); }
}
.hero-img {
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glow);
  box-shadow: 0 0 80px rgba(124,58,237,0.4), 0 0 30px rgba(168,85,247,0.2);
  position: relative;
}

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   SECTION COMMONS
   ============================================================ */
section {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: clip;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
  padding: 0 20px;
}
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--moonwhite);
  line-height: 1.3;
  margin-bottom: 16px;
}
.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ============================================================
   HEALING SANCTUARY SECTION
   ============================================================ */
.healing-section {
  padding: 100px 24px 80px;
  position: relative;
  max-width: 1260px;
  margin: 0 auto;
}

.healing-glow {
  position: absolute;
  top: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(124, 58, 237, 0.16) 0%, rgba(232, 121, 249, 0.08) 40%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

.healing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
  z-index: 1;
  margin-bottom: 50px;
}

.healing-card {
  position: relative;
  background: linear-gradient(145deg, rgba(17, 12, 42, 0.85) 0%, rgba(22, 14, 52, 0.75) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 28px 28px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.healing-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glow);
  background: linear-gradient(145deg, rgba(22, 14, 52, 0.95) 0%, rgba(32, 18, 70, 0.85) 100%);
  box-shadow: 0 20px 50px rgba(124, 58, 237, 0.32), 0 0 24px rgba(168, 85, 247, 0.2);
}

.healing-card-glow {
  position: absolute;
  top: -60px;
  right: -60px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.25), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.healing-card:hover .healing-card-glow {
  opacity: 1;
  transform: scale(1.4);
}

.healing-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.healing-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(124, 58, 237, 0.16);
  border: 1px solid rgba(168, 85, 247, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.2);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s;
}

.healing-card:hover .healing-icon {
  transform: scale(1.12) rotate(4deg);
  background: rgba(124, 58, 237, 0.28);
  border-color: var(--violet-light);
}

.healing-badge {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(245, 200, 66, 0.12);
  border: 1px solid rgba(245, 200, 66, 0.3);
  padding: 4px 12px;
  border-radius: 20px;
}

.healing-title {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--moonwhite);
  line-height: 1.35;
  margin-bottom: 8px;
}

.healing-tagline {
  font-size: 0.82rem;
  color: var(--rose);
  margin-bottom: 16px;
  font-weight: 400;
  line-height: 1.45;
}

.healing-desc {
  font-size: 0.92rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 24px;
  flex-grow: 1;
}

.healing-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  border-top: 1px solid rgba(124, 58, 237, 0.2);
  padding-top: 16px;
  transition: color 0.3s ease;
}

.healing-cta .arrow {
  font-size: 0.85rem;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s;
}

.healing-card:hover .healing-cta {
  color: var(--moonwhite);
}

.healing-card:hover .healing-cta .arrow {
  transform: translateX(6px);
  color: var(--gold-light);
}

.healing-banner {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 2px;
  border-radius: 50px;
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.4), rgba(245, 200, 66, 0.4), rgba(232, 121, 249, 0.4));
  box-shadow: 0 8px 30px rgba(124, 58, 237, 0.2);
}

.healing-banner-content {
  background: rgba(13, 8, 32, 0.92);
  backdrop-filter: blur(12px);
  border-radius: 48px;
  padding: 16px 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
}

.healing-banner-content p {
  font-size: 0.9rem;
  color: var(--moonwhite);
  line-height: 1.6;
}

.banner-star {
  color: var(--gold);
  font-size: 0.9rem;
  animation: starTwinkle 2s ease-in-out infinite alternate;
}

@keyframes starTwinkle {
  0% { opacity: 0.4; transform: scale(0.9); }
  100% { opacity: 1; transform: scale(1.2); }
}

@keyframes formGlowPulse {
  0% { box-shadow: var(--shadow-glow); border-color: var(--border-glow); }
  40% { box-shadow: 0 0 70px rgba(168, 85, 247, 0.85), 0 0 30px rgba(245, 200, 66, 0.6); border-color: var(--gold); }
  100% { box-shadow: var(--shadow-glow); border-color: var(--border-glow); }
}

.form-card.form-highlight {
  animation: formGlowPulse 1.8s ease-out;
}

/* ============================================================
   READING FORM SECTION
   ============================================================ */
.reading-section {
  padding: 100px 24px;
  background: linear-gradient(180deg, transparent 0%, rgba(13,8,32,0.6) 50%, transparent 100%);
}
.form-container {
  display: flex;
  justify-content: center;
}
.form-card {
  width: 100%;
  max-width: 640px;
  background: linear-gradient(135deg, var(--bg-card), var(--bg-card2));
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 3px;
  box-shadow: var(--shadow-glow), inset 0 1px 0 rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
}
.form-card::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(168,85,247,0.1) 60deg, transparent 120deg);
  animation: rotateBorder 8s linear infinite;
  pointer-events: none;
}
@keyframes rotateBorder {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.form-card-inner {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-card2));
  border-radius: calc(var(--radius-lg) - 3px);
  padding: 48px 40px;
  position: relative;
  z-index: 1;
}
.form-icon {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 12px;
  animation: moonGlow 3s ease-in-out infinite alternate;
}
.form-title {
  font-family: var(--font-title);
  font-size: 1.3rem;
  color: var(--moonwhite);
  text-align: center;
  margin-bottom: 36px;
  letter-spacing: 0.05em;
}

.input-group {
  margin-bottom: 24px;
  position: relative;
}
.input-group label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--violet-light);
  margin-bottom: 10px;
}
.input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.input-icon {
  position: absolute;
  left: 14px;
  font-size: 0.9rem;
  z-index: 2;
  pointer-events: none;
}
.input-wrap input,
.input-wrap select {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: rgba(22,14,52,0.8);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px 14px 42px;
  color: var(--moonwhite);
  font-family: var(--font-light);
  font-size: 16px; /* 16px prevents iOS Safari from auto-zooming in and breaking mobile scale */
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
  -webkit-appearance: none;
  appearance: none;
}
.input-wrap input::placeholder { color: var(--text-muted); }
.input-wrap input:focus,
.input-wrap select:focus {
  border-color: var(--violet-light);
  box-shadow: 0 0 0 3px rgba(168,85,247,0.2), 0 0 20px rgba(124,58,237,0.15);
  background: rgba(30,20,70,0.9);
}
.input-wrap input[type="date"]::-webkit-calendar-picker-indicator,
.input-wrap input[type="time"]::-webkit-calendar-picker-indicator {
  filter: invert(0.7) sepia(1) hue-rotate(250deg);
  cursor: pointer;
}
.select-wrap::after {
  content: '▾';
  position: absolute;
  right: 14px;
  color: var(--violet-light);
  pointer-events: none;
  font-size: 0.9rem;
}
.optional-tag {
  position: absolute;
  right: 10px;
  font-size: 0.65rem;
  color: var(--text-muted);
  font-family: var(--font-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-error {
  color: #f87171;
  font-size: 0.85rem;
  text-align: center;
  min-height: 20px;
  margin-bottom: 8px;
}

.submit-btn {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, var(--violet), var(--indigo), var(--rose));
  background-size: 200% 200%;
  border: none;
  border-radius: 14px;
  color: white;
  font-family: var(--font-title);
  font-size: 1rem;
  letter-spacing: 0.1em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 8px 40px rgba(124,58,237,0.5);
  animation: gradientShift 4s ease infinite;
}
.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 50px rgba(124,58,237,0.7);
}
.submit-btn:active { transform: translateY(0); }
.btn-text { position: relative; z-index: 1; display: block; }
.btn-stars { font-size: 0.7rem; opacity: 0.7; display: block; margin-top: 2px; position: relative; z-index: 1; }
.btn-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.12) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s;
}
.submit-btn:hover .btn-shimmer { transform: translateX(100%); }

/* ============================================================
   LOADING OVERLAY
   ============================================================ */
.loading-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(6,4,15,0.92);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.loading-overlay.active { display: flex; }
.loading-content { text-align: center; position: relative; }
.loading-moon {
  font-size: 4rem;
  animation: moonSpin 3s linear infinite;
  display: block;
  margin-bottom: 30px;
}
@keyframes moonSpin {
  0%   { filter: drop-shadow(0 0 10px var(--violet)); }
  50%  { filter: drop-shadow(0 0 30px var(--rose)); }
  100% { filter: drop-shadow(0 0 10px var(--violet)); }
}
.loading-rings {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -70%);
}
.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid transparent;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.ring1 { width: 120px; height: 120px; border-top-color: var(--violet); animation: ringRotate 2s linear infinite; }
.ring2 { width: 160px; height: 160px; border-right-color: var(--rose); animation: ringRotate 3s linear infinite reverse; }
.ring3 { width: 200px; height: 200px; border-bottom-color: var(--gold); animation: ringRotate 4s linear infinite; }
@keyframes ringRotate { from { transform: translate(-50%,-50%) rotate(0); } to { transform: translate(-50%,-50%) rotate(360deg); } }
.loading-text {
  font-family: var(--font-title);
  font-size: 1.3rem;
  color: var(--moonwhite);
  margin-bottom: 8px;
}
.loading-sub {
  font-family: var(--font-light);
  font-size: 0.9rem;
  color: var(--violet-light);
  transition: all 0.5s;
}

/* ============================================================
   RESULTS SECTION
   ============================================================ */
.results-section {
  padding: 100px 24px 60px;
  max-width: 1100px;
  margin: 0 auto;
}
.results-header {
  text-align: center;
  margin-bottom: 60px;
}
.results-moon {
  font-size: 3.5rem;
  margin-bottom: 16px;
  animation: moonGlow 3s ease-in-out infinite;
  filter: drop-shadow(0 0 20px var(--violet));
}
.results-name {
  font-family: var(--font-title);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--moonwhite);
  margin-bottom: 24px;
}
.signs-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
}
.sign-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(124,58,237,0.15);
  border: 1px solid var(--border-glow);
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--moonwhite);
}
.sign-badge .sign-label {
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Reading Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}
.reading-card {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-card2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  animation: fadeSlideUp 0.6s ease both;
}
.reading-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px rgba(124,58,237,0.3);
  border-color: var(--border-glow);
}
.reading-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--violet), var(--rose), var(--gold));
}
.card-icon { font-size: 2.2rem; margin-bottom: 16px; }
.card-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--violet-light);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.card-title {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--moonwhite);
  margin-bottom: 14px;
}
.card-body {
  font-family: var(--font-light);
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-body);
}
.card-highlight {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 14px;
  background: rgba(124,58,237,0.2);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--violet-glow);
}

/* Tarot Oracle Section */
.daily-oracle {
  margin-bottom: 60px;
}
.oracle-card {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-card2));
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  box-shadow: var(--shadow-glow);
}
.oracle-icon { font-size: 2rem; margin-bottom: 12px; }
.oracle-title {
  font-family: var(--font-title);
  font-size: 1.2rem;
  color: var(--moonwhite);
  margin-bottom: 32px;
}
.tarot-card {
  width: 160px;
  height: 270px;
  margin: 0 auto 32px;
  perspective: 800px;
}
.tarot-front {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #1e0a4a, #0d0620);
  border: 2px solid var(--gold);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  box-shadow: 0 0 40px rgba(245,200,66,0.3), inset 0 0 30px rgba(124,58,237,0.2);
  position: relative;
  overflow: hidden;
}
.tarot-front::before {
  content: '✦ ✦ ✦';
  position: absolute;
  top: 10px;
  font-size: 0.5rem;
  color: rgba(245,200,66,0.4);
  letter-spacing: 4px;
}
.tarot-front::after {
  content: '✦ ✦ ✦';
  position: absolute;
  bottom: 10px;
  font-size: 0.5rem;
  color: rgba(245,200,66,0.4);
  letter-spacing: 4px;
}
.tarot-symbol { font-size: 3.5rem; }
.tarot-name {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--gold);
  text-align: center;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0 12px;
}
.oracle-message {
  font-family: var(--font-light);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-body);
  max-width: 500px;
  margin: 0 auto;
  font-style: italic;
}

/* Moon Phase Section */
.moon-phase-section {
  text-align: center;
  padding: 48px;
  background: linear-gradient(135deg, var(--bg-card), var(--bg-card2));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 40px;
}
.moon-phase-title {
  font-family: var(--font-title);
  font-size: 1.2rem;
  color: var(--moonwhite);
  margin-bottom: 28px;
}
.moon-display {
  font-size: 5rem;
  margin-bottom: 20px;
  animation: moonGlow 3s ease-in-out infinite alternate;
  filter: drop-shadow(0 0 20px rgba(168,85,247,0.6));
}
.moon-meaning {
  font-family: var(--font-light);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-body);
  max-width: 500px;
  margin: 0 auto;
}

/* Affirmation */
.affirmation-section { margin-bottom: 48px; }
.affirmation-card {
  background: linear-gradient(135deg, rgba(124,58,237,0.15), rgba(232,121,249,0.1));
  border: 1px solid rgba(232,121,249,0.3);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  text-align: center;
}
.affirmation-label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  color: var(--rose);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.affirmation-text {
  font-family: var(--font-title);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  color: var(--moonwhite);
  line-height: 1.5;
  font-style: italic;
}

.new-reading-btn {
  display: block;
  margin: 0 auto;
  padding: 16px 40px;
  background: transparent;
  border: 1px solid var(--border-glow);
  border-radius: 50px;
  color: var(--violet-light);
  font-family: var(--font-body);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  cursor: pointer;
  transition: all 0.3s;
}
.new-reading-btn:hover {
  background: rgba(124,58,237,0.15);
  border-color: var(--violet);
  color: var(--moonwhite);
  box-shadow: 0 0 30px rgba(124,58,237,0.3);
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
  padding: 100px 60px;
  background: linear-gradient(180deg, transparent, rgba(13,8,32,0.5), transparent);
}
.about-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-image-wrap {
  position: relative;
}
.about-img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-glow);
  box-shadow: 0 0 60px rgba(124,58,237,0.3);
}
.about-img-glow {
  position: absolute;
  inset: -20px;
  background: radial-gradient(circle at center, rgba(124,58,237,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.about-text {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text-body);
  margin-bottom: 20px;
}
.about-features { margin-top: 32px; display: flex; flex-direction: column; gap: 24px; }
.feature-item { display: flex; gap: 18px; align-items: flex-start; }
.feature-icon { font-size: 1.8rem; flex-shrink: 0; margin-top: 2px; }
.feature-item strong {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--moonwhite);
  display: block;
  margin-bottom: 6px;
  letter-spacing: 0.05em;
}
.feature-item p { font-size: 0.88rem; line-height: 1.7; color: var(--text-muted); }

/* ============================================================
   SIGNS SECTION
   ============================================================ */
.signs-section {
  padding: 100px 24px;
}
.signs-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.sign-card {
  background: linear-gradient(135deg, var(--bg-card), var(--bg-card2));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  cursor: default;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}
.sign-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--border-glow);
  box-shadow: 0 20px 50px rgba(124,58,237,0.3);
}
.sign-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124,58,237,0.08) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s;
}
.sign-card:hover::after { opacity: 1; }
.sign-emoji { font-size: 2.5rem; margin-bottom: 12px; display: block; }
.sign-name {
  font-family: var(--font-title);
  font-size: 0.95rem;
  color: var(--moonwhite);
  margin-bottom: 6px;
}
.sign-dates {
  font-family: var(--font-light);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.sign-element {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-family: var(--font-body);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.elem-fire { background: rgba(239,68,68,0.15); color: #f87171; border: 1px solid rgba(239,68,68,0.3); }
.elem-earth { background: rgba(34,197,94,0.15); color: #86efac; border: 1px solid rgba(34,197,94,0.3); }
.elem-air   { background: rgba(6,182,212,0.15); color: #67e8f9; border: 1px solid rgba(6,182,212,0.3); }
.elem-water { background: rgba(99,102,241,0.15); color: #a5b4fc; border: 1px solid rgba(99,102,241,0.3); }
.sign-trait {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 10px;
  font-style: italic;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative;
  z-index: 2;
  padding: 60px 24px 40px;
  text-align: center;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(13,8,32,0.8));
}
.footer-moon { font-size: 1.8rem; margin-bottom: 20px; opacity: 0.7; }
.footer-brand {
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: var(--moonwhite);
  margin-bottom: 8px;
}
.footer-tagline {
  font-family: var(--font-light);
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 24px;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 28px;
  margin-bottom: 32px;
  max-width: 100%;
  padding: 0 16px;
  box-sizing: border-box;
}
.footer-links a {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--violet-light); }
.footer-copy {
  font-size: 0.78rem;
  color: rgba(124,107,160,0.5);
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding: 120px 30px 60px; gap: 40px; }
  .hero-subtitle { margin: 0 auto 40px; }
  .moon-phases { justify-content: center; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-section { padding: 80px 30px; }
  .signs-grid { grid-template-columns: repeat(3, 1fr); }
  .healing-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .healing-section { padding: 80px 24px 60px; }
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 640px) {
  .navbar {
    padding: 12px 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .moon-icon {
    width: 38px;
    height: 38px;
    font-size: 1.7rem;
    flex-shrink: 0;
  }
  .nav-links {
    gap: 14px;
    flex-wrap: nowrap;
  }
  .nav-links a {
    font-size: 0.72rem;
    letter-spacing: 0.05em;
  }

  .hero {
    padding: 95px 16px 50px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .hero-image-wrap { display: none; }
  .hero-orb { display: none; }
  .hero-glow {
    width: 260px;
    height: 260px;
  }

  .hero-eyebrow,
  .section-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
  }
  .hero-title {
    font-size: clamp(1.8rem, 7.5vw, 2.3rem);
    line-height: 1.25;
  }
  .section-title {
    font-size: clamp(1.4rem, 6.5vw, 1.9rem);
    line-height: 1.3;
  }
  .section-subtitle {
    font-size: 0.9rem;
    padding: 0 4px;
  }
  .section-header {
    margin-bottom: 40px;
    padding: 0 10px;
  }

  /* Healing section */
  .healing-section {
    padding: 60px 16px 40px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .healing-glow {
    width: 240px;
    height: 240px;
  }
  .healing-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 36px;
  }
  .healing-card {
    padding: 24px 18px 20px;
    width: 100%;
    box-sizing: border-box;
  }
  .healing-title {
    font-size: 1.15rem;
  }
  .healing-banner {
    border-radius: 20px;
  }
  .healing-banner-content {
    border-radius: 18px;
    padding: 14px 16px;
    flex-direction: column;
    gap: 8px;
  }
  .healing-banner-content p {
    font-size: 0.82rem;
  }

  /* Form section */
  .reading-section {
    padding: 60px 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .form-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .form-card-inner {
    padding: 28px 18px;
  }
  .input-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* Signs grid */
  .signs-section {
    padding: 60px 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .signs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .sign-card {
    padding: 18px 10px;
    min-width: 0;
  }
  .sign-emoji {
    font-size: 2rem;
    margin-bottom: 8px;
  }
  .sign-name {
    font-size: 0.88rem;
  }
  .sign-dates {
    font-size: 0.68rem;
  }

  /* About section */
  .about-section {
    padding: 60px 16px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Results section */
  .results-section {
    padding: 80px 16px 40px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .reading-card {
    padding: 24px 18px;
  }
  .oracle-card {
    padding: 28px 16px;
  }
  .moon-phase-section {
    padding: 28px 16px;
  }
  .affirmation-card {
    padding: 28px 16px;
  }
  .sign-badge {
    padding: 8px 14px;
    font-size: 0.78rem;
  }

  /* Footer */
  .footer {
    padding: 48px 16px 36px;
  }
  .footer-links {
    gap: 12px 18px;
  }
  .footer-links a {
    font-size: 0.72rem;
  }
}

/* Extra small devices (iPhone SE, Galaxy Fold, 320px - 380px) */
@media (max-width: 380px) {
  .navbar {
    padding: 10px 12px;
  }
  .moon-icon {
    width: 34px;
    height: 34px;
    font-size: 1.5rem;
  }
  .nav-links {
    gap: 8px;
  }
  .nav-links a {
    font-size: 0.65rem;
    letter-spacing: 0.02em;
  }
  .hero-title {
    font-size: 1.7rem;
  }
  .section-title {
    font-size: 1.35rem;
  }
  .signs-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   ADMIN PORTAL & VAULT STYLES
   ============================================================ */
.required-tag {
  color: var(--rose);
  font-weight: 700;
  margin-left: 2px;
}

.secret-trigger {
  display: inline-block;
  cursor: pointer;
  opacity: 0.15;
  transition: opacity 0.3s, color 0.3s;
  font-size: 0.8rem;
  margin-left: 4px;
}
.secret-trigger:hover {
  opacity: 1;
  color: var(--gold);
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.admin-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 2, 10, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.admin-card {
  position: relative;
  z-index: 1;
  background: linear-gradient(145deg, rgba(17, 12, 42, 0.98), rgba(22, 14, 52, 0.98));
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 80px rgba(124, 58, 237, 0.5), 0 20px 40px rgba(0, 0, 0, 0.6);
  max-width: 100%;
  box-sizing: border-box;
  animation: fadeSlideUp 0.3s ease both;
}

/* Auth Card */
.auth-card {
  width: 440px;
  padding: 36px 32px;
  text-align: center;
}
.admin-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.admin-badge {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-transform: uppercase;
}
.auth-icon {
  font-size: 3rem;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 16px rgba(245, 200, 66, 0.4));
}
.admin-title {
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: var(--moonwhite);
  margin-bottom: 8px;
}
.admin-subtitle {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}
.admin-error {
  font-size: 0.82rem;
  color: #f87171;
  margin-top: 10px;
  min-height: 20px;
}
.admin-auth-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 18px;
}
.admin-auth-hint code {
  color: var(--violet-light);
  background: rgba(124, 58, 237, 0.15);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Dashboard Card */
.dashboard-card {
  width: 1160px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  padding: 32px;
  overflow: hidden;
}
.admin-dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
  flex-wrap: wrap;
}
.dashboard-title-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
}
.moon-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(124, 58, 237, 0.2);
  border: 1px solid var(--border-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--gold);
}
.dashboard-title {
  font-family: var(--font-title);
  font-size: 1.35rem;
  color: var(--moonwhite);
  margin-bottom: 4px;
}
.dashboard-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.dashboard-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

/* Buttons */
.admin-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.25s;
  border: none;
  outline: none;
}
.primary-btn {
  background: linear-gradient(135deg, var(--violet), var(--indigo));
  color: var(--moonwhite);
  width: 100%;
  justify-content: center;
  padding: 14px 20px;
  margin-top: 14px;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.4);
}
.primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(124, 58, 237, 0.6);
}
.secondary-btn {
  background: rgba(124, 58, 237, 0.18);
  border: 1px solid var(--border-glow);
  color: var(--gold-light);
}
.secondary-btn:hover {
  background: rgba(124, 58, 237, 0.35);
  color: var(--moonwhite);
}
.danger-btn {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}
.danger-btn:hover {
  background: rgba(239, 68, 68, 0.28);
  color: #fff;
}
.admin-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.admin-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.4);
  color: #fff;
}

/* Stats */
.admin-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}
.stat-card {
  background: rgba(13, 8, 32, 0.6);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 20px;
}
.stat-num {
  font-family: var(--font-title);
  font-size: 1.6rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 4px;
}
.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Toolbar */
.admin-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.search-wrap {
  position: relative;
  flex: 1;
  min-width: 260px;
}
.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.search-wrap input {
  width: 100%;
  background: rgba(13, 8, 32, 0.7);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px 10px 38px;
  color: var(--moonwhite);
  font-size: 0.88rem;
  outline: none;
  box-sizing: border-box;
}
.search-wrap input:focus {
  border-color: var(--violet-light);
}
.admin-notice {
  font-size: 0.78rem;
  color: var(--violet-light);
  background: rgba(124, 58, 237, 0.1);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 8px;
}

/* Table */
.admin-table-wrap {
  flex: 1;
  overflow-y: auto;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: rgba(6, 4, 15, 0.5);
  min-height: 220px;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.85rem;
}
.admin-table thead th {
  background: rgba(22, 14, 52, 0.95);
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--gold);
  text-transform: uppercase;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.admin-table tbody tr {
  border-bottom: 1px solid rgba(124, 58, 237, 0.12);
  transition: background 0.2s;
}
.admin-table tbody tr:hover {
  background: rgba(124, 58, 237, 0.08);
}
.admin-table tbody td {
  padding: 12px 14px;
  vertical-align: middle;
}
.td-num {
  color: var(--text-muted);
  font-size: 0.78rem;
}
.td-time {
  font-size: 0.78rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.td-name {
  color: var(--moonwhite);
  white-space: nowrap;
}
.td-email a {
  color: var(--violet-glow);
  text-decoration: none;
}
.td-email a:hover {
  text-decoration: underline;
  color: var(--moonwhite);
}
.td-birth {
  font-size: 0.8rem;
  white-space: nowrap;
}
.tob-tag {
  font-size: 0.7rem;
  color: var(--text-muted);
  display: block;
}
.td-place {
  font-size: 0.82rem;
  color: var(--text-body);
}
.type-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 12px;
  font-size: 0.72rem;
  text-transform: capitalize;
  background: rgba(124, 58, 237, 0.2);
  border: 1px solid var(--border);
  color: var(--moonwhite);
  white-space: nowrap;
}
.td-signs {
  font-size: 0.78rem;
  color: var(--gold-light);
  white-space: nowrap;
}
.table-del-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  opacity: 0.6;
  transition: opacity 0.2s;
  padding: 4px;
}
.table-del-btn:hover {
  opacity: 1;
}

.admin-empty-state {
  text-align: center;
  padding: 60px 20px;
}
.empty-icon {
  font-size: 3rem;
  margin-bottom: 12px;
  opacity: 0.5;
}
.admin-empty-state h4 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--moonwhite);
  margin-bottom: 6px;
}
.admin-empty-state p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.admin-dashboard-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(124, 58, 237, 0.15);
  font-size: 0.75rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 10px;
}
.admin-logout-link {
  background: none;
  border: none;
  color: var(--rose);
  cursor: pointer;
  font-size: 0.78rem;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .dashboard-card {
    padding: 20px 14px;
    width: 100%;
    max-height: 94vh;
  }
  .admin-stats-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .dashboard-title {
    font-size: 1.15rem;
  }
}
