/* Pokemon Fusion site skin ------------------------------------------------- */
:root {
  --poke-red: #e3350d;
  --poke-red-dark: #b2290a;
  --poke-black: #1b1b1b;
  --poke-white: #f7f7f7;
  --poke-gray: #ececec;
  --accent-electric: #ffd100; /* Pikachu yellow */
  --shadow-soft: 0 8px 20px rgba(0,0,0,.12);
  --radius-xl: 1.25rem;
}

/* Typography (layout/background handled in custom.css) */
body {
  font-family: "Nunito", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}
h1, h2, .navbar-brand {
  font-family: "Press Start 2P", monospace;
  letter-spacing: .5px;
}

/* Navbar: Pokéball stripe motif */
.navbar {
  background: linear-gradient(180deg, var(--poke-red), var(--poke-red-dark));
  box-shadow: var(--shadow-soft);
}
.navbar .nav-link,
.navbar .navbar-brand {
  color: #fff !important;
}
.navbar .dropdown-menu {
  border-radius: .75rem;
  overflow: hidden;
}

/* Brand mark with Pokéball */
.navbar-brand .brand-mark {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
}
.brand-pokeball {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  position: relative;
  box-shadow: inset 0 0 0 3px var(--poke-black), 0 3px 0 rgba(0,0,0,.15);
}
.brand-pokeball:before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 18px solid var(--poke-black);
}
.brand-pokeball:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--poke-white);
  box-shadow: 0 0 0 3px var(--poke-black);
}

/* Cards */
.card {
  border: 0;
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius-xl);
}
.card .card-title {
  font-weight: 900;
}
.badge {
  border-radius: 999px;
  padding: .4rem .65rem;
  font-weight: 700;
  letter-spacing: .2px;
}

/* Links */
a { color: var(--poke-red); }
a:hover,
a:focus {
  color: var(--poke-red-dark);
  text-decoration: underline;
}

/* Buttons */
/* Our custom red pill button */
.btn-poke {
  background: linear-gradient(180deg, var(--poke-red), var(--poke-red-dark));
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: .6rem 1rem;
  font-weight: 800;
  box-shadow: 0 4px 0 rgba(0,0,0,.15);
}
.btn-poke:hover {
  filter: brightness(1.05);
  color: #fff;
}

/* Bootstrap primary -> Poké red (all states) */
.btn-primary {
  background-color: var(--poke-red) !important;
  border-color: var(--poke-red) !important;
  background-image: none !important;
  color: #fff !important;
  box-shadow: none;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary:active:focus,
.btn-primary:focus:hover,
.show > .btn-primary.dropdown-toggle {
  background-color: var(--poke-red-dark) !important;
  border-color: var(--poke-red-dark) !important;
  background-image: none !important;
  color: #fff !important;
  box-shadow: 0 0 0 .2rem rgba(204,0,0,.25);
}

/* Outline/Link buttons */
.btn-outline-primary,
.btn-outline-primary:focus {
  color: var(--poke-red);
  border-color: var(--poke-red);
}
.btn-outline-primary:hover,
.btn-outline-primary:active,
.btn-outline-primary:focus:hover {
  color: #fff;
  background-color: var(--poke-red);
  border-color: var(--poke-red);
}
.btn-link { color: var(--poke-red); }
.btn-link:hover,
.btn-link:focus {
  color: var(--poke-red-dark);
}

/* Override Evennia's legacy blue "playbutton" */
a.playbutton {
  box-shadow: 0px 1px 10px 5px rgba(204,0,0,.25);
  background: linear-gradient(to bottom, var(--poke-red) 5%, var(--poke-red-dark) 100%);
  background-color: var(--poke-red);
  border-radius: 12px;
  border: 1px solid var(--poke-red-dark);
  display: inline-block;
  cursor: pointer;
  color: #ffffff !important;
  font-family: Arial;
  font-size: 19px;
  padding: 14px 37px;
  text-decoration: none;
  text-shadow: 0px 1px 0px rgba(0,0,0,.35);
}
a.playbutton:hover {
  background: linear-gradient(to bottom, var(--poke-red-dark) 5%, var(--poke-red) 100%);
  background-color: var(--poke-red-dark);
}

/* Navbar hover/active polish */
.navbar .nav-link { font-weight: 800; }
.navbar .nav-link:hover,
.navbar .nav-link:focus { color: #fff; }
.navbar .nav-link.active { position: relative; }
.navbar .nav-link.active::after {
  content: "";
  position: absolute;
  left: .5rem;
  right: .5rem;
  bottom: .35rem;
  height: 2px;
  background: rgba(255,255,255,.85);
}

/* Keyboard-only focus */
:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--poke-red);
  outline-offset: 2px;
}

/* Type chips (full modern set) */
.type-chip {
  display:inline-block;
  padding:.2rem .55rem;
  border-radius:999px;
  font-weight:800;
  font-size:.78rem;
  line-height:1;
  color:#fff;
  text-shadow: 0 1px 0 rgba(0,0,0,.15);
  margin-right:.25rem;
}
.type-normal    { background:#A8A77A; }
.type-fire      { background:#EE8130; }
.type-water     { background:#6390F0; }
.type-electric  { background:#F7D02C; color:#222; text-shadow:none; }
.type-grass     { background:#7AC74C; }
.type-ice       { background:#96D9D6; color:#222; text-shadow:none; }
.type-fighting  { background:#C22E28; }
.type-poison    { background:#A33EA1; }
.type-ground    { background:#E2BF65; color:#222; text-shadow:none; }
.type-flying    { background:#A98FF3; }
.type-psychic   { background:#F95587; }
.type-bug       { background:#A6B91A; color:#222; text-shadow:none; }
.type-rock      { background:#B6A136; color:#222; text-shadow:none; }
.type-ghost     { background:#735797; }
.type-dragon    { background:#6F35FC; }
.type-dark      { background:#705746; }
.type-steel     { background:#B7B7CE; color:#222; text-shadow:none; }
.type-fairy     { background:#D685AD; }

/* Tiny circular indicator for primary type */
.type-dot {
  display:inline-block;
  width:.75rem; height:.75rem; border-radius:50%;
  margin-right:.5rem; vertical-align:middle;
  box-shadow:0 0 0 2px rgba(0,0,0,.08);
}
.type-dot.type-normal   { background:#A8A77A; }
.type-dot.type-fire     { background:#EE8130; }
.type-dot.type-water    { background:#6390F0; }
.type-dot.type-electric { background:#F7D02C; }
.type-dot.type-grass    { background:#7AC74C; }
.type-dot.type-ice      { background:#96D9D6; }
.type-dot.type-fighting { background:#C22E28; }
.type-dot.type-poison   { background:#A33EA1; }
.type-dot.type-ground   { background:#E2BF65; }
.type-dot.type-flying   { background:#A98FF3; }
.type-dot.type-psychic  { background:#F95587; }
.type-dot.type-bug      { background:#A6B91A; }
.type-dot.type-rock     { background:#B6A136; }
.type-dot.type-ghost    { background:#735797; }
.type-dot.type-dragon   { background:#6F35FC; }
.type-dot.type-dark     { background:#705746; }
.type-dot.type-steel    { background:#B7B7CE; }
.type-dot.type-fairy    { background:#D685AD; }

/* fallback for unknown */
.type-chip.type-unknown { background:#bbb; color:#222; }
.type-dot.type-unknown { background:#bbb; }
