:root {
  color-scheme: dark;
  --bg-black: #0a0a0b;
  --bg-graphite: #15161a;
  --bg-graphite-soft: #1c1d22;
  --panel-top: #1a1b20;
  --panel-bottom: #101116;
  --color-gold: #d4af37;
  --color-gold-light: #f5d76e;
  --color-gold-dark: #b8860b;
  --text-primary: #e8e6df;
  --text-secondary: #9a958a;
  --error: #c0392b;
  --success: #2ecc71;
  --cyan: #7fe7ff;
  --rare: #3498db;
  --epic: #a855f7;
  --epic-light: #c084fc;
  --epic-deep: #9b59b6;
  --common: #9a958a;
  --legendary-text: #f5d76e;
  --legendary-glow: rgba(212, 175, 55, 0.24);
  --epic-glow: rgba(168, 85, 247, 0.2);
  --panel-border: rgba(245, 215, 110, 0.28);
  --shadow-gold: 0 0 28px rgba(212, 175, 55, 0.12);
  --shadow-gold-strong: 0 0 34px rgba(212, 175, 55, 0.24);
  --ring: 0 0 0 3px rgba(212, 175, 55, 0.28);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top, rgba(212, 175, 55, 0.14), transparent 28%),
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 100%),
    radial-gradient(circle at 80% 36%, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 100%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.015) 0 1px, transparent 1px 18px),
    linear-gradient(180deg, var(--bg-graphite-soft) 0%, var(--bg-black) 42%, #070708 100%);
  color: var(--text-primary);
}

::selection {
  background: var(--color-gold);
  color: #090909;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #090909;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--color-gold-light), var(--color-gold-dark));
  border-radius: 999px;
}

a,
button,
input {
  transition: all 200ms ease;
}

button,
[type="submit"],
[role="button"] {
  cursor: pointer;
}

:focus-visible {
  outline: none;
  box-shadow: var(--ring);
}

.theme-body {
  min-height: 100vh;
}

.auth-card,
.panel-surface,
.item-card {
  background: linear-gradient(180deg, rgba(26, 27, 32, 0.98), rgba(16, 17, 22, 0.98));
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow-gold), 0 16px 60px rgba(0, 0, 0, 0.55);
  position: relative;
  overflow: hidden;
}

.auth-card::before,
.panel-surface::before,
.item-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(245, 215, 110, 0.08), transparent 18%, transparent 82%, rgba(245, 215, 110, 0.06));
}

.auth-ornament {
  position: relative;
  padding-top: 1.25rem;
}

.auth-ornament::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 9rem;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.auth-ornament::after {
  content: "";
  position: absolute;
  top: -0.35rem;
  left: 50%;
  width: 0.85rem;
  height: 0.85rem;
  transform: translateX(-50%) rotate(45deg);
  border: 1px solid rgba(245, 215, 110, 0.7);
  background: linear-gradient(135deg, rgba(245, 215, 110, 0.45), rgba(184, 134, 11, 0.25));
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.18);
}

.brand-medallion {
  color: var(--color-gold-light);
  border: 1px solid rgba(245, 215, 110, 0.45);
  background: radial-gradient(circle at 30% 30%, rgba(245, 215, 110, 0.24), rgba(10, 10, 11, 0.92));
  box-shadow: inset 0 0 16px rgba(245, 215, 110, 0.08), 0 0 22px rgba(212, 175, 55, 0.14);
}

.eyebrow,
.item-stat {
  color: var(--text-secondary);
  letter-spacing: 0.24em;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.72rem;
}

.auth-title,
.section-title,
.item-title {
  font-family: "Cinzel Decorative", serif;
  color: var(--color-gold-light);
  letter-spacing: 0.06em;
  text-shadow: 0 2px 14px rgba(212, 175, 55, 0.14);
}

.auth-subtitle,
.form-label {
  color: var(--text-secondary);
}

.auth-input {
  width: 100%;
  color: var(--text-primary);
  background: rgba(7, 7, 9, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.auth-input::placeholder {
  color: rgba(154, 149, 138, 0.72);
}

.auth-input:hover,
.auth-input:focus {
  border-color: rgba(245, 215, 110, 0.72);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12), 0 0 20px rgba(212, 175, 55, 0.1);
}

.auth-input[aria-invalid="true"] {
  border-color: rgba(192, 57, 43, 0.95);
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.14), 0 0 16px rgba(192, 57, 43, 0.2);
}

.form-error {
  color: #ff8f82;
}

.form-error:not(.hidden)::before {
  content: "⚠ ";
  color: var(--error);
}

.feedback-success {
  color: #9ef2bf;
  border: 1px solid rgba(46, 204, 113, 0.3);
  background: rgba(46, 204, 113, 0.08);
}

.feedback-error {
  color: #ffb3ab;
  border: 1px solid rgba(192, 57, 43, 0.35);
  background: rgba(192, 57, 43, 0.1);
}

.primary-button {
  color: #090909;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  background: linear-gradient(180deg, var(--color-gold-light), var(--color-gold-dark));
  box-shadow: 0 8px 22px rgba(212, 175, 55, 0.2);
}

.primary-button:hover,
.primary-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold-strong), 0 14px 26px rgba(0, 0, 0, 0.4);
  filter: brightness(1.04);
}

.primary-button:disabled {
  transform: none;
  filter: saturate(0.7);
}

.secondary-link,
.secondary-button {
  color: var(--color-gold-light);
  border: 1px solid rgba(245, 215, 110, 0.42);
}

.secondary-button,
.wallet-balance,
.nft-verified,
.verified-badge,
.rarity-badge {
  background: rgba(10, 10, 11, 0.68);
}

.secondary-button:hover,
.secondary-button:focus-visible,
.secondary-link:hover,
.secondary-link:focus-visible {
  color: var(--color-gold-light);
  border-color: rgba(245, 215, 110, 0.8);
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.12);
}

.wallet-balance {
  border: 1px solid rgba(245, 215, 110, 0.24);
  color: var(--text-primary);
}

.marketplace-page {
  background:
    radial-gradient(circle at top center, rgba(212, 175, 55, 0.16), transparent 24%),
    radial-gradient(circle at 25% 12%, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 100%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.015) 0 1px, transparent 1px 20px),
    linear-gradient(180deg, #191a1f 0%, var(--bg-black) 40%, #050506 100%);
}

.item-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 1.25rem;
}

.item-card {
  --card-accent: rgba(154, 149, 138, 0.45);
  --card-accent-solid: var(--common);
  --card-text: #d5d0c6;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1rem;
  border: 2px solid var(--card-accent);
  border-radius: 1.25rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.item-card__badges {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.rarity-badge,
.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rarity-badge--legendary {
  color: #16120a;
  background: linear-gradient(180deg, var(--color-gold-light), var(--color-gold));
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.18);
}

.rarity-badge--epic {
  color: #f7ecff;
  background: linear-gradient(180deg, var(--epic-light), var(--epic));
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.18);
}

.verified-badge {
  margin-left: auto;
  color: #dff9ff;
  border: 1px solid rgba(127, 231, 255, 0.22);
  background: rgba(13, 19, 24, 0.82);
}

.verified-badge span[aria-hidden="true"] {
  color: var(--cyan);
  text-shadow: 0 0 14px rgba(127, 231, 255, 0.3);
}

.item-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 1rem;
  border-radius: 1rem;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.04), transparent 45%),
    linear-gradient(180deg, rgba(17, 18, 24, 0.95), rgba(9, 10, 13, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.item-card__image {
  width: 100%;
  height: 240px;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.38));
}

.item-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1rem;
  padding-top: 1rem;
}

.item-card__title {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.28;
  color: var(--card-text);
  text-shadow: 0 0 14px color-mix(in srgb, var(--card-accent-solid) 22%, transparent);
}

.item-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.item-card__quality {
  color: #cbc5b7;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.item-card__price {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--color-gold-light);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.item-card__price span[aria-hidden="true"] {
  font-size: 1.1rem;
}

.item-card__button {
  width: 100%;
  margin-top: auto;
}

.rarity-common {
  --card-accent: rgba(154, 149, 138, 0.35);
  --card-accent-solid: var(--common);
  --card-text: #c8c4bc;
}

.rarity-rare {
  --card-accent: rgba(52, 152, 219, 0.35);
  --card-accent-solid: var(--rare);
  --card-text: #8fd3ff;
}

.rarity-epic {
  --card-accent: rgba(168, 85, 247, 0.48);
  --card-accent-solid: var(--epic);
  --card-text: var(--epic-light);
  box-shadow: 0 0 22px rgba(168, 85, 247, 0.14), 0 18px 40px rgba(0, 0, 0, 0.4);
}

.rarity-legendary {
  --card-accent: rgba(212, 175, 55, 0.52);
  --card-accent-solid: var(--color-gold);
  --card-text: var(--legendary-text);
  animation: legendaryCardPulse 3.2s ease-in-out infinite;
}

@keyframes legendaryCardPulse {
  0%, 100% {
    box-shadow: 0 0 18px rgba(212, 175, 55, 0.16), 0 18px 40px rgba(0, 0, 0, 0.4);
  }
  50% {
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3), 0 20px 44px rgba(0, 0, 0, 0.42);
  }
}

@media (min-width: 640px) {
  .item-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .item-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1440px) {
  .item-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .auth-card,
  .panel-surface,
  .item-card {
    border-radius: 1.15rem;
  }

  .item-card {
    padding: 0.9rem;
  }

  .item-card__badges,
  .item-card__meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .verified-badge {
    margin-left: 0;
  }

  .item-card__media {
    min-height: 240px;
    padding: 0.85rem;
  }

  .item-card__image {
    height: 200px;
  }

  .item-card__title {
    font-size: 1.06rem;
  }
}

/* ===== RARITY BADGES (extras) ===== */

.rarity-badge--rare {
  color: #daf3ff;
  background: linear-gradient(180deg, #8fd3ff, var(--rare));
  box-shadow: 0 0 18px rgba(52, 152, 219, 0.18);
}

.rarity-badge--common {
  color: #e8e6df;
  background: linear-gradient(180deg, #cbc5b7, var(--common));
  box-shadow: none;
}

/* ===== ACTION BAR ===== */

.action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.action-bar__filter {
  background: rgba(7, 7, 9, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border-radius: 0.75rem;
  padding: 0.6rem 1rem;
  font-size: 0.875rem;
  font-family: inherit;
  cursor: pointer;
  appearance: auto;
}

.action-bar__filter:hover,
.action-bar__filter:focus {
  border-color: rgba(245, 215, 110, 0.72);
  outline: none;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
}

/* ===== CARD OWNER ACTIONS ===== */

.item-card__owner-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.btn-edit,
.btn-delete {
  flex: 1;
  padding: 0.45rem 0.75rem;
  border-radius: 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid;
  background: transparent;
  transition: all 200ms ease;
}

.btn-edit {
  color: var(--color-gold-light);
  border-color: rgba(245, 215, 110, 0.45);
}

.btn-edit:hover {
  background: rgba(245, 215, 110, 0.08);
  border-color: rgba(245, 215, 110, 0.8);
}

.btn-delete {
  color: #ff8f82;
  border-color: rgba(192, 57, 43, 0.45);
}

.btn-delete:hover {
  background: rgba(192, 57, 43, 0.1);
  border-color: rgba(192, 57, 43, 0.8);
}

/* ===== LOADING / EMPTY STATES ===== */

.items-loading,
.items-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  color: var(--text-secondary);
  gap: 0.75rem;
  text-align: center;
  font-size: 0.95rem;
}

/* ===== MODAL ===== */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.modal-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.modal-panel {
  background: linear-gradient(180deg, #1c1d22, #14151a);
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow-gold-strong), 0 24px 64px rgba(0, 0, 0, 0.65);
  border-radius: 1.5rem;
  padding: 2rem;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(16px) scale(0.98);
  transition: transform 220ms ease;
}

.modal-overlay.is-open .modal-panel {
  transform: translateY(0) scale(1);
}

.modal-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.modal-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.modal-image-preview {
  margin-top: 0.5rem;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  max-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 11, 0.6);
}

.modal-image-preview img {
  max-width: 100%;
  max-height: 160px;
  object-fit: contain;
}

/* textarea + select inside modal inherit auth-input styles */
textarea.auth-input {
  resize: vertical;
  min-height: 80px;
}

.auth-select,
select.auth-input {
  background: rgba(7, 7, 9, 0.95);
  appearance: auto;
}

@media (max-width: 480px) {
  .modal-panel {
    padding: 1.25rem;
  }

  .modal-row {
    grid-template-columns: 1fr;
  }

  .action-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .action-bar__filter {
    width: 100%;
  }
}

/* ===== BOTÃO MEU PERFIL (header) ===== */

.profile-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.9rem;
  border-radius: 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  border: 1px solid rgba(245, 215, 110, 0.52);
  background: rgba(10, 10, 11, 0.55);
  transition: all 200ms ease;
}

.profile-btn:hover,
.profile-btn:focus-visible {
  color: var(--color-gold-light);
  border-color: rgba(245, 215, 110, 0.9);
  background: rgba(245, 215, 110, 0.07);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.12);
}

/* ===== AVISO PERFIL INCOMPLETO ===== */

.profile-incomplete-warning {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  padding: 0.65rem 1rem;
  border-radius: 0.75rem;
  font-size: 0.82rem;
  color: #e8d58a;
  background: rgba(212, 175, 55, 0.07);
  border: 1px solid rgba(212, 175, 55, 0.22);
}

.profile-incomplete-warning.hidden {
  display: none;
}

.profile-incomplete-warning__link {
  color: var(--color-gold-light);
  font-weight: 600;
  text-decoration: underline;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: inherit;
  transition: color 150ms ease;
}

.profile-incomplete-warning__link:hover {
  color: #fff;
}

/* ===== MODAL CONTATAR VENDEDOR ===== */

.contact-modal-panel {
  max-width: 420px;
}

.contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
}

.contact-label {
  flex-shrink: 0;
  width: 6rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding-top: 0.1rem;
}

.contact-value {
  flex: 1;
  font-size: 0.92rem;
  color: var(--text-primary);
  word-break: break-all;
}

.contact-value--inline {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.contact-not-informed {
  color: var(--text-secondary);
  font-style: italic;
  font-size: 0.85rem;
}

.contact-separator {
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
}

.contact-modal-notice {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding: 0.6rem 0.85rem;
  border-radius: 0.6rem;
  font-size: 0.8rem;
  color: #e8d58a;
  background: rgba(212, 175, 55, 0.07);
  border: 1px solid rgba(212, 175, 55, 0.18);
}

/* Botão Copiar (Discord) */
.btn-copy {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  transition: all 160ms ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-copy:hover,
.btn-copy:focus-visible {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

/* Botão Abrir conversa (WhatsApp) */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  background: #25D366;
  border: none;
  text-decoration: none;
  transition: filter 160ms ease, box-shadow 160ms ease;
  white-space: nowrap;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus-visible {
  filter: brightness(1.1);
  box-shadow: 0 0 14px rgba(37, 211, 102, 0.35);
}

/* ===== SISTEMA DE ESTRELAS ===== */

/* Display (somente leitura) */
.star-rating {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  line-height: 1;
}

.star {
  font-style: normal;
  display: inline-block;
}

.star--full {
  color: var(--color-gold);
  text-shadow: 0 0 6px rgba(212, 175, 55, 0.45);
  font-size: 1rem;
}

.star--half {
  color: var(--color-gold);
  opacity: 0.65;
  font-size: 1rem;
}

.star--empty {
  color: rgba(154, 149, 138, 0.5);
  font-size: 1rem;
}

/* Input interativo */
.star-rating--input {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  cursor: default;
}

.star--input {
  background: none;
  border: none;
  padding: 0 3px;
  font-size: 2rem;
  color: rgba(154, 149, 138, 0.4);
  cursor: pointer;
  transition: color 120ms ease, transform 130ms ease;
  line-height: 1;
}

.star--input.is-selected {
  color: var(--color-gold);
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.star--input.is-hovered {
  color: var(--color-gold-light);
  transform: scale(1.18);
  text-shadow: 0 0 12px rgba(245, 215, 110, 0.5);
}

.star--input:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.5);
  border-radius: 3px;
}

/* ===== LINHA DE AVALIAÇÃO NO CARD ===== */

.seller-rating-line {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  cursor: pointer;
  margin-bottom: 0.25rem;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 160ms ease, color 160ms ease;
  width: fit-content;
}

.seller-rating-line:hover {
  border-bottom-color: var(--color-gold);
}

.seller-rating-line .star--full,
.seller-rating-line .star--half,
.seller-rating-line .star--empty {
  font-size: 0.82rem;
}

.seller-rating-line__text {
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.seller-rating-line--empty {
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-style: italic;
  border-bottom: 1px dashed transparent;
}

.seller-rating-line--empty:hover {
  border-bottom-color: rgba(154, 149, 138, 0.5);
}

/* ===== MODAL DE AVALIAÇÕES (reviews-modal-panel) ===== */

.reviews-modal-panel {
  max-width: 480px;
}

.review-modal-subtitle {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin: 0;
  font-family: "Inter", sans-serif;
}

/* Resumo (média + total) no topo do modal de lista */
.review-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 0.75rem;
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.18);
  flex-wrap: wrap;
}

.review-summary .star--full,
.review-summary .star--half,
.review-summary .star--empty {
  font-size: 1.1rem;
}

.review-summary__score {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-gold-light);
  font-family: "Inter", sans-serif;
}

.review-summary__count {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* Botão Avaliar este Vendedor (no topo da lista) */
.review-list__cta {
  display: block;
  width: 100%;
  margin-bottom: 1rem;
}

/* Lista de itens */
.review-list__items {
  max-height: 340px;
  overflow-y: auto;
  padding-right: 2px;
}

.review-item {
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.review-item:last-child {
  border-bottom: none;
}

.review-item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
  flex-wrap: wrap;
}

.review-item__author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.review-item__date {
  font-size: 0.72rem;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}

.review-item__stars {
  margin-bottom: 0.3rem;
}

.review-item__stars .star--full,
.review-item__stars .star--half,
.review-item__stars .star--empty {
  font-size: 0.9rem;
}

.review-item__comment {
  margin: 0;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
  word-break: break-word;
}

.review-empty {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-style: italic;
  padding: 1rem 0;
  text-align: center;
}

/* ===== RATING SUMMARY NO CONTACT MODAL ===== */

.contact-rating-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.65rem 0;
  flex-wrap: wrap;
}

.contact-rating-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Botão "Ver avaliações" */
.btn-ver-avaliacoes {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  border-radius: 0.4rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-gold-light);
  border: 1px solid rgba(245, 215, 110, 0.4);
  background: rgba(245, 215, 110, 0.06);
  transition: all 160ms ease;
  cursor: pointer;
  white-space: nowrap;
  margin-left: auto;
}

.btn-ver-avaliacoes:hover,
.btn-ver-avaliacoes:focus-visible {
  background: rgba(245, 215, 110, 0.12);
  border-color: rgba(245, 215, 110, 0.75);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.15);
}

/* ===== RESPONSIVO (reviews) ===== */

@media (max-width: 480px) {
  .star--input {
    font-size: 1.7rem;
    padding: 0 2px;
  }

  .review-summary {
    padding: 0.6rem 0.75rem;
  }

  .review-list__items {
    max-height: 260px;
  }

  .review-list__cta {
    font-size: 0.8rem;
    padding: 0.6rem 1rem;
  }

  .btn-ver-avaliacoes {
    margin-left: 0;
  }

  .contact-rating-summary {
    gap: 6px;
  }
}

/* ===== CARD PENDENTE (pending_payment) ===== */

.item-card--pending {
  opacity: 0.6;
  pointer-events: none; /* desabilita interações no card todo */
}

/* Re-habilita interações apenas para impedir acesso acidental — preservar acessibilidade */
.item-card--pending .item-card__image {
  filter: grayscale(0.3) drop-shadow(0 16px 28px rgba(0, 0, 0, 0.38));
}

.pending-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c8c4bc;
  background: rgba(154, 149, 138, 0.22);
  border: 1px solid rgba(154, 149, 138, 0.38);
}

/* ===== PÁGINA PAYMENT-STATUS ===== */

.payment-status-panel {
  max-width: 480px;
}

.payment-status__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto;
  border: 2px solid;
}

.payment-status__icon--success {
  color: #2ecc71;
  border-color: rgba(46, 204, 113, 0.5);
  background: rgba(46, 204, 113, 0.08);
  text-shadow: 0 0 20px rgba(46, 204, 113, 0.4);
  box-shadow: 0 0 24px rgba(46, 204, 113, 0.15);
}

.payment-status__icon--pending {
  color: var(--color-gold-light);
  border-color: rgba(212, 175, 55, 0.5);
  background: rgba(212, 175, 55, 0.08);
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.12);
}

.payment-status__icon--failure {
  color: #ff8f82;
  border-color: rgba(192, 57, 43, 0.5);
  background: rgba(192, 57, 43, 0.08);
  box-shadow: 0 0 24px rgba(192, 57, 43, 0.15);
}

.payment-status__message {
  color: var(--text-primary);
  line-height: 1.6;
}

.payment-status__sub {
  color: var(--text-secondary);
  line-height: 1.6;
}

.payment-status__actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Mensagem de redirecionamento no modal de produto */
.modal-redirect-msg {
  color: #9ef2bf;
  border: 1px solid rgba(46, 204, 113, 0.3);
  background: rgba(46, 204, 113, 0.07);
  border-radius: 0.6rem;
  padding: 0.6rem 0.85rem;
  font-size: 0.82rem;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.modal-redirect-msg.hidden {
  display: none;
}  
/* Site footer */ 
.site-footer {
  margin-top: 3rem;
  padding: 1.5rem 1rem 2rem;
  border-top: 1px solid rgba(245, 215, 110, 0.18);
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-family: 'Inter', sans-serif;
}
.site-footer .footer-title {
  font-family: 'Cinzel Decorative', serif;
  color: #d4af37;
  letter-spacing: 0.15em;
  font-size: 0.7rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.site-footer a {
  color: #f5d76e;
  text-decoration: none;
  font-weight: 500;
}
.site-footer a:hover { color: #ffffff; }
.site-footer .sep { opacity: 0.4; margin: 0 0.6rem; }

/* ===== ABAS CATEGORIA ===== */

.tabs-bar {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  border-bottom: 2px solid rgba(212, 175, 55, 0.18);
  padding-bottom: 0;
}

.tab-btn {
  padding: 0.6rem 1.25rem;
  border-radius: 0.75rem 0.75rem 0 0;
  font-family: 'Cinzel Decorative', serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid transparent;
  border-bottom: none;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 200ms ease;
  position: relative;
  bottom: -2px;
}

.tab-btn:hover {
  color: var(--color-gold-light);
  background: rgba(212, 175, 55, 0.06);
  border-color: rgba(212, 175, 55, 0.2);
}

.tab-btn--active {
  color: var(--color-gold-light);
  background: linear-gradient(180deg, rgba(26, 27, 32, 0.98), rgba(16, 17, 22, 0.98));
  border-color: rgba(212, 175, 55, 0.38);
  border-bottom: 2px solid var(--bg-graphite-soft);
  text-shadow: 0 0 14px rgba(212, 175, 55, 0.22);
}

/* ===== CARDS NFT ===== */

.nft-card {
  --card-accent: rgba(168, 85, 247, 0.52);
  --card-accent-solid: var(--epic);
  --card-text: var(--epic-light);
  position: relative;
}

.nft-card__media {
  min-height: 240px;
  background:
    radial-gradient(circle at top, rgba(168, 85, 247, 0.08), transparent 45%),
    linear-gradient(180deg, rgba(17, 18, 24, 0.95), rgba(9, 10, 13, 0.98));
}

.nft-card__title {
  font-family: 'Cinzel Decorative', serif;
  font-size: 0.95rem;
  color: var(--epic-light);
  text-shadow: 0 0 14px rgba(168, 85, 247, 0.22);
  letter-spacing: 0.04em;
}

.nft-card__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1rem;
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: rgba(168, 85, 247, 0.06);
  border: 1px solid rgba(168, 85, 247, 0.18);
}

.nft-stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.nft-stat__label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.nft-stat__value {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
}

.nft-card__price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  border-radius: 0.6rem;
  background: rgba(212, 175, 55, 0.07);
  border: 1px solid rgba(212, 175, 55, 0.22);
}

.nft-price__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.nft-price__value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-gold-light);
  letter-spacing: 0.02em;
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.2);
}

/* Badge do jogo no card */
.nft-game-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: 'Cinzel Decorative', serif;
}

.nft-badge--nc {
  color: #16120a;
  background: linear-gradient(180deg, #f5d76e, #d4af37);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.2);
}

.nft-badge--ymir {
  color: #f7ecff;
  background: linear-gradient(180deg, #c084fc, #a855f7);
  box-shadow: 0 0 16px rgba(168, 85, 247, 0.2);
}

/* Overlay VENDIDO */
.nft-card--sold {
  filter: grayscale(0.45) opacity(0.75);
}

.nft-sold-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  border-radius: 1.25rem;
  pointer-events: none;
}

.nft-sold-text {
  font-family: 'Cinzel Decorative', serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--color-gold-light);
  text-shadow: 0 0 24px rgba(212, 175, 55, 0.5), 0 2px 8px rgba(0,0,0,0.8);
  letter-spacing: 0.15em;
  transform: rotate(-25deg);
  border: 3px solid rgba(212, 175, 55, 0.65);
  padding: 0.4rem 1.1rem;
  border-radius: 0.4rem;
  background: rgba(0, 0, 0, 0.55);
}

/* Botão marcar como vendido */
.btn-nft-sold {
  width: 100%;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

/* ===== MODAL NFT MULTI-STEP ===== */

.nft-modal-panel {
  max-width: 580px;
}

.nft-game-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.nft-game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.75rem 1rem;
  border-radius: 1.1rem;
  border: 2px solid rgba(212, 175, 55, 0.25);
  background: rgba(10, 10, 11, 0.6);
  cursor: pointer;
  transition: all 220ms ease;
  min-height: 140px;
}

.nft-game-card:hover,
.nft-game-card:focus-visible {
  border-color: var(--color-gold);
  background: rgba(212, 175, 55, 0.07);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.15), 0 8px 24px rgba(0,0,0,0.4);
  transform: translateY(-3px);
}

#btn-game-night-crows:hover,
#btn-game-night-crows:focus-visible {
  border-color: #d4af37;
  box-shadow: 0 0 22px rgba(212, 175, 55, 0.2);
}

#btn-game-ymir:hover,
#btn-game-ymir:focus-visible {
  border-color: #a855f7;
  box-shadow: 0 0 22px rgba(168, 85, 247, 0.2);
}

.nft-game-card__icon {
  font-size: 2.5rem;
  line-height: 1;
}

.nft-game-card__title {
  font-family: 'Cinzel Decorative', serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-gold-light);
}

.nft-game-card__sub {
  font-size: 0.72rem;
  color: var(--text-secondary);
  letter-spacing: 0.06em;
}

.nft-selected-game-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

/* Botões de pagamento NFT (2 por linha) */
.nft-payment-row {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.nft-payment-row .primary-button,
.nft-payment-row .secondary-button {
  flex: 1;
  min-width: 0;
  text-align: center;
}

@media (max-width: 480px) {
  .nft-game-cards {
    grid-template-columns: 1fr;
  }

  .nft-payment-row {
    flex-direction: column;
  }

  .nft-sold-text {
    font-size: 1.6rem;
  }

  .tabs-bar {
    gap: 0.25rem;
  }

  .tab-btn {
    font-size: 0.62rem;
    padding: 0.5rem 0.75rem;
  }
}

/* NFT dual select (Lendário + Mítico side by side) */
.nft-dual-select {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.nft-dual-select__col {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nft-dual-select__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nft-dual-select__label--lendario {
  color: #f0b429;
}

.nft-dual-select__label--mitico {
  color: #c084fc;
}

@media (max-width: 480px) {
  .nft-dual-select {
    grid-template-columns: 1fr;
  }
}

/* Welcome bonus toast */
.welcome-toast {
  position: fixed;
  top: 1.25rem;
  right: 1.25rem;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: linear-gradient(180deg, rgba(30, 25, 15, 0.97), rgba(15, 12, 8, 0.98));
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: 0.75rem;
  padding: 0.9rem 1rem 0.9rem 0.85rem;
  max-width: 360px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(212, 175, 55, 0.12), 0 0 24px rgba(212, 175, 55, 0.18);
  font-family: 'Inter', sans-serif;
  animation: wt-in 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
.welcome-toast.welcome-toast-out {
  animation: wt-out 0.3s ease forwards;
}
.welcome-toast-coin {
  font-size: 2rem;
  line-height: 1;
  flex-shrink: 0;
  animation: wt-spin 2s ease infinite;
}
.welcome-toast-body { flex: 1; min-width: 0; }
.welcome-toast-title {
  font-family: 'Cinzel Decorative', serif;
  color: #d4af37;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
  letter-spacing: 0.05em;
}
.welcome-toast-text {
  color: #e8e4d8;
  font-size: 0.85rem;
  line-height: 1.4;
}
.welcome-toast-text strong { color: #f5d76e; font-weight: 700; }
.welcome-toast-close {
  background: transparent;
  border: none;
  color: rgba(232, 228, 216, 0.55);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.25rem;
  margin-left: 0.25rem;
  flex-shrink: 0;
  transition: color 0.15s;
}
.welcome-toast-close:hover { color: #f5d76e; }
@keyframes wt-in {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes wt-out {
  to { opacity: 0; transform: translateX(40px); }
}
@keyframes wt-spin {
  0%, 100% { transform: rotate(-8deg) scale(1); }
  50% { transform: rotate(8deg) scale(1.08); }
}
@media (max-width: 480px) {
  .welcome-toast { left: 0.75rem; right: 0.75rem; max-width: none; }
}

/* NFT image upload preview */
.nft-image-preview {
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.25);
  max-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nft-image-preview img {
  max-height: 160px;
  width: auto;
  object-fit: contain;
  border-radius: 0.5rem;
}

/* NFT select pair (lendário / mítico) */
.nft-select-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 0.25rem;
}
.nft-select-col {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.nft-sub-label {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Floating contact widget */
.floating-contact {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.6rem;
  font-family: 'Inter', sans-serif;
}
.floating-contact-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(180deg, #f5d76e, #d4af37);
  border: 2px solid rgba(0, 0, 0, 0.4);
  color: #1a1408;
  font-size: 1.6rem;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 18px rgba(212, 175, 55, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.floating-contact-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55), 0 0 28px rgba(212, 175, 55, 0.6);
}
.floating-contact-options {
  display: none;
  flex-direction: column;
  gap: 0.5rem;
  animation: fc-slide 0.25s ease;
}
.floating-contact.is-open .floating-contact-options {
  display: flex;
}
.floating-contact-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(30, 25, 15, 0.96), rgba(15, 12, 8, 0.98));
  border: 1px solid rgba(212, 175, 55, 0.5);
  color: #f5d76e;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: transform 0.15s, border-color 0.15s;
}
.floating-contact-link:hover {
  transform: translateX(-4px);
  border-color: #f5d76e;
  color: #fff;
}
.floating-contact-link.copied {
  border-color: #4ade80;
  color: #4ade80;
}
@keyframes fc-slide {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 480px) {
  .floating-contact { bottom: 1rem; right: 1rem; }
  .floating-contact-toggle { width: 50px; height: 50px; font-size: 1.4rem; }
}

/* ===== MODAL DETALHES CONTA NFT ===== */

.nft-detail-overlay {
  z-index: 300;
}

.nft-detail-panel {
  max-width: 680px;
  width: 100%;
  padding: 1.75rem;
  position: relative;
}

.nft-detail__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  gap: 0.75rem;
}

.nft-detail__badges {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.nft-detail__close-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 0.4rem;
  transition: color 150ms ease, background 150ms ease;
  flex-shrink: 0;
}

.nft-detail__close-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.nft-detail__sold-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  padding: 0.45rem 1rem;
  border-radius: 0.6rem;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.45);
}

.nft-detail__sold-banner span {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1rem;
  font-weight: 900;
  color: var(--color-gold-light);
  letter-spacing: 0.2em;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.nft-detail__media {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(168, 85, 247, 0.08), transparent 50%),
    linear-gradient(180deg, rgba(17, 18, 24, 0.95), rgba(9, 10, 13, 0.98));
  border: 1px solid rgba(168, 85, 247, 0.18);
  margin-bottom: 1.25rem;
  min-height: 220px;
  max-height: 420px;
}

.nft-detail__media a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.nft-detail__image {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  border-radius: 1rem;
  display: block;
  transition: transform 250ms ease;
}

.nft-detail__media a:hover .nft-detail__image {
  transform: scale(1.015);
}

.nft-detail__title {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.15rem;
  color: var(--epic-light);
  letter-spacing: 0.05em;
  text-shadow: 0 0 18px rgba(168, 85, 247, 0.22);
  margin: 0 0 0.75rem;
  line-height: 1.3;
}

.nft-detail__price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.9rem;
  border-radius: 0.6rem;
  background: rgba(212, 175, 55, 0.07);
  border: 1px solid rgba(212, 175, 55, 0.22);
  margin-bottom: 1.25rem;
}

.nft-detail__price-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.nft-detail__price-value {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-gold-light);
  letter-spacing: 0.02em;
  text-shadow: 0 0 14px rgba(212, 175, 55, 0.25);
}

/* Grid de campos */
.nft-detail__fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1rem;
  padding: 0.9rem;
  border-radius: 0.9rem;
  background: rgba(168, 85, 247, 0.05);
  border: 1px solid rgba(168, 85, 247, 0.15);
  margin-bottom: 1.25rem;
}

.nft-detail__field {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.5rem 0.6rem;
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.025);
}

.nft-detail__field-label {
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.nft-detail__field-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  word-break: break-word;
  line-height: 1.4;
  white-space: pre-wrap;
}

/* Campos de texto longo: span de coluna inteira */
.nft-detail__field--wide {
  grid-column: 1 / -1;
}

.nft-detail__actions {
  justify-content: flex-end;
}

/* Responsivo mobile */
@media (max-width: 600px) {
  .nft-detail-panel {
    padding: 1.25rem;
  }

  .nft-detail__fields-grid {
    grid-template-columns: 1fr;
  }

  .nft-detail__title {
    font-size: 1rem;
  }

  .nft-detail__price-value {
    font-size: 1.15rem;
  }

  .nft-detail__image {
    max-height: 260px;
  }
}

