:root {
  --mb-bg: #f8f5f7;
  --mb-bg-alt: #ffffff;
  --mb-ink: #222433;
  --mb-muted: #6b7280;
  --mb-accent: #f39ac6; /* وردي */
  --mb-accent-soft: #ffe5f1;
  --mb-accent-gold: #f4c76e;
  --mb-border: rgba(255, 255, 255, 0.6);
  --mb-radius-lg: 26px;
  --mb-shadow-soft: 0 20px 60px rgba(15, 23, 42, 0.15);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--mb-ink);
  background: radial-gradient(circle at top left, #fce4ec 0, #f3e7ff 30%, #f8f5f7 70%);
  min-height: 100%;
}

body {
  scroll-behavior: smooth;
}

/* Navbar */

.mb-navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(18px);
  background: linear-gradient(90deg, rgba(248, 245, 247, 0.9), rgba(255, 255, 255, 0.85));
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}

.mb-navbar-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mb-logo img {
  width: 150px !important;
  height: auto !important;
  border-radius: 0 !important;
  object-fit: contain !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.mb-logo img {
  width: 67px;
  height: 34px;
  border-radius: 0px;
  object-fit: fill;
  box-shadow: 0 0 0 2px #fff, 0 6px 18px rgba(148, 27, 99, 0.25);
}

.mb-nav-links {
  flex: 1;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

/* Buttons */

.mb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: none;
  padding: 0.55rem 1.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.mb-btn-primary {
  background: linear-gradient(135deg, var(--mb-accent), #ff7bbd);
  color: #fff;
  box-shadow: 0 10px 30px rgba(236, 72, 153, 0.35);
}

.mb-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 40px rgba(236, 72, 153, 0.45);
}

.mb-btn-outline {
  border: 1px solid rgba(148, 163, 184, 0.55);
  background: rgba(248, 250, 252, 0.8);
  color: var(--mb-ink);
}

.mb-btn-outline:hover {
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
}

.mb-btn-ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.8);
  color: var(--mb-ink);
}

.mb-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.65);
}

/* Layout */

.mb-main {
  min-height: calc(100vh - 60px);
}

.mb-hero {
  position: relative;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.5rem 4rem;
  background-size: cover;
  background-position: center;
}

.mb-hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.8), rgba(248, 250, 252, 0.85));
}

.mb-hero-content {
  position: relative;
  max-width: 960px;
  width: 100%;
  padding: 2.5rem 2.5rem 2.8rem;
  border-radius: 32px;
  backdrop-filter: blur(22px);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.88));
  box-shadow: var(--mb-shadow-soft);
}

.mb-tagline {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--mb-muted);
  margin-bottom: 0.9rem;
}

.mb-hero-title {
  font-size: clamp(2.2rem, 4vw, 2.9rem);
  line-height: 1.1;
  margin: 0 0 1rem;
}

.mb-hero-title span {
  background: linear-gradient(135deg, #ec4899, #f59e0b);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mb-hero-sub {
  margin: 0 0 1.6rem;
  color: var(--mb-muted);
  max-width: 520px;
}

.mb-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Sections */

.mb-section {
  padding: 3.5rem 1.5rem 4rem;
}

.mb-section-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.mb-section-title {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.mb-section-text {
  color: var(--mb-muted);
  max-width: 640px;
}

.mb-features-grid {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.4rem;
}

.mb-feature-card {
  background: radial-gradient(circle at top left, var(--mb-accent-soft), #ffffff);
  border-radius: var(--mb-radius-lg);
  padding: 1.4rem 1.3rem 1.6rem;
  border: 1px solid rgba(248, 250, 252, 0.9);
  box-shadow: 0 18px 40px rgba(148, 27, 99, 0.12);
}

/* Verify page */

.mb-verify-hero {
  position: relative;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem 3.5rem;
  background-size: cover;
  background-position: center;
}

.mb-verify-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(248, 250, 252, 0.96), rgba(252, 231, 243, 0.9));
}

.mb-verify-content {
  position: relative;
  width: 100%;
  max-width: 520px;
  padding: 2.2rem 2.1rem 2.4rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--mb-shadow-soft);
}

.mb-verify-title {
  margin: 0 0 0.6rem;
  font-size: 1.5rem;
}

.mb-verify-sub {
  margin: 0 0 1.4rem;
  color: var(--mb-muted);
}

.mb-verify-form {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
}

.mb-verify-form label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--mb-muted);
}

.mb-verify-form input[type="text"] {
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  outline: none;
  font-size: 0.95rem;
}

.mb-verify-form input[type="text"]:focus {
  border-color: var(--mb-accent);
  box-shadow: 0 0 0 1px rgba(236, 72, 153, 0.4);
}

.mb-verify-note {
  font-size: 0.8rem;
  color: var(--mb-muted);
}

/* Verify result states */

.mb-verify-result {
  border-radius: 18px;
  padding: 0.9rem 1rem;
  margin-bottom: 0.8rem;
  font-size: 0.9rem;
}

.mb-verify-result strong {
  display: block;
  margin-bottom: 0.2rem;
}

.mb-verify-authentic {
  background: #ecfdf5;
  border: 1px solid #22c55e;
  color: #14532d;
}

.mb-verify-warning {
  background: #fffbeb;
  border: 1px solid #f59e0b;
  color: #92400e;
}

.mb-verify-invalid {
  background: #fef2f2;
  border: 1px solid #ef4444;
  color: #991b1b;
}

/* Footer */

.mb-footer {
  padding: 1.6rem 1.5rem 1.8rem;
  background: rgba(248, 250, 252, 0.9);
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  backdrop-filter: blur(14px);
}

.mb-footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.85rem;
  color: var(--mb-muted);
}

.mb-footer-sub {
  margin-top: 0.25rem;
}

/* Admin */

.mb-admin-body {
  background: radial-gradient(circle at top left, #fdf2ff 0, #f8fafc 40%, #f9fafb 100%);
}

.mb-admin-main .mb-section-admin {
  padding-top: 2.2rem;
}

.mb-admin-form {
  display: grid;
  gap: 1rem;
  max-width: 420px;
}

.mb-admin-form label {
  font-size: 0.85rem;
  color: var(--mb-muted);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mb-admin-form input[type="text"],
.mb-admin-form input[type="number"] {
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.mb-admin-alert {
  margin-bottom: 1.2rem;
  padding: 0.8rem 1rem;
  border-radius: 12px;
  background: #ecfdf5;
  border: 1px solid #22c55e;
  color: #166534;
  font-size: 0.88rem;
}

.mb-table-wrapper {
  margin-top: 1.4rem;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
  padding: 1rem 1.2rem;
  overflow-x: auto;
}

.mb-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.mb-table th,
.mb-table td {
  padding: 0.55rem 0.7rem;
  text-align: left;
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.mb-table th {
  font-weight: 600;
  color: var(--mb-muted);
}

.mb-code-cell {
  font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.mb-link-danger {
  color: #dc2626;
  text-decoration: none;
  font-weight: 500;
}

.mb-link-danger:hover {
  text-decoration: underline;
}

.mb-admin-actions {
  margin-top: 1.2rem;
}

/* Responsive */

@media (max-width: 768px) {
  .mb-navbar-inner {
    padding-inline: 1rem;
  }

  .mb-hero-content {
    padding: 1.8rem 1.5rem 2rem;
  }

  .mb-verify-content {
    padding: 1.8rem 1.5rem 2rem;
  }
}
