/* shared.css — Variables CSS et styles communs PokéMartin */
:root {
  --yellow: #ffd60a;
  --dark:   #0a0e1a;
  --card:   #111827;
  --card2:  #0f1829;
  --text:   #e8e8f0;
  --muted:  #8892a4;
  --border: #2a3a5c;
  --lb:     #4da6ff;
  --ch:     #4da6ff;
  --green:  #3fb950;
  --red:    #e63946;
  --orange: #f6ad55;
  --radius: 14px;
}

/* Reset minimal */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', system-ui, sans-serif; background: var(--dark); color: var(--text); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
img { display: block; }

/* Boutons communs */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px; border-radius: 8px; border: none;
  cursor: pointer; font-weight: 700; font-size: .82rem;
  transition: all .18s; font-family: inherit; text-decoration: none;
}
.btn-ghost { background: transparent; color: var(--muted); border: 1px solid var(--border); }
.btn-ghost:hover { color: var(--text); border-color: var(--muted); }
.btn-yellow { background: var(--yellow); color: #000; }
.btn-yellow:hover { background: #ffc200; transform: translateY(-1px); }
.btn-red { background: rgba(230,57,70,.15); color: #f87171; border: 1px solid rgba(230,57,70,.3); }
.btn-red:hover { background: rgba(230,57,70,.25); }
.btn-green { background: rgba(63,185,80,.15); color: var(--green); border: 1px solid rgba(63,185,80,.3); }
.btn-pro { background: rgba(255,214,10,.08); color: var(--yellow); border: 1px solid rgba(255,214,10,.25); font-size: .75rem; padding: 5px 12px; }
.btn-pro:hover { background: rgba(255,214,10,.15); }

/* Header commun */
header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(10,14,26,.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border); padding: 0 24px;
}
.header-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 14px; height: 60px; }
.logo-wrap { display: flex; align-items: center; gap: 10px; }
.logo-wrap img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid var(--yellow); }
.logo-name { font-weight: 900; font-size: 1.1rem; color: var(--yellow); }
.header-nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }

/* Footer commun */
footer { background: var(--card); border-top: 1px solid var(--border); padding: 24px; text-align: center; }
footer p { color: var(--muted); font-size: .78rem; }
footer a { color: var(--lb); }

/* Utilitaires */
.text-yellow { color: var(--yellow); }
.text-muted  { color: var(--muted); }
.fw-bold     { font-weight: 700; }

/* Bouton favoris (wishlist) */
.wish-btn {
  position: absolute; top: 4px; right: 4px; z-index: 5;
  width: 44px; height: 44px; border-radius: 50%; border: none;
  background: rgba(10,14,26,.6); backdrop-filter: blur(4px);
  color: #fff; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .15s; padding: 0;
}
.wish-btn:hover { background: rgba(10,14,26,.85); color: #ff6b81; }
.wish-btn.active { color: #ff6b81; }
.wish-btn.wish-btn-shift { right: 50px; }
