/* ── RESET & VARIABLES ── */
:root {
  --bg: #0d0d0f; --bg2: #141418; --bg3: #1c1c22;
  --border: rgba(255,255,255,0.08); --border-hover: rgba(255,255,255,0.18);
  --text: #f0efe8; --muted: #7a7970;
  --accent: #96DEFF; --accent2: #ff6b35; --accent3: #8b5cf6;
  --font-display: 'Syne', sans-serif; --font-body: 'DM Sans', sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font-body); font-size: 15px; line-height: 1.6; min-height: 100vh; overflow-x: hidden; }
body::before { content: ''; position: fixed; inset: 0; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E"); pointer-events: none; z-index: 0; opacity: 0.35; }

/* ── NAV ── */
nav { position: sticky; top: 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 0 40px; height: 64px; background: rgba(13,13,15,0.9); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.nav-logo { font-family: var(--font-display); font-size: 20px; font-weight: 800; letter-spacing: -0.5px; display: flex; align-items: center; gap: 4px; cursor: pointer; }
.logo-y { color: var(--accent); display: inline-block; transform: scaleY(1.35); transform-origin: bottom; }
.logo-sub { font-size: 12px; font-weight: 400; color: var(--muted); margin-left: 2px; letter-spacing: 0.04em; align-self: flex-end; margin-bottom: 2px; }
.nav-logo-img { height: 48px; width: auto; border-radius: 6px; display: block; }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.nav-user { display: flex; align-items: center; gap: 10px; }
.nav-username { font-size: 14px; color: var(--muted); }
.nav-avatar { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 700; color: #0d0d0f; cursor: pointer; transition: opacity 0.2s; }
.nav-avatar:hover { opacity: 0.85; }

/* ── BUTTONS ── */
.btn-ghost { background: none; border: 1px solid var(--border); color: var(--muted); padding: 8px 18px; border-radius: 6px; font-family: var(--font-body); font-size: 14px; cursor: pointer; transition: all 0.2s; }
.btn-ghost:hover { border-color: var(--border-hover); color: var(--text); }
.btn-primary { background: var(--accent); color: #0d0d0f; border: none; padding: 8px 20px; border-radius: 6px; font-family: var(--font-body); font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.2s; }
.btn-primary:hover { background: #b8eaff; transform: translateY(-1px); }
.btn-large { background: var(--accent); color: #0d0d0f; border: none; padding: 14px 32px; border-radius: 8px; font-family: var(--font-display); font-size: 15px; font-weight: 700; cursor: pointer; transition: all 0.25s; letter-spacing: 0.02em; }
.btn-large:hover { background: #b8eaff; transform: translateY(-2px); box-shadow: 0 8px 32px rgba(150,222,255,0.25); }
.btn-large-outline { background: none; border: 1px solid var(--border-hover); color: var(--text); padding: 14px 32px; border-radius: 8px; font-family: var(--font-display); font-size: 15px; font-weight: 600; cursor: pointer; transition: all 0.25s; }
.btn-large-outline:hover { border-color: var(--text); }

/* ── HERO ── */
.hero { position: relative; padding: 100px 40px 80px; max-width: 1100px; margin: 0 auto; overflow: hidden; }
.hero-tag { display: inline-flex; align-items: center; gap: 6px; background: rgba(150,222,255,0.1); border: 1px solid rgba(150,222,255,0.25); color: var(--accent); border-radius: 100px; padding: 4px 14px; font-size: 12px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 28px; }
.hero-tag::before { content: '●'; font-size: 8px; }
.hero h1 { font-family: var(--font-display); font-size: clamp(30px, 4.2vw, 54px); font-weight: 400; line-height: 1.12; letter-spacing: -1px; margin-bottom: 12px; max-width: 680px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-en { font-family: var(--font-display); font-size: clamp(16px, 2vw, 22px); font-weight: 400; color: var(--muted); letter-spacing: 0.01em; margin-bottom: 8px; }
  .hero-en-sub { font-family: var(--font-body); font-size: 15px; font-weight: 300; color: var(--muted); margin-bottom: 28px; opacity: 0.8; }
.hero p { color: var(--muted); font-size: 16px; font-weight: 300; max-width: 440px; line-height: 1.7; margin-bottom: 40px; }
  .hero-desc-bold { color: var(--text) !important; font-size: 19px !important; font-weight: 400 !important; max-width: 520px; line-height: 1.7; margin-bottom: 40px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 40px; margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--border); }
.stat-num { font-family: var(--font-display); font-size: 36px; font-weight: 800; color: var(--text); letter-spacing: -1px; display: inline-block; transform: scaleY(1.28); transform-origin: bottom; line-height: 1; }
.stat-label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 6px; }
.hero-deco { position: absolute; right: -20px; top: 60px; width: 420px; height: 420px; opacity: 0.12; background: radial-gradient(circle at center, var(--accent3) 0%, transparent 70%); border-radius: 50%; pointer-events: none; }

/* ── MARKETPLACE ── */
.section { max-width: 1100px; margin: 0 auto; padding: 0 40px; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; }
.section-title { font-family: var(--font-display); font-size: 22px; font-weight: 700; letter-spacing: -0.5px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.filter-btn { background: var(--bg3); border: 1px solid var(--border); color: var(--muted); padding: 7px 16px; border-radius: 100px; font-size: 13px; cursor: pointer; transition: all 0.2s; font-family: var(--font-body); }
.filter-btn:hover, .filter-btn.active { background: var(--accent); border-color: var(--accent); color: #0d0d0f; font-weight: 500; }
.loading-state { text-align: center; color: var(--muted); padding: 60px 0; font-size: 14px; }
.empty-state { text-align: center; color: var(--muted); padding: 60px 0; }
.empty-state p { font-size: 15px; margin-bottom: 16px; }

/* ── CARDS ── */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-bottom: 80px; }
.idea-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 14px; padding: 24px; cursor: pointer; transition: all 0.25s; display: flex; flex-direction: column; gap: 13px; position: relative; overflow: hidden; }
.idea-card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 60%); pointer-events: none; }
.idea-card:hover { border-color: var(--border-hover); transform: translateY(-3px); box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
.idea-card.featured { border-color: rgba(150,222,255,0.3); }
.card-badges { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.badge { font-size: 10px; font-weight: 600; padding: 3px 9px; border-radius: 100px; letter-spacing: 0.04em; }
.badge-featured { background: rgba(150,222,255,0.15); color: var(--accent); border: 1px solid rgba(150,222,255,0.3); }
.badge-exclusive { background: rgba(139,92,246,0.15); color: #a78bfa; border: 1px solid rgba(139,92,246,0.3); }
.badge-multi { background: rgba(59,130,246,0.15); color: #60a5fa; border: 1px solid rgba(59,130,246,0.3); }
.badge-sold { background: rgba(255,107,53,0.12); color: var(--accent2); border: 1px solid rgba(255,107,53,0.25); }
.badge-level { background: rgba(255,255,255,0.06); color: var(--muted); border: 1px solid var(--border); font-size: 11px; }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.card-emoji { width: 44px; height: 44px; border-radius: 10px; background: var(--bg3); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.card-price-block { text-align: right; }
.card-price { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--accent); }
.card-buyers { font-size: 11px; color: var(--muted); margin-top: 2px; }
.card-title { font-family: var(--font-display); font-size: 16px; font-weight: 700; letter-spacing: -0.3px; line-height: 1.3; }
.card-desc { font-size: 13px; color: var(--muted); line-height: 1.6; }
.card-desc-wrap { position: relative; }
.card-desc.blurred { filter: blur(4px); user-select: none; pointer-events: none; opacity: 0.7; }
.lock-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12px; color: var(--muted); }
.word-count-hint { font-size: 11px; color: var(--muted); margin-top: -4px; }
.word-count-hint strong { color: var(--text); }
.card-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tag { background: var(--bg3); border: 1px solid var(--border); color: var(--muted); font-size: 11px; padding: 3px 10px; border-radius: 100px; }
.card-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--border); }
.seller { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.seller:hover .seller-name { color: var(--accent); }
.avatar { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #0d0d0f; flex-shrink: 0; }
.seller-name { font-size: 12px; color: var(--muted); transition: color 0.2s; }
.like-btn { background: none; border: 1px solid var(--border); color: var(--muted); font-size: 12px; padding: 5px 12px; border-radius: 6px; cursor: pointer; transition: all 0.2s; font-family: var(--font-body); }
.like-btn:hover { border-color: var(--accent2); color: var(--accent2); }
.like-btn.liked { border-color: var(--accent2); color: var(--accent2); background: rgba(255,107,53,0.08); }

/* ── MODALS ── */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.75); backdrop-filter: blur(10px); z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity 0.25s; }
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal { background: var(--bg2); border: 1px solid var(--border-hover); border-radius: 20px; padding: 40px; width: 100%; transform: translateY(16px); transition: transform 0.3s; position: relative; }
.modal-overlay.open .modal { transform: translateY(0); }
.modal-close { position: absolute; top: 16px; right: 16px; background: none; border: none; color: var(--muted); font-size: 22px; cursor: pointer; width: 32px; height: 32px; border-radius: 6px; display: flex; align-items: center; justify-content: center; transition: color 0.2s; }
.modal-close:hover { color: var(--text); }

/* ── IDEA MODAL ── */
.modal-tag-row { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.modal-title { font-family: var(--font-display); font-size: 24px; font-weight: 800; margin-bottom: 6px; letter-spacing: -0.5px; }
.modal-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.modal-seller-link { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); cursor: pointer; transition: color 0.2s; }
.modal-seller-link:hover { color: var(--accent); }
.modal-price-big { font-family: var(--font-display); font-size: 40px; font-weight: 800; color: var(--accent); margin-bottom: 4px; }
.modal-buyers-line { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.locked-preview { background: var(--bg3); border: 1px solid var(--border); border-radius: 12px; padding: 20px; margin-bottom: 20px; position: relative; min-height: 100px; }
.locked-preview p { font-size: 14px; color: var(--muted); line-height: 1.7; filter: blur(5px); user-select: none; pointer-events: none; }
.locked-banner { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border-radius: 12px; background: rgba(13,13,15,0.5); }
.locked-banner span { font-size: 22px; }
.locked-banner p { filter: none; font-size: 13px; color: var(--muted); pointer-events: all; }
.unlocked-content { background: var(--bg3); border: 1px solid rgba(150,222,255,0.2); border-radius: 12px; padding: 20px; margin-bottom: 20px; }
.unlocked-label { font-size: 11px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; margin-bottom: 8px; }
.unlocked-content p { font-size: 14px; color: var(--text); line-height: 1.7; }
.modal-buy-btn { width: 100%; background: var(--accent); color: #0d0d0f; border: none; padding: 15px; border-radius: 10px; font-family: var(--font-display); font-size: 16px; font-weight: 700; cursor: pointer; transition: all 0.2s; margin-bottom: 12px; }
.modal-buy-btn:hover { background: #b8eaff; transform: translateY(-1px); }
.modal-buy-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.modal-disclaimer { font-size: 12px; color: var(--muted); text-align: center; }
.reviews-section { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--border); }
.reviews-title { font-family: var(--font-display); font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.review-list { display: flex; flex-direction: column; gap: 10px; max-height: 200px; overflow-y: auto; margin-bottom: 14px; }
.review-list::-webkit-scrollbar { width: 4px; }
.review-list::-webkit-scrollbar-thumb { background: var(--border-hover); border-radius: 4px; }
.review-item { background: var(--bg3); border-radius: 10px; padding: 12px 14px; font-size: 13px; }
.review-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.review-user { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; }
.stars { color: var(--accent); font-size: 12px; }
.review-text { color: var(--text); line-height: 1.5; }
.review-form { display: flex; flex-direction: column; gap: 8px; }
.star-row { display: flex; gap: 4px; }
.star-pick { font-size: 20px; cursor: pointer; opacity: 0.3; transition: opacity 0.15s; background: none; border: none; padding: 0; line-height: 1; }
.star-pick.on { opacity: 1; }
.review-input { background: var(--bg); border: 1px solid var(--border); color: var(--text); padding: 10px 14px; border-radius: 8px; font-family: var(--font-body); font-size: 13px; resize: none; outline: none; transition: border-color 0.2s; width: 100%; }
.review-input:focus { border-color: rgba(150,222,255,0.5); }
.review-submit-btn { background: var(--bg3); border: 1px solid var(--border); color: var(--text); padding: 9px; border-radius: 8px; font-family: var(--font-body); font-size: 13px; cursor: pointer; transition: all 0.2s; }
.review-submit-btn:hover { border-color: var(--accent); color: var(--accent); }

/* ── PROFILE MODAL ── */
.profile-cover { height: 100px; border-radius: 12px; margin-bottom: -36px; }
.profile-header { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 20px; }
.profile-avatar { width: 72px; height: 72px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; font-weight: 800; color: #0d0d0f; border: 3px solid var(--bg2); flex-shrink: 0; }
.profile-name { font-family: var(--font-display); font-size: 22px; font-weight: 800; }
.profile-handle { font-size: 13px; color: var(--muted); margin-top: 2px; }
.profile-bio { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 16px; }
.profile-stats { display: flex; gap: 24px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.profile-stat-num { font-family: var(--font-display); font-size: 20px; font-weight: 800; }
.profile-stat-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.profile-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 20px; }
.profile-ideas-title { font-family: var(--font-display); font-size: 15px; font-weight: 700; margin-bottom: 12px; }
.profile-idea-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 14px; background: var(--bg3); border-radius: 10px; margin-bottom: 8px; cursor: pointer; transition: background 0.2s; }
.profile-idea-row:hover { background: rgba(150,222,255,0.07); }
.profile-idea-price { font-family: var(--font-display); font-size: 14px; color: var(--accent); font-weight: 700; }

/* ── AUTH MODAL ── */
.auth-tabs { display: flex; margin-bottom: 24px; border-bottom: 1px solid var(--border); }
.auth-tab { flex: 1; padding: 10px; text-align: center; font-size: 14px; font-weight: 500; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; transition: all 0.2s; font-family: var(--font-body); background: none; border-top: none; border-left: none; border-right: none; margin-bottom: -1px; }
.auth-tab.active { color: var(--accent); border-bottom-color: var(--accent); }
.auth-title { font-family: var(--font-display); font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.auth-sub { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.auth-note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 4px; }
.auth-error { font-size: 13px; color: var(--accent2); background: rgba(255,107,53,0.08); border: 1px solid rgba(255,107,53,0.2); border-radius: 8px; padding: 10px 14px; }
.auth-btn { background: var(--accent); color: #0d0d0f; border: none; padding: 13px; border-radius: 8px; font-family: var(--font-display); font-size: 15px; font-weight: 700; cursor: pointer; transition: all 0.2s; width: 100%; }
.auth-btn:hover { background: #b8eaff; }
.auth-btn:disabled { opacity: 0.6; cursor: not-allowed; }

/* ── FORMS ── */
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-group:last-child { margin-bottom: 0; }
label { font-size: 12px; color: var(--muted); letter-spacing: 0.05em; text-transform: uppercase; font-weight: 500; }
input, textarea, select { background: var(--bg3); border: 1px solid var(--border); color: var(--text); padding: 12px 16px; border-radius: 8px; font-family: var(--font-body); font-size: 14px; transition: border-color 0.2s; resize: none; outline: none; -webkit-appearance: none; width: 100%; }
input:focus, textarea:focus, select:focus { border-color: rgba(150,222,255,0.5); }
input::placeholder, textarea::placeholder { color: var(--muted); }
select option { background: var(--bg3); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

/* ── SUBMIT FLOW ── */
.submit-section { max-width: 900px; margin: 0 auto 80px; padding: 0 40px; }
.cat-picker { display: none; }
.cat-picker.active { display: block; }
.cat-picker-title { font-family: var(--font-display); font-size: 28px; font-weight: 800; letter-spacing: -0.5px; margin-bottom: 8px; }
.cat-picker-sub { font-size: 15px; color: var(--muted); margin-bottom: 32px; }
.cat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.cat-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 14px; padding: 22px 24px; cursor: pointer; transition: all 0.22s; }
.cat-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.cat-card-emoji { font-size: 28px; margin-bottom: 10px; }
.cat-card-name { font-family: var(--font-display); font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.cat-card-desc { font-size: 13px; color: var(--muted); line-height: 1.5; }
.tmpl-form { display: none; }
.tmpl-form.active { display: block; }
.tmpl-back { background: none; border: none; color: var(--muted); font-size: 14px; cursor: pointer; display: flex; align-items: center; gap: 6px; margin-bottom: 20px; font-family: var(--font-body); transition: color 0.2s; padding: 0; }
.tmpl-back:hover { color: var(--text); }
.tmpl-header { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.tmpl-emoji { font-size: 32px; }
.tmpl-title { font-family: var(--font-display); font-size: 24px; font-weight: 800; letter-spacing: -0.5px; }
.tmpl-sub { font-size: 14px; color: var(--muted); margin-top: 2px; }
.form-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 16px; padding: 28px; margin-bottom: 16px; }
.form-card-label { font-size: 11px; color: var(--accent); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; margin-bottom: 14px; }
.level-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 8px; }
.level-opt { padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg3); cursor: pointer; transition: all 0.2s; font-family: var(--font-body); text-align: left; }
.level-opt:hover { border-color: var(--border-hover); }
.level-opt.selected { border-color: var(--accent); background: rgba(150,222,255,0.06); }
.level-emoji { font-size: 18px; margin-bottom: 4px; }
.level-name { font-size: 13px; font-weight: 500; color: var(--text); }
.level-desc { font-size: 11px; color: var(--muted); margin-top: 2px; }
.license-toggle { display: flex; gap: 8px; }
.license-opt { flex: 1; padding: 10px; border-radius: 8px; border: 1px solid var(--border); background: var(--bg3); color: var(--muted); font-size: 13px; cursor: pointer; text-align: center; transition: all 0.2s; font-family: var(--font-body); }
.license-opt:hover { border-color: var(--border-hover); color: var(--text); }
.license-opt.selected { border-color: var(--accent); color: var(--accent); background: rgba(150,222,255,0.07); }
.submit-btn { width: 100%; background: var(--accent); color: #0d0d0f; border: none; padding: 15px; border-radius: 10px; font-family: var(--font-display); font-size: 16px; font-weight: 700; cursor: pointer; transition: all 0.25s; margin-top: 8px; }
.submit-btn:hover { background: #b8eaff; transform: translateY(-1px); }
.submit-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* ── TOAST ── */
.toast { position: fixed; bottom: 32px; left: 50%; transform: translateX(-50%) translateY(80px); background: var(--accent); color: #0d0d0f; padding: 12px 28px; border-radius: 100px; font-family: var(--font-display); font-weight: 700; font-size: 14px; transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1); z-index: 999; pointer-events: none; white-space: nowrap; }
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.error { background: var(--accent2); color: #fff; }

/* ── FOOTER ── */
footer { border-top: 1px solid var(--border); padding: 32px 40px; display: flex; justify-content: space-between; align-items: center; max-width: 1100px; margin: 0 auto; color: var(--muted); font-size: 13px; }
.footer-logo { font-family: var(--font-display); font-weight: 800; }
.footer-logo span { color: var(--accent); display: inline-block; transform: scaleY(1.35); transform-origin: bottom; }

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
  nav { padding: 0 20px; }
  .hero { padding: 60px 20px 48px; }
  .hero h1 { font-size: 38px; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .section, .submit-section { padding: 0 20px; }
  .cat-grid, .level-grid, .two-col { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 12px; padding: 24px 20px; text-align: center; }
}

/* ── 信任評分 ── */
.trust-score { display:flex; align-items:center; gap:6px; margin-top:4px; font-size:13px; }
.trust-stars { letter-spacing:1px; }
.trust-num { font-family:var(--font-display); font-weight:700; color:var(--accent); }
.trust-count { color:var(--muted); font-size:12px; }
.trust-none { color:var(--muted); font-size:12px; }

/* ── 圖片上傳區 ── */
.upload-area {
  border: 2px dashed var(--border-hover); border-radius:10px;
  min-height:90px; display:flex; align-items:center; justify-content:center;
  cursor:pointer; transition:border-color 0.2s; overflow:hidden;
}
.upload-area:hover { border-color:var(--accent); }
.upload-placeholder { text-align:center; color:var(--muted); font-size:13px; line-height:1.6; }

/* ── AI 評分系統 ── */
.ai-score-section { margin-top: 8px; margin-bottom: 8px; }
.ai-score-btn {
  width: 100%; padding: 13px; border-radius: 10px;
  border: 1px dashed var(--border-hover);
  background: rgba(150,222,255,0.04); color: var(--accent);
  font-family: var(--font-body); font-size: 14px; font-weight: 500;
  cursor: pointer; transition: all 0.2s; margin-bottom: 12px;
}
.ai-score-btn:hover { background: rgba(150,222,255,0.08); border-color: var(--accent); }
.ai-score-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.score-loading { text-align: center; color: var(--muted); padding: 20px; font-size: 13px; }
.score-error { color: var(--accent2); font-size: 13px; padding: 8px 0; }
.score-card { background: var(--bg3); border: 1px solid var(--border); border-radius: 14px; padding: 20px; margin-bottom: 12px; }
.score-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.score-total-wrap { display: flex; align-items: baseline; gap: 4px; }
.score-total { font-family: var(--font-display); font-size: 42px; font-weight: 800; line-height: 1; }
.score-total-label { font-size: 16px; color: var(--muted); }
.score-grade { font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 100px; }
.score-summary { font-size: 13px; color: var(--muted); margin-bottom: 16px; line-height: 1.6; }
.score-bars { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.score-bar-row {}
.score-bar-label { display: flex; justify-content: space-between; font-size: 12px; margin-bottom: 4px; }
.score-bar-num { color: var(--muted); }
.score-bar-track { height: 6px; background: var(--bg2); border-radius: 100px; overflow: hidden; margin-bottom: 3px; }
.score-bar-fill { height: 100%; border-radius: 100px; transition: width 0.6s ease; }
.score-bar-comment { font-size: 11px; color: var(--muted); }
.score-suggestion { display: flex; gap: 8px; background: rgba(150,222,255,0.06); border: 1px solid rgba(150,222,255,0.15); border-radius: 8px; padding: 10px 12px; font-size: 13px; color: var(--text); line-height: 1.5; }
.score-suggestion-icon { flex-shrink: 0; }

/* ── Modal AI 評分區塊 ── */
.modal-ai-score { background: var(--bg3); border: 1px solid var(--border); border-radius: 12px; padding: 16px; margin-bottom: 16px; }
.modal-ai-score-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.modal-ai-score-label { font-size: 12px; color: var(--muted); font-weight: 500; }
.modal-ai-score-num { font-family: var(--font-display); font-size: 22px; font-weight: 800; }
.badge-ai-score { font-size: 10px; font-weight: 600; padding: 3px 9px; border-radius: 100px; }

/* ── 自評問卷 ── */
.sq-form { background: var(--bg3); border: 1px solid var(--border); border-radius: 14px; padding: 20px; margin-bottom: 12px; }
.sq-intro { font-size: 13px; color: var(--muted); margin-bottom: 18px; line-height: 1.6; padding-bottom: 14px; border-bottom: 1px solid var(--border); }
.sq-section { margin-bottom: 18px; }
.sq-section-title { font-family: var(--font-display); font-size: 13px; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.sq-row { margin-bottom: 12px; padding: 12px; background: var(--bg2); border-radius: 10px; border: 1px solid var(--border); }
.sq-text { font-size: 13px; color: var(--text); line-height: 1.5; margin-bottom: 8px; }
.sq-options { display: flex; gap: 6px; }
.sq-btn { flex: 1; padding: 6px 8px; border-radius: 7px; border: 1px solid var(--border); background: var(--bg3); color: var(--muted); font-size: 12px; cursor: pointer; transition: all 0.15s; font-family: var(--font-body); }
.sq-btn:hover { border-color: var(--border-hover); color: var(--text); }
.sq-btn.selected { border-color: #96DEFF; color: #96DEFF; background: rgba(150,222,255,0.08); font-weight: 600; }
.sq-btn-partial.selected { border-color: #f59e0b; color: #f59e0b; background: rgba(245,158,11,0.08); }
.sq-btn-no.selected { border-color: #ff6b35; color: #ff6b35; background: rgba(255,107,53,0.08); }
.sq-progress { font-size: 12px; color: var(--muted); text-align: center; margin-bottom: 10px; }
.sq-submit-btn { width: 100%; padding: 12px; border-radius: 10px; border: none; background: var(--accent); color: #0d0d0f; font-family: var(--font-display); font-size: 14px; font-weight: 700; cursor: pointer; transition: all 0.2s; }
.sq-submit-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.sq-submit-btn:not(:disabled):hover { background: #b8eaff; }
.sq-redo-btn { padding: 8px 16px; border-radius: 8px; border: 1px solid var(--border); background: none; color: var(--muted); font-size: 13px; cursor: pointer; transition: all 0.2s; font-family: var(--font-body); }
.sq-redo-btn:hover { border-color: var(--border-hover); color: var(--text); }

/* ── 編輯與刪除 ── */
.manage-btns { display:flex; gap:8px; margin-bottom:16px; }
.manage-btn { flex:1; padding:10px; border-radius:8px; font-family:var(--font-body); font-size:13px; font-weight:500; cursor:pointer; transition:all 0.2s; border:1px solid var(--border); background:var(--bg3); color:var(--muted); }
.manage-edit:hover { border-color:var(--accent); color:var(--accent); background:rgba(150,222,255,0.06); }
.manage-delete:hover { border-color:var(--accent2); color:var(--accent2); background:rgba(255,107,53,0.06); }

/* ── 版本歷史 ── */
.version-history { background:var(--bg3); border:1px solid var(--border); border-radius:10px; padding:14px; margin:14px 0; }
.version-title { font-size:12px; color:var(--muted); text-transform:uppercase; letter-spacing:0.05em; font-weight:500; margin-bottom:10px; }
.version-row { padding:10px 0; border-bottom:1px solid var(--border); }
.version-row:last-child { border-bottom:none; padding-bottom:0; }
.version-meta { display:flex; align-items:center; gap:8px; margin-bottom:4px; }
.version-num { font-family:var(--font-display); font-size:12px; font-weight:700; color:var(--accent); background:rgba(150,222,255,0.1); padding:2px 8px; border-radius:100px; }
.version-date { font-size:11px; color:var(--muted); }
.version-note { font-size:11px; color:var(--muted); background:var(--bg2); padding:2px 8px; border-radius:100px; border:1px solid var(--border); }
.version-preview { font-size:13px; color:var(--text); }

/* ── 頭像圖片 ── */
.avatar-img { object-fit: cover; border-radius: 50%; display: block; }

/* ── 忘記密碼 ── */
.forgot-btn { width:100%; background:none; border:none; color:var(--muted); font-size:13px; cursor:pointer; padding:8px; font-family:var(--font-body); transition:color 0.2s; text-align:center; }
.forgot-btn:hover { color:var(--accent); }

/* ── 購物車 Nav 按鈕 ── */
.cart-nav-btn { position:relative; background:none; border:1px solid var(--border); color:var(--text); padding:8px 14px; border-radius:6px; font-size:15px; cursor:pointer; transition:all 0.2s; display:flex; align-items:center; gap:4px; }
.cart-nav-btn:hover { border-color:var(--accent); color:var(--accent); }
.cart-badge { position:absolute; top:-6px; right:-6px; background:var(--accent2); color:#fff; font-size:10px; font-weight:700; width:18px; height:18px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-family:var(--font-display); }
.admin-nav-btn { background:none; border:1px solid rgba(255,107,53,0.4); color:var(--accent2); padding:8px 14px; border-radius:6px; font-size:13px; cursor:pointer; transition:all 0.2s; }
.admin-nav-btn:hover { background:rgba(255,107,53,0.08); }

/* ── 購物車 Modal ── */
.cart-items-list { display:flex; flex-direction:column; gap:10px; margin-bottom:20px; }
.cart-item { display:flex; align-items:center; justify-content:space-between; padding:12px; background:var(--bg3); border-radius:10px; border:1px solid var(--border); }
.cart-item-info { display:flex; align-items:center; gap:10px; flex:1; }
.cart-item-emoji { font-size:22px; }
.cart-item-title { font-size:14px; font-weight:500; }
.cart-item-seller { font-size:11px; color:var(--muted); margin-top:2px; }
.cart-item-right { display:flex; align-items:center; gap:10px; }
.cart-item-price { font-family:var(--font-display); font-size:15px; font-weight:700; color:var(--accent); }
.cart-item-remove { background:none; border:none; color:var(--muted); cursor:pointer; font-size:14px; padding:4px; transition:color 0.2s; }
.cart-item-remove:hover { color:var(--accent2); }
.cart-summary { border-top:1px solid var(--border); padding-top:14px; margin-bottom:16px; }
.cart-summary-row { display:flex; justify-content:space-between; font-size:14px; margin-bottom:8px; }
.cart-summary-note { font-size:12px; color:var(--muted); }
.cart-summary-total { font-family:var(--font-display); font-size:16px; font-weight:700; padding-top:8px; border-top:1px solid var(--border); }
.checkout-btn { width:100%; background:var(--accent); color:#0d0d0f; border:none; padding:14px; border-radius:10px; font-family:var(--font-display); font-size:15px; font-weight:700; cursor:pointer; transition:all 0.2s; }
.checkout-btn:hover { background:#b8eaff; }

/* ── 結帳頁面 ── */
.checkout-section { background:var(--bg3); border:1px solid var(--border); border-radius:12px; padding:16px; margin-bottom:14px; }
.checkout-section-title { font-size:12px; color:var(--accent); text-transform:uppercase; letter-spacing:0.05em; font-weight:600; margin-bottom:12px; }
.bank-info-grid { display:flex; flex-direction:column; gap:8px; }
.bank-info-row { display:flex; align-items:center; gap:10px; }
.bank-label { font-size:12px; color:var(--muted); width:40px; flex-shrink:0; }
.bank-value { font-size:14px; color:var(--text); }
.bank-account { font-family:var(--font-display); font-size:18px; font-weight:700; color:var(--accent); letter-spacing:0.05em; }
.bank-notice { font-size:12px; color:var(--accent2); margin-top:10px; background:rgba(255,107,53,0.08); padding:8px 10px; border-radius:6px; }

/* ── 後台管理 ── */
.admin-stats { display:flex; gap:12px; margin-bottom:24px; }
.admin-stat-card { flex:1; background:var(--bg3); border:1px solid var(--border); border-radius:12px; padding:14px; text-align:center; }
.admin-stat-num { font-family:var(--font-display); font-size:22px; font-weight:800; }
.admin-stat-label { font-size:11px; color:var(--muted); text-transform:uppercase; letter-spacing:0.05em; margin-top:4px; }
.admin-section { margin-bottom:24px; }
.admin-section-title { font-family:var(--font-display); font-size:15px; font-weight:700; margin-bottom:12px; }
.admin-order-row { background:var(--bg3); border:1px solid var(--border); border-radius:12px; padding:14px; margin-bottom:10px; }
.admin-order-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:8px; }
.admin-order-buyer { display:flex; align-items:center; gap:8px; font-size:14px; font-weight:500; }
.admin-order-amount { font-family:var(--font-display); font-size:18px; font-weight:800; color:var(--accent); }
.admin-order-meta { display:flex; gap:14px; flex-wrap:wrap; font-size:12px; color:var(--muted); margin-bottom:6px; }
.admin-confirm-btn { flex:1; background:var(--accent); color:#0d0d0f; border:none; padding:10px; border-radius:8px; font-family:var(--font-display); font-size:13px; font-weight:700; cursor:pointer; transition:all 0.2s; }
.admin-confirm-btn:hover { background:#b8eaff; }
.admin-confirm-btn:disabled { opacity:0.5; cursor:not-allowed; }
.admin-reject-btn { padding:10px 16px; border-radius:8px; border:1px solid rgba(255,107,53,0.4); background:none; color:var(--accent2); font-size:13px; cursor:pointer; transition:all 0.2s; font-family:var(--font-body); }
.admin-reject-btn:hover { background:rgba(255,107,53,0.08); }
.admin-confirmed-badge { font-size:12px; color:var(--accent); margin-top:8px; }

/* ── 賣家收款頁面 ── */
.seller-summary { display:flex; gap:10px; margin-bottom:20px; }
.seller-sum-card { flex:1; background:var(--bg3); border:1px solid var(--border); border-radius:12px; padding:14px; text-align:center; }
.seller-sum-num { font-family:var(--font-display); font-size:18px; font-weight:800; }
.seller-sum-label { font-size:11px; color:var(--muted); margin-top:4px; }
.seller-notice { background:rgba(150,222,255,0.06); border:1px solid rgba(150,222,255,0.15); border-radius:8px; padding:12px; font-size:13px; color:var(--muted); margin-bottom:20px; line-height:1.6; }
.seller-ideas-title { font-family:var(--font-display); font-size:15px; font-weight:700; margin-bottom:12px; }
.seller-idea-row { display:flex; align-items:center; justify-content:space-between; padding:14px; background:var(--bg3); border:1px solid var(--border); border-radius:10px; margin-bottom:6px; }
.seller-idea-info { display:flex; align-items:center; gap:10px; }
.seller-orders-detail { padding:0 14px 10px; }
.seller-order-row { display:flex; justify-content:space-between; padding:4px 0; border-bottom:1px solid var(--border); }
.seller-order-row:last-child { border-bottom:none; }
