@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Rajdhani:wght@400;500;600;700&display=swap');

/* Custom DBZ Palette Variables */
:root {
  /* #01080a - Very dark blue/black */
  --background: hsl(195, 82%, 2%);
  --foreground: hsl(270, 5%, 90%);

  /* #01080a variations for cards */
  --card: hsl(195, 70%, 4%);
  --card-foreground: hsl(270, 5%, 90%);

  --popover: hsl(195, 75%, 3%);
  --popover-foreground: hsl(270, 5%, 90%);

  /* #e76a24 - Vibrant orange as primary */
  --primary: hsl(20, 81%, 52%);
  --primary-foreground: hsl(195, 82%, 2%);

  /* #1c4595 - Blue as secondary */
  --secondary: hsl(218, 68%, 35%);
  --secondary-foreground: hsl(270, 5%, 90%);

  /* Dark variations for muted */
  --muted: hsl(195, 60%, 6%);
  --muted-foreground: hsl(270, 5%, 70%);

  /* #fbbc42 - Gold/yellow as accent */
  --accent: hsl(40, 96%, 62%);
  --accent-foreground: hsl(195, 82%, 2%);

  --destructive: hsl(0, 85%, 55%);
  --destructive-foreground: hsl(270, 5%, 90%);

  /* Borders using blue */
  --border: hsl(218, 50%, 25%);
  --input: hsl(195, 60%, 5%);
  --ring: hsl(20, 81%, 52%);

  --radius: 0.25rem;

  /* Custom colors matching palette */
  --ki-orange: hsl(20, 81%, 52%);
  --ki-gold: hsl(40, 96%, 62%);
  --ki-green: hsl(120, 70%, 45%);
  --ki-red: hsl(0, 80%, 50%);
  --ki-blue: hsl(218, 68%, 35%);
  --ki-dark: hsl(195, 82%, 2%);

  /* Server status colors */
  --online: hsl(120, 70%, 45%);
  --offline: hsl(0, 80%, 50%);

  /* Sidebar using blue theme */
  --sidebar-background: hsl(218, 50%, 12%);
  --sidebar-foreground: hsl(270, 5%, 90%);
  --sidebar-primary: hsl(20, 81%, 52%);
  --sidebar-primary-foreground: hsl(195, 82%, 2%);
  --sidebar-accent: hsl(218, 55%, 18%);
  --sidebar-accent-foreground: hsl(270, 5%, 90%);
  --sidebar-border: hsl(218, 50%, 20%);
  --sidebar-ring: hsl(20, 81%, 52%);
}

* {
  border-color: var(--border);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}

body {
  background-color: var(--background);
  background-image: url('/assets/images/hero-bg-kiverse-v2.jpg') !important;
  background-repeat: no-repeat !important;
  background-size: cover !important;
  background-position: center !important;
  background-attachment: fixed !important;
  color: var(--foreground);
  font-family: 'Rajdhani', sans-serif;
}

/* Ensure default text elements are light colored, but don't override specific color classes */
body {
  color: var(--foreground);
}

/* Default text color for elements without specific color classes */
p:not([class*="text-"]):not(.status-online):not(.status-offline):not(.player-count):not(.news-author):not(.news-date),
span:not([class*="text-"]):not(.status-online):not(.status-offline):not(.player-count):not(.news-author):not(.news-date),
div:not([class*="text-"]):not(.status-online):not(.status-offline):not(.player-count):not(.news-author):not(.news-date) {
  color: var(--foreground);
}

/* Links should be visible but can have accent color on hover */
a:not([class*="text-"]):not(.text-primary):not(.text-accent):not(.top-player-name):not(.sidebar-link) {
  color: var(--foreground);
}

a:hover:not([class*="text-"]):not(.text-primary):not(.text-accent) {
  color: var(--primary);
}

/* Headings - only if they don't have specific color classes */
h1:not([class*="text-"]):not(.dbz-title-primary):not(.dbz-title-accent),
h2:not([class*="text-"]),
h3:not([class*="text-"]),
h4:not([class*="text-"]),
h5:not([class*="text-"]),
h6:not([class*="text-"]) {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  color: var(--foreground);
}

/* Bootstrap text utilities override - only for dark/black classes */
.text-dark, .text-black {
  color: var(--foreground) !important;
}

.text-body:not([class*="text-primary"]):not([class*="text-accent"]) {
  color: var(--foreground);
}

/* DBZ Energy panel style - blue with orange accents */
.wood-panel {
  background: linear-gradient(180deg, hsl(218, 50%, 18%) 0%, hsl(218, 50%, 12%) 100%);
  border: 2px solid hsl(218, 55%, 25%);
  box-shadow: 
    inset 0 1px 0 hsl(218, 55%, 30%),
    inset 0 -1px 0 hsl(218, 50%, 8%),
    0 4px 12px rgba(0, 0, 0, 0.6);
}

.wood-header {
  background: linear-gradient(180deg, hsl(218, 50%, 15%) 0%, hsl(218, 50%, 10%) 100%);
  border: 2px solid hsl(218, 55%, 22%);
  box-shadow: 
    inset 0 1px 0 hsl(218, 55%, 28%),
    0 2px 8px rgba(0, 0, 0, 0.5);
}

.menu-item {
  padding: 0.5rem 1rem;
  color: hsla(270, 5%, 90%, 0.9);
  transition: color 0.2s;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  text-decoration: none;
  display: inline-block;
}

.menu-item:hover {
  color: var(--primary);
  text-shadow: none;
  text-decoration: none;
}

.sidebar-section {
  background: linear-gradient(180deg, hsl(218, 50%, 18%) 0%, hsl(218, 50%, 12%) 100%);
  border: 2px solid hsl(218, 55%, 25%);
  box-shadow: 
    inset 0 1px 0 hsl(218, 55%, 30%),
    inset 0 -1px 0 hsl(218, 50%, 8%),
    0 4px 12px rgba(0, 0, 0, 0.6);
  border-radius: 0.125rem;
  margin-bottom: 1rem;
  overflow: hidden;
}

.top-players-section {
  border: none;
  box-shadow: none;
}

.sidebar-header {
  background: linear-gradient(180deg, hsl(218, 50%, 15%) 0%, hsl(218, 50%, 10%) 100%);
  border: 2px solid hsl(218, 55%, 22%);
  box-shadow: 
    inset 0 1px 0 hsl(218, 55%, 28%),
    0 2px 8px rgba(0, 0, 0, 0.5);
  padding: 0.5rem 1rem;
  text-align: center;
  font-family: 'Cinzel', serif;
  color: var(--primary);
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  text-transform: uppercase;
}

.sidebar-content {
  padding: 1rem;
  overflow-x: hidden;
  word-wrap: break-word;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  color: hsla(270, 5%, 90%, 0.8);
  border-radius: 0.125rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.sidebar-link::before {
  content: "◆";
  color: hsla(20, 81%, 52%, 0.6);
  font-size: 0.75rem;
  transition: all 0.3s;
}

.sidebar-link::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, hsla(20, 81%, 52%, 0.15) 0%, hsla(20, 81%, 52%, 0.05) 100%);
  transition: width 0.3s ease;
  z-index: 0;
}

.sidebar-link:hover {
  color: var(--primary);
  transform: translateX(4px);
  text-shadow: none;
  text-decoration: none;
}

.sidebar-link:hover::before {
  color: var(--primary);
  transform: scale(1.2);
  text-shadow: none;
}

.sidebar-link:hover::after {
  width: 100%;
}

.sidebar-link > * {
  position: relative;
  z-index: 1;
}

.news-card {
  background: linear-gradient(180deg, hsl(218, 50%, 18%) 0%, hsl(218, 50%, 12%) 100%);
  border: 2px solid hsl(218, 55%, 25%);
  box-shadow: 
    inset 0 1px 0 hsl(218, 55%, 30%),
    inset 0 -1px 0 hsl(218, 50%, 8%),
    0 4px 12px rgba(0, 0, 0, 0.6);
  border-radius: 0.125rem;
  padding: 1rem;
  margin-bottom: 0.75rem;
}

.news-date {
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
}

.news-author {
  font-size: 0.875rem;
  color: var(--ki-green);
}

.status-online {
  color: var(--online) !important;
  text-shadow: 0 0 10px hsla(120, 70%, 45%, 0.5) !important;
}

.status-offline {
  color: var(--offline) !important;
}

.player-count {
  color: var(--ki-red) !important;
  font-weight: bold !important;
}

/* Top players grid */
.top-player {
  text-align: center;
  padding: 0.5rem;
}

.top-player-avatar {
  width: 4rem;
  height: 5rem;
  margin: 0 auto 0.5rem;
}

.top-player-name {
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.top-player-name:hover {
  color: var(--accent);
  text-decoration: none;
}

/* Decorative elements */
.leaf-decoration {
  position: absolute;
  color: hsla(120, 60%, 40%, 0.4);
  font-size: 1.5rem;
}

/* Game preview */
.game-preview {
  background: linear-gradient(180deg, hsl(218, 50%, 18%) 0%, hsl(218, 50%, 12%) 100%);
  border: 3px solid hsl(218, 55%, 25%);
  border-radius: 0.125rem;
  overflow: hidden;
}

.game-preview-inner {
  background: linear-gradient(to bottom, var(--muted), var(--background));
  padding: 0.25rem;
  position: relative;
  border: 2px solid hsl(218, 50%, 15%);
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
  0%, 100% { 
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.35);
  }
  50% { 
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.45);
  }
}

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

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

.animate-slide-in {
  animation: slideIn 0.5s ease-out forwards;
}

/* Header styles */
.dbz-header {
  position: relative;
}

.dbz-header-banner {
  height: clamp(180px, 22vw, 320px);
  background-color: #07040f;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
}

@media (min-width: 768px) {
  .dbz-header-banner {
    height: clamp(220px, 20vw, 360px);
  }
}

.dbz-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, hsla(195, 82%, 2%, 0.3), transparent, hsla(195, 82%, 2%, 0.3));
}

.dbz-header-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dbz-logo-container {
  text-align: center;
}

.dbz-logo-image {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 0.5rem;
  animation: float 3s ease-in-out infinite;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.55));
}

.dbz-title {
  font-family: 'Cinzel', serif;
  font-size: 2.5rem;
  letter-spacing: 0.1em;
}

@media (min-width: 768px) {
  .dbz-title {
    font-size: 3rem;
  }
}

.dbz-title-primary {
  color: var(--primary) !important;
  text-shadow: none !important;
}

.dbz-title-accent {
  color: var(--accent) !important;
  text-shadow: none !important;
}

/* Navigation bar */
.dbz-nav {
  background: linear-gradient(180deg, hsl(218, 50%, 15%) 0%, hsl(218, 50%, 10%) 100%);
  border: 2px solid hsl(218, 55%, 22%);
  box-shadow: 
    inset 0 1px 0 hsl(218, 55%, 28%),
    0 2px 8px rgba(0, 0, 0, 0.5);
}

.dbz-nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.5rem;
  margin: 0;
  list-style: none;
}

@media (min-width: 768px) {
  .dbz-nav-list {
    gap: 0.5rem;
  }
}

/* Footer */
.dbz-footer {
  background: linear-gradient(180deg, hsl(218, 50%, 15%) 0%, hsl(218, 50%, 10%) 100%);
  border: 2px solid hsl(218, 55%, 22%);
  box-shadow: 
    inset 0 1px 0 hsl(218, 55%, 28%),
    0 2px 8px rgba(0, 0, 0, 0.5);
  margin-top: 2rem;
  padding: 1.5rem 0;
}

.dbz-footer-content {
  text-align: center;
}

.dbz-footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.dbz-footer-logo img {
  width: 2rem;
  height: 2rem;
}

.dbz-footer-title {
  font-family: 'Cinzel', serif;
  font-size: 1.125rem;
  color: var(--primary);
  letter-spacing: 0.1em;
}

/* Background with hero image */
.dbz-hero-bg {
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-blend-mode: overlay;
}

.dbz-hero-overlay {
  min-height: 100vh;
  background-color: transparent;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  min-width: 100%;
  position: relative;
}

/* Remove default margins from containers */
.container {
  max-width: 100% !important;
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
}

.container-fluid {
  padding-left: 15px;
  padding-right: 15px;
  width: 100%;
}

/* Ensure no white borders */
.row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

[class*="col-"] {
  padding-left: 15px;
  padding-right: 15px;
  position: relative;
}


/* Override Bootstrap body styles */
body {
  margin: 0 !important;
  padding: 0 !important;
}

/* Ensure html has no margins */
html {
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden;
}

/* Remove any white backgrounds that might show through */
body > * {
  background-color: transparent;
}

/* Utility classes - preserve specific colors */
.text-primary {
  color: var(--primary);
}

.text-accent {
  color: var(--accent);
}

.text-muted {
  color: var(--muted-foreground);
}

.text-light {
  color: var(--foreground);
}

.text-white {
  color: var(--foreground);
}

.text-ki-red {
  color: var(--ki-red);
}

.text-ki-blue {
  color: var(--ki-blue);
}

.text-ki-green {
  color: var(--ki-green);
}

.text-ki-orange {
  color: var(--ki-orange);
}

.text-ki-gold {
  color: var(--ki-gold);
}

.bg-background {
  background-color: transparent;
}

.bg-card {
  background-color: var(--card);
}

/* Override Bootstrap default text colors */
.text-body, .text-body-emphasis {
  color: var(--foreground) !important;
}

/* Form Styles */
.form-control {
  background-color: hsl(195, 60%, 5%) !important;
  border: 2px solid hsl(218, 50%, 25%) !important;
  color: var(--foreground) !important;
  padding: 0.75rem !important;
  border-radius: 0.25rem !important;
  transition: all 0.3s ease !important;
}

.form-control:focus {
  background-color: hsl(195, 60%, 7%) !important;
  border-color: hsl(218, 55%, 40%) !important;
  color: var(--foreground) !important;
  box-shadow: 0 0 0 0.2rem hsla(218, 55%, 40%, 0.25) !important;
  outline: none !important;
}

.form-control::placeholder {
  color: hsla(270, 5%, 70%, 0.6) !important;
}

select.form-control {
  cursor: pointer;
  appearance: auto;
}

select.form-control option {
  background-color: hsl(195, 60%, 5%);
  color: var(--foreground);
}

.form-label {
  color: var(--foreground) !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  margin-bottom: 0.5rem !important;
}

.btn.wood-header {
  background: linear-gradient(180deg, hsl(218, 50%, 15%) 0%, hsl(218, 50%, 10%) 100%) !important;
  border: 2px solid hsl(218, 55%, 22%) !important;
  box-shadow: 
    inset 0 1px 0 hsl(218, 55%, 28%),
    0 2px 8px rgba(0, 0, 0, 0.5) !important;
  transition: all 0.3s ease !important;
}

.btn.wood-header:hover {
  background: linear-gradient(180deg, hsl(218, 50%, 18%) 0%, hsl(218, 50%, 13%) 100%) !important;
  border-color: hsl(218, 55%, 40%) !important;
  box-shadow: 
    inset 0 1px 0 hsl(218, 55%, 30%),
    0 4px 12px rgba(0, 0, 0, 0.6) !important;
  transform: translateY(-1px);
}

.alert-danger {
  background-color: hsla(0, 85%, 55%, 0.2) !important;
  border: 2px solid hsl(0, 85%, 55%) !important;
  color: hsl(0, 85%, 75%) !important;
  border-radius: 0.25rem !important;
  padding: 0.75rem 1rem !important;
}

.border-top {
  border-top: 1px solid hsl(218, 50%, 25%) !important;
}

/* Override feed.css white background and text */
.feed {
  background-color: transparent !important;
  color: var(--foreground) !important;
}

.feed * {
  color: var(--foreground) !important;
}

.feed p, .feed span, .feed div, .feed h1, .feed h2, .feed h3, .feed h4, .feed h5, .feed h6 {
  color: var(--foreground) !important;
}

/* Ensure all Bootstrap components have light text */
.card, .card-body, .card-header, .card-footer {
  color: var(--foreground) !important;
  background-color: var(--card) !important;
}

/* Table Styles */
.table {
  width: 100%;
  border-collapse: collapse;
  color: var(--foreground) !important;
  background-color: transparent !important;
  margin-bottom: 0;
}

.table thead {
  background: linear-gradient(180deg, hsl(218, 50%, 15%) 0%, hsl(218, 50%, 10%) 100%) !important;
  border-bottom: 2px solid hsl(218, 55%, 25%) !important;
}

.table thead th {
  color: var(--primary) !important;
  font-family: 'Cinzel', serif;
  font-weight: 600;
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 2px solid hsl(218, 55%, 25%) !important;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  background-color: transparent !important;
}

.table tbody {
  background-color: transparent !important;
}

.table tbody tr {
  border-bottom: 1px solid hsla(218, 50%, 25%, 0.5);
  transition: background-color 0.2s ease;
  background-color: transparent !important;
}

.table tbody tr:hover {
  background-color: hsla(195, 60%, 6%, 0.5) !important;
}

.table tbody td {
  padding: 0.75rem 1rem;
  color: var(--foreground) !important;
  vertical-align: middle;
  background-color: transparent !important;
  border: none !important;
}

.table tbody tr:last-child {
  border-bottom: none;
}

/* Table responsive wrapper */
.table-responsive {
  background-color: transparent !important;
  border: none !important;
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table-responsive > .table {
  margin-bottom: 0;
  width: 100%;
  min-width: 600px;
}

/* Narrow feed panels: fit the container — no forced min-width / horizontal scroll */
.sidebar-section .table-responsive {
  overflow-x: hidden;
}

.sidebar-section .table-responsive > .table {
  min-width: 0;
  table-layout: fixed;
}

.sidebar-section .table-responsive > .table th,
.sidebar-section .table-responsive > .table td {
  overflow-wrap: break-word;
  word-break: normal;
}

.sidebar-section .table-responsive > .table thead th {
  white-space: nowrap;
}

/* Player profile (Buscar Jogador) */
.player-profile {
  margin-top: 0.5rem;
}

.player-profile-hero {
  display: flex;
  align-items: flex-end;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid hsla(218, 50%, 25%, 0.55);
}

.player-profile-sprite {
  flex: 0 0 auto;
  width: 32px;
  height: 64px;
  object-fit: contain;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.player-profile-hero-text {
  min-width: 0;
  flex: 1;
  padding-bottom: 0.15rem;
}

.player-profile-name {
  font-family: 'Cinzel', serif;
  color: var(--primary);
  font-size: 1.5rem;
  margin: 0 0 0.35rem;
  line-height: 1.2;
  overflow-wrap: break-word;
}

.player-profile-meta {
  margin: 0;
  color: hsla(270, 5%, 90%, 0.8);
  font-size: 0.95rem;
}

.player-profile-sep {
  margin: 0 0.4rem;
  opacity: 0.5;
}

.player-profile-guild {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.player-profile-guild:hover {
  text-decoration: underline;
  color: var(--primary);
}

.player-profile-rank {
  margin-left: 0.35rem;
  color: hsla(270, 5%, 90%, 0.65);
  font-weight: 400;
}

.player-profile-title {
  font-family: 'Cinzel', serif;
  color: var(--primary);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 1.25rem 0 0.5rem;
}

.player-stat-list {
  margin: 0;
  padding: 0;
  border: 1px solid hsla(218, 50%, 25%, 0.55);
  border-radius: 0.125rem;
  overflow: hidden;
}

.player-stat-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid hsla(218, 50%, 25%, 0.35);
  background: transparent;
}

.player-stat-row:nth-child(even) {
  background: hsla(195, 60%, 6%, 0.28);
}

.player-stat-row:last-child {
  border-bottom: none;
}

.player-stat-row dt {
  margin: 0;
  color: hsla(270, 5%, 90%, 0.78);
  font-weight: 500;
}

.player-stat-row dd {
  margin: 0;
  text-align: right;
  color: var(--foreground);
  font-variant-numeric: tabular-nums;
}

/* Table in sidebar-section */
.sidebar-section .table {
  margin: 0;
  background-color: transparent !important;
}

.sidebar-section .table thead {
  background: linear-gradient(180deg, hsl(218, 50%, 15%) 0%, hsl(218, 50%, 10%) 100%) !important;
}

.sidebar-section .table thead th {
  background: transparent !important;
  border-bottom: 2px solid hsl(218, 55%, 25%) !important;
}

.sidebar-section .table tbody tr {
  border-bottom: 1px solid hsla(218, 50%, 25%, 0.3);
  background-color: transparent !important;
}

.sidebar-section .table tbody td {
  background-color: transparent !important;
}

/* Override Bootstrap table styles */
.table-striped tbody tr:nth-of-type(odd) {
  background-color: transparent !important;
}

.table-striped tbody tr:nth-of-type(odd):hover {
  background-color: hsla(195, 60%, 6%, 0.5) !important;
}

/* Override any black text from Bootstrap */
.text-black-50, .text-black {
  color: var(--foreground) !important;
  opacity: 0.8 !important;
}

.shop-offer {
  height: 100%;
  overflow: hidden;
}

.shop-offer .shop-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center center;
  display: block;
  border-bottom: 2px solid hsl(218, 55%, 22%);
}

/* Vocações com rosto no topo da arte — cover central cortava a cabeça */
.shop-offer .shop-image.shop-image--face-top {
  object-position: center top;
}

/* Vegetto: um pouco mais baixo que o topo puro */
.shop-offer .shop-image.shop-image--face-mid {
  object-position: center 18%;
}

.shop-offer-placeholder {
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: hsl(195, 60%, 5%);
  border-bottom: 2px solid hsl(218, 55%, 22%);
  color: hsla(270, 5%, 90%, 0.6);
}

.btn-danger-panel {
  background: hsl(0, 70%, 32%) !important;
  border: 2px solid hsl(0, 70%, 42%) !important;
  color: #fff !important;
  font-weight: 600;
}

.btn-danger-panel:hover {
  background: hsl(0, 75%, 38%) !important;
  border-color: hsl(0, 80%, 50%) !important;
  color: #fff !important;
}

/* Wiki quests/systems buttons — darker cyan for white text contrast */
.btn-wiki-cyan {
  background: hsl(190, 72%, 28%) !important;
  border: 2px solid hsl(190, 70%, 36%) !important;
  color: #fff !important;
  font-weight: 700;
}

.btn-wiki-cyan:hover,
.btn-wiki-cyan:focus {
  background: hsl(190, 75%, 34%) !important;
  border-color: hsl(190, 80%, 45%) !important;
  color: #fff !important;
}

.btn-wiki-cyan b,
.btn-wiki-cyan img {
  color: #fff !important;
  vertical-align: middle;
}

