:root {
  --bg: #070707;
  --panel: rgba(20, 16, 13, 0.88);
  --panel-strong: #11100e;
  --line: rgba(255, 170, 60, 0.16);
  --text: #f7f7f7;
  --muted: #9d9a96;
  --accent: #ff9d2e;
  --accent-2: #ff6b1a;
  --shadow: 0 25px 70px rgba(0, 0, 0, 0.5);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { cursor: pointer; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.hidden { display: none !important; }

.bg-orb {
  position: fixed;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  filter: blur(110px);
  opacity: .11;
  pointer-events: none;
  z-index: -1;
}
.orb-1 { background: #d7ff3f; top: -280px; right: -160px; }
.orb-2 { background: #527cff; bottom: -320px; left: -180px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(7, 9, 13, 0.74);
  border-bottom: 1px solid var(--line);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent);
  color: #050607;
  font-weight: 900;
  letter-spacing: -.05em;
}
.brand strong { display: block; font-size: 15px; letter-spacing: -.02em; }
.brand small { display: block; margin-top: 2px; color: var(--muted); font-size: 8px; letter-spacing: .2em; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav a {
  position: relative;
  padding: 9px 13px;
  border-radius: 11px;
  color: #aeb5c2;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}

.main-nav a:hover {
  color: #fff;
  background: rgba(255,157,46,.09);
  transform: translateY(-1px);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 4px;
  height: 2px;
  border-radius: 999px;
  background: #ff9d2e;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}
.nav-toggle { display: none; border: 0; background: transparent; color: white; font-size: 23px; }

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 55px;
  padding: 80px 55px;
  position: relative;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 5;
}

.eyebrow {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 18px 0 22px;
  font-size: clamp(48px, 6vw, 78px);
  line-height: .96;
  letter-spacing: -.065em;
  max-width: 720px;
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  max-width: 580px;
  color: #b8bec9;
  font-size: 17px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-actions .btn {
  min-height: 50px;
  padding: 0 22px;
}

.hero-features {
  display: flex;
  gap: 28px;
  margin-top: 42px;
  flex-wrap: wrap;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-feature-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(246,193,73,.55);
  border-radius: 50%;
  color: var(--accent);
  font-size: 17px;
  background: rgba(246,193,73,.05);
}

.hero-feature strong {
  display: block;
  font-size: 13px;
  color: #fff;
}

.hero-feature small {
  display: block;
  margin-top: 3px;
  color: #8e96a5;
  font-size: 10px;
}

.hero-showcase {
  min-height: 500px;
  position: relative;
  perspective: 1000px;
}

.showcase-card {
  position: absolute;
  width: 250px;
  aspect-ratio: .71;
  border-radius: 22px;
  overflow: hidden;
  background: #11141b;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow:
    0 35px 90px rgba(0,0,0,.55),
    0 0 35px rgba(246,193,73,.08);
  transition:
    transform .5s cubic-bezier(.2,.7,.2,1),
    box-shadow .5s ease;
}

.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.showcase-card:nth-child(1) {
  left: 10%;
  top: 12%;
  transform: rotate(-11deg);
  z-index: 1;
}

.showcase-card:nth-child(2) {
  left: 30%;
  top: 2%;
  transform: rotate(2deg);
  z-index: 3;
}

.showcase-card:nth-child(3) {
  left: 51%;
  top: 14%;
  transform: rotate(11deg);
  z-index: 2;
}

.hero-showcase:hover .showcase-card:nth-child(1) {
  transform: translate(-18px,-8px) rotate(-15deg);
  box-shadow:
    0 40px 95px rgba(0,0,0,.6),
    0 0 35px rgba(246,193,73,.12);
}

.hero-showcase:hover .showcase-card:nth-child(2) {
  transform: translateY(-18px) rotate(0deg);
  box-shadow:
    0 45px 100px rgba(0,0,0,.65),
    0 0 45px rgba(246,193,73,.16);
}

.hero-showcase:hover .showcase-card:nth-child(3) {
  transform: translate(18px,-5px) rotate(15deg);
  box-shadow:
    0 40px 95px rgba(0,0,0,.6),
    0 0 35px rgba(246,193,73,.12);
}

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding-bottom: 36px; }
.stat-card { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.025); }
.stat-value { display: block; font-size: 28px; font-weight: 900; letter-spacing: -.05em; }
.stat-label { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .12em; }

.section { padding: 65px 0; }
.section-heading { display:flex; align-items:end; justify-content:space-between; gap:20px; margin-bottom: 25px; }
.section-heading h2 { margin: 7px 0 0; font-size: clamp(34px, 4vw, 47px); letter-spacing: -.055em; }
.section-count { color: var(--muted); font-size: 12px; }
.section-note { color: var(--muted); font-size: 12px; max-width: 300px; text-align: right; }

.toolbar { display:flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 25px; }
.search-box { flex: 1 1 340px; max-width: 500px; display:flex; align-items:center; gap:10px; padding: 0 14px; min-height: 46px; background: rgba(255,255,255,.03); border: 1px solid var(--line); border-radius: 13px; }
.search-box span { color: var(--muted); font-size: 20px; }
.search-box input { width:100%; border:0; outline:0; background:transparent; color:white; font-size:13px; }
.search-box input::placeholder { color:#6f7580; }
.filters { display:flex; gap: 8px; flex-wrap:wrap; }
.filter { border: 1px solid var(--line); background: rgba(255,255,255,.025); color:#aeb5c0; padding: 9px 13px; border-radius: 999px; font-size:11px; }
.filter:hover { border-color: rgba(255,255,255,.18); color:white; }
.filter.active { background: var(--accent); border-color:var(--accent); color:#0a0c0e; font-weight:800; }

.card-grid { display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 15px; }
.card-item { border-radius: 19px; overflow:hidden; background: var(--panel); border:1px solid var(--line); cursor:pointer; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.card-item:hover { transform:translateY(-5px); border-color: rgba(215,255,63,.28); box-shadow: var(--shadow); }
.card-image { position:relative; aspect-ratio:.71; overflow:hidden; background:#11151c; }
.sale-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  padding: 6px 10px;
  border-radius: 999px;
  background: #ff9d2e;
  color: #111;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  box-shadow: 0 4px 14px rgba(0,0,0,.35);
}
.card-image img { width:100%; height:100%; display:block; object-fit:cover; transition: transform .35s ease; }
.card-item:hover .card-image img { transform:scale(1.045); }
.card-body { padding: 14px; }
.tag-row { display:flex; gap:6px; flex-wrap:wrap; }
.tag { display:inline-flex; align-items:center; min-height:22px; padding:0 7px; border-radius:999px; background:rgba(255,255,255,.07); color:#b7bfca; font-size:9px; text-transform:uppercase; letter-spacing:.07em; }
.tag.accent { background:rgba(215,255,63,.14); color:var(--accent); }
.card-body h3 { margin: 10px 0 2px; font-size:15px; letter-spacing:-.02em; }
.card-body p { margin:0; color:var(--muted); font-size:11px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

.empty-state { text-align:center; padding: 80px 20px; border:1px dashed var(--line); border-radius: 20px; }
.empty-icon { font-size: 42px; color:var(--muted); }
.empty-state h3 { margin: 7px 0; }
.empty-state p { color:var(--muted); font-size:13px; }

.featured-section { background: rgba(255,255,255,.015); border-block:1px solid var(--line); }
.featured-grid { display:grid; grid-template-columns: repeat(4, 1fr); gap:15px; }
.featured-grid .card-item { background: rgba(9,11,15,.7); }

.about-strip { padding: 88px 0; }
.about-inner { display:grid; grid-template-columns: 1fr 1fr; gap:60px; align-items:end; }
.about-inner h2 { margin: 10px 0 0; max-width: 650px; font-size: clamp(38px, 5vw, 64px); line-height: 1; letter-spacing: -.06em; }
.about-inner p { color:var(--muted); max-width:470px; margin-left:auto; }

.site-footer { border-top:1px solid var(--line); color:#727986; font-size:10px; }
.footer-inner { min-height:76px; display:flex; align-items:center; justify-content:space-between; gap:20px; }

.modal { position:fixed; inset:0; z-index:100; display:grid; place-items:center; padding:22px; }
.modal-backdrop { position:absolute; inset:0; background:rgba(0,0,0,.76); backdrop-filter:blur(12px); }
.modal-card { position:relative; width:min(920px,100%); max-height:90vh; overflow:auto; display:grid; grid-template-columns: minmax(300px,.9fr) 1.1fr; gap: 26px; padding: 20px; border:1px solid var(--line); border-radius:25px; background:#0d1016; box-shadow:0 35px 120px rgba(0,0,0,.55); }
.modal-close { position:absolute; top:13px; right:13px; width:36px; height:36px; border-radius:50%; border:1px solid var(--line); background:rgba(0,0,0,.5); color:white; font-size:22px; z-index:2; }
.modal-image-wrap { border-radius:18px; overflow:hidden; background:#12151b; min-height:460px; }
.modal-image-next {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(0,0,0,.65);
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  cursor: pointer;
  z-index: 5;
  display: grid;
  place-items: center;
}

.modal-image-next:hover {
  background: rgba(0,0,0,.85);
}
.modal-image-wrap img { width:100%; height:100%; min-height:460px; object-fit:cover; display:block; }
.modal-info { padding: 34px 12px 20px 0; align-self:center; }
.modal-info h2 { margin: 9px 0 5px; font-size: clamp(32px,4vw,50px); letter-spacing:-.055em; line-height:1; }
.modal-subtitle { color:var(--muted); margin:0 0 24px; }
.details-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; }
.detail { padding:13px; border:1px solid var(--line); border-radius:14px; background:rgba(255,255,255,.02); }
.detail span { display:block; color:#6f7682; text-transform:uppercase; letter-spacing:.1em; font-size:8px; }
.detail strong { display:block; margin-top:4px; font-size:12px; }
.modal-note { color:#aeb5c0; font-size:12px; line-height:1.7; margin-top:18px; }

@media (max-width: 1050px) {
  .card-grid { grid-template-columns:repeat(3,1fr); }
  .hero { grid-template-columns:1fr .85fr; }
  .showcase-card { width:195px; }
}
@media (max-width: 820px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    padding: 16px 20px 22px;
    background: #0a0d12;
    border-bottom: 1px solid var(--line);
  }

  .main-nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-toggle {
    display: block;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 70px 30px 45px;
    gap: 25px;
  }

  .hero-copy {
    text-align: center;
  }

  .hero h1 {
    margin-left: auto;
    margin-right: auto;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-features {
    justify-content: center;
  }

  .hero-showcase {
    min-height: 390px;
    margin-top: 0;
  }

  .showcase-card {
    width: 210px;
  }

  .showcase-card:nth-child(1) {
    left: 12%;
    top: 12%;
  }

  .showcase-card:nth-child(2) {
    left: 30%;
    top: 2%;
  }

  .showcase-card:nth-child(3) {
    left: 48%;
    top: 12%;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .about-inner p {
    margin-left: 0;
  }
}
@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .hero {
    padding: 55px 18px 30px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .hero p {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-features {
    gap: 18px;
  }

  .hero-feature-icon {
    width: 34px;
    height: 34px;
  }

  .hero-showcase {
    min-height: 330px;
  }

  .showcase-card {
    width: 155px;
    border-radius: 17px;
  }

  .showcase-card:nth-child(1) {
    left: 4%;
  }

  .showcase-card:nth-child(2) {
    left: 28%;
  }

  .showcase-card:nth-child(3) {
    left: 52%;
  }

  .stats {
    gap: 8px;
  }

  .stat-card {
    padding: 16px;
  }

  .stat-value {
    font-size: 24px;
  }

  .card-grid {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }

  .card-body {
    padding: 11px;
  }

  .card-body h3 {
    font-size: 13px;
  }

  .modal-card {
    grid-template-columns: 1fr;
    max-height: 92vh;
  }

  .modal-image-wrap,
  .modal-image-wrap img {
    min-height: 0;
    max-height: 56vh;
  }

  .modal-info {
    padding: 0 10px;
  }

  .section {
    padding: 50px 0;
  }
}

/* Admin / live database additions */
.hidden { display: none !important; }
.nav-login {
  border: 1px solid rgba(255,157,46,.45);
  background: linear-gradient(
    135deg,
    rgba(255,157,46,.16),
    rgba(255,255,255,.04)
  );
  color: #fff;
  padding: 11px 19px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
  cursor: pointer;
  box-shadow:
    0 8px 25px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.08);
  backdrop-filter: blur(12px);
  transition:
    transform .2s ease,
    border-color .2s ease,
    background .2s ease,
    box-shadow .2s ease;
}

.nav-login:hover {
  transform: translateY(-2px);
  border-color: rgba(255,157,46,.8);
  background: linear-gradient(
    135deg,
    rgba(255,157,46,.25),
    rgba(255,255,255,.07)
  );
  box-shadow:
    0 12px 30px rgba(255,157,46,.14),
    inset 0 1px 0 rgba(255,255,255,.12);
}
.admin-section { padding-top: 40px; }
.admin-top-actions { display:flex; gap:10px; flex-wrap:wrap; align-items:center; }
.admin-form { margin: 24px 0; padding: 24px; border: 1px solid rgba(255,255,255,.1); border-radius: 22px; background: rgba(255,255,255,.035); }
.admin-form-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:20px; }
.admin-form-head h3 { margin:0; font-size:1.3rem; }
.form-grid { display:grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap:16px; }
.form-grid label { display:flex; flex-direction:column; gap:7px; color:#aeb5c2; font-size:.85rem; font-weight:700; }
.form-grid input,.form-grid select,.form-grid textarea,.login-card input { width:100%; box-sizing:border-box; border:1px solid rgba(255,255,255,.12); background:#10141c; color:#fff; border-radius:12px; padding:12px 13px; outline:none; font:inherit; }
.form-grid input:focus,.form-grid select:focus,.form-grid textarea:focus,.login-card input:focus { border-color:#d7ff3f; box-shadow:0 0 0 3px rgba(215,255,63,.08); }
.form-grid .wide { grid-column:1/-1; }
.form-grid .check { flex-direction:row; align-items:center; gap:9px; }
.form-grid .check input { width:auto; }
.form-actions { display:flex; gap:10px; }
.admin-list { display:grid; gap:10px; }
.admin-row { display:grid; grid-template-columns:54px 1fr auto; align-items:center; gap:14px; padding:10px; border:1px solid rgba(255,255,255,.08); background:rgba(255,255,255,.025); border-radius:15px; }
.admin-row img { width:54px; height:72px; object-fit:cover; border-radius:8px; background:#111; }
.admin-row strong { display:block; color:#fff; }
.admin-row small { display:block; color:#8f98a8; margin-top:4px; }
.admin-actions { display:flex; gap:7px; }
.small-btn { border:1px solid rgba(255,255,255,.12); background:rgba(255,255,255,.05); color:#fff; border-radius:9px; padding:8px 10px; cursor:pointer; }
.small-btn.danger { color:#ff9a9a; }
.login-card { position:relative; width:min(460px, calc(100vw - 32px)); padding:30px; border:1px solid rgba(255,255,255,.12); background:#151a23; border-radius:24px; box-shadow:0 30px 100px rgba(0,0,0,.45); z-index:2; }
.login-card h2 { margin:8px 0 10px; }
.login-card p { color:#aeb5c2; line-height:1.6; }
.login-card form { display:grid; gap:15px; margin-top:20px; }
.login-card label { display:grid; gap:7px; color:#aeb5c2; font-weight:700; font-size:.9rem; }
.setup-card ol { color:#c5cbd5; line-height:1.8; padding-left:22px; }
.toast { position:fixed; right:20px; bottom:20px; z-index:100; padding:13px 17px; border-radius:13px; background:#d7ff3f; color:#10140c; font-weight:800; box-shadow:0 12px 40px rgba(0,0,0,.35); }
.toast.error { background:#ff7272; color:#210808; }
code { color:#d7ff3f; }
@media (max-width: 700px) {
  .form-grid { grid-template-columns:1fr; }
  .form-grid .wide { grid-column:auto; }
  .admin-row { grid-template-columns:48px 1fr; }
  .admin-actions { grid-column:2; }
  .admin-top-actions { width:100%; }
  .admin-top-actions .btn { flex:1; }
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

/* VaultBot Floating Assistant */

.vaultbot-floating {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 157, 46, 0.45);
  border-radius: 50%;
  background: linear-gradient(135deg, #ff9d2e, #ff6b1a);
  color: #111;
  font-size: 27px;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: transform .2s ease, box-shadow .2s ease;
}

.vaultbot-floating:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.55);
}

.vaultbot-panel {
  position: fixed;
  right: 24px;
  bottom: 94px;
  width: 360px;
  max-width: calc(100vw - 32px);
  z-index: 9998;
  display: none;
}

.vaultbot-panel.open {
  display: block;
}

.vaultbot-box {
  background: #11100e;
  border: 1px solid rgba(255, 157, 46, 0.25);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.65);
}

.vaultbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.vaultbot-label {
  display: block;
  color: #ff9d2e;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
  margin-bottom: 5px;
}

.vaultbot-header h2 {
  margin: 0;
  font-size: 20px;
}

.vaultbot-close {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.vaultbot-messages {
  height: 280px;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vaultbot-message {
  max-width: 85%;
  padding: 10px 13px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.45;
}

.vaultbot-message.bot {
  align-self: flex-start;
  background: #1d1b18;
  color: #f5f5f5;
}

.vaultbot-message.user {
  align-self: flex-end;
  background: #ff9d2e;
  color: #111;
}

.vaultbot-input-row {
  display: flex;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid rgba(255,255,255,.08);
}

.vaultbot-input-row input {
  min-width: 0;
  flex: 1;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.12);
  background: #0a0a0a;
  color: #fff;
  outline: none;
}

.vaultbot-input-row input:focus {
  border-color: #ff9d2e;
}

.vaultbot-input-row .btn {
  flex-shrink: 0;
}

@media (max-width: 560px) {
  .vaultbot-floating {
    right: 16px;
    bottom: 16px;
  }

  .vaultbot-panel {
    right: 16px;
    bottom: 88px;
    width: calc(100vw - 32px);
  }
}

.vaultbot-floating {
  padding: 0;
  overflow: hidden;
}

.vaultbot-floating img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
/* Community User Cards */

.user-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 22px 22px;
  min-height: 280px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  box-shadow: 0 18px 45px rgba(0,0,0,.28);
  overflow: hidden;
  transition:
    transform .3s ease,
    border-color .3s ease,
    box-shadow .3s ease;
}

.user-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(255,157,46,.16),
    transparent 55%
  );
  pointer-events: none;
}

.user-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,157,46,.35);
  box-shadow: 0 25px 55px rgba(0,0,0,.4);
}

.user-avatar {
  position: relative;
  width: 82px;
  height: 82px;
  margin-bottom: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #171a22;
  border: 2px solid rgba(255,157,46,.45);
  box-shadow: 0 8px 25px rgba(0,0,0,.35);
  overflow: hidden;
  z-index: 1;
}

.user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-avatar span {
  font-size: 34px;
  opacity: .7;
}

.user-card-body {
  position: relative;
  z-index: 1;
  width: 100%;
}

.user-card-body h3 {
  margin: 0 0 7px;
  font-size: 20px;
  font-weight: 800;
}

.user-card-body p {
  margin: 0 0 20px;
  opacity: .55;
  font-size: 13px;
}

.user-card .btn {
  width: 100%;
  justify-content: center;
}

.user-card .view-user-collection {
  margin-top: auto;
}

@media (max-width: 600px) {
  .user-card {
    min-height: 250px;
    padding: 24px 18px 18px;
  }

  .user-avatar {
    width: 72px;
    height: 72px;
  }
}
.user-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 0 0 20px;
}

.user-stat {
  padding: 10px 6px;
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.06);
}

.user-stat strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}

.user-stat span {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .04em;
  opacity: .55;
}
.view-user-collection {
  width: 100%;
  padding: 12px 18px;
  border: 1px solid #ff9d2e;
  border-radius: 14px;
  background: #ff9d2e;
  color: #111;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition: all .25s ease;
}

.view-user-collection:hover {
  background: transparent;
  color: #ff9d2e;
  border-color: #ff9d2e;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,157,46,.18);
}
.account-menu {
  padding: 12px;
  min-width: 230px;
}

.account-menu-email {
  padding: 8px 10px 12px;
  margin-bottom: 6px;
  font-size: 13px;
  opacity: .75;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.account-menu button {
  width: 100%;
  display: block;
  padding: 11px 14px;
  margin: 5px 0;
  border: 1px solid rgba(255,157,46,.35);
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: all .22s ease;
}

.account-menu button:hover {
  background: transparent;
  border-color: #ff9d2e;
  color: #ff9d2e;
  transform: translateX(3px);
}

#accountLogoutBtn {
  border-color: rgba(255,255,255,.12);
  color: rgba(255,255,255,.75);
}

#accountLogoutBtn:hover {
  border-color: #ff9d2e;
  color: #ff9d2e;
}
.profile-photo-section {
  margin: 22px 0;
}

.profile-photo-section > label {
  display: block;
  margin-bottom: 10px;
  font-weight: 700;
}

.profile-photo-preview {
  width: 100px;
  height: 100px;
  margin-bottom: 12px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #ff9d2e;
  background: rgba(255,157,46,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
}

.profile-photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.profile-photo-section input[type="file"] {
  width: 100%;
  padding: 10px;
  border: 1px solid rgba(255,157,46,.25);
  border-radius: 12px;
  background: rgba(255,255,255,.04);
  color: #fff;
  cursor: pointer;
}

.profile-photo-section small {
  display: block;
  margin-top: 7px;
  opacity: .55;
  font-size: 11px;
}
.user-profile-header {
  width: 100%;
  margin-bottom: 35px;
  padding: 35px;
  border-radius: 24px;
  border: 1px solid rgba(255,157,46,.18);
  background:
    radial-gradient(circle at 15% 50%, rgba(255,157,46,.12), transparent 35%),
    rgba(255,255,255,.025);
  display: flex;
  align-items: center;
  gap: 28px;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
}
.user-profile-info {
  flex: 1;
}

.user-profile-info h2 {
  margin: 8px 0 8px;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.user-profile-info p {
  margin: 0 0 22px;
  color: rgba(255,255,255,.58);
  font-size: 15px;
}

.user-profile-stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.user-profile-stats > div {
  min-width: 100px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,.035);
  border: 1px solid rgba(255,157,46,.14);
}

.user-profile-stats strong {
  display: block;
  font-size: 22px;
  font-weight: 900;
  color: #fff;
}

.user-profile-stats span {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  opacity: .5;
}

.user-profile-card-grid {
  margin-top: 30px;
}

.user-profile-avatar {
  width: 150px;
  height: 150px;
  flex: 0 0 150px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #ff9d2e;
  background: #171a22;
  box-shadow: 0 15px 45px rgba(0,0,0,.4);
}

.user-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.user-profile-avatar span {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 55px;
}

@media (max-width: 700px) {
  .user-profile-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 25px;
  }

  .user-profile-avatar {
    width: 110px;
    height: 110px;
    flex-basis: 110px;
  }

  .user-profile-stats {
    width: 100%;
  }

  .user-profile-stats > div {
    flex: 1;
    min-width: 0;
  }
}

.user-profile-avatar {
  width: 130px;
  height: 130px;
  flex: 0 0 130px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #ff9d2e;
  background: rgba(255,157,46,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
  box-shadow: 0 0 35px rgba(255,157,46,.18);
}

.user-profile-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.user-profile-info h2 {
  margin: 5px 0 5px;
  font-size: 34px;
  font-weight: 900;
}

.user-profile-info p {
  margin: 0 0 20px;
  opacity: .6;
}

.user-profile-stats {
  display: flex;
  gap: 12px;
}

.user-profile-stats > div {
  min-width: 95px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.07);
}

.user-profile-stats strong {
  display: block;
  font-size: 22px;
  font-weight: 900;
}

.user-profile-stats span {
  display: block;
  margin-top: 3px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
  opacity: .5;
}

.user-profile-card-grid {
  width: 100%;
}

@media (max-width: 650px) {
  .user-profile-header {
    padding: 25px;
    flex-direction: column;
    align-items: flex-start;
  }

  .user-profile-avatar {
    width: 105px;
    height: 105px;
    flex-basis: 105px;
  }

  .user-profile-info h2 {
    font-size: 28px;
  }

  .user-profile-stats {
    width: 100%;
  }

  .user-profile-stats > div {
    flex: 1;
    min-width: 0;
  }
}
/* Premium Collector Profile */
.collector-profile {
  width: 100%;
}

.collector-profile-header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 34px;
  margin-bottom: 48px;
  padding: 42px;
  border: 1px solid rgba(255,157,46,.18);
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 50%, rgba(255,157,46,.14), transparent 38%),
    linear-gradient(135deg, rgba(255,255,255,.045), rgba(255,255,255,.015));
  box-shadow: 0 25px 70px rgba(0,0,0,.35);
}

.collector-profile-header::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -90px;
  top: -100px;
  border-radius: 50%;
  background: rgba(255,157,46,.08);
  filter: blur(10px);
  pointer-events: none;
}

.collector-profile-avatar {
  position: relative;
  z-index: 2;
  width: 150px;
  height: 150px;
  flex: 0 0 150px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #ff9d2e;
  background: #11141a;
  box-shadow:
    0 0 0 8px rgba(255,157,46,.06),
    0 18px 45px rgba(0,0,0,.45);
}

.collector-profile-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.collector-profile-avatar span {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 50px;
}

.collector-profile-info {
  position: relative;
  z-index: 2;
  flex: 1;
}

.collector-profile-info h1 {
  margin: 8px 0 8px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: .95;
  letter-spacing: -.06em;
  font-weight: 900;
}

.collector-profile-info p {
  margin: 0 0 24px;
  color: #9da3ae;
  font-size: 14px;
}

.collector-profile-stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.collector-stat {
  min-width: 105px;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(0,0,0,.22);
  border: 1px solid rgba(255,157,46,.12);
}

.collector-stat strong {
  display: block;
  font-size: 22px;
  line-height: 1;
  font-weight: 900;
}

.collector-stat span {
  display: block;
  margin-top: 5px;
  color: #777e89;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.collector-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.collector-section-heading h2 {
  margin: 7px 0 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
  letter-spacing: -.055em;
  font-weight: 900;
}

.collector-section-heading > span {
  color: #777e89;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.collector-card-grid {
  margin-top: 0;
}

@media (max-width: 700px) {
  .collector-profile-header {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
  }

  .collector-profile-avatar {
    width: 115px;
    height: 115px;
    flex-basis: 115px;
  }

  .collector-profile-info h1 {
    font-size: 42px;
  }

  .collector-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}
.profile-card-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.profile-card-actions button {
  flex: 1;
  height: 34px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 10px;
  padding: 7px 10px;
  font-size: 11px;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform .2s ease,
    background .2s ease,
    border-color .2s ease,
    box-shadow .2s ease;
}

.profile-edit-btn {
  background: rgba(255,157,46,.12);
  color: #ffb45f;
  border-color: rgba(255,157,46,.28) !important;
}

.profile-edit-btn:hover {
  transform: translateY(-2px);
  background: rgba(255,157,46,.22);
  border-color: rgba(255,157,46,.55) !important;
  box-shadow: 0 8px 20px rgba(255,157,46,.12);
}

.profile-delete-btn {
  background: rgba(255,70,70,.08);
  color: #ff8585;
  border-color: rgba(255,70,70,.22) !important;
}

.profile-delete-btn:hover {
  transform: translateY(-2px);
  background: rgba(255,70,70,.16);
  border-color: rgba(255,70,70,.45) !important;
  box-shadow: 0 8px 20px rgba(255,70,70,.10);
}
/* PROFILE SETTINGS */
#profileSettingsModal .login-card {
  scrollbar-width: thin;
  scrollbar-color: #ff9d2e rgba(255,255,255,.06);
}

/* Chrome / Edge scrollbar */
#profileSettingsModal .login-card::-webkit-scrollbar {
  width: 8px;
}

#profileSettingsModal .login-card::-webkit-scrollbar-track {
  background: rgba(255,255,255,.035);
  border-radius: 999px;
}

#profileSettingsModal .login-card::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    #ff9d2e,
    #ffb45f
  );
  border-radius: 999px;
  border: 2px solid #151a23;
}

#profileSettingsModal .login-card::-webkit-scrollbar-thumb:hover {
  background: #ffb45f;
}

/* Save button */
#profileSettingsModal form button[type="submit"] {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    #ff9d2e,
    #ffb45f
  );
  color: #111;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(255,157,46,.15);
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    filter .2s ease;
}

#profileSettingsModal form button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(255,157,46,.25);
  filter: brightness(1.04);
}

/* Delete account button */
#profileSettingsModal #deleteAccountBtn {
  min-height: 44px !important;
  padding: 0 17px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255,80,80,.30) !important;
  background: rgba(255,70,70,.07) !important;
  color: #ff7777 !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  cursor: pointer;
  transition:
    transform .2s ease,
    background .2s ease,
    border-color .2s ease,
    box-shadow .2s ease;
}

#profileSettingsModal #deleteAccountBtn:hover {
  transform: translateY(-2px);
  background: rgba(255,70,70,.13) !important;
  border-color: rgba(255,90,90,.50) !important;
  box-shadow: 0 10px 25px rgba(255,70,70,.10);
}
/* PROFILE PHOTO UPLOAD */
#profileSettingsModal input[type="file"] {
  width: 100%;
  box-sizing: border-box;
  padding: 9px;
  border: 1px solid rgba(255,157,46,.25);
  border-radius: 12px;
  background: rgba(255,255,255,.035);
  color: #8f96a3;
  font-size: 12px;
  cursor: pointer;
  transition:
    border-color .2s ease,
    background .2s ease;
}

#profileSettingsModal input[type="file"]:hover {
  border-color: rgba(255,157,46,.50);
  background: rgba(255,157,46,.06);
}

#profileSettingsModal input[type="file"]::file-selector-button {
  margin-right: 12px;
  padding: 9px 14px;
  border: 1px solid rgba(255,157,46,.35);
  border-radius: 9px;
  background: linear-gradient(
    135deg,
    #ff9d2e,
    #ffb45f
  );
  color: #111;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    filter .2s ease;
}

#profileSettingsModal input[type="file"]::file-selector-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 7px 18px rgba(255,157,46,.20);
  filter: brightness(1.04);
}
/* ================================
   COLLECTOR COMMUNITY
   ================================ */

.collector-community-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 18px;
}

.collector-community-count {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid rgba(255,157,46,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  color: rgba(255,255,255,.65);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
}

.collector-community-count small {
  font-size: 10px;
  letter-spacing: .1em;
  color: rgba(255,255,255,.45);
}

/* Live dot */

.collector-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff4b4b;
  box-shadow: 0 0 0 rgba(255,75,75,.7);
  animation: collectorLivePulse 1.5s infinite;
}

@keyframes collectorLivePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255,75,75,.65);
    opacity: 1;
  }

  70% {
    box-shadow: 0 0 0 6px rgba(255,75,75,0);
    opacity: .75;
  }

  100% {
    box-shadow: 0 0 0 0 rgba(255,75,75,0);
    opacity: 1;
  }
}


/* Search area */

.collector-search-wrap {
  width: 100%;
  margin: 0 0 28px;
}

.collector-search {
  position: relative;
  width: min(440px, 100%);
}

.collector-search > span {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255,255,255,.45);
  font-size: 19px;
  pointer-events: none;
  transition: color .2s ease;
}

.collector-search input {
  width: 100%;
  height: 48px;
  box-sizing: border-box;

  padding: 0 18px 0 46px;

  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;

  outline: none;

  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,.055),
      rgba(255,255,255,.025)
    );

  color: #fff;

  font-family: inherit;
  font-size: 14px;
  font-weight: 600;

  box-shadow:
    0 10px 30px rgba(0,0,0,.18),
    inset 0 1px 0 rgba(255,255,255,.03);

  transition:
    border-color .25s ease,
    background .25s ease,
    box-shadow .25s ease,
    transform .25s ease;
}

.collector-search input::placeholder {
  color: rgba(255,255,255,.38);
}

.collector-search input:hover {
  border-color: rgba(255,157,46,.25);
  background:
    linear-gradient(
      135deg,
      rgba(255,157,46,.06),
      rgba(255,255,255,.025)
    );
}

.collector-search input:focus {
  border-color: rgba(255,157,46,.65);

  background:
    linear-gradient(
      135deg,
      rgba(255,157,46,.08),
      rgba(255,255,255,.025)
    );

  box-shadow:
    0 0 0 3px rgba(255,157,46,.08),
    0 15px 35px rgba(0,0,0,.25);

  transform: translateY(-1px);
}

.collector-search:focus-within > span {
  color: #ff9d2e;
}


/* Collector grid spacing */

#collectors .card-grid {
  margin-top: 0;
}


/* Mobile */

@media (max-width: 700px) {

  .collector-community-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .collector-community-count {
    align-self: flex-start;
  }

  .collector-search {
    width: 100%;
  }

}


/* =========================================================
   AUTH MODAL — PREMIUM BUTTONS
   ========================================================= */

#loginModal .login-card,
#signupModal .login-card {
  border: 1px solid rgba(255,157,46,.18);
  background:
    radial-gradient(circle at 85% 0%, rgba(255,157,46,.09), transparent 32%),
    linear-gradient(145deg, #171c25, #11151d);
  box-shadow:
    0 30px 100px rgba(0,0,0,.58),
    0 0 0 1px rgba(255,255,255,.025) inset;
}

#loginModal .login-card form,
#signupModal .login-card form {
  gap: 14px;
}

#loginModal .login-card form .btn-primary,
#signupModal .login-card form .btn-primary {
  position: relative;
  width: 100%;
  min-height: 50px;
  margin-top: 4px;
  border: 1px solid rgba(255,157,46,.65);
  border-radius: 14px;
  background: linear-gradient(135deg, #ff9d2e 0%, #ffb45f 100%);
  color: #111;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .01em;
  box-shadow:
    0 10px 28px rgba(255,157,46,.16),
    inset 0 1px 0 rgba(255,255,255,.28);
  cursor: pointer;
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    filter .2s ease;
}

#loginModal .login-card form .btn-primary:hover,
#signupModal .login-card form .btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow:
    0 15px 34px rgba(255,157,46,.25),
    inset 0 1px 0 rgba(255,255,255,.3);
}

#loginModal .login-card form .btn-primary:active,
#signupModal .login-card form .btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 7px 18px rgba(255,157,46,.16);
}

#loginModal #signupBtn,
#signupModal #backToLoginBtn {
  width: 100% !important;
  min-height: 48px;
  margin-top: 10px !important;
  border: 1px solid rgba(255,157,46,.28);
  border-radius: 14px;
  background: rgba(255,157,46,.055);
  color: #ffb45f;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .01em;
  cursor: pointer;
  transition:
    transform .2s ease,
    background .2s ease,
    border-color .2s ease,
    box-shadow .2s ease,
    color .2s ease;
}

#loginModal #signupBtn:hover,
#signupModal #backToLoginBtn:hover {
  transform: translateY(-2px);
  background: rgba(255,157,46,.11);
  border-color: rgba(255,157,46,.55);
  color: #ffc47c;
  box-shadow: 0 10px 25px rgba(255,157,46,.10);
}

#loginModal #signupBtn:active,
#signupModal #backToLoginBtn:active {
  transform: translateY(0);
}

#loginModal .login-card form .btn-primary:focus-visible,
#signupModal .login-card form .btn-primary:focus-visible,
#loginModal #signupBtn:focus-visible,
#signupModal #backToLoginBtn:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 3px rgba(255,157,46,.14),
    0 10px 28px rgba(255,157,46,.18);
}

#loginModal .login-card label,
#signupModal .login-card label {
  color: #b7beca;
}

#loginModal .login-card input,
#signupModal .login-card input {
  min-height: 48px;
  border-color: rgba(255,255,255,.10);
  background: rgba(7,10,15,.62);
  transition:
    border-color .2s ease,
    box-shadow .2s ease,
    background .2s ease;
}

#loginModal .login-card input:hover,
#signupModal .login-card input:hover {
  border-color: rgba(255,157,46,.25);
}

#loginModal .login-card input:focus,
#signupModal .login-card input:focus {
  border-color: rgba(255,157,46,.65);
  background: rgba(7,10,15,.82);
  box-shadow: 0 0 0 3px rgba(255,157,46,.09);
}

#loginModal .login-card p,
#signupModal .login-card p {
  color: #9098a6;
}

#loginModal .modal-close,
#signupModal .modal-close {
  border: 1px solid rgba(255,157,46,.20);
  background: rgba(255,255,255,.035);
  color: rgba(255,255,255,.72);
  transition:
    transform .2s ease,
    background .2s ease,
    border-color .2s ease,
    color .2s ease;
}

#loginModal .modal-close:hover,
#signupModal .modal-close:hover {
  transform: rotate(90deg);
  border-color: rgba(255,157,46,.50);
  background: rgba(255,157,46,.08);
  color: #ffb45f;
}


/* FOR TRADE */
.trade-tag{border-color:rgba(70,180,255,.28);background:rgba(70,180,255,.08);color:#74c8ff;}


/* COMMUNITY TOOLS */

.stat-feed-cta{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:7px;cursor:pointer;transition:.2s ease}
.stat-feed-cta:hover{transform:translateY(-3px);border-color:rgba(255,157,46,.45);box-shadow:0 14px 35px rgba(0,0,0,.25)}
.stat-feed-cta-label{font-size:9px;font-weight:900;letter-spacing:.14em;color:var(--accent)}
.stat-feed-cta strong{font-size:20px;line-height:1}
.stat-feed-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:0 15px;
  border:1px solid rgba(255,157,46,.42);
  border-radius:12px;
  background:linear-gradient(135deg,rgba(255,157,46,.13),rgba(255,157,46,.05));
  color:#ffb45f;
  text-decoration:none;
  font-size:12px;
  font-weight:900;
  letter-spacing:.02em;
  transition:.2s ease;
  white-space:nowrap;
  margin-top:3px;
}
.stat-feed-btn:hover{
  background:rgba(255,157,46,.18);
  border-color:rgba(255,157,46,.7);
  transform:translateY(-2px);
  box-shadow:0 10px 25px rgba(255,157,46,.12);
}
@media(max-width:560px){
  .stat-collector-card{align-items:flex-start}
  .stat-feed-btn{min-height:44px;padding:0 13px;font-size:10px}
}
.vault-tools-section{margin-top:30px}
.vault-tools-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.vault-tool-card{padding:22px;border:1px solid rgba(255,255,255,.08);border-radius:22px;background:linear-gradient(145deg,rgba(255,255,255,.045),rgba(255,255,255,.015));min-height:330px}
.random-card-slot{min-height:245px;display:flex;align-items:center;justify-content:center;margin:10px 0 16px}
.random-card-slot .card-item{width:min(190px,60%);cursor:pointer}
.random-card-slot .card-item:hover{transform:translateY(-4px)}
.random-card-slot .card-image{aspect-ratio:.71}
.trade-select-label{display:flex;flex-direction:column;gap:8px;color:#aeb4bf;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.08em;margin:16px 0}
.trade-select-label select{height:46px;border:1px solid rgba(255,255,255,.1);border-radius:12px;background:#0f1116;color:#fff;padding:0 12px;font:inherit;text-transform:none;letter-spacing:0}
.trade-match-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.trade-match-card{padding:10px;border:1px solid rgba(70,180,255,.18);border-radius:14px;background:rgba(70,180,255,.04);cursor:pointer}
.trade-match-card:hover{border-color:rgba(70,180,255,.45);transform:translateY(-2px)}
.trade-match-card img{width:100%;aspect-ratio:.71;object-fit:cover;border-radius:9px;background:#11151c}
.trade-match-card strong{display:block;margin-top:8px;font-size:12px}
.trade-match-card small{display:block;margin-top:3px;color:#858b96;font-size:9px;line-height:1.4}
.trade-match-score{display:inline-block;margin-top:7px;padding:4px 7px;border-radius:999px;background:rgba(70,180,255,.09);color:#74c8ff;font-size:8px;font-weight:900}
.trade-match-message{padding:30px 10px;text-align:center;color:#858b96;line-height:1.6}
@media(max-width:820px){.vault-tools-grid{grid-template-columns:1fr}.trade-match-results{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:560px){.trade-match-results{grid-template-columns:1fr 1fr}.random-card-slot .card-item{width:180px}}


/* VAULT FEED — REELS STYLE */
.vault-feed-section{scroll-margin-top:90px}
.vault-feed-list{
  position:relative;
  width:min(620px,100%);
  height:min(76vh,720px);
  margin:0 auto;
  display:flex;
  flex-direction:column;
  gap:18px;
  overflow-y:auto;
  overflow-x:hidden;
  scroll-snap-type:y mandatory;
  scroll-behavior:smooth;
  overscroll-behavior-y:contain;
  scrollbar-width:none;
  padding:0 2px 18px;
}
.vault-feed-list::-webkit-scrollbar{display:none}
.vault-feed-post{
  position:relative;
  flex:0 0 100%;
  width:min(520px,100%);
  height:min(76vh,720px);
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0,1fr) 62px;
  min-height:0;
  border:1px solid rgba(255,255,255,.09);
  border-radius:24px;
  overflow:hidden;
  background:#0d1016;
  box-shadow:0 25px 70px rgba(0,0,0,.3);
  scroll-snap-align:start;
  scroll-snap-stop:always;
}
.vault-feed-media{position:relative;min-height:0;height:100%;background:#07090d}
.vault-feed-media img{width:100%;height:100%;min-height:0;display:block;object-fit:contain;object-position:center;padding:0}
.vault-feed-media:after{content:"";position:absolute;inset:0;background:linear-gradient(to top,rgba(0,0,0,.82),transparent 38%,rgba(0,0,0,.08));pointer-events:none}
.vault-feed-info{position:absolute;left:22px;right:18px;bottom:24px;z-index:2}
.vault-feed-user{display:flex;align-items:center;gap:10px;margin-bottom:12px}
.vault-feed-avatar{width:38px;height:38px;border-radius:50%;overflow:hidden;border:1px solid rgba(255,157,46,.55);background:#171b23;display:grid;place-items:center;font-size:16px;font-weight:900}
.vault-feed-avatar img{width:100%;height:100%;min-height:0;object-fit:cover}
.vault-feed-user strong{font-size:13px}
.vault-feed-info h3{margin:0 0 5px;font-size:22px;font-weight:900}
.vault-feed-info p{margin:0;color:rgba(255,255,255,.68);font-size:12px}
.vault-feed-actions{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:12px;padding:0 8px 24px;background:#0a0d12;border-left:1px solid rgba(255,255,255,.06)}
.vault-feed-action{width:44px;height:44px;border:1px solid rgba(255,255,255,.10);border-radius:50%;background:rgba(255,255,255,.035);color:#fff;display:grid;place-items:center;cursor:pointer;font-size:20px;transition:.2s ease}
.vault-feed-action:hover{transform:scale(1.07);border-color:rgba(255,157,46,.5)}
.vault-feed-action.liked{color:#ff4d6d;border-color:rgba(255,77,109,.45);background:rgba(255,77,109,.10)}
.vault-feed-count{font-size:9px;color:#8d94a0;font-weight:800;text-align:center}
.vault-feed-comments{grid-column:1/-1;padding:15px 18px;background:#10131a;border-top:1px solid rgba(255,255,255,.07)}
.vault-feed-comments-list{display:flex;flex-direction:column;gap:8px;max-height:130px;overflow:auto;margin-bottom:10px}
.vault-feed-comment{font-size:11px;color:#b9bfca}
.vault-feed-comment strong{color:#fff;margin-right:5px}
.vault-feed-comment-form{display:flex;gap:8px}
.vault-feed-comment-form input{flex:1;min-width:0;height:40px;border:1px solid rgba(255,255,255,.1);border-radius:10px;background:#090c11;color:#fff;padding:0 12px;outline:none}
.vault-feed-comment-form button{height:40px;padding:0 14px}
.vault-feed-next{position:absolute;left:50%;bottom:14px;z-index:5;width:42px;height:42px;transform:translateX(-50%);border:1px solid rgba(255,157,46,.55);border-radius:50%;background:rgba(8,10,14,.82);color:#ffb45f;display:grid;place-items:center;cursor:pointer;font-size:20px;line-height:1;backdrop-filter:blur(8px);box-shadow:0 8px 25px rgba(0,0,0,.35);transition:.2s ease}
.vault-feed-next:hover{transform:translateX(-50%) translateY(-2px);background:rgba(255,157,46,.16);border-color:rgba(255,157,46,.8)}
.vault-feed-empty{text-align:center;padding:70px 20px;border:1px dashed rgba(255,255,255,.10);border-radius:22px;color:#777e8a}
@media(max-width:600px){
  .vault-feed-list{height:72vh;gap:14px;padding-bottom:10px}
  .vault-feed-post{width:min(100%,430px);height:72vh;grid-template-columns:minmax(0,1fr) 54px;border-radius:18px}
  .vault-feed-info{left:16px;right:12px;bottom:20px}
  .vault-feed-info h3{font-size:18px}
  .vault-feed-action{width:38px;height:38px;font-size:17px}
  .vault-feed-next{width:38px;height:38px;bottom:10px;font-size:18px}
}


/* =========================================================
   MOBILE DESKTOP-PARITY
   Keep the desktop composition on small screens.
   Only compact controls/sizing where the phone viewport requires it.
   ========================================================= */

@media (max-width: 820px) {
  /* Header keeps the same horizontal composition; nav can scroll instead of changing layout. */
  .header-inner {
    gap: 10px;
    min-width: 0;
  }

  .brand {
    flex: 0 0 auto;
  }

  .main-nav {
    display: flex;
    position: static;
    flex: 1 1 auto;
    min-width: 0;
    padding: 0;
    background: transparent;
    border: 0;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 3px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    white-space: nowrap;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav.open {
    display: flex;
    flex-direction: row;
    align-items: center;
  }

  .main-nav a {
    flex: 0 0 auto;
    padding: 6px 8px;
    font-size: 10px;
    border-radius: 9px;
  }

  .main-nav a::after {
    left: 8px;
    right: 8px;
    bottom: 2px;
  }

  .nav-toggle {
    display: none;
  }

  /* Same desktop page composition */
  .hero {
    min-height: 650px;
    grid-template-columns: 1fr 1fr;
    padding: 55px 20px;
    gap: 22px;
  }

  .hero-copy {
    text-align: left;
  }

  .hero h1,
  .hero p {
    margin-left: 0;
    margin-right: 0;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .hero-features {
    justify-content: flex-start;
  }

  .hero-showcase {
    min-height: 500px;
  }

  .showcase-card {
    width: 170px;
  }

  .stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .card-grid,
  .featured-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .about-inner {
    grid-template-columns: 1fr 1fr;
    gap: 35px;
  }

  .about-inner p {
    margin-left: auto;
  }

  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-grid .wide {
    grid-column: 1 / -1;
  }

  .admin-row {
    grid-template-columns: 54px 1fr auto;
  }

  .admin-actions {
    grid-column: auto;
  }

  .admin-top-actions {
    width: auto;
  }

  .admin-top-actions .btn {
    flex: initial;
  }

  .vault-tools-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trade-match-results {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .random-card-slot .card-item {
    width: min(190px, 60%);
  }

  .user-profile-header,
  .collector-profile-header {
    flex-direction: row;
    align-items: center;
  }

  .user-profile-stats {
    width: auto;
  }

  .collector-section-heading,
  .collector-community-heading {
    align-items: flex-end;
    flex-direction: row;
  }

  .collector-community-count {
    align-self: auto;
  }

  .collector-search {
    width: min(440px, 100%);
  }

  .vault-feed-list {
    height: min(76vh, 720px);
    gap: 18px;
  }

  .vault-feed-post {
    width: min(520px, 100%);
    height: min(76vh, 720px);
    grid-template-columns: minmax(0, 1fr) 62px;
    border-radius: 24px;
  }

  .vault-feed-info {
    left: 22px;
    right: 18px;
    bottom: 24px;
  }

  .vault-feed-info h3 {
    font-size: 22px;
  }

  .vault-feed-action {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .vault-feed-next {
    width: 42px;
    height: 42px;
    bottom: 14px;
    font-size: 20px;
  }
}

@media (max-width: 560px) {
  /* Keep the desktop composition, compact only the controls/spacing needed on phones. */
  .container {
    width: min(100% - 24px, 1180px);
  }

  .header-inner {
    min-height: 64px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  .brand {
    gap: 8px;
  }

  .brand strong {
    font-size: 13px;
  }

  .brand small {
    font-size: 7px;
  }

  .main-nav {
    gap: 2px;
  }

  .main-nav a {
    padding: 5px 6px;
    font-size: 9px;
  }

  .hero {
    min-height: 560px;
    grid-template-columns: 1fr 1fr;
    padding: 38px 10px;
    gap: 10px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero p {
    font-size: 13px;
  }

  .hero-actions {
    gap: 8px;
  }

  .hero-actions .btn {
    min-height: 40px;
    padding: 0 14px;
    font-size: 11px;
  }

  .hero-features {
    gap: 12px;
  }

  .hero-feature-icon {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .hero-feature strong {
    font-size: 11px;
  }

  .hero-feature small {
    font-size: 8px;
  }

  .hero-showcase {
    min-height: 420px;
  }

  .showcase-card {
    width: 120px;
    border-radius: 14px;
  }

  .showcase-card:nth-child(1) { left: 0; }
  .showcase-card:nth-child(2) { left: 24%; }
  .showcase-card:nth-child(3) { left: 48%; }

  .stat-card {
    padding: 12px;
  }

  .stat-value {
    font-size: 20px;
  }

  .stat-label {
    font-size: 8px;
  }

  .stat-feed-btn {
    min-height: 38px;
    padding: 0 10px;
    font-size: 9px;
  }

  .filter,
  .small-btn {
    padding: 7px 9px;
    font-size: 9px;
  }

  .vault-tools-grid {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .vault-tool-card {
    padding: 14px;
    min-height: 280px;
  }

  .trade-match-results {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .random-card-slot .card-item {
    width: 150px;
  }

  .modal-card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    max-height: 90vh;
  }

  .modal-image-wrap,
  .modal-image-wrap img {
    min-height: 300px;
    max-height: none;
  }

  .modal-info {
    padding: 20px 8px 16px 0;
  }

  .section {
    padding: 50px 0;
  }

  .vault-feed-list {
    height: 72vh;
    gap: 14px;
    padding-bottom: 10px;
  }

  .vault-feed-post {
    width: min(100%, 520px);
    height: 72vh;
    grid-template-columns: minmax(0, 1fr) 54px;
    border-radius: 18px;
  }

  .vault-feed-info {
    left: 16px;
    right: 12px;
    bottom: 20px;
  }

  .vault-feed-info h3 {
    font-size: 18px;
  }

  .vault-feed-action {
    width: 38px;
    height: 38px;
    font-size: 17px;
  }

  .vault-feed-next {
    width: 38px;
    height: 38px;
    bottom: 10px;
    font-size: 18px;
  }

  .vaultbot-floating {
    width: 50px;
    height: 50px;
    right: 14px;
    bottom: 14px;
    font-size: 23px;
  }

  .vaultbot-panel {
    right: 12px;
    bottom: 76px;
    width: calc(100vw - 24px);
  }
}


/* =========================
   VAULT FEED / COMMUNITY POLISH
========================= */
.vault-feed-next{
  position:absolute;
  left:50%;
  bottom:16px;
  z-index:5;
  width:44px;
  height:44px;
  transform:translateX(-50%);
  border:1px solid rgba(255,157,46,.75);
  border-radius:50%;
  background:linear-gradient(145deg,rgba(24,27,34,.96),rgba(9,11,15,.96));
  color:#ffb45f;
  display:grid;
  place-items:center;
  cursor:pointer;
  font-size:0;
  line-height:1;
  backdrop-filter:blur(10px);
  box-shadow:0 10px 28px rgba(0,0,0,.42), inset 0 0 0 1px rgba(255,255,255,.03);
  transition:transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.vault-feed-next::before{
  content:"";
  width:10px;
  height:10px;
  border-right:2px solid currentColor;
  border-bottom:2px solid currentColor;
  transform:rotate(45deg) translateY(-2px);
}
.vault-feed-next:hover{
  transform:translateX(-50%) translateY(-3px) scale(1.05);
  background:linear-gradient(145deg,rgba(255,157,46,.18),rgba(18,20,25,.98));
  border-color:rgba(255,184,95,.95);
  box-shadow:0 14px 34px rgba(0,0,0,.5), 0 0 0 4px rgba(255,157,46,.08);
}
.vault-feed-next:active{
  transform:translateX(-50%) translateY(-1px) scale(.97);
}

.vault-feed-page .section-heading{
  margin-bottom:24px;
}
.vault-feed-page{
  max-width:980px;
}
.vault-feed-page .section-heading > div{
  width:100%;
}
.vault-feed-list{
  width:min(780px,100%);
  height:min(78vh,760px);
  gap:20px;
  margin:0 auto;
  padding:4px 8px 24px;
  scroll-padding-top:4px;
}
.vault-feed-post{
  width:min(720px,100%);
  height:min(78vh,760px);
  grid-template-columns:minmax(0,1fr) 74px;
  border-radius:28px;
  background:
    radial-gradient(circle at 80% 10%, rgba(255,157,46,.07), transparent 32%),
    linear-gradient(145deg,#10141b,#090b10);
  border:1px solid rgba(255,255,255,.10);
  box-shadow:0 28px 80px rgba(0,0,0,.40), 0 0 0 1px rgba(255,157,46,.025);
}
.vault-feed-media{
  background:
    radial-gradient(circle at 50% 25%, rgba(255,255,255,.045), transparent 48%),
    #06080c;
}
.vault-feed-media img{
  padding:28px;
  object-fit:contain;
}
.vault-feed-media:after{
  background:
    linear-gradient(to top,rgba(0,0,0,.90),transparent 42%),
    linear-gradient(to bottom,rgba(0,0,0,.18),transparent 25%);
}
.vault-feed-info{
  left:28px;
  right:24px;
  bottom:28px;
}
.vault-feed-avatar{
  width:42px;
  height:42px;
  border-radius:13px;
  border-color:rgba(255,157,46,.65);
  box-shadow:0 8px 20px rgba(0,0,0,.28);
}
.vault-feed-user{
  gap:11px;
  margin-bottom:13px;
}
.vault-feed-user strong{
  font-size:13px;
  color:#f1f3f6;
}
.vault-feed-info h3{
  margin-bottom:7px;
  font-size:28px;
  letter-spacing:-.025em;
}
.vault-feed-info p{
  color:rgba(255,255,255,.58);
  font-size:12px;
}
.vault-feed-actions{
  justify-content:center;
  gap:9px;
  padding:0 10px 24px;
  background:linear-gradient(180deg,rgba(255,255,255,.025),rgba(0,0,0,.10));
  border-left:1px solid rgba(255,255,255,.07);
}
.vault-feed-action{
  width:48px;
  height:48px;
  border-radius:16px;
  background:rgba(255,255,255,.035);
  border-color:rgba(255,255,255,.10);
  font-size:22px;
  box-shadow:0 8px 22px rgba(0,0,0,.24);
}
.vault-feed-count{
  font-size:10px;
  color:#8e96a3;
  margin-bottom:7px;
}
.vault-feed-comments{
  padding:18px 20px;
  background:linear-gradient(180deg,#10141b,#0b0e14);
  border-top:1px solid rgba(255,255,255,.08);
}
.vault-feed-comments-list{
  gap:10px;
  max-height:150px;
  margin-bottom:12px;
}
.vault-feed-comment{
  padding:9px 11px;
  border-radius:11px;
  background:rgba(255,255,255,.035);
  border:1px solid rgba(255,255,255,.06);
  color:#bfc5cf;
}
.vault-feed-comment strong{
  color:#fff;
}
.vault-feed-comment-form{
  gap:10px;
}
.vault-feed-comment-form input{
  height:44px;
  border-radius:12px;
  border-color:rgba(255,255,255,.11);
  background:#080b10;
}
.vault-feed-comment-form input:focus{
  border-color:rgba(255,157,46,.55);
  box-shadow:0 0 0 3px rgba(255,157,46,.08);
}
.vault-feed-comment-form button{
  height:44px;
  min-width:104px;
  padding:0 17px;
  border:1px solid rgba(255,157,46,.45);
  border-radius:12px;
  background:linear-gradient(135deg,#ff9d2e,#e57d11);
  color:#0b0d10;
  font-weight:900;
  box-shadow:0 10px 24px rgba(255,157,46,.18);
  transition:transform .2s ease, filter .2s ease, box-shadow .2s ease;
}
.vault-feed-comment-form button:hover:not(:disabled){
  transform:translateY(-2px);
  filter:brightness(1.05);
  box-shadow:0 13px 30px rgba(255,157,46,.25);
}
.vault-feed-comment-form button:disabled{
  opacity:.45;
  cursor:not-allowed;
  box-shadow:none;
}

.community-random-slot{
  min-height:430px;
  padding:18px;
  border-radius:22px;
  background:radial-gradient(circle at 50% 20%, rgba(255,157,46,.07), transparent 42%),rgba(255,255,255,.012);
}
.community-random-slot .card-item{
  width:min(290px,100%);
  filter:drop-shadow(0 20px 35px rgba(0,0,0,.45));
}
.community-random-slot .card-item:hover{
  transform:translateY(-6px);
}
.community-random-actions{
  margin-top:16px;
}
#randomCardBtn{
  min-height:48px;
  padding:0 22px;
  border-radius:14px;
  border:1px solid rgba(255,157,46,.55);
  background:linear-gradient(135deg,rgba(255,157,46,.16),rgba(255,157,46,.06));
  color:#ffd09a;
  font-weight:900;
  letter-spacing:.01em;
  box-shadow:0 10px 26px rgba(0,0,0,.25);
  transition:transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
#randomCardBtn:hover{
  transform:translateY(-2px);
  background:linear-gradient(135deg,rgba(255,157,46,.25),rgba(255,157,46,.08));
  border-color:rgba(255,190,110,.9);
  box-shadow:0 14px 32px rgba(0,0,0,.35);
}
#randomCardBtn:active{
  transform:translateY(0) scale(.98);
}

@media(max-width:600px){
  .vault-feed-list{
    height:min(76vh,700px);
    gap:14px;
    padding:2px 4px 16px;
  }
  .vault-feed-post{
    width:100%;
    height:min(76vh,700px);
    grid-template-columns:minmax(0,1fr) 58px;
    border-radius:22px;
  }
  .vault-feed-media img{
    padding:20px;
  }
  .vault-feed-info{
    left:18px;
    right:14px;
    bottom:19px;
  }
  .vault-feed-info h3{
    font-size:21px;
  }
  .vault-feed-action{
    width:40px;
    height:40px;
    border-radius:13px;
    font-size:18px;
  }
  .vault-feed-next{
    width:40px;
    height:40px;
    bottom:11px;
  }
  .vault-feed-comment-form{
    gap:7px;
  }
  .vault-feed-comment-form button{
    min-width:86px;
    padding:0 12px;
  }
  #randomCardBtn{
    min-height:44px;
    padding:0 17px;
    font-size:11px;
  }
}

/* =========================
   SIDE COMMENTS PANEL
========================= */
.vault-feed-list{
  width:min(1080px,100%);
  overflow-x:visible;
}

.vault-feed-post{
  width:min(720px,100%);
  transition:width .28s ease,grid-template-columns .28s ease,box-shadow .28s ease;
}

.vault-feed-post.comments-open{
  width:min(1040px,100%);
  grid-template-columns:minmax(0,1fr) 74px minmax(250px,290px);
  box-shadow:0 30px 85px rgba(0,0,0,.46),0 0 0 1px rgba(255,157,46,.04);
}

.vault-feed-post.comments-open .vault-feed-comments{
  grid-column:3;
  grid-row:1;
  min-width:0;
  height:100%;
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:20px 18px;
  background:radial-gradient(circle at 20% 8%,rgba(255,157,46,.07),transparent 35%),linear-gradient(180deg,#10141b,#090c12);
  border-top:0;
  border-left:1px solid rgba(255,255,255,.08);
}

.vault-feed-post.comments-open .vault-feed-comments-list{
  flex:1;
  min-height:0;
  max-height:none;
  overflow-y:auto;
  padding-right:3px;
  margin-bottom:14px;
}

.vault-feed-post.comments-open .vault-feed-comment-form{flex:0 0 auto}
.vault-feed-post.comments-open .vault-feed-comment{font-size:11px;line-height:1.45}

.vault-feed-comments-list::-webkit-scrollbar{width:5px}
.vault-feed-comments-list::-webkit-scrollbar-thumb{background:rgba(255,157,46,.35);border-radius:99px}

@media(max-width:900px){
  .vault-feed-post.comments-open{
    width:100%;
    grid-template-columns:minmax(0,1fr) 58px minmax(220px,30%);
  }
  .vault-feed-post.comments-open .vault-feed-comments{padding:16px 12px}
  .vault-feed-post.comments-open .vault-feed-comment-form{flex-direction:column}
  .vault-feed-post.comments-open .vault-feed-comment-form button{width:100%}
}

@media(max-width:600px){
  .vault-feed-list{width:100%;overflow-x:visible}
  .vault-feed-post.comments-open{
    width:100%;
    grid-template-columns:minmax(0,1fr) 48px minmax(190px,34%);
    border-radius:20px;
  }
  .vault-feed-post.comments-open .vault-feed-action{width:36px;height:36px}
  .vault-feed-post.comments-open .vault-feed-comments{padding:12px 9px}
  .vault-feed-post.comments-open .vault-feed-comment{padding:7px 8px;font-size:10px}
  .vault-feed-post.comments-open .vault-feed-comment-form input{height:38px;padding:0 9px;font-size:11px}
  .vault-feed-post.comments-open .vault-feed-comment-form button{height:38px;min-width:0;font-size:10px}
}

/* COMMENT REPLIES + AVATARS */
.vault-feed-avatar,
.vault-feed-avatar img{
  width:42px;
  height:42px;
}
.vault-feed-avatar{
  flex:0 0 42px;
  display:grid;
  place-items:center;
  overflow:hidden;
  background:linear-gradient(145deg,#171b23,#0c0f14);
}
.vault-feed-avatar img{
  display:block;
  object-fit:cover;
  border-radius:inherit;
}
.vault-feed-avatar-fallback,
.comment-avatar-fallback{
  display:grid;
  place-items:center;
  width:100%;
  height:100%;
  color:#ffb45f;
  font-weight:900;
  font-size:14px;
}
.vault-feed-user{
  cursor:pointer;
}
.vault-feed-user:hover strong{
  color:#ffb45f;
}
.vault-feed-comment-wrap{
  position:relative;
}
.vault-feed-comment{
  margin-left:calc(var(--comment-depth, 0) * 14px);
}
.vault-feed-comment-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:8px;
}
.vault-feed-comment-user{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-width:0;
  color:inherit;
  text-decoration:none;
}
.vault-feed-comment-user:hover strong{
  color:#ffb45f;
}
.vault-feed-comment-avatar{
  width:22px;
  height:22px;
  flex:0 0 22px;
  overflow:hidden;
  border-radius:7px;
  display:grid;
  place-items:center;
  background:#171b23;
  border:1px solid rgba(255,157,46,.3);
}
.vault-feed-comment-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.vault-feed-comment-tools{
  display:flex;
  align-items:center;
  gap:7px;
  flex:0 0 auto;
}
.vault-feed-reply-btn,
.vault-feed-delete-btn{
  border:0;
  background:none;
  padding:2px 0;
  color:#8f98a6;
  font-size:10px;
  font-weight:800;
  cursor:pointer;
}
.vault-feed-reply-btn:hover{
  color:#ffb45f;
}
.vault-feed-delete-btn:hover{
  color:#ff687c;
}
.vault-feed-comment-body{
  margin-top:5px;
  color:#c5cbd4;
  line-height:1.45;
}
.vault-feed-reply-form{
  display:flex;
  gap:7px;
  margin:6px 0 7px 14px;
}
.vault-feed-reply-form input{
  flex:1;
  min-width:0;
  height:34px;
  border:1px solid rgba(255,255,255,.09);
  border-radius:9px;
  background:#080b10;
  color:#fff;
  padding:0 10px;
  outline:none;
  font-size:11px;
}
.vault-feed-reply-form input:focus{
  border-color:rgba(255,157,46,.5);
  box-shadow:0 0 0 2px rgba(255,157,46,.07);
}
.vault-feed-reply-form button{
  height:34px;
  border:1px solid rgba(255,157,46,.4);
  border-radius:9px;
  padding:0 10px;
  background:rgba(255,157,46,.12);
  color:#ffb45f;
  font-size:10px;
  font-weight:900;
  cursor:pointer;
}
.vault-feed-reply-form button:hover:not(:disabled){
  background:rgba(255,157,46,.2);
}
.vault-feed-comment-empty{
  padding:12px;
  color:#8d94a0;
  font-size:11px;
}

/* Homepage live collector indicator */
.stat-label{display:flex;align-items:center;gap:7px}
.stat-live-dot{width:7px;height:7px;flex:0 0 7px;border-radius:50%;background:#ff3f4f;box-shadow:0 0 0 0 rgba(255,63,79,.65);animation:statLivePulse 1.5s infinite}
@keyframes statLivePulse{0%,100%{opacity:1;box-shadow:0 0 0 0 rgba(255,63,79,.5)}50%{opacity:.45;box-shadow:0 0 0 5px rgba(255,63,79,0)}}
.vault-feed-avatar-fallback.hidden{display:none!important}

/* VaultBot Send button */
.vaultbot-input-row .btn{min-width:76px;height:44px;padding:0 16px;border:1px solid rgba(255,157,46,.55);border-radius:12px;background:linear-gradient(135deg,#ff9d2e,#e77e12);color:#101114;font-size:12px;font-weight:900;box-shadow:0 8px 22px rgba(255,157,46,.18);cursor:pointer;transition:transform .18s ease,filter .18s ease,box-shadow .18s ease}
.vaultbot-input-row .btn:hover:not(:disabled){transform:translateY(-2px);filter:brightness(1.06);box-shadow:0 12px 28px rgba(255,157,46,.28)}
.vaultbot-input-row .btn:active:not(:disabled){transform:translateY(0) scale(.98)}
.vaultbot-input-row .btn:disabled{opacity:.5;cursor:not-allowed;box-shadow:none}

/* Homepage stats: labels above values */
.stats .stat-card:not(.stat-feed-cta){
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
}
.stats .stat-card:not(.stat-feed-cta) .stat-label{
  order:-1;
  margin-bottom:8px;
}
.stats .stat-card:not(.stat-feed-cta) .stat-value{
  order:1;
}

.vault-feed-avatar{position:relative!important;overflow:hidden!important}
.vault-feed-avatar .vault-feed-avatar-image{
  position:absolute!important;inset:0!important;display:block!important;
  width:100%!important;height:100%!important;min-width:100%!important;min-height:100%!important;
  object-fit:cover!important;opacity:1!important;visibility:visible!important;
  border-radius:inherit!important;
}
.vault-feed-avatar .vault-feed-avatar-fallback{position:absolute;inset:0}

/* Mobile first-paint optimization: avoid expensive visual effects on small screens. */
@media (max-width: 560px){
  .hero-showcase .showcase-card{box-shadow:0 18px 45px rgba(0,0,0,.4);transition:none}
  .hero-showcase:hover .showcase-card:nth-child(1),
  .hero-showcase:hover .showcase-card:nth-child(2),
  .hero-showcase:hover .showcase-card:nth-child(3){transform:none}
}
