/* ── LANDING PAGE ── */
.hero{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:8rem 2rem 6rem;position:relative;overflow:hidden}
.hero::before{content:'';position:absolute;top:-30%;left:50%;transform:translateX(-50%);width:800px;height:800px;background:radial-gradient(circle,rgba(201,168,76,.06) 0%,transparent 70%);pointer-events:none}
.hero-badge{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1.25rem;border:1px solid rgba(201,168,76,.2);border-radius:100px;font-size:.75rem;font-weight:500;letter-spacing:.1em;text-transform:uppercase;color:var(--gold);margin-bottom:2rem;background:rgba(201,168,76,.04)}
.hero-badge .dot{width:6px;height:6px;border-radius:50%;background:var(--gold);animation:pulse 2s ease infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.3}}
.hero h1{font-size:clamp(3rem,7vw,5.5rem);font-weight:700;line-height:1.05;letter-spacing:-.03em;margin-bottom:1.5rem;max-width:800px}
.hero h1 span{color:var(--gold)}
.hero-sub{font-size:clamp(1rem,2vw,1.2rem);color:var(--text2);max-width:540px;margin-bottom:2.5rem;line-height:1.7}
.hero-ctas{display:flex;gap:1rem;flex-wrap:wrap;justify-content:center}
.hero-status{margin-top:4rem;display:flex;flex-direction:column;align-items:center;gap:.75rem}
.status-bar{display:flex;align-items:center;gap:.5rem;padding:.6rem 1.25rem;background:var(--bg2);border:1px solid rgba(255,255,255,.06);border-radius:100px;font-size:.8rem;font-weight:500;color:var(--text2);transition:all .5s ease}
.status-bar .icon{font-size:1rem;margin-right:.25rem}
.status-bar.active{border-color:rgba(201,168,76,.2);color:var(--gold)}

/* LANDING STEPS */
.steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:2rem}
.step{background:var(--bg2);border:1px solid rgba(255,255,255,.04);border-radius:var(--radius);padding:2rem;transition:all .3s}
.step:hover{border-color:rgba(201,168,76,.15);transform:translateY(-2px)}
.step-num{font-size:2.5rem;font-weight:800;color:rgba(201,168,76,.15);margin-bottom:.75rem}
.step h3{font-size:1.1rem;font-weight:600;margin-bottom:.5rem}
.step p{color:var(--text2);font-size:.9rem;line-height:1.6}

/* LANDING FEATURES */
.features-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.5rem}
.feature{background:var(--bg2);border:1px solid rgba(255,255,255,.04);border-radius:var(--radius);padding:2rem;transition:all .3s}
.feature:hover{border-color:rgba(201,168,76,.12)}
.feature-icon{font-size:1.5rem;margin-bottom:1rem}
.feature h3{font-size:1rem;font-weight:600;margin-bottom:.5rem}
.feature p{color:var(--text2);font-size:.875rem;line-height:1.6}

/* LANDING PRICING */
.pricing-section{background:var(--bg2)}
.tiers{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:1.5rem;margin-bottom:3rem}
.tier{background:var(--bg);border:1px solid rgba(255,255,255,.06);border-radius:var(--radius);padding:2rem;position:relative;transition:all .3s}
.tier:hover{border-color:rgba(201,168,76,.15)}
.tier.featured{border-color:rgba(201,168,76,.3);background:linear-gradient(160deg,var(--bg),rgba(201,168,76,.03))}
.tier-name{font-size:.75rem;font-weight:600;letter-spacing:.15em;text-transform:uppercase;color:var(--gold);margin-bottom:.5rem}
.tier-price{font-size:2.2rem;font-weight:700;letter-spacing:-.02em;margin-bottom:.25rem}
.tier-price span{font-size:.9rem;font-weight:400;color:var(--text3)}
.tier-desc{color:var(--text2);font-size:.85rem;margin-bottom:1.25rem;line-height:1.5}
.tier-list{list-style:none;display:flex;flex-direction:column;gap:.5rem}
.tier-list li{font-size:.85rem;color:var(--text2);padding-left:1.25rem;position:relative}
.tier-list li::before{content:'✓';position:absolute;left:0;color:var(--gold);font-size:.75rem}
.popular-badge{position:absolute;top:-1px;right:1.5rem;background:var(--gold);color:var(--bg);font-size:.65rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;padding:.35rem .75rem;border-radius:0 0 var(--radius-sm) var(--radius-sm)}

/* LANDING CALCULATOR */
.calc{background:var(--bg);border:1px solid rgba(255,255,255,.06);border-radius:var(--radius);padding:2.5rem;max-width:600px}
.calc h3{font-size:1.4rem;font-weight:700;margin-bottom:1.5rem}
.calc-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-bottom:1rem}
.calc label{display:block;font-size:.75rem;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:var(--text3);margin-bottom:.4rem}
.calc input,.calc select{width:100%;padding:.7rem 1rem;background:var(--bg2);border:1px solid rgba(255,255,255,.08);border-radius:var(--radius-sm);color:var(--text);font-size:.95rem;font-family:inherit;transition:border-color .2s}
.calc input:focus,.calc select:focus{outline:none;border-color:var(--gold)}
.calc select option{background:var(--bg2);color:var(--text)}
.calc-elite-opts{margin-bottom:1rem;display:none}
.calc-elite-opts label{display:inline-flex;align-items:center;gap:.5rem;font-size:.85rem;color:var(--text2);margin-right:1.5rem;text-transform:none;letter-spacing:0;cursor:pointer}
.calc-elite-opts input[type="checkbox"]{width:auto;accent-color:var(--gold)}
.calc-results{margin-top:1.5rem;padding-top:1.5rem;border-top:1px solid rgba(255,255,255,.06);display:flex;flex-direction:column;gap:.6rem}
.calc-result-row{display:flex;justify-content:space-between;font-size:.9rem}
.calc-result-row .label{color:var(--text3)}
.calc-result-row:last-child{padding-top:.6rem;border-top:1px solid rgba(255,255,255,.06);font-size:1.1rem;font-weight:600;color:var(--gold)}
.waived{font-size:.7rem;color:var(--green);font-weight:600;letter-spacing:.05em;text-transform:uppercase;margin-left:.5rem}
.note{font-size:.75rem;color:var(--text3);margin-top:.5rem;font-style:italic}

/* LANDING FAQ */
.faq-list{max-width:700px;display:flex;flex-direction:column;gap:.25rem}
.faq-item{border-bottom:1px solid rgba(255,255,255,.04)}
.faq-q{padding:1.25rem 0;font-size:1rem;font-weight:500;cursor:pointer;display:flex;justify-content:space-between;align-items:center;transition:color .2s}
.faq-q:hover{color:var(--gold)}
.faq-q::after{content:'+';font-size:1.2rem;color:var(--text3);transition:transform .2s}
.faq-item.open .faq-q::after{transform:rotate(45deg);color:var(--gold)}
.faq-a{max-height:0;overflow:hidden;transition:max-height .3s ease;font-size:.9rem;color:var(--text2);line-height:1.7}
.faq-item.open .faq-a{max-height:300px;padding-bottom:1.25rem}

/* LANDING WAITLIST */
.waitlist-section{background:var(--bg2)}
.wf-form{max-width:600px;display:flex;flex-direction:column;gap:1rem}
.wf-row{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.wf-group label{display:block;font-size:.75rem;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:var(--text3);margin-bottom:.4rem}
.wf-group input,.wf-group textarea,.wf-group select{width:100%;padding:.7rem 1rem;background:var(--bg);border:1px solid rgba(255,255,255,.08);border-radius:var(--radius-sm);color:var(--text);font-size:.9rem;font-family:inherit;transition:border-color .2s;resize:vertical}
.wf-group input:focus,.wf-group textarea:focus{outline:none;border-color:var(--gold)}
.wf-nights{display:flex;gap:1rem;flex-wrap:wrap}
.wf-nights label{display:inline-flex;align-items:center;gap:.35rem;font-size:.85rem;color:var(--text2);text-transform:none;letter-spacing:0;cursor:pointer}
.wf-nights input[type="checkbox"]{accent-color:var(--gold)}
.wf-submit{margin-top:.5rem;width:100%}
.wf-note{font-size:.75rem;color:var(--text3);text-align:center}
.wf-success{display:none;text-align:center;padding:3rem 0}
.wf-success.show{display:block}
.wf-success h3{font-size:2rem;font-weight:700;color:var(--gold);margin-bottom:.75rem}
.wf-success p{color:var(--text2);font-size:1rem}

/* ── PAGE LAYOUT ── */
.page-section{min-height:calc(100vh - 200px);padding:6rem 2rem 4rem}
.page-inner{max-width:1100px;margin:0 auto}
.page-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:2rem;flex-wrap:wrap;gap:1rem}
.page-header h1{font-size:1.8rem;font-weight:700}

/* ── AUTH PAGES ── */
.auth-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:6rem 2rem 4rem}
.auth-card{background:var(--bg2);border:1px solid rgba(255,255,255,.06);border-radius:var(--radius);padding:2.5rem;width:100%;max-width:420px}
.auth-card h1{font-size:1.6rem;font-weight:700;margin-bottom:.35rem}
.auth-sub{color:var(--text2);font-size:.9rem;margin-bottom:1.5rem}
.auth-form{display:flex;flex-direction:column;gap:1rem}
.auth-divider{display:flex;align-items:center;gap:1rem;margin:1.25rem 0;color:var(--text3);font-size:.8rem}
.auth-divider::before,.auth-divider::after{content:'';flex:1;height:1px;background:rgba(255,255,255,.06)}
.auth-switch{text-align:center;font-size:.85rem;color:var(--text2);margin-top:1.25rem}
.auth-switch a{color:var(--gold);text-decoration:none;font-weight:500}
.auth-switch a:hover{text-decoration:underline}

/* ── FILTER BAR ── */
.filter-bar{display:flex;gap:1rem;margin-bottom:2rem;flex-wrap:wrap;align-items:center}
.filter-search{flex:1;min-width:200px;padding:.6rem 1rem;background:var(--bg2);border:1px solid rgba(255,255,255,.08);border-radius:var(--radius-sm);color:var(--text);font-size:.9rem;font-family:inherit}
.filter-search:focus{outline:none;border-color:var(--gold)}
.filter-pills{display:flex;gap:.5rem;flex-wrap:wrap}

/* ── LOAD MORE ── */
.load-more-wrap{display:flex;justify-content:center;margin-top:2rem}

/* ── SKELETON ── */
.skeleton-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:1.5rem}
.skeleton-card{background:var(--bg2);border-radius:var(--radius);height:280px;animation:skeletonPulse 1.5s ease infinite}
.skeleton-text{background:var(--bg2);border-radius:4px;animation:skeletonPulse 1.5s ease infinite;min-height:1.2em}
.skeleton-detail{display:grid;grid-template-columns:1fr 1.2fr;gap:2.5rem}
@keyframes skeletonPulse{0%,100%{opacity:.6}50%{opacity:.3}}

/* ── DASHBOARD ── */
.dash-section{margin-bottom:2.5rem}
.dash-section h2{font-size:1.15rem;font-weight:600;margin-bottom:1rem}
.dash-section-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem}
.dash-section-header h2{margin-bottom:0}

/* ── CARD DETAIL PAGE ── */
.cd-layout{display:grid;grid-template-columns:1fr 1.2fr;gap:2.5rem;align-items:start}
.cd-left{width:100%;border-radius:var(--radius);overflow:hidden;background:var(--bg2)}
.cd-image{width:100%;aspect-ratio:3/4;object-fit:cover;display:block}
.cd-image-placeholder{width:100%;aspect-ratio:3/4;background:var(--bg2);display:flex;align-items:center;justify-content:center;font-size:4rem;color:var(--text3)}
.cd-title{font-size:1.6rem;font-weight:700;margin-bottom:.75rem}
.cd-badges{display:flex;gap:.5rem;flex-wrap:wrap;margin-bottom:1rem}
.cd-value{font-size:2rem;font-weight:700;color:var(--gold);margin-bottom:1rem}
.cd-desc{color:var(--text2);font-size:.95rem;line-height:1.7;margin-bottom:1.5rem}
.cd-meta{font-size:.8rem;color:var(--text3);margin-bottom:1.5rem}
.cd-actions{display:flex;gap:.75rem;flex-wrap:wrap;margin-bottom:1.5rem}
.cd-owner{background:var(--bg2);border:1px solid rgba(255,255,255,.04);border-radius:var(--radius);padding:1.25rem;display:flex;align-items:center;gap:1rem;text-decoration:none;color:var(--text);transition:border-color .2s}
.cd-owner:hover{border-color:rgba(201,168,76,.2)}
.cd-owner-avatar{width:48px;height:48px;border-radius:50%;background:var(--gold);color:var(--bg);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1.2rem;flex-shrink:0}
.cd-owner-name{font-weight:600;font-size:.95rem}
.cd-owner-stats{font-size:.8rem;color:var(--text2)}

/* ── IMAGE UPLOAD ── */
.image-upload-area{border:2px dashed rgba(255,255,255,.1);border-radius:var(--radius-sm);padding:2rem;text-align:center;cursor:pointer;color:var(--text3);font-size:.85rem;transition:border-color .2s}
.image-upload-area:hover,.image-upload-area.dragover{border-color:var(--gold);color:var(--gold)}
.image-upload-preview{display:flex;align-items:center;gap:1rem}
.image-upload-preview img{width:100px;height:auto;border-radius:var(--radius-sm);object-fit:cover}
.checkbox-label{display:flex;align-items:center;gap:.5rem;font-size:.9rem;color:var(--text2);cursor:pointer}
.checkbox-label input{accent-color:var(--gold)}

/* ── TRADE DETAIL PAGE ── */
.td-header{display:flex;align-items:center;gap:1rem;margin-bottom:1.5rem;flex-wrap:wrap}
.td-header h1{font-size:1.4rem;font-weight:700}
.td-summary{background:var(--bg2);border:1px solid rgba(255,255,255,.04);border-radius:var(--radius);padding:1.5rem;margin-bottom:1.5rem}
.td-summary-row{display:flex;justify-content:space-between;font-size:.9rem;margin-bottom:.5rem}
.td-summary-row span:first-child{color:var(--text3)}
.td-summary-row:last-child{margin-bottom:0}
.td-credits{background:rgba(201,168,76,.05);border:1px solid rgba(201,168,76,.15);border-radius:var(--radius-sm);padding:1rem;font-size:.9rem;color:var(--text2);margin-bottom:1.5rem}
.td-credits div{margin-bottom:.25rem}
.td-credits div:last-child{margin-bottom:0}
.td-message{background:rgba(201,168,76,.05);border:1px solid rgba(201,168,76,.15);border-radius:var(--radius-sm);padding:1rem;font-size:.9rem;color:var(--text2);margin-bottom:1.5rem;font-style:italic}
.td-compare{display:grid;grid-template-columns:1fr auto 1fr;gap:1.5rem;margin-bottom:2rem}
.td-side{background:var(--bg2);border:1px solid rgba(255,255,255,.04);border-radius:var(--radius);padding:1.5rem}
.td-side h3{font-size:1rem;font-weight:600;margin-bottom:1rem}
.td-side-value{margin-top:1rem;font-size:1.1rem;font-weight:700;color:var(--gold);text-align:right}
.td-divider{display:flex;align-items:center;font-size:1.5rem;color:var(--text3)}
.td-profile{display:flex;align-items:center;gap:.75rem;text-decoration:none;color:var(--text);margin-bottom:1rem;padding:.75rem;background:rgba(255,255,255,.02);border-radius:var(--radius-sm);transition:background .2s}
.td-profile:hover{background:rgba(255,255,255,.04)}
.td-profile-avatar{width:36px;height:36px;border-radius:50%;background:var(--gold);color:var(--bg);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.9rem;flex-shrink:0}
.td-profile-name{font-weight:600;font-size:.85rem}
.td-items{display:flex;flex-direction:column;gap:.5rem}
.td-item{display:flex;align-items:center;gap:.75rem;text-decoration:none;color:var(--text);padding:.5rem;border-radius:var(--radius-sm);transition:background .2s}
.td-item:hover{background:rgba(255,255,255,.04)}
.td-item-img{width:40px;height:53px;border-radius:4px;object-fit:cover;flex-shrink:0}
.td-item-img-ph{width:40px;height:53px;border-radius:4px;background:var(--bg);display:flex;align-items:center;justify-content:center;font-size:1rem;color:var(--text3);flex-shrink:0}
.td-item-name{font-weight:600;font-size:.85rem}
.td-item-meta{font-size:.75rem;color:var(--text2)}
.td-actions{display:flex;gap:.75rem;flex-wrap:wrap;margin-top:1.5rem}

/* ── RATING MODAL ── */
.rating-select{display:flex;gap:.25rem;margin:1rem 0}
.rating-select button{background:none;border:none;font-size:1.75rem;color:var(--text3);cursor:pointer;padding:.25rem;transition:color .15s}
.rating-select button:hover,.rating-select button.active{color:var(--gold)}
.modal-actions{display:flex;gap:.75rem;justify-content:flex-end;margin-top:1rem}

/* ── TRADE NEW PAGE ── */
.tn-layout{display:grid;grid-template-columns:1fr auto 1fr;gap:1.5rem;margin:2rem 0}
.tn-side{background:var(--bg2);border:1px solid rgba(255,255,255,.04);border-radius:var(--radius);padding:1.5rem}
.tn-side h3{font-size:1rem;font-weight:600;margin-bottom:.35rem}
.tn-total{margin-top:1rem;font-size:.9rem;color:var(--text2)}
.tn-total strong{color:var(--gold)}
.tn-divider{display:flex;align-items:center;font-size:1.5rem;color:var(--text3)}
.tn-card-select{display:flex;flex-direction:column;gap:.5rem;max-height:350px;overflow-y:auto;margin-top:.75rem}
.tn-card-option{display:flex;align-items:center;gap:.75rem;padding:.65rem;border:1px solid rgba(255,255,255,.06);border-radius:var(--radius-sm);cursor:pointer;transition:all .2s}
.tn-card-option:hover{border-color:rgba(201,168,76,.2)}
.tn-card-option.selected{border-color:var(--gold);background:rgba(201,168,76,.05)}
.tn-card-img{width:36px;height:48px;border-radius:4px;object-fit:cover;flex-shrink:0}
.tn-card-img-ph{width:36px;height:48px;border-radius:4px;background:var(--bg);display:flex;align-items:center;justify-content:center;font-size:.8rem;color:var(--text3);flex-shrink:0}
.tn-card-info{flex:1;min-width:0}
.tn-card-name{font-weight:600;font-size:.8rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.tn-card-val{font-size:.75rem;color:var(--gold)}
.tn-card-check{width:20px;text-align:center;color:var(--gold);font-size:.9rem;flex-shrink:0}

/* ── WALLET PAGE ── */
.wallet-balance-card{background:linear-gradient(135deg,var(--bg2),rgba(201,168,76,.08));border:1px solid rgba(201,168,76,.2);border-radius:var(--radius);padding:2rem;margin-bottom:2rem;text-align:center}
.wallet-balance-label{font-size:.75rem;font-weight:600;letter-spacing:.15em;text-transform:uppercase;color:var(--text3);margin-bottom:.5rem}
.wallet-balance-amount{font-size:3rem;font-weight:700;color:var(--gold)}
.wallet-deposit{background:var(--bg2);border:1px solid rgba(255,255,255,.04);border-radius:var(--radius);padding:1.5rem;margin-bottom:2rem}
.wallet-deposit h3{font-size:1.1rem;font-weight:600;margin-bottom:.5rem}
.wallet-history h3{font-size:1.1rem;font-weight:600;margin-bottom:1rem}
.tx-list{display:flex;flex-direction:column}
.tx-row{display:flex;align-items:center;justify-content:space-between;padding:1rem 0;border-bottom:1px solid rgba(255,255,255,.04)}
.tx-row:last-child{border-bottom:none}
.tx-type{font-weight:600;font-size:.9rem}
.tx-desc{font-size:.8rem;color:var(--text3)}
.tx-right{text-align:right}
.tx-amount{font-weight:600}
.tx-amount.positive{color:var(--green)}
.tx-amount.negative{color:var(--red)}
.tx-date{font-size:.75rem;color:var(--text3)}

/* ── PROFILE PAGE ── */
.prof-header{display:flex;gap:1.5rem;align-items:flex-start;margin-bottom:2.5rem}
.prof-avatar-lg{width:80px;height:80px;border-radius:50%;background:var(--gold);color:var(--bg);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:2rem;flex-shrink:0}
.prof-info h1{font-size:1.5rem;font-weight:700;margin-bottom:.15rem}
.prof-username{color:var(--text3);font-size:.9rem;margin-bottom:.35rem}
.prof-bio{color:var(--text2);font-size:.9rem;line-height:1.6;margin-bottom:.5rem}
.prof-stats{display:flex;gap:1rem;align-items:center;flex-wrap:wrap;font-size:.85rem;color:var(--text2)}
.prof-stat{display:inline-flex;align-items:center;gap:.25rem}
.prof-section{margin-bottom:2.5rem}
.prof-section h2{font-size:1.15rem;font-weight:600;margin-bottom:1rem}
.review-item{background:var(--bg2);border:1px solid rgba(255,255,255,.04);border-radius:var(--radius-sm);padding:1rem;margin-bottom:.75rem}
.review-header{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;margin-bottom:.5rem}
.review-comment{color:var(--text2);font-size:.85rem;line-height:1.6}

/* ── SETTINGS PAGE ── */
.settings-section h3{font-size:1.1rem;font-weight:600;margin-bottom:.5rem}

/* ── MOBILE OVERRIDES ── */
@media(max-width:768px){
  .hero h1{font-size:2.6rem}
  .hero-ctas{flex-direction:column;align-items:center}
  .calc-row,.wf-row{grid-template-columns:1fr}
  .tiers{grid-template-columns:1fr}
  .cd-layout{grid-template-columns:1fr}
  .td-compare{grid-template-columns:1fr;gap:1rem}
  .td-divider{justify-content:center;font-size:1.2rem}
  .tn-layout{grid-template-columns:1fr;gap:1rem}
  .tn-divider{justify-content:center;font-size:1.2rem}
  .prof-header{flex-direction:column;align-items:center;text-align:center}
  .prof-stats{justify-content:center}
  .skeleton-detail{grid-template-columns:1fr}
  .page-header{flex-direction:column;align-items:flex-start}
  .filter-bar{flex-direction:column}
  .filter-search{min-width:100%}
}
