/* Minds Voice Generator — মোবাইল-ফার্স্ট, বাংলা ইন্টারফেস।
   রং ও ফন্ট Advanced Minds মূল সাইটের সাথে মেলানো (গাঢ় থিম, গোলাপি-বেগুনি-আকাশি গ্রেডিয়েন্ট)। */
:root {
  --bg: #060913;
  --card: #10172a;
  --card-hi: #151f38;
  --ink: #f1f5f9;
  --muted: #94a3b8;
  --line: rgba(148, 163, 184, 0.18);
  --line-hi: rgba(56, 189, 248, 0.45);
  --pink: #ec4899;
  --violet: #8b5cf6;
  --cyan: #38bdf8;
  --green: #10b981;
  --accent: #8b5cf6;
  --accent-ink: #ffffff;
  --error: #fb7185;
  --grad: linear-gradient(135deg, #ec4899 0%, #8b5cf6 55%, #38bdf8 100%);
  --grad-btn: linear-gradient(90deg, #ec4899 0%, #7c3aed 100%);
  --radius: 18px;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 480px at 85% -8%, rgba(139, 92, 246, 0.22), transparent 60%),
    radial-gradient(700px 420px at -10% 8%, rgba(236, 72, 153, 0.16), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  font-family: "Noto Sans Bengali", "Hind Siliguri", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  /* নিচের ট্যাব-মেনুর নিচে যেন লেখা ঢাকা না পড়ে। */
  padding-bottom: 84px;
}
a { color: var(--cyan); }
a:hover { color: #7dd3fc; }

/* ---------- মাথা / হিরো ---------- */
.top { max-width: 640px; margin: 0 auto; padding: 26px 18px 6px; text-align: center; }
.top h1 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.top h1::before {
  content: "🎙️";
  display: inline-grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 12px;
  background: var(--grad);
  font-size: 1.15rem;
  box-shadow: 0 0 22px rgba(236, 72, 153, 0.45);
}
.homelink { color: inherit; text-decoration: none; }
.tagline { margin: 6px 0 0; color: var(--muted); }
.hero-title {
  margin: 20px 0 8px;
  font-size: 2.15rem;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.3px;
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.hero-sub { margin: 0 auto; max-width: 30em; color: var(--muted); }
.wave { display: flex; justify-content: center; align-items: center; gap: 4px; height: 46px; margin: 18px 0 4px; }
.wave i {
  display: block;
  width: 4px;
  height: 18px;
  border-radius: 4px;
  background: var(--grad);
  opacity: 0.9;
  animation: wave 1.3s ease-in-out infinite;
}
.wave i:nth-child(3n) { animation-delay: .15s; }
.wave i:nth-child(4n) { animation-delay: .3s; }
.wave i:nth-child(5n) { animation-delay: .45s; }
.wave i:nth-child(2n) { animation-delay: .6s; }
@keyframes wave { 0%, 100% { height: 8px; } 50% { height: 40px; } }
@media (prefers-reduced-motion: reduce) { .wave i { animation: none; height: 22px; } }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }
.chips span {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(16, 23, 42, 0.7);
  color: #cbd5e1;
  font-size: 0.88rem;
  font-weight: 600;
}

main { max-width: 640px; margin: 0 auto; padding: 8px 14px 32px; }
.card {
  background: linear-gradient(180deg, rgba(21, 31, 56, 0.78), rgba(16, 23, 42, 0.92));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  margin-top: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}
h2 { margin: 0 0 10px; font-size: 1.2rem; font-weight: 800; }
h3 { margin: 16px 0 6px; font-size: 1rem; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.error { color: var(--error); font-weight: 600; }
.info { color: var(--cyan); font-weight: 600; }
.pay-amount {
  font-size: 1.7rem; font-weight: 800; margin: 8px 0 0;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.note {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fde68a;
  border-radius: 12px;
  padding: 12px 14px;
}

/* ---------- ফর্ম ---------- */
label { display: block; margin-top: 14px; font-weight: 600; color: #e2e8f0; }
input[type="text"], input[type="email"], input[type="password"], input[type="tel"],
textarea, select {
  width: 100%;
  min-height: 50px;
  margin-top: 6px;
  padding: 12px 14px;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #0b1020;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
input::placeholder, textarea::placeholder { color: #64748b; }
input:focus, textarea:focus, select:focus {
  border-color: var(--line-hi);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}
select option { background: #0b1020; color: var(--ink); }
textarea { resize: vertical; min-height: 140px; }
input[type="range"] { width: 100%; min-height: 32px; margin-top: 8px; accent-color: var(--violet); }
button { font: inherit; cursor: pointer; min-height: 48px; color: inherit; }
.primary {
  width: 100%;
  margin-top: 18px;
  padding: 14px;
  border: 0;
  border-radius: 14px;
  background: var(--grad-btn);
  color: var(--accent-ink);
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(236, 72, 153, 0.28);
  transition: transform .15s, box-shadow .15s, filter .15s;
}
.primary:hover { filter: brightness(1.08); }
.primary:active { transform: scale(0.99); }
.primary.big { font-size: 1.12rem; padding: 17px; }
.primary:disabled { opacity: 0.55; cursor: wait; box-shadow: none; }
.secondary {
  background: transparent; color: var(--cyan);
  border: 1px solid var(--line-hi); border-radius: 12px;
  padding: 12px 16px; font-size: 1rem; font-weight: 700;
}
.secondary:hover { background: rgba(56, 189, 248, 0.08); }
.linklike { background: none; border: 0; color: var(--cyan); padding: 0; text-decoration: underline; min-height: 0; }

/* ---------- স্টাইল-বাছাই ---------- */
.style-pick { border: 1px solid var(--line); border-radius: 14px; padding: 12px; margin-top: 16px; }
.style-pick legend { font-weight: 800; padding: 0 8px; }
.style-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.style-btn {
  flex: 1 1 40%;
  padding: 12px 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(11, 16, 32, 0.8);
  font-weight: 700;
  transition: border-color .15s, background .15s;
}
.style-btn:hover { border-color: var(--line-hi); }
.style-btn.active { background: var(--grad-btn); color: #fff; border-color: transparent; box-shadow: 0 6px 18px rgba(139, 92, 246, 0.35); }
details { margin-top: 16px; border-top: 1px solid var(--line); padding-top: 6px; }
details summary { min-height: 48px; display: flex; align-items: center; font-weight: 700; cursor: pointer; color: #cbd5e1; }

.download-btn {
  display: block; min-height: 50px; line-height: 50px; text-align: center; margin-top: 10px;
  border-radius: 14px; background: var(--grad-btn); color: #fff; font-weight: 800; text-decoration: none;
}
audio { width: 100%; margin-top: 8px; color-scheme: dark; }

/* ---------- নিচের ট্যাব-মেনু ---------- */
.bottomnav {
  position: fixed; left: 0; right: 0; bottom: 0;
  display: flex;
  background: rgba(6, 9, 19, 0.88);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  z-index: 10;
  padding-bottom: env(safe-area-inset-bottom);
}
.bottomnav button, .bottomnav a {
  flex: 1; min-width: 0; min-height: 58px; padding: 6px 2px;
  border: 0; background: none;
  color: #cbd5e1; font-size: 0.9rem; font-weight: 700; text-decoration: none;
  display: flex; align-items: center; justify-content: center; text-align: center;
  transition: color .15s, background .15s;
}
.bottomnav button:hover, .bottomnav a:hover { color: #fff; background: rgba(139, 92, 246, 0.14); }

/* ---------- লগইন ট্যাব ---------- */
.tabs { display: flex; gap: 8px; margin: 14px 0 4px; }
.tab {
  flex: 1; padding: 12px 8px;
  border: 1px solid var(--line); border-radius: 12px;
  background: rgba(11, 16, 32, 0.8); font-weight: 700;
}
.tab.active { background: var(--grad-btn); color: #fff; border-color: transparent; }

/* ---------- আমার পাতা ---------- */
.me-head { display: flex; justify-content: space-between; align-items: baseline; }
.balance { display: flex; gap: 10px; margin-top: 12px; }
.balance > div {
  flex: 1; text-align: center; padding: 12px 4px;
  background: rgba(11, 16, 32, 0.7); border: 1px solid var(--line); border-radius: 14px;
}
.num { display: block; font-size: 1.45rem; font-weight: 800; }
.lbl { font-size: 0.8rem; color: var(--muted); }
.bar { height: 10px; background: rgba(148, 163, 184, 0.18); border-radius: 99px; margin-top: 14px; overflow: hidden; }
.bar > div { height: 100%; background: var(--grad); border-radius: 99px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.counter { margin: 6px 0 0; color: var(--muted); font-size: 0.9rem; }
.packages { list-style: none; margin: 0; padding: 0; }
.packages li {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 12px 2px; border-bottom: 1px solid var(--line);
}
.packages li > span { min-width: 0; overflow-wrap: break-word; }
.packages li:last-child { border-bottom: 0; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.consent input { margin-top: 3px; flex-shrink: 0; width: 22px; height: 22px; accent-color: var(--pink); }
.steps li { margin-bottom: 8px; }

footer { max-width: 640px; margin: 0 auto; padding: 0 18px 28px; text-align: center; color: var(--muted); }
.navlinks { line-height: 2; }
.navlinks a { color: var(--cyan); text-decoration: none; }
.navlinks a:hover { text-decoration: underline; }

@media (max-width: 420px) {
  .grid2 { grid-template-columns: 1fr; }
  .hero-title { font-size: 1.75rem; }
  .balance { gap: 6px; }
  .num { font-size: 1.2rem; }
}
@media (max-width: 360px) {
  .card { padding: 15px; }
  main { padding: 8px 10px 32px; }
  .style-btn { flex-basis: 100%; }
}
