/* ===== GLOBAL STYLES ===== */
html, body {
  height: 100%;
  overflow: hidden; /* ✅ blocks full page scrolling */
}

body {
  margin: 0;
  padding: 0;
  background: radial-gradient(circle at top, #0e0b13, #0a090f 80%);
  font-family: 'Cinzel', serif;
  color: #ffe577;
}

/* === NAVIGATION BAR (Unified PSA Theme) === */
/* Global anchor styling */
a {
  text-decoration: none;
  color: #e8d78a;
  margin: 0 15px;
  font-size: 1rem;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

a:hover {
  color: #fff;
  text-shadow: 0 0 4px #e8d78a;
}

/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  padding: 12px 30px;  /* ⬅️ Smaller height */
  justify-content: flex-start;
  gap: 25px;
}

/* Optional: reduce logo size slightly to match */
.logo img {
  height: 36px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.4s ease;
  filter: none;
}

.logo img:hover {
  transform: scale(1.05);
  filter: 
    drop-shadow(0 0 2px #fff7c2)
    drop-shadow(0 0 5px #fff9d1)
    drop-shadow(0 0 8px rgba(255, 255, 200, 0.5));
}

.navbar nav a[href="whispers-app.html"],
.navbar nav a[href="ethereal-profile.html"],
.navbar nav a[href="forum.html"] {
  display: none !important;
}

/* ===== CONTAINER LAYOUT ===== */
.vault-container {
  display: flex;
  min-height: calc(100vh - 80px);
  height: auto;
  overflow: hidden;
}

/* ===== LEFT PANEL ===== */
.vault-left-panel {
  width: 35%;
  background: rgba(10, 10, 15, 0.9);
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-right: 1px solid #cab15c;
  box-shadow: inset -3px 0 8px rgba(255, 255, 255, 0.05);
}

.vault-left-panel img {
  display: none !important;
}

@media (max-width: 768px) {
  .vault-container {
    flex-direction: column;
    width: 100%;
  }

  .vault-left-panel,
  .vault-right-panel {
    width: 100%;
    max-width: 100%;
  }

  .vault-right-panel {
    grid-template-columns: 1fr;
    padding: 20px;
  }
}

/* === Enhanced Glow for Vault Title === */

.vault-title {
  font-size: 36px;
  font-weight: bold;
  color: #ffe577;
  text-shadow:
    0 0 2px #cab15c,
    0 0 6px rgba(202, 177, 92, 0.3),
    0 0 18px rgba(255, 255, 255, 0.08);
  letter-spacing: 1px;
  margin: 0;
}

.vault-subtitle {
  font-size: 18px;
  font-style: italic;
  color: #8be0c6;
  text-shadow:
    0 0 1px rgba(139, 224, 198, 0.2),
    0 0 4px rgba(139, 224, 198, 0.1);
  margin: 0;
}
/* === Updated Search Box Wrapper === */
.search-box {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid #cab15c;
  border-radius: 10px;
  padding: 8px 12px;
  box-shadow: 0 0 4px rgba(202, 177, 92, 0.3);
  margin-bottom: 20px;
}

.vault-action-box, .search-box {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  margin-bottom: 20px;
  font-size: 16px;
  font-family: 'Cinzel', serif;
  font-weight: bold;
  color: #ffe577;
  border: 1px solid #cab15c;
  border-radius: 8px;
  background: rgba(20, 18, 26, 0.6);
  box-shadow:
    0 0 6px rgba(202, 177, 92, 0.3),
    inset 0 0 4px rgba(202, 177, 92, 0.05);
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  width: 100%;
  max-width: 700px;
}

.vault-action-box:hover, .search-box:hover {
  box-shadow:
    0 0 10px #cab15c,
    inset 0 0 6px rgba(255, 255, 255, 0.05);
  background: rgba(30, 25, 38, 0.7);
  transform: translateY(-2px);
}

.vault-action-box.search-box {
  flex: 1;
  min-width: 600px;
  max-width: 700px;
}

/* ===== RIGHT PANEL ===== */
.vault-right-panel {
  width: 65%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  padding: 30px; /* reduced from 60px */
  box-sizing: border-box;
  background: radial-gradient(circle at center, #141218 0%, #0b0a0e 100%);
}

.vault-file-box {
  background: rgba(255, 255, 255, 0.03);
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  font-size: 20px;
  border: 1px solid #a279ff;
  color: #ffe577;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(162, 121, 255, 0.2);
  transition: 0.3s ease;
}

.vault-file-box:hover {
  transform: scale(1.05);
  box-shadow:
    0 0 10px #cab15c,
    0 0 30px rgba(255, 255, 255, 0.05),
    inset 0 0 12px rgba(255, 255, 255, 0.04);
}



/* ===== MODAL BASE ===== */
.vault-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 700px;
  max-width: 90%;
  max-height: 70vh;
  background: rgba(15, 15, 20, 0.97);
  transform: translate(-50%, -50%);
  z-index: 10000;
  border: 1px solid #cab15c;
  border-radius: 12px;
  padding: 20px 28px;
  box-shadow:
    0 0 20px rgba(255, 255, 255, 0.05),
    0 0 30px #cab15c,
    inset 0 0 12px rgba(255, 255, 255, 0.04);
  display: none;
  flex-direction: column;
}

.vault-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}


.vault-modal-controls {
  display: flex;
  align-items: center;
  gap: 6px; /* Adjust this to control distance between ← and ✖ */
}

.vault-modal-title {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  font-weight: 600;
  color: #e6c979;
  text-shadow: 0 0 6px #cab15c, 0 0 3px #111;
  padding-left: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.preview-title {
  font-family: monospace;
  font-size: 15px;
  color: #ffe577;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}


.vault-modal-controls button {
  background: transparent;
  border: none;
  color: #ffe577;
  font-size: 20px;
  cursor: pointer;
  padding: 2px 6px;
  transition: transform 0.2s ease;
}

.vault-modal-controls button:hover {
  transform: scale(1.1);
}

.vault-modal-content {
  max-height: 80vh;
  overflow-y: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.vault-modal-content input[type="text"],
.vault-modal-content input[type="checkbox"],
.vault-modal-content input[type="radio"] {
  margin-left: 10px;
}

.share-link-row {
  margin-top: 10px;
}

#copyLink {
  margin-left: 10px;
  cursor: pointer;
}
/* ===== UTILITIES ===== */
.hidden {
  display: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .vault-container {
    flex-direction: column;
  }
  .vault-right-panel {
    grid-template-columns: 1fr;
    padding: 20px;
  }
}

.vault-preview-box.mini-preview {
  max-height: 200px;          /* Smaller height */
  overflow-y: auto;
  padding: 10px 14px;
  border: 1px solid #c6a84b;
  border-radius: 8px;
  background: #121212;
  color: #f8d36e;
  font-family: monospace;
  font-size: 13px;            /* Smaller text */
  line-height: 1.4;
}

/* === Updated Input Field Style === */
.mist-input {
  width: 100%;
  background: rgba(20, 18, 26, 0.6); /* Deep purple */
  color: #bec4eb;
  border: none;
  outline: none;
  padding: 10px 14px;
  font-size: 15px;
  font-family: 'Cinzel', serif;
  border-radius: 8px;
  box-shadow:
    inset 0 0 2px rgba(162, 121, 255, 0.4), /* purple glow */
    0 0 8px rgba(255, 222, 144, 0.25),      /* outer gold haze */
    0 0 8px rgba(202, 177, 92, 0.3);       /* soft gold aura */
  transition: all 0.3s ease-in-out;
}

.mist-input::placeholder {
  color: #b3a370;
  font-style: italic;
  opacity: 0.8;
}

.element-sigil {
  display: block;
  text-align: center;
  font-size: 90px;
  margin-bottom: 6px;
  color: #cab15c;
  text-shadow: 0 0 6px rgba(255, 229, 121, 0.3);
}

.upload-options {
  color: #ffe;
  text-align: center;
}

.upload-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
  margin-top: 1rem;
}

.upload-btn {
  background-color: #111;
  border: 1px solid #ffdd99;
  color: #ffdd99;
  padding: 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.upload-btn:hover {
  background-color: #222;
  box-shadow: 0 0 10px #ffeaa7;
}

.wallet-hint {
  font-size: 0.75rem;
  color: #aaa;
}

.upload-options h2 {
  color: #f5fd8bda;
  text-shadow: 0 1 4px #ffde77;
}

#closeModal {
  color: #ffde77;
  background: transparent;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  transition: transform 0.2s ease, color 0.3s ease;
}

#closeModal:hover {
  color: #ffde77;
  transform: scale(1.2);
  text-shadow: 0 0 2px #ffde77;
}

.vault-modal-content p {
  font-size: 1rem;
  text-align: center;
  margin-top: 1rem;
  color: #fff;
}

.vault-preview-box {
  width: 90%;
  max-width: 420px;
  margin: 1rem auto;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #f8d36e33;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 0 12px #f8d36e55;
  cursor: pointer;
  transition: width 0.3s ease, max-width 0.3s ease;
}

.vault-preview-box.expanded-preview {
  width: 55%;
  max-width: 520px;
  max-height: 300px;
  overflow-y: auto;
  padding: 1rem;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 0 12px #f8d36e33;
  background: rgba(255, 255, 255, 0.03);
}


#previewBox::-webkit-scrollbar {
  width: 6px;
}

#previewBox::-webkit-scrollbar-thumb {
  background: #f8d36e77;
  border-radius: 8px;
}

.scroll-text {
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #f8e5a3;
}

.preview-content.scroll-text {
  max-height: 320px;
  overflow-y: auto;
  width: 100%;
  padding-right: 12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.preview-content.scroll-text::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  background: transparent;
}


.vault-send-bar {
  text-align: center;
  margin-top: 1.5rem;
}

.vault-send-btn {
  padding: 0.5rem 1rem;
  background-color: #111;
  color: #ffe88a;
  border: 1px solid #ffe88a;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.3s ease;
}

.vault-send-btn:hover {
  background-color: #ffe88a;
  color: #111;
  box-shadow: 0 0 8px #ffe88a;
}

/* General scrollbar styling for vault scrollable areas */
.vault-preview-box.scroll-text {
  max-height: 400px;
  overflow-y: auto;
  padding-right: 10px;
  scrollbar-width: thin; /* For Firefox */
  scrollbar-color: #f8d36e #1a1a1a;
}

/* Webkit (Chrome, Edge) scrollbar */
.vault-preview-box.scroll-text::-webkit-scrollbar {
  width: 10px;
}

.vault-preview-box.scroll-text {
  scrollbar-color: #f8d36e rgba(255, 255, 255, 0.05);
  scrollbar-width: thin;
}


.vault-preview-box.scroll-text::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
}

.vault-preview-box.scroll-text::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ffe88a, #f8d36e);
  border-radius: 6px;
  box-shadow: 0 0 6px #f8d36e99;
}

.vault-preview-box.scroll-text::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #fff4b0, #f6e27f);
  box-shadow: 0 0 10px #fff4a0;
}

.vault-file-modal-item.active {
  background-color: rgba(248, 211, 110, 0.08);
  border-left: 3px solid #f8d36e;
}

.vault-file-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 10px;
  padding: 10px;
  max-height: 230px;
  overflow-y: auto;
}

.vault-file-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #f8d36e66;
  padding: 6px 10px;
  border-radius: 6px;
  color: #f8d36e;
  font-size: 13px;
  font-family: "Courier New", monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vault-file-item:hover {
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.vault-box-scrollable {
  position: relative;
  max-height: 250px;
  overflow-y: auto;
  border: 1px solid #f8d36e33;
  padding: 8px;
  border-radius: 8px;
}

.vault-grid-scroll {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  max-height: 360px;
  overflow-y: auto;
  padding: 10px;
}

.vault-grid-item {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  padding: 24px 8px 8px 8px; /* top space for button */
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  text-align: center;
  color: #f8d36e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease;
}

.vault-grid-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.vault-close-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 16px;
  height: 16px;
  font-size: 11px;
  font-weight: bold;
  color: #ffbbbb;
  background: none;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 3;
  transition: transform 0.2s ease, color 0.2s ease;
}

.vault-close-btn:hover {
  color: #ff5c5c;
  transform: scale(1.2);
  text-shadow: 0 0 4px #ff9999;
}

.delete-file-btn {
  position: absolute;
  top: 4px;
  right: 6px;
  width: 16px;
  height: 16px;
  font-size: 11px;
  font-weight: bold;
  color: #ffbbbb;
  background: none;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  z-index: 2;
  transition: transform 0.2s ease, color 0.2s ease;
}

.delete-file-btn:hover {
  color: #ff5c5c;
  transform: scale(1.2);
  text-shadow: 0 0 4px #ff9999;
}


.preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(248, 211, 110, 0.08);
  padding: 8px 12px;
  border-bottom: 1px solid #f8d36e44;
  font-family: 'Courier New', monospace;
  color: #f8d36e;
  border-radius: 8px 8px 0 0;
}

.minimize-preview-btn {
  background-color: rgba(0, 0, 0, 0.6);
  border: 1px solid #f8d36e55;
  color: #f8d36e;
  font-size: 1rem;
  font-family: 'Courier New', monospace;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
  margin-left: 6px;
}

.minimize-preview-btn:hover {
  background-color: rgba(0, 0, 0, 0.85);
  transform: scale(1.05);
}

/* Make fullscreen media fill screen without scroll */
:fullscreen,
:-webkit-full-screen {
  background: black !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  display: flex;
  justify-content: center;
  align-items: center;
}

:fullscreen .preview-media,
:-webkit-full-screen .preview-media {
  max-width: 100vw !important;
  max-height: 100vh !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block;
  margin: auto;
}

#exitFullscreenBtn {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: rgba(0, 0, 0, 0.7);
  color: #f8d36e;
  border: 1px solid #f8d36e55;
  padding: 8px 14px;
  border-radius: 6px;
  font-family: 'Courier New', monospace;
  font-size: 0.9rem;
  z-index: 9999;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
#exitFullscreenBtn:hover {
  background-color: rgba(0, 0, 0, 0.9);
}
#exitFullscreenBtn {
  pointer-events: auto;
}

.file-fullscreen-btn {
  background-color: rgba(0, 0, 0, 0.7);
  border: 1px solid #f8d36e88;
  color: #f8d36e;
  font-size: 1rem;
  font-family: 'Courier New', monospace;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.file-fullscreen-btn:hover {
  background-color: rgba(0, 0, 0, 0.9);
  transform: scale(1.05);
}

.vault-access-options label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-family: 'Cinzel', serif;
  color: #f8d36e;
  font-size: 15px;
}

.vault-access-options input[type="text"] {
  flex: 1;
  max-width: 200px;
}

/* === Vault Access Modal Polishing === */
.vault-access-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 10px;
  font-family: 'Cinzel', serif;
  color: #f8d36e;
}

.vault-access-options label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  cursor: pointer;
}

.vault-access-options input[type="radio"],
.vault-access-options input[type="checkbox"] {
  accent-color: #f8d36e;
  cursor: pointer;
}

.vault-access-options input[type="text"],
.vault-access-options input[type="url"] {
  flex: 1;
  max-width: 220px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 5px 10px;
  border-radius: 6px;
  color: #ffe577;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  transition: 0.2s ease-in-out;
}

.vault-access-options input[type="text"]:focus,
.vault-access-options input[type="url"]:focus {
  border-color: #f8d36e;
  box-shadow: 0 0 8px #f8d36eaa;
  outline: none;
}

/* Puzzle + Paid toggles */
#paidToggleWrapper,
.share-link-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.share-link-row input {
  flex: 1;
}

/* Buttons */
#copyLink,
#confirmAccessSettings {
  background: #f8d36e;
  color: #111;
  font-weight: bold;
  border: none;
  padding: 6px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  font-family: 'Cinzel', serif;
  box-shadow: 0 0 10px #f8d36eaa;
}

#copyLink:hover,
#confirmAccessSettings:hover {
  background: #fff4a0;
  box-shadow: 0 0 10px #fffaaa;
}

/* Align Confirm to Bottom Right */
#confirmAccessSettings {
  align-self: flex-end;
  max-width: fit-content;
  margin-top: 12px;
}

.file-access-badge {
  font-size: 12px;
  color: #ffe577;
  margin-top: 4px;
  font-family: 'Courier New', monospace;
  text-shadow: 0 0 4px #cab15c;
}

/* 👻 Commission Box Style */
.ghostly-box {
  font-size: 13.5px;
  margin-top: 8px;
  margin-left: 5px;
  padding-left: 10px;
  border-left: 2px solid #444;
}

.commission-line {
  margin: 3px 0;
  color: #ccc;
  font-family: 'Courier New', monospace;
}

/* ✨ Effects */
.ghost-gold {
  color: #ffe680;
  text-shadow: 0 0 5px #ffc;
}

.ghost-green {
  color: #8be0c6;
  text-shadow: 0 0 4px #88ffd2;
}

.ghost-glow {
  color: #f8d36e;
  text-shadow: 0 0 6px #b9953d;
}

/* 🔧 Styled Paid Input Box (Gold Themed, No Arrows) */
#paymentAmount {
  appearance: textfield; /* 🔄 Removes number arrows (cross-browser) */
  -moz-appearance: textfield;
  -webkit-appearance: none;
  background-color: #353038;
  border: 1px solid rgb(146, 139, 96);
  border-radius: 6px;
  padding: 6px 10px;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  color: #fce98d;
  box-shadow: 0 0 6px 1px rgba(255, 215, 0, 0.3); /* Gold soft glow */
  transition: box-shadow 0.3s ease-in-out;
}

#paymentAmount:focus {
  outline: none;
  box-shadow: 0 0 8px 2px rgba(194, 185, 132, 0.5); /* Stronger on focus */
}

/* Remove arrows specifically for Chrome */
#paymentAmount::-webkit-outer-spin-button,
#paymentAmount::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.vault-success-popup {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(20, 20, 20, 0.95);
  color: #ffe680;
  border: 1px solid gold;
  padding: 12px 24px;
  border-radius: 12px;
  font-family: 'Courier New', monospace;
  font-size: 15px;
  box-shadow: 0 0 10px gold;
  z-index: 9999;
  animation: fadeInScale 0.3s ease-out;
}
.vault-success-popup span {
  color: #8be0c6;
  font-weight: bold;
}
@keyframes fadeInScale {
  0% { transform: translateX(-50%) scale(0.9); opacity: 0; }
  100% { transform: translateX(-50%) scale(1); opacity: 1; }
}

.vault-paid-section,
.vault-key-section,
.vault-pin-input {
  padding: 20px;
  font-family: 'Spectral', serif;
  color: #eaeaea;
  background: #111;
  border-radius: 12px;
  border: 1px solid #333;
  text-align: center;
}

.vault-paid-message {
  font-size: 16px;
  color: #ffde88;
  margin-bottom: 15px;
}

.vault-payment-methods {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.pay-method {
  padding: 8px 16px;
  background: #222;
  color: rgb(175, 163, 96);
  border: 1px solid #666;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s ease-in-out;
}

.pay-method:hover {
  background: #333;
}

.vault-pin-box {
  margin-top: 20px;
  padding: 12px;
  background: #1b1b1b;
  border-radius: 10px;
  border: 1px dashed #777;
}

.pin-display {
  font-size: 20px;
  font-weight: bold;
  color: #8be0c6;
  margin: 10px 0;
}

.next-pin-btn {
  margin-top: 10px;
  padding: 6px 14px;
  background: #444;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}

.next-pin-btn:hover {
  background: #666;
}

.vault-key-section input,
.vault-pin-input input {
  padding: 8px;
  margin-top: 10px;
  width: 200px;
  background: #0e0e0e;
  border: 1px solid #444;
  border-radius: 6px;
  color: #f0f0f0;
}

.vault-key-section button,
.vault-pin-input button {
  margin-top: 12px;
  padding: 6px 12px;
  background: #2b2b2b;
  color: #f9f9f9;
  border: 1px solid #666;
  border-radius: 6px;
  cursor: pointer;
}

.vault-key-section button:hover,
.vault-pin-input button:hover {
  background: #444;
}

.vault-minimize-btn,
.vault-fullscreen-btn {
  padding: 6px 12px;
  background: #222;
  color: rgb(189, 176, 107);
  border: 1px solid #555;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}

.vault-minimize-btn:hover,
.vault-fullscreen-btn:hover {
  background: #333;
}

.preview-media {
  width: 100%;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 0 10px #fff3;
}

.preview-media.ghost-preview {
  display: block;
  margin: 0 auto;
  width: auto;
  height: auto;
  max-width: 40%;
  max-height: 40vh;
  border: 1px solid #777;
  border-radius: 8px;
  box-shadow: 0 0 12px #cab15c88;
  transition: all 0.3s ease;
  object-fit: contain;
}

.payment-btn {
  padding: 6px 14px;
  margin: 4px;
  font-family: monospace;
  font-size: 14px;
  border: 1px solid #444;
  border-radius: 8px;
  background: #111;
  color: rgb(187, 174, 104);
  cursor: pointer;
  transition: background 0.2s ease;
}

.payment-btn:hover {
  background: #1f1f1f;
  box-shadow: 0 0 6px #e6c97988;
}

.payment-btn.visa { color: #e6c979; }
.payment-btn.master { color: #e6c979; }
.payment-btn.paypal { color: #8be0c6; }
.payment-btn.stripe { color: #cab6f8; }

.ghost-toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateY(-10px);
  background: #222;
  color: #f8d36e;
  padding: 12px 28px;
  border-radius: 12px;
  font-family: monospace;
  font-size: 18px;
  z-index: 20000; /* 🔥 In front of everything */
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
  text-align: center;
  box-shadow: 0 0 14px #f8d36e55;
}

.ghost-toast.visible {
  opacity: 1;
  transform: translate(-50%, -50%) translateY(0);
}

.vault-control-btn {
  background: #191919;
  color: #e6c979;
  border: 1px solid #444;
  border-radius: 6px;
  padding: 6px 14px;
  font-family: monospace;
  font-size: 13px;
  margin: 4px;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.vault-control-btn:hover {
  background: #222;
  box-shadow: 0 0 6px #cab15c;
}

.vault-header {
  color: #e6c979;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  text-shadow: 0 0 4px #cab15c;
  letter-spacing: 1px;
}

.ghost-back-btn {
  background: none;
  border: none;
  color: #f8d36e;
  font-size: 18px;
  cursor: pointer;
  margin-right: 10px;
  transition: color 0.2s;
}
.ghost-back-btn:hover {
  color: #ffe58a;
}

.vault-grid-scroll::-webkit-scrollbar {
  width: 8px;
}

.vault-grid-scroll::-webkit-scrollbar-track {
  background: #1a1a1a;
  border-radius: 10px;
}

.vault-grid-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #f8d36e, #b89542);
  border-radius: 10px;
}

.vault-grid-scroll::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ffe680, #d4a937);
}

.vault-text-preview {
  background: #111;
  color: #f8d36e;
  padding: 24px 36px;
  border-radius: 8px;
  white-space: pre-wrap;
  max-height: 70vh;
  overflow-y: auto;
  font-family: 'Courier New', monospace;
  font-size: 16px;
  line-height: 1.6;
  text-align: justify;
  margin: 0 auto;
  width: 90%;
  box-shadow: 0 0 12px #cab15c88;
  scrollbar-width: thin;
  scrollbar-color: #c6a84b #1a1a1a;
}

.vault-text-preview::-webkit-scrollbar {
  width: 8px;
}

.vault-text-preview::-webkit-scrollbar-thumb {
  background: linear-gradient(#f8d36e, #c6a84b);
  border-radius: 4px;
}

.vault-text-preview::-webkit-scrollbar-track {
  background: #1a1a1a;
  border-radius: 4px;
}

/* Fullscreen styling */
.text-fullscreen {
  max-height: 90vh !important;
  width: 70vw !important;
  padding: 40px 48px !important;
  font-size: 18px;
  background: #111;
  overflow-y: auto !important;
  margin: auto;
  box-shadow: 0 0 30px #cab15c88;
}

.ghost-confirm {
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

.ghost-confirm-box {
  background: #111;
  padding: 28px 32px;
  border: 1px solid #c6a84b;
  box-shadow: 0 0 14px #c6a84b88;
  border-radius: 12px;
  text-align: center;
  font-family: monospace;
  color: #f8d36e;
  max-width: 320px;
}

.ghost-confirm-buttons {
  margin-top: 20px;
  display: flex;
  justify-content: space-around;
}

.ghost-btn {
  padding: 8px 18px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  font-family: monospace;
  cursor: pointer;
  transition: background 0.3s;
}

.ghost-btn.yes {
  background-color: #3bffb3;
  color: #111;
}

.ghost-btn.no {
  background-color: #ff5e5e;
  color: #fff;
}

.hidden {
  display: none;
}

.ghost-btn.yes:hover,
.ghost-btn.no:hover {
  box-shadow: 0 0 6px #e6c979, 0 0 14px #e6c979;
  transform: scale(1.05);
}

.user-log-box {
  margin-top: 14px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.012);
  border: 1px solid #cab15c;
  border-radius: 10px;
  box-shadow: 0 0 5px #cab15c22, inset 0 0 2px rgba(255,255,255,0.03);
  font-family: 'Courier New', monospace;
  font-size: 12.25px;
  max-width: 380px;
  line-height: 1.3;
}



.user-log-title {
  font-size: 15px;
  font-weight: bold;
  color: #ffe577;
  margin-bottom: 6px;
  text-shadow: 0 0 5px #cab15c;
  display: flex;
  align-items: center;
  gap: 6px;
}

.user-log-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
}

.user-log-list li {
  margin: 1px 0;
  padding: 0;
}

.user-log-list .log-label {
  font-weight: bold;
  color: #8be0c6;
  margin-right: 6px;
}

.left-panel-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  gap: 12px;
  margin-bottom: 20px;
}

.user-log-box.top-right-log {
  flex-shrink: 0;
  width: 38%;
  padding: 10px 14px;
  border: 1px solid #cab15c;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 0 12px #cab15c33;
  font-family: 'Courier New', monospace;
  color: #ffe577;
}

.vault-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  margin-bottom: 20px;
  gap: 20px;
}

.user-log-box.top-right-log {
  min-width: 300px;
  padding: 12px 16px;
  border: 1px solid #cab15c;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: 0 0 12px #cab15c33;
  font-family: 'Courier New', monospace;
  color: #ffe577;
}

.vault-title-block {
  display: flex;
  align-items: center;
  gap: 14px;
}

.vault-title-group {
  display: flex;
  flex-direction: column;
}

.vault-identity-box {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border: 1px solid #cab15c;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  box-shadow:
    0 0 10px #cab15c55,
    inset 0 0 4px #cab15c22;
  color: #ffe577;
  font-weight: bold;
  font-family: 'Cinzel', serif;
  font-size: 16px;
}

.vault-avatar-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid #cab15c;
  box-shadow: 0 0 8px #cab15c99;
  display: flex;
  align-items: center;
  justify-content: center;
}

#mainIdentityAvatar {
  width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid gold;
}

.vault-username-text span {
  color: #ffe577;
  font-weight: bold;
  font-size: 15px;
}

.back-btn, .next-pin-btn, #copyPinBtn {
  background-color: #968a68;
  border: none;
  color: #1a1a1a;
  padding: 8px 16px;
  margin: 10px 5px 0 0;
  border-radius: 8px;
  font-weight: bold;
  font-family: monospace;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 0 8px #c6a84b88;
  transition: background-color 0.3s ease, color 0.3s ease;
  user-select: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid transparent;
}

/* Override #copyPinBtn's border to gold */
#copyPinBtn {
  border-color: #c6a84b;
  color: #c6a84b;
  background-color: #222;
  padding: 8px 14px; /* slightly smaller horizontal padding */
  font-size: 15px;
}

/* Hover states */
.back-btn:hover, .next-pin-btn:hover, #copyPinBtn:hover {
  background-color: #ccbf93;
  color: #1a1a1a;
  border-color: #cab15c;
  box-shadow: 0 0 10px #cab15ccc;
}

/* Active states */
.back-btn:active, .next-pin-btn:active, #copyPinBtn:active {
  background-color: #beb06e;
  color: #111;
  border-color: #a18e3a;
  box-shadow: none;
}

.unlocked-badge {
  background: rgba(100, 255, 150, 0.08);
  color: #80ffb4;
  font-weight: bold;
  border: 1px solid #80ffb4;
  padding: 4px 10px;
  border-radius: 10px;
  animation: pulseUnlock 1.4s ease-in-out infinite;
  box-shadow: 0 0 10px #80ffb466;
}

@keyframes pulseUnlock {
  0% { box-shadow: 0 0 4px #80ffb4; }
  50% { box-shadow: 0 0 12px #80ffb4cc; }
  100% { box-shadow: 0 0 4px #80ffb4; }
}

/* 🌐 General Vault Key Input Styles */
.vault-key-input {
  text-align: center;
  padding: 20px;
}

.vault-keyline {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  color: #e6c979;
  text-align: center;
  letter-spacing: 0.5px;
  text-shadow:
    0 0 4px #cab15c66,
    0 0 8px #cab15c33;
  margin-bottom: 18px;
}

.vault-key-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.vault-key-row input[type="text"] {
  padding: 6px 10px;
  font-family: monospace;
  border: 1px solid #cab15c;
  border-radius: 6px;
  background: #111;
  color: #e6c979;
  outline: none;
  width: 200px;
}

.vault-key-row button {
  padding: 6px 12px;
  background: #cab15c;
  color: #1a1a1a;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.vault-key-row button:hover {
  background: #e6c979;
}

/* 🔐 Overlay for Tier Selection */
.login-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  font-family: 'Cinzel', serif;
}

/* 🌀 Tier Selection Box */
.login-modal {
  background: #1a1a1a;
  border: 2px solid rgb(168, 154, 73);
  border-radius: 16px;
  padding: 30px;
  width: 90%;
  max-width: 900px;
  text-align: center;
  color: #fff;
}

.login-title {
  font-size: 24px;
  margin-bottom: 20px;
  color: #ffd966;
}

.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.tier-box {
  background: #222;
  border: 1px solid #555;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 0 12px #ffd96633;
  transition: 0.3s ease;
}

.tier-box:hover {
  box-shadow: 0 0 20px #ffd96666;
}

.tier-box h3 {
  margin-top: 0;
  font-size: 20px;
  color: #ffe577;
}

.tier-box p {
  color: #ccc;
  margin-bottom: 10px;
}

.tier-box ul {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
  font-size: 14px;
  color: #aaa;
}

.tier-box li {
  margin-bottom: 6px;
}

.select-tier-btn {
  padding: 8px 16px;
  background: #ffd966;
  border: none;
  color: #1a1a1a;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.select-tier-btn:hover {
  background: #ffcc33;
}

/* 🔐 Vault Entry Modal */
.vault-login-modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  width: 100vw;
  height: 100vh;
  backdrop-filter: blur(4px);
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.vault-login-modal.hidden {
  display: none;
}

.vault-login-content {
  background: #111;
  border: 1px solid #cab15c;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 0 20px #cab15c99;
  width: 360px;
  max-width: 90%;
  color: #fff;
}

.vault-login-title {
  font-family: 'Cinzel', serif;
  color: #ffe577;
  margin-bottom: 12px;
  text-align: center;
}

.vault-login-content label {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  color: #ccc;
}

.vault-login-content input,
.vault-login-content select {
  width: 100%;
  padding: 6px;
  margin-top: 4px;
  background: #222;
  border: 1px solid #555;
  color: #fff;
  border-radius: 4px;
}

/* 🔓 Confirm Button */
#confirmLoginBtn {
  margin-top: 14px;
  width: 100%;
  background: #cab15c;
  border: none;
  padding: 8px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 6px;
}

#confirmLoginBtn:hover {
  background: #e0c76d;
}

/* ✨ Front Login for Existing Users */
.vault-login-front {
  background: #111;
  border: 1px solid #cab15c;
  border-radius: 12px;
  box-shadow: 0 0 12px #cab15c99;
  padding: 20px;
  max-width: 320px;
  margin: 30px auto;
  text-align: center;
}

.vault-login-front h3 {
  font-family: 'Cinzel', serif;
  font-size: 16px;
  color: #ffe577;
  margin-bottom: 12px;
}

.vault-login-front input {
  width: 85%;
  padding: 10px;
  margin: 6px 0;
  background: #1a1a1a;
  border: 1px solid #cab15c;
  color: #ffe577;
  border-radius: 6px;
  font-family: monospace;
}

.vault-login-front button {
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #cab15c;
  color: #111;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.vault-login-front button:hover {
  background-color: #e6c55c;
}

/* 🌫️ Blur Main Content When Modal Is Active */
.blurred {
  filter: blur(6px);
  pointer-events: none;
  user-select: none;
}

#centerToast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #1a1a1a;
  color: #ffe577;
  border: 2px solid #c6a84b;
  padding: 14px 30px;
  border-radius: 14px;
  font-family: monospace;
  font-size: 18px;
  z-index: 99999 !important; /* ⬅ make sure it’s above modals */
  box-shadow: 0 0 20px #c6a84b66;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

#centerToast.show {
  opacity: 1;
}

.hidden {
  display: none !important;
  visibility: hidden;
  opacity: 0;
}

.input-error {
  border: 2px solid red;
  animation: shake 0.3s;
}
@keyframes shake {
  0% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  50% { transform: translateX(3px); }
  75% { transform: translateX(-3px); }
  100% { transform: translateX(0); }
}

/* 🔹 Ghost Identity Box - Compact Version */
.ghost-identity-box {
  margin-top: 16px;
  background: #111;
  border: 2px solid #c6a84b;
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: 0 0 18px #c6a84b55;
  font-family: monospace;
  color: #ffe577;
  text-align: center;
  max-width: 100%;
  font-size: 14px;
}

/* 🔸 Optional Smaller Variant */
.ghost-identity-box.small-mode {
  padding: 12px 16px;
  font-size: 13px;
}

/* 🔹 Preview: Avatar + Name */
.identity-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 8px 0 14px;
  gap: 10px;
}

.identity-image {
  width: 40px;
  height: 40px;
  background-color: #222;
  border: 2px solid #c6a84b;
  box-shadow: 0 0 6px #c6a84b55;
  background-size: cover;
  background-position: center;
}

.circle-avatar {
  border-radius: 50%;
}

.identity-name {
  font-size: 14px;
  font-weight: bold;
  color: #ffe577;
}

/* 🔘 Radio Options */
.identity-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
  font-size: 13px;
}

.identity-controls label {
  color: #ffe577;
  cursor: pointer;
}

/* ✏️ Name Input */
.identity-input {
  display: block;
  margin: 0 auto 10px auto;
  padding: 5px 10px;
  width: 80%;
  font-family: monospace;
  font-size: 13px;
  border-radius: 6px;
  border: 1px solid #444;
  background: #111;
  color: #ffe;
  text-align: center;
}

/* 📤 Upload + Save Buttons */
.identity-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 12px;
}

.identity-buttons input[type="file"] {
  font-size: 12px;
  color: #ccc;
  font-family: monospace;
}

/* ✏️ Change / Save Buttons */
.ghost-btn.small {
  background-color: #222;
  color: #ffe577;
  font-family: monospace;
  padding: 6px 10px;
  font-size: 13px;
  border: 1px solid #c6a84b;
  border-radius: 6px;
  cursor: pointer;
  white-space: nowrap;
}

.ghost-btn.small:hover {
  background-color: #333;
  box-shadow: 0 0 6px #c6a84b88;
}

/* 🧱 Tier + Notice */
.ghost-tier {
  margin: 4px 0;
  font-size: 13px;
  color: #ccc;
}

.ghost-warning {
  font-size: 12.5px;
  color: #ffcb6b;
  margin-bottom: 10px;
}

/* 🔺 Upgrade Tier Button */
.upgrade-btn {
  background-color: #c6a84b;
  color: #1a1a1a;
  font-weight: bold;
  font-family: monospace;
  padding: 6px 14px;
  font-size: 13px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.upgrade-btn:hover {
  background-color: #ffe577;
  box-shadow: 0 0 8px #c6a84b;
}

/* Shrink only the Ghost Identity Box */
#ghostIdentityBox {
  max-width: 3500px;
  width: 100%;
  align-self: flex-end; /* Ensure it hugs the right side */
  margin-top: 10px;
  box-sizing: border-box;
}

#ghostIdentityBox h3 {
  font-size: 16px;
}

#ghostIdentityBox input,
#ghostIdentityBox .ghost-btn,
#ghostIdentityBox p {
  font-size: 13px;
}

#ghostIdentityBox input[type="text"] {
  width: 100%;
  box-sizing: border-box;
  max-width: 100%;
}
/* ========== VAULT AVATAR + IDENTITY ========== */

.vault-username {
  color: #ffe577;
  font-family: monospace;
  font-weight: bold;
  margin-top: 8px;
  display: block;
  text-align: center;
}

/* Avatar display containers */
#realAvatarDisplay, #ghostAvatarDisplay {
  border-radius: 50%;
  border: 1px solid gold;
  transition: opacity 0.3s ease;
  display: none;
}

/* Active toggle visibility */
#ghostAvatarDisplay { display: block; }

/* Main avatar display (top-left real/ghost) */
#displayedRealAvatar,
#displayedGhostAvatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid gold;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
  transition: transform 0.3s ease;
}

#displayedRealAvatar:hover,
#displayedGhostAvatar:hover {
  transform: scale(1.05);
}

/* Avatar preview for upload */
#realAvatarPreview,
#ghostAvatarPreview {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: none;
  opacity: 0;
  visibility: hidden;
}

.avatar-toggle-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 10px;
}

.vault-avatar-duo {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin: 12px auto 16px;
}

.avatar-circle {
  position: relative;
  width: 64px;
  height: 64px;
  border: 2px dashed #777;
  border-radius: 50%;
  overflow: hidden;
  background-color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.avatar-circle:hover {
  border-color: #f0c674;
  box-shadow: 0 0 8px #f0c67480;
  cursor: pointer;
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  z-index: 2;
}

.plus-icon {
  color: #aaa;
  font-size: 28px;
  pointer-events: none;
  z-index: 1;
}

.avatar-label {
  text-align: center;
  font-size: 13px;
  color: gold;
  margin-top: 4px;
  display: block;
}

#realAvatarPreview,
#ghostAvatarPreview {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* 🌌 Modal Overlay */
.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* 🟨 Modal Container */
.modal-content {
  background: #131313;
  border: 2px solid #cab15c;
  box-shadow: 0 0 22px #cab15c99;
  border-radius: 20px;
  padding: 36px 32px;
  max-width: 880px;
  width: 92%;
  color: #fbe8aa;
  text-align: center;
  font-family: 'Cinzel', serif;
}

/* 🧭 Modal Header */
.modal-content h2 {
  font-size: 26px;
  color: rgb(182, 166, 66);
  margin-bottom: 28px;
}

/* 🔱 Path Layout */
.path-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 22px;
}

/* 🟡 Tier Card */
.path-option {
  background: #1a1a1a;
  border: 1px solid #cab15c99;
  border-radius: 14px;
  padding: 20px 16px;
  color: #fbe8aa;
  box-shadow: 0 0 8px #cab15c33;
  transition: all 0.3s ease;
}

.path-option:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 16px #cab15ccc;
}

/* ❌ Locked Tier */
.path-option.locked {
  opacity: 0.3;
  filter: grayscale(1) blur(0.8px);
  pointer-events: none;
}

/* 🟨 Upgrade Button */
.path-option button {
  background: linear-gradient(145deg, rgb(199, 177, 55), #f9e79b);
  color: #111;
  font-weight: 600;
  padding: 8px 14px;
  border: none;
  border-radius: 8px;
  margin-top: 12px;
  cursor: pointer;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  box-shadow: 0 0 6px #cab15c88;
}

.path-option button:hover {
  box-shadow: 0 0 4px 1px gold, 0 0 20px 2px #ffe87c88;
  transform: translateY(-1px);
}

/* ⛔ Close Button */
.close-btn {
  margin-top: 30px;
  background: #222;
  color: #aaa;
  border: 1px solid #555;
  padding: 6px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
}

.close-btn:hover {
  color: rgb(194, 183, 124);
  border-color: rgb(83, 75, 26);
  background: #333;
}


