:root {
  --pro-bg-0: #060b1b;
  --pro-bg-1: #0f1736;
  --pro-bg-2: #1a2653;
  --pro-card: rgba(16, 24, 54, 0.74);
  --pro-border: rgba(136, 165, 255, 0.28);
  --pro-text: #eef3ff;
  --pro-soft: #a8bdf8;
  --pro-primary: #6f91ff;
  --pro-primary-2: #49d8be;
  --pro-danger: #ff7ea2;
  --pro-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

html,
body {
  min-block-size: 100%;
}

body.pro-body {
  color: var(--pro-text);
  background:
    radial-gradient(1100px 600px at 10% -5%, #233f9e 0%, transparent 55%),
    radial-gradient(900px 550px at 100% 0%, #5f2f9a 0%, transparent 55%),
    linear-gradient(155deg, var(--pro-bg-0), var(--pro-bg-1) 38%, var(--pro-bg-2));
  background-attachment: fixed;
  font-family: Inter, Segoe UI, Roboto, Arial, sans-serif !important;
  padding-block-start: 78px !important;
}

body.pro-body.pro-no-shell {
  padding-block-start: 0 !important;
}

body.pro-body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0);
  background-size: 3px 3px;
  z-index: 0;
}

#proTopbar {
  position: fixed;
  inset-block-start: 0;
  inset-inline-start: 0;
  inset-inline-end: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  backdrop-filter: blur(14px);
  background: linear-gradient(90deg, rgba(100, 130, 250, 0.18), rgba(72, 219, 189, 0.08));
  background-size: 200% 100%;
  border-block-end: 1px solid var(--pro-border);
  animation: proTopbarShift 14s ease-in-out infinite;
}

#proTopbar .pro-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--pro-text);
}

#proTopbar .pro-dot {
  inline-size: 30px;
  block-size: 30px;
  border-radius: 10px;
  background: linear-gradient(145deg, #7ea5ff, #4f78fb 55%, #43e3c8);
  box-shadow: 0 8px 18px rgba(79, 121, 255, 0.4);
}

#proTopbar .pro-title {
  font-weight: 800;
  letter-spacing: 0.2px;
  font-size: 0.96rem;
}

.pro-top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pro-top-chip,
.pro-menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: #d9e5ff;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(156, 178, 255, 0.28);
  border-radius: 999px;
  padding: 6px 11px;
  background: rgba(44, 62, 131, 0.36);
  transition: 140ms ease;
}

.pro-top-chip svg,
.pro-menu-btn svg {
  inline-size: 14px;
  block-size: 14px;
}

.pro-top-chip:hover,
.pro-menu-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(107, 237, 203, 0.65);
}

.pro-top-chip:active,
.pro-menu-btn:active {
  transform: translateY(0);
}

.pro-menu-btn {
  cursor: pointer;
}

#proMenuOverlay {
  position: fixed;
  inset: 0;
  background: rgba(3, 8, 24, 0.62);
  backdrop-filter: blur(3px);
  z-index: 10010;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

#proMenuOverlay.open {
  opacity: 1;
  pointer-events: auto;
}

#proMenuDrawer {
  position: fixed;
  inset-block-start: 0;
  inset-inline-end: 0;
  block-size: 100vh;
  inline-size: min(430px, 92vw);
  background: linear-gradient(160deg, rgba(15, 23, 54, 0.97), rgba(10, 18, 43, 0.98));
  border-inline-start: 1px solid var(--pro-border);
  box-shadow: -14px 0 40px rgba(0, 0, 0, 0.45);
  z-index: 10011;
  transform: translateX(102%);
  transition: transform 220ms ease;
  display: flex;
  flex-direction: column;
}

#proMenuDrawer.open {
  transform: translateX(0);
}

.pro-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px 10px;
  border-block-end: 1px solid rgba(146, 170, 255, 0.2);
}

.pro-drawer-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 800;
  color: #dce8ff;
}

.pro-drawer-title svg {
  inline-size: 16px;
  block-size: 16px;
  color: #87a7ff;
}

.pro-drawer-close {
  border: 1px solid rgba(156, 178, 255, 0.28) !important;
  border-radius: 10px;
  background: rgba(44, 62, 131, 0.36) !important;
  color: #d8e4ff;
  inline-size: 34px;
  block-size: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: none !important;
}

.pro-drawer-close svg {
  inline-size: 16px;
  block-size: 16px;
}

.pro-drawer-close:hover {
  border-color: rgba(106, 229, 199, 0.58) !important;
  transform: translateY(-1px);
}

.pro-drawer-body {
  padding: 10px 12px 16px;
  overflow: auto;
  display: grid;
  gap: 12px;
}

.pro-drawer-search {
  position: sticky;
  inset-block-start: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(151, 175, 255, 0.28);
  border-radius: 11px;
  background: rgba(20, 31, 70, 0.9);
  padding: 8px 10px;
}

.pro-drawer-search svg {
  inline-size: 14px;
  block-size: 14px;
  color: #97b1f3;
}

.pro-drawer-search input {
  inline-size: 100%;
  border: 0 !important;
  outline: none !important;
  background: transparent !important;
  color: #e9f2ff !important;
  font-size: 0.84rem;
}

.pro-drawer-section {
  border: 1px solid rgba(151, 175, 255, 0.2);
  border-radius: 13px;
  background: rgba(24, 38, 89, 0.35);
  padding: 10px;
  display: grid;
  gap: 7px;
}

.pro-drawer-section h3 {
  margin: 0 0 4px;
  font-size: 0.78rem;
  letter-spacing: 0.35px;
  text-transform: uppercase;
  color: #a8bdf8;
}

.pro-drawer-link {
  display: grid;
  grid-template-columns: 18px 1fr 16px;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #e8f1ff;
  border: 1px solid rgba(152, 176, 255, 0.2);
  background: rgba(45, 65, 143, 0.26);
  border-radius: 10px;
  padding: 8px 10px;
  font-size: 0.84rem;
  font-weight: 600;
}

.pro-drawer-link.hide {
  display: none;
}

.pro-drawer-link .pro-icon svg,
.pro-drawer-link .pro-link-arrow svg {
  inline-size: 14px;
  block-size: 14px;
}

.pro-drawer-link .pro-link-arrow {
  opacity: 0.55;
  justify-self: end;
  transition: transform 160ms ease, opacity 160ms ease;
}

.pro-drawer-link:hover {
  border-color: rgba(106, 229, 199, 0.58);
  background: rgba(58, 83, 173, 0.4);
}

.pro-drawer-link:hover .pro-link-arrow {
  opacity: 0.9;
  transform: translateX(2px);
}

body.pro-lock-scroll {
  overflow: hidden;
}

.pro-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 24px;
  block-size: 24px;
  border-radius: 8px;
  border: 1px solid rgba(151, 175, 255, 0.32);
  background: rgba(44, 62, 131, 0.32);
  margin-inline-end: 8px;
  vertical-align: middle;
}

.pro-card-icon svg {
  inline-size: 13px;
  block-size: 13px;
}

.tool {
  opacity: 0;
  transform: translateY(12px) scale(0.99);
}

.tool.pro-in-view {
  animation: proCardIn 420ms cubic-bezier(.2,.8,.2,1) forwards;
}

@keyframes proCardIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes proTopbarShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.tool::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 0%, rgba(140, 167, 255, 0.08) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 180ms ease;
}

.tool:hover::after {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  #proTopbar {
    animation: none;
  }

  .pro-drawer-link .pro-link-arrow,
  .pro-top-chip,
  .pro-menu-btn {
    transition: none;
  }
}

.pro-surface,
[class*="bg-black/80"],
[class*="bg-gray-900"],
[class*="bg-black"],
[class*="bg-opacity-90"] {
  border: 1px solid var(--pro-border) !important;
  border-radius: 16px !important;
  background: var(--pro-card) !important;
  box-shadow: var(--pro-shadow) !important;
  backdrop-filter: blur(8px);
}

main,
.max-w-7xl,
.max-w-6xl,
.max-w-5xl,
.max-w-4xl,
.max-w-3xl,
.container {
  position: relative;
  z-index: 2;
}

button,
.btn,
a[class*="bg-pink"],
a[class*="bg-blue"],
input[type="submit"],
input[type="button"] {
  border-radius: 11px !important;
  border: 1px solid rgba(160, 182, 255, 0.35) !important;
  background: linear-gradient(145deg, var(--pro-primary), #4f79ff) !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(79, 121, 255, 0.35) !important;
  transition: transform 120ms ease, filter 120ms ease;
}

button:hover,
.btn:hover,
a[class*="bg-pink"]:hover,
a[class*="bg-blue"]:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

input,
textarea,
select,
pre,
code {
  border-color: rgba(153, 177, 255, 0.35) !important;
  background: rgba(17, 27, 62, 0.65) !important;
  color: #f1f5ff !important;
  border-radius: 10px !important;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(111, 145, 255, 0.45) !important;
  outline-offset: 1px;
}

.tool {
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.tool:hover {
  border-color: rgba(106, 229, 199, 0.6) !important;
}

#hamburgerMenu,
#menu-toggle,
#menu-close {
  display: none !important;
}

img.fixed.top-4.right-4.w-14,
img[alt='Tool Logo'] {
  display: none !important;
}

footer.bg-black\/80,
footer[class*='bg-black/80'] {
  display: none !important;
}

body.pro-body .text-pink-400,
body.pro-body .text-pink-500,
body.pro-body .text-pink-300,
body.pro-body .text-pink-600 {
  text-shadow: 0 0 10px rgba(112, 146, 255, 0.2);
}

body.pro-body #proTopbar + * {
  position: relative;
  z-index: 2;
}

h1,
h2,
h3,
.text-pink-400,
.text-pink-500,
.text-pink-300 {
  color: #9fbcff !important;
}

a {
  color: #cbe0ff;
}

#proBackToTop {
  position: fixed;
  inset-inline-end: 18px;
  inset-block-end: 18px;
  z-index: 9998;
  border: 1px solid rgba(151, 175, 255, 0.35);
  background: linear-gradient(145deg, #6f91ff, #4f79ff);
  color: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 0.82rem;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(79, 121, 255, 0.4);
  display: none;
}

#proGlobalFooter {
  margin-block-start: 28px;
  margin-inline-start: auto;
  margin-inline-end: auto;
  max-inline-size: 1180px;
  border-block-start: 1px solid rgba(151, 175, 255, 0.22);
  color: var(--pro-soft);
  font-size: 0.78rem;
  padding: 12px 14px 28px;
  text-align: center;
}

::-webkit-scrollbar {
  inline-size: 10px;
  block-size: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #688bff, #56c9b8);
  border-radius: 999px;
}

@media (max-inline-size: 820px) {
  body.pro-body {
    padding-block-start: 78px !important;
  }

  #proTopbar {
    padding: 10px 12px;
  }

  .pro-top-chip span {
    display: none;
  }

  .pro-top-chip,
  .pro-menu-btn {
    inline-size: 34px;
    block-size: 34px;
    padding: 0;
    justify-content: center;
  }

  .pro-menu-btn span {
    display: none;
  }
}
