/* ===== এজেন্ট লিস্ট — পাবলিক সাইট ===== */
:root,
[data-theme="gold"] {
  --bg: #07080C; --surface: #10121A; --surface2: #0E1017; --deep: #120E04;
  --line: #2A2412; --line2: #3A2F12; --line3: #5A4A1C;
  --gold: #E9C96A; --gold-hi: #F5DD8F; --gold-lo: #9C7A1F; --gold-mid: #8A6D22;
  --text: #F4EFE1; --muted: #B8B19C; --muted2: #A8A291; --soft: #D6D0BC;
  --glow: #2B210A; --on-gold: #1A1406;
}
[data-theme="navy"] {
  --bg: #0A1324; --surface: #111D36; --surface2: #0F1A31; --deep: #0E1A33;
  --line: #22335A; --line2: #2A3B5E; --line3: #3A4E78;
  --gold: #E2C275; --gold-hi: #F3DC9C; --gold-lo: #B08A2E; --gold-mid: #B08A2E;
  --text: #F3F1EA; --muted: #B4BED2; --muted2: #A9B3C7; --soft: #D5DBE7;
  --glow: #1C2E55; --on-gold: #14213D;
}
[data-theme="emerald"] {
  --bg: #06140F; --surface: #0D2019; --surface2: #0B1C16; --deep: #0A1D16;
  --line: #1D3A2F; --line2: #28493C; --line3: #3B6352;
  --gold: #E0BE5A; --gold-hi: #F2DA8E; --gold-lo: #9C7A1F; --gold-mid: #9C7A1F;
  --text: #F1F3EC; --muted: #B5C4BB; --muted2: #A3B6AB; --soft: #D3DED7;
  --glow: #12392B; --on-gold: #102018;
}
[data-theme="maroon"] {
  --bg: #12070A; --surface: #1E0E13; --surface2: #1A0C10; --deep: #1A0A0E;
  --line: #3A1C24; --line2: #4A2530; --line3: #6A3644;
  --gold: #E2C275; --gold-hi: #F3DC9C; --gold-lo: #A8822A; --gold-mid: #A8822A;
  --text: #F6EEEA; --muted: #CDB6B4; --muted2: #C0A7A5; --soft: #E6D6D3;
  --glow: #3A1420; --on-gold: #2A1208;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: 'Hind Siliguri', system-ui, sans-serif; font-size: 15px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); }
a:hover { color: var(--gold-hi); }
button { font-family: inherit; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.i { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.muted { color: var(--muted2); font-size: 13px; margin: 0; }
.wrap { width: 100%; max-width: 960px; margin: 0 auto; padding: 0 16px; }

/* বাটন */
.btn-gold {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 0 18px; border: none; border-radius: 12px; cursor: pointer;
  background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo));
  color: var(--on-gold); font-size: 15px; font-weight: 700; text-decoration: none;
  box-shadow: 0 6px 18px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.35);
  transition: transform .15s, filter .15s;
}
.btn-gold:hover { filter: brightness(1.06); color: var(--on-gold); }
.btn-gold:active { transform: translateY(1px); }
.btn-gold.sm { min-height: 44px; padding: 0 16px; font-size: 14px; }

/* স্প্ল্যাশ */
.splash {
  position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px;
  background: radial-gradient(90% 60% at 50% 30%, var(--glow) 0%, var(--bg) 70%);
  transition: opacity .5s, visibility .5s;
}
.splash.hide { opacity: 0; visibility: hidden; }
.splash-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; max-width: 360px; animation: rise .8s ease both; }
.splash-logo { max-width: 220px; max-height: 110px; object-fit: contain; }
.splash-name, .logo-text {
  font-family: 'Noto Serif Bengali', serif; font-weight: 800; font-size: 34px; line-height: 1.25;
  background: linear-gradient(180deg, #FFF1C2, var(--gold) 50%, var(--gold-lo)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.splash-welcome { margin: 0; font-family: 'Cinzel', serif; letter-spacing: 1.5px; color: var(--gold-hi); font-size: 15px; }
.splash-line, .divider { display: flex; align-items: center; gap: 10px; width: 220px; }
.splash-line span, .divider span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-mid)); }
.splash-line span:last-child, .divider span:last-child { background: linear-gradient(90deg, var(--gold-mid), transparent); }
.splash-line i, .divider i { width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg); }
.splash-btn { min-width: 200px; min-height: 52px; font-size: 17px; border-radius: 999px; animation: pulse 2.4s ease-in-out infinite; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(233,201,106,.35); } 50% { box-shadow: 0 0 0 12px rgba(233,201,106,0); } }

/* ওয়েলকাম স্ট্রিপ */
.strip { background: var(--deep); border-bottom: 1px solid var(--line2); }
.strip-in { display: flex; align-items: center; gap: 10px; padding-top: 6px; padding-bottom: 6px; }
.strip-text { flex: 1; font-family: 'Cinzel', serif; font-size: 13px; letter-spacing: 1px; color: var(--gold-hi); }
.strip-btn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--gold-mid); background: transparent; color: var(--gold-hi); font-size: 13px; font-weight: 600; cursor: pointer;
}
.strip-btn .i { width: 16px; height: 16px; }

/* নোটিশ */
.notice { display: flex; align-items: center; overflow: hidden; background: var(--surface); border-bottom: 1px solid var(--line); }
.notice-tag { flex-shrink: 0; padding: 8px 12px; background: var(--gold); color: var(--on-gold); font-weight: 700; font-size: 13px; position: relative; z-index: 1; }
.notice-track { display: flex; gap: 60px; white-space: nowrap; padding-left: 20px; animation: marquee 22s linear infinite; color: var(--soft); font-size: 14px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* হিরো */
.hero { background: radial-gradient(120% 70% at 50% 0%, var(--glow) 0%, var(--bg) 70%); padding: 28px 0 22px; }
.hero-in { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.logo { max-height: 80px; max-width: 240px; object-fit: contain; }
.badge-line { font-family: 'Cinzel', serif; font-size: 12px; letter-spacing: 5px; color: var(--gold); }
.title {
  margin: 0; font-family: 'Noto Serif Bengali', serif; font-size: 36px; font-weight: 800; line-height: 1.25;
  background: linear-gradient(180deg, #FFF1C2 0%, var(--gold) 48%, var(--gold-lo) 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.divider { width: 100%; max-width: 420px; }
.subtitle { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; max-width: 520px; }

/* স্লাইডার */
.slider { width: 100%; max-width: 720px; display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.slider-frame { position: relative; border-radius: 18px; padding: 1px; background: linear-gradient(160deg, var(--gold-hi), var(--line3) 45%, var(--line) 75%, var(--gold-lo)); }
.slides { position: relative; border-radius: 17px; overflow: hidden; aspect-ratio: 16 / 7; background: var(--surface2); touch-action: pan-y; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.slide.on { opacity: 1; z-index: 1; }
.slide img, .slide a { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 14px 10px; background: linear-gradient(transparent, rgba(0,0,0,.75)); color: #fff; font-weight: 600; font-size: 14px; text-align: left; }
.sl-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line3); background: rgba(7,8,12,.7); color: var(--gold); display: flex; align-items: center; justify-content: center; cursor: pointer;
  backdrop-filter: blur(6px);
}
.sl-nav.prev { left: 8px; } .sl-nav.next { right: 8px; }
.dots { display: flex; justify-content: center; gap: 4px; }
.dot { width: 24px; height: 24px; padding: 0; border: none; background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.dot::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--line2); transition: width .3s, background .3s; }
.dot.on::before { width: 22px; background: var(--gold); }

/* ট্রাস্ট ব্যাজ */
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.trust-item { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 12px 6px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 12px; font-weight: 600; color: var(--soft); }
.trust-item .i { color: var(--gold); width: 20px; height: 20px; }

/* সাইট লিংক */
.link-card {
  margin-top: 14px; display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; border-radius: 16px;
  background: linear-gradient(135deg, var(--deep), var(--surface)); border: 1px solid var(--line3); box-shadow: inset 0 1px 0 var(--line2);
}
.link-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line2); display: flex; align-items: center; justify-content: center; color: var(--gold); flex-shrink: 0; }
.link-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.link-txt .lbl { font-size: 12px; color: var(--muted2); }
.link-txt a { color: var(--text); font-weight: 700; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* নাম্বার যাচাই */
.verify { margin-top: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.sec-head { display: flex; align-items: center; gap: 8px; }
.sec-head h2 { margin: 0; font-size: 16px; font-weight: 700; }
.bar { width: 4px; height: 18px; border-radius: 2px; background: var(--gold); }
.verify-form { display: flex; gap: 8px; }
.verify-form input {
  flex: 1; min-width: 0; height: 46px; border-radius: 12px; border: 1px solid var(--line2); background: var(--bg); color: var(--text);
  padding: 0 14px; font-family: inherit; font-size: 15px;
}
.verify-form input::placeholder { color: var(--muted2); opacity: .8; }
.verify-form input:focus { outline: 2px solid var(--gold); outline-offset: 1px; }
.verify-result:empty { display: none; }
.verify-result { border-radius: 12px; padding: 12px 14px; font-size: 14px; line-height: 1.6; }
.verify-result.ok { background: #0C2A1A; border: 1px solid #1F5A3A; color: #A8F0C6; }
.verify-result.bad { background: #2A1010; border: 1px solid #6A2A22; color: #F7B8AB; }

/* ট্যাব */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; padding: 22px 0 6px; }
.tab {
  min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line2); background: var(--surface);
  color: var(--soft); font-size: 14px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s;
}
.tab.on { background: linear-gradient(180deg, var(--gold-hi), var(--gold) 60%, var(--gold-lo)); color: var(--on-gold); border-color: var(--gold-hi); box-shadow: 0 4px 14px rgba(0,0,0,.4); }

/* প্যানেল */
.panel { animation: fade .35s ease both; }
@keyframes fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding: 14px 0 0; }
.panel-head h2 { margin: 0; font-family: 'Noto Serif Bengali', serif; font-size: 22px; font-weight: 600; }
.empty { margin-top: 14px; padding: 28px 16px; text-align: center; border: 1px dashed var(--line2); border-radius: 18px; color: var(--muted2); }

/* টপ এজেন্ট */
.featured { margin: 14px auto 0; max-width: 520px; border-radius: 22px; padding: 1px; background: linear-gradient(160deg, var(--gold-hi), var(--line3) 40%, var(--line) 70%, var(--gold-lo)); }
.featured-in {
  position: relative; border-radius: 21px; padding: 24px 18px 18px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
  background: radial-gradient(100% 80% at 50% 0%, var(--glow) 0%, var(--surface2) 65%);
}
.top-tag { position: absolute; top: 14px; left: 14px; font-size: 11px; font-weight: 700; letter-spacing: .5px; color: var(--on-gold); background: var(--gold); border-radius: 999px; padding: 3px 10px; }
.online { position: absolute; top: 14px; right: 14px; display: flex; align-items: center; gap: 6px; font-size: 12px; color: #86E5B0; }
.online i { width: 8px; height: 8px; border-radius: 50%; background: #25D366; box-shadow: 0 0 0 3px rgba(37,211,102,.18); animation: blink 2s infinite; }
@keyframes blink { 50% { opacity: .45; } }
.ring-lg, .ring-sm { border-radius: 50%; padding: 3px; flex-shrink: 0; display: block; }
.ring-lg { width: 100px; height: 100px; margin-top: 10px; background: conic-gradient(var(--gold-hi), var(--gold-lo), var(--gold-hi), var(--gold-lo), var(--gold-hi)); }
.ring-sm { width: 58px; height: 58px; padding: 2px; background: linear-gradient(135deg, var(--gold-hi), var(--gold-lo)); }
.ring-lg img, .ring-sm img, .ph { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: var(--bg); border: 2px solid var(--bg); }
.ph { display: flex; align-items: center; justify-content: center; color: var(--gold); font-weight: 700; font-size: 22px; }
.ring-lg .ph { font-size: 34px; }
.name-row { display: flex; align-items: center; gap: 6px; }
.name { font-weight: 700; font-size: 16px; display: inline-flex; align-items: center; gap: 6px; }
.featured .name { font-size: 20px; }
.vf { width: 17px; height: 17px; flex-shrink: 0; }
.vf circle { fill: var(--gold); }
.vf path { fill: none; stroke: var(--on-gold); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.stars { display: flex; gap: 3px; }
.stars svg { width: 15px; height: 15px; fill: var(--gold); }
.meta { font-size: 13px; font-weight: 600; color: var(--gold); }
.phone { font-size: 14px; color: var(--muted); letter-spacing: .3px; }
.btns { width: 100%; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 6px; }
.btn-wa, .btn-cp {
  min-height: 46px; border-radius: 12px; text-decoration: none; display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 15px; font-weight: 700; transition: transform .15s, filter .15s;
}
.btn-wa { background: linear-gradient(180deg, #3BE07A, #1DAF55); color: #04200E; box-shadow: 0 6px 16px rgba(10,60,30,.45); }
.btn-wa:hover { color: #04200E; filter: brightness(1.05); }
.btn-cp { border: 1.5px solid #E26D5A; background: rgba(226,109,90,.08); color: #F7B0A3; }
.btn-cp:hover { color: #FFD0C6; background: rgba(226,109,90,.16); }
.btn-wa:active, .btn-cp:active { transform: translateY(1px); }
.btn-wa.lg, .btn-cp.lg { min-height: 50px; border-radius: 14px; }

/* এজেন্ট লিস্ট */
.agent-list { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 14px; }
.agent { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 10px; box-shadow: inset 0 1px 0 rgba(255,255,255,.03); transition: border-color .2s; }
.agent:hover { border-color: var(--line3); }
.agent-top { display: flex; align-items: center; gap: 12px; position: relative; }
.rank { font-family: 'Cinzel', serif; color: var(--gold-mid); font-size: 15px; width: 24px; flex-shrink: 0; }
.agent-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.agent-info .name { font-size: 16px; }
.agent-info .meta { font-size: 12px; }
.dot-online { position: absolute; top: 2px; right: 2px; width: 10px; height: 10px; border-radius: 50%; background: #25D366; box-shadow: 0 0 0 3px rgba(37,211,102,.18); }

/* নির্দেশনা */
.guide { margin: 26px 0 8px; border-radius: 20px; padding: 1px; background: linear-gradient(160deg, var(--gold-hi), var(--line3) 45%, var(--line) 75%, var(--gold-lo)); }
.guide-in { border-radius: 19px; background: var(--surface2); padding: 20px 18px; display: flex; flex-direction: column; gap: 14px; }
.guide-head { display: flex; align-items: center; gap: 10px; }
.guide-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--deep); border: 1px solid var(--line3); display: flex; align-items: center; justify-content: center; color: var(--gold); flex-shrink: 0; }
.guide h3 { margin: 0; font-family: 'Noto Serif Bengali', serif; font-size: 17px; font-weight: 600; line-height: 1.45; color: var(--gold); }
.guide-line { height: 1px; background: linear-gradient(90deg, var(--line3), transparent); }
.guide p { margin: 0; font-size: 14px; line-height: 1.8; color: var(--soft); }
.guide-hl { background: var(--deep); border: 1px solid var(--line3); border-radius: 12px; padding: 12px 14px; text-align: center; font-size: 15px; font-weight: 700; color: var(--gold-hi); }

.foot { padding: 18px 0 30px; text-align: center; font-size: 13px; color: var(--muted2); }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); opacity: 0; z-index: 120; pointer-events: none;
  background: var(--gold); color: var(--on-gold); font-weight: 700; padding: 10px 18px; border-radius: 999px; transition: .3s; box-shadow: 0 8px 24px rgba(0,0,0,.4);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 720px) {
  .agent-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .title { font-size: 44px; }
  .trust { max-width: 640px; margin: 0 auto; }
  .link-card, .verify { max-width: 640px; margin-left: auto; margin-right: auto; }
  .tabs { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ===== সংস্করণ ২ ===== */
/* ভাসমান "সাইট ওনার" বাটন */
.owner-fab {
  position: fixed; right: 16px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 90;
  display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 6px 18px 6px 6px; border-radius: 999px;
  background: linear-gradient(180deg, #2BD46E, #18A350); color: #04200E; text-decoration: none; font-weight: 700; font-size: 15px;
  box-shadow: 0 10px 28px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.18) inset;
  animation: fabIn .6s ease both .4s;
}
.owner-fab:hover { color: #04200E; filter: brightness(1.05); }
.owner-ico {
  width: 44px; height: 44px; border-radius: 50%; background: #FFFFFF; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  position: relative;
}
.owner-ico::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid rgba(255,255,255,.55); animation: ring 2.2s ease-out infinite; }
.owner-ico svg { width: 26px; height: 26px; fill: none; stroke: #18A350; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.owner-ico svg path:last-child { fill: #18A350; stroke: none; }
@keyframes ring { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.45); opacity: 0; } }
@keyframes fabIn { from { opacity: 0; transform: translateY(20px) scale(.9); } to { opacity: 1; transform: none; } }
.foot { padding-bottom: 96px; }

/* সোশ্যাল লিংক */
.socials { display: flex; justify-content: center; gap: 10px; margin-bottom: 12px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line3); background: var(--surface); color: var(--gold); display: flex; align-items: center; justify-content: center; }
.socials a:hover { color: var(--gold-hi); border-color: var(--gold); }

/* রক্ষণাবেক্ষণ পেজ */
.maint { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; background: radial-gradient(90% 60% at 50% 20%, var(--glow) 0%, var(--bg) 70%); }
.maint-in { max-width: 420px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.maint .btn-wa { padding: 0 22px; }
