/* personal.css — Botanica Noir design system for personal area (port 8010) */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400;1,600&family=DM+Sans:wght@400;500;700;800&family=DM+Mono:wght@400;500&display=swap');

/* ── CSS vars additions ───────────────────────────────────────── */
:root {
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:    'DM Sans', system-ui, -apple-system, sans-serif;
  --font-mono:    'DM Mono', 'Courier New', monospace;
  --gold:         #c9a84c;
  --gold-dim:     rgba(201,168,76,0.10);
  --gold-border:  rgba(201,168,76,0.22);
}

/* ── Base font override ───────────────────────────────────────── */
html, body, input, button, select, textarea {
  font-family: var(--font-body) !important;
}

/* ── Entrance animation ───────────────────────────────────────── */
@keyframes pa-up {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
.pa-in {
  animation: pa-up 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.pa-in:nth-child(1) { animation-delay: 0.03s; }
.pa-in:nth-child(2) { animation-delay: 0.08s; }
.pa-in:nth-child(3) { animation-delay: 0.13s; }
.pa-in:nth-child(4) { animation-delay: 0.18s; }
.pa-in:nth-child(5) { animation-delay: 0.23s; }
.pa-in:nth-child(6) { animation-delay: 0.28s; }
.pa-in:nth-child(7) { animation-delay: 0.33s; }

/* ── Typography ───────────────────────────────────────────────── */
.pa-display,
.hero-title,
.section-title,
.welcome-name {
  font-family: var(--font-display) !important;
  letter-spacing: 0.01em;
}
.pa-mono,
.stat .value,
.stat-value,
.price,
.mini-stat {
  font-family: var(--font-mono) !important;
  letter-spacing: -0.02em;
}

/* ── Gold accent for numbers ──────────────────────────────────── */
.pa-gold { color: var(--gold) !important; }
.stat .value,
.stat-value {
  color: var(--gold);
}

/* ── Nav: active dot indicator ────────────────────────────────── */
.nav-item { position: relative !important; }
.nav-item.active::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px rgba(74,222,128,0.9), 0 0 16px rgba(74,222,128,0.4);
}

/* ── Tile hover lift ──────────────────────────────────────────── */
.tile {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  will-change: transform;
}
.tile:active {
  transform: scale(0.97);
}
@media (hover: hover) {
  .tile:hover {
    transform: translateY(-2px);
    border-color: rgba(34,197,94,0.35) !important;
    box-shadow: 0 16px 36px rgba(0,0,0,0.50), 0 0 0 1px rgba(34,197,94,0.14) !important;
  }
}

/* ── Card hover glow ──────────────────────────────────────────── */
.item {
  transition: border-color 0.18s ease;
}
@media (hover: hover) {
  .item:hover {
    border-color: rgba(34,197,94,0.28) !important;
  }
}

/* ── Subtle grain texture on body ────────────────────────────── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.018;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 150px 150px;
}

/* ── Home: redesigned tiles ───────────────────────────────────── */
.pa-tiles { display: grid; gap: 11px; }
.pa-tile-featured {
  display: flex; align-items: center; gap: 16px;
  padding: 20px 18px;
  border: 1px solid rgba(34,197,94,0.30);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(34,197,94,0.16) 0%, rgba(34,197,94,0.05) 100%);
  box-shadow: 0 12px 32px rgba(0,0,0,.40), inset 0 1px 0 rgba(34,197,94,0.15);
  color: var(--fg); text-decoration: none;
}
.pa-tile-featured .pa-tile-ico {
  font-size: 28px; flex-shrink: 0; line-height: 1;
}
.pa-tile-featured .pa-tile-body { flex: 1; min-width: 0; }
.pa-tile-featured .pa-tile-name {
  font-family: var(--font-display) !important;
  font-size: 22px; font-weight: 700; line-height: 1.1; color: #e2faea;
}
.pa-tile-featured .pa-tile-sub {
  font-size: 13px; color: var(--muted); margin-top: 3px;
}
.pa-tile-arrow {
  color: rgba(74,222,128,0.55); flex-shrink: 0; font-size: 20px;
}
.pa-tile-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }
.pa-tile {
  display: flex; align-items: center; gap: 12px;
  padding: 14px;
  border: 1px solid rgba(34,197,94,0.15);
  border-radius: 16px;
  background: rgba(34,197,94,0.05);
  box-shadow: 0 8px 22px rgba(0,0,0,.32);
  color: var(--fg); text-decoration: none; font-weight: 700;
}
.pa-tile .pa-tile-ico { font-size: 20px; flex-shrink: 0; }
.pa-tile .pa-tile-name { font-size: 14px; font-weight: 700; }

/* ── Login: club name hero ────────────────────────────────────── */
.pa-login-hero {
  text-align: center; margin-bottom: 28px; margin-top: 8px;
}
.pa-login-club {
  font-family: var(--font-display) !important;
  font-size: 36px; font-weight: 700; line-height: 1.1;
  color: #e8f9ee; letter-spacing: 0.02em;
}
.pa-login-sub {
  font-size: 13px; color: var(--muted); margin-top: 6px; letter-spacing: 0.05em; text-transform: uppercase;
}
.pa-login-leaf {
  font-size: 32px; display: block; margin-bottom: 12px;
  animation: pa-up 0.5s ease both;
}

/* ── Stat card enhancement ────────────────────────────────────── */
.pa-stat {
  display: flex; flex-direction: column; gap: 2px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: 0 8px 24px rgba(0,0,0,0.38);
}
.pa-stat .pa-stat-label {
  color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.07em;
}
.pa-stat .pa-stat-value {
  font-family: var(--font-mono) !important;
  font-size: 22px; font-weight: 500; color: var(--gold);
  margin-top: 2px; line-height: 1.1;
}
.pa-stat .pa-stat-unit {
  font-size: 12px; color: var(--muted); margin-top: 1px;
}
