/**
 * steak-briefcase.css — Serpent Slayer Productions
 * Styles for the Foundational Briefcase & Buy Me a Steak Modals
 */

/* ==========================================================================
   1. BUY ME A STEAK MODAL
   ========================================================================== */
.steak-modal {
  background: linear-gradient(160deg, #12151b 0%, #080a0d 100%);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-top: 3px double #d4af37;
  border-radius: 4px;
  color: #e6e4df;
  padding: 0;
  max-width: 620px;
  width: 92vw;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 30px rgba(212, 175, 55, 0.15);
}

.steak-modal::backdrop {
  background: rgba(4, 6, 8, 0.85);
  backdrop-filter: blur(8px);
}

.steak-modal-inner {
  padding: 2rem 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.steak-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding-bottom: 1rem;
}

.steak-tag {
  color: #d4af37;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  display: block;
  margin-bottom: 0.35rem;
}

.steak-title {
  font-family: 'IM Fell English SC', serif;
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  color: #fff;
  margin: 0;
}

.steak-close-btn {
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #d4af37;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  transition: all 0.2s ease;
}

.steak-close-btn:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: #d4af37;
}

.steak-narrative {
  font-family: 'Newsreader', serif;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #c9c7c2;
  font-style: italic;
  margin: 0;
}

.steak-tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

@media (max-width: 600px) {
  .steak-tiers-grid {
    grid-template-columns: 1fr;
  }
}

.steak-tier-card {
  background: rgba(18, 22, 28, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 3px;
  padding: 1rem 0.85rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.steak-tier-card:hover, .steak-tier-card.selected {
  border-color: #d4af37;
  background: rgba(212, 175, 55, 0.08);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.12);
  transform: translateY(-2px);
}

.st-icon {
  font-size: 1.8rem;
  margin-bottom: 0.4rem;
}

.st-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.st-zar {
  font-size: 1.15rem;
  color: #d4af37;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.st-sub {
  font-size: 0.72rem;
  color: #8a929e;
}

.steak-crypto-box {
  background: rgba(14, 18, 24, 0.95);
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 0.5rem;
}

.steak-crypto-nav {
  display: flex;
  background: rgba(8, 10, 14, 0.9);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.steak-crypto-tab {
  flex: 1;
  background: transparent;
  border: none;
  color: #8a929e;
  font-family: 'Space Mono', monospace;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.75rem 1rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.steak-crypto-tab:hover {
  color: #d4af37;
  background: rgba(212, 175, 55, 0.05);
}

.steak-crypto-tab.active {
  color: #d4af37;
  background: rgba(212, 175, 55, 0.1);
  border-bottom: 2px solid #d4af37;
}

.steak-crypto-card {
  padding: 1.2rem;
  display: flex;
  gap: 1.4rem;
  align-items: center;
}

@media (max-width: 580px) {
  .steak-crypto-card {
    flex-direction: column;
    text-align: center;
  }
}

.steak-qr-wrap {
  background: #ffffff;
  padding: 6px;
  border-radius: 4px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.steak-qr-code {
  width: 130px;
  height: 130px;
  display: block;
  object-fit: contain;
}

.steak-addr-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

.steak-network-tag {
  color: #00ffd2;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  text-transform: uppercase;
}

.steak-addr-code {
  background: rgba(5, 7, 10, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e6e4df;
  font-family: 'Space Mono', monospace;
  font-size: 0.76rem;
  padding: 0.6rem 0.8rem;
  border-radius: 3px;
  word-break: break-all;
  user-select: all;
  line-height: 1.4;
}

.steak-copy-btn {
  background: #d4af37;
  color: #07090c;
  font-family: 'Space Mono', monospace;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  align-self: flex-start;
  transition: all 0.2s ease;
}

@media (max-width: 580px) {
  .steak-copy-btn {
    align-self: center;
    width: 100%;
  }
}

.steak-copy-btn:hover {
  background: #f1cf59;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  transform: translateY(-1px);
}

.steak-copy-btn.copied {
  background: #00ffd2;
  color: #04080c;
}

.steak-patron-note {
  font-size: 0.72rem;
  color: #8a929e;
  text-align: center;
  line-height: 1.4;
  font-style: italic;
}

/* ==========================================================================
   2. BRIEFCASE MODAL & TOAST
   ========================================================================== */
.briefcase-modal {
  background: linear-gradient(160deg, #11141a 0%, #080a0d 100%);
  border: 1px solid rgba(0, 255, 210, 0.35);
  border-top: 3px double #00ffd2;
  border-radius: 4px;
  color: #e6e4df;
  padding: 0;
  max-width: 740px;
  width: 94vw;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.9), 0 0 30px rgba(0, 255, 210, 0.1);
}

.briefcase-modal::backdrop {
  background: rgba(3, 5, 8, 0.88);
  backdrop-filter: blur(8px);
}

.briefcase-modal-inner {
  padding: 2rem 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  max-height: 85vh;
}

.briefcase-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid rgba(0, 255, 210, 0.2);
  padding-bottom: 1rem;
}

.bmh-tag {
  color: #00ffd2;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  display: block;
  margin-bottom: 0.3rem;
}

.briefcase-modal-header h2 {
  font-family: 'IM Fell English SC', serif;
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  color: #fff;
  margin: 0;
}

.briefcase-close-btn {
  background: transparent;
  border: 1px solid rgba(0, 255, 210, 0.3);
  color: #00ffd2;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  transition: all 0.2s ease;
}

.briefcase-close-btn:hover {
  background: rgba(0, 255, 210, 0.12);
  border-color: #00ffd2;
}

.briefcase-tabs-bar {
  display: flex;
  gap: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.5rem;
}

.briefcase-tab-btn {
  background: transparent;
  border: none;
  color: #8a929e;
  font-family: 'Space Mono', monospace;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  padding: 0.4rem 0.8rem;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.briefcase-tab-btn.active {
  color: #00ffd2;
  border-bottom-color: #00ffd2;
}

.briefcase-tab-content {
  overflow-y: auto;
  max-height: 48vh;
  padding-right: 0.4rem;
}

.briefcase-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: #8a929e;
}

.briefcase-card {
  background: rgba(18, 22, 28, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid #00ffd2;
  border-radius: 3px;
  padding: 1rem 1.2rem;
  margin-bottom: 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.bc-card-left {
  flex: 1;
  min-width: 0;
}

.bc-tag {
  color: #00ffd2;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 0.25rem;
}

.bc-title {
  color: #fff;
  font-size: 0.96rem;
  margin: 0 0 0.25rem 0;
  font-family: 'Newsreader', serif;
  font-weight: 600;
}

.bc-subtitle {
  color: #a8a6a1;
  font-size: 0.8rem;
  margin: 0 0 0.4rem 0;
  font-style: italic;
}

.bc-date {
  font-size: 0.68rem;
}

.bc-card-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.bc-open-btn {
  background: rgba(0, 255, 210, 0.1);
  border: 1px solid rgba(0, 255, 210, 0.4);
  color: #00ffd2;
  font-size: 0.72rem;
  padding: 0.4rem 0.75rem;
  text-decoration: none;
  border-radius: 2px;
  transition: all 0.2s ease;
}

.bc-open-btn:hover {
  background: #00ffd2;
  color: #07090c;
}

.bc-del-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #8a929e;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
}

.bc-del-btn:hover {
  color: #ff5555;
  border-color: #ff5555;
}

.briefcase-modal-footer {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1rem;
  gap: 0.8rem;
}

.briefcase-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #0e1217;
  border: 1px solid #00ffd2;
  color: #00ffd2;
  padding: 0.8rem 1.4rem;
  border-radius: 4px;
  font-size: 0.82rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 255, 210, 0.2);
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 9999;
}

.briefcase-toast.visible {
  opacity: 1;
  transform: translateY(0);
}

.reading-resume-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(14, 18, 23, 0.96);
  border: 1px solid #d4af37;
  color: #fff;
  padding: 0.65rem 1.2rem;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  z-index: 9000;
}

.reading-resume-banner .btn-primary {
  background: #d4af37;
  color: #000;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border: none;
  cursor: pointer;
  border-radius: 2px;
}

.reading-resume-banner .close-resume {
  background: none;
  border: none;
  color: #8a929e;
  font-size: 1.2rem;
  cursor: pointer;
}

/* ==========================================================================
   3. ARTICLE & CARD BRIEFCASE ACTION BUTTONS
   ========================================================================== */
.briefcase-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(0, 255, 210, 0.08);
  border: 1px solid rgba(0, 255, 210, 0.35);
  color: #00ffd2;
  font-family: var(--font-mono, 'Space Mono', monospace);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.45rem 0.85rem;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.briefcase-btn:hover {
  background: rgba(0, 255, 210, 0.2);
  border-color: #00ffd2;
  color: #fff;
  box-shadow: 0 0 12px rgba(0, 255, 210, 0.3);
}

.inv-briefcase-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(0, 255, 210, 0.08);
  border: 1px solid rgba(0, 255, 210, 0.35);
  color: var(--cyan, #00ffd2);
  font-family: var(--font-mono, 'Space Mono', monospace);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm, 2px);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.inv-briefcase-btn:hover {
  background: rgba(0, 255, 210, 0.2);
  border-color: #00ffd2;
  color: #fff;
  box-shadow: 0 0 10px rgba(0, 255, 210, 0.25);
}

.briefcase-nav-pill {
  cursor: pointer;
  background: rgba(0, 255, 210, 0.08);
  border: 1px solid rgba(0, 255, 210, 0.35);
  color: #00ffd2;
  font-family: var(--font-mono, 'Space Mono', monospace);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: 2px;
  transition: all 0.2s ease;
}

.briefcase-nav-pill:hover {
  background: rgba(0, 255, 210, 0.2);
  border-color: #00ffd2;
  color: #fff;
  box-shadow: 0 0 10px rgba(0, 255, 210, 0.25);
}
