/* PettyModz theme overrides */

:root {
  --pm-purple: #d600ff;
  --pm-purple-bright: #f24cff;
  --pm-purple-deep: #75008c;
  --pm-green: #31e6a1;
  --pm-text: #f8f3fb;
  --pm-muted: #9e93a8;
  --pm-panel: rgba(15, 8, 20, 0.88);
  --pm-line: rgba(214, 0, 255, 0.18);
  --pm-glow: 0 0 32px rgba(214, 0, 255, 0.16);
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--pm-text);
  background-color: #050208;
  background-image:
    linear-gradient(rgba(214, 0, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214, 0, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 50% -15%, rgba(214, 0, 255, 0.14), transparent 36rem);
  background-size: 48px 48px, 48px 48px, auto;
  background-attachment: fixed;
}

::selection {
  color: #fff;
  background: rgba(214, 0, 255, 0.72);
}

a,
.btn,
.card,
.form-control,
.form-select {
  transition: border-color 180ms ease, color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.container {
  max-width: 1240px;
}

.announcement {
  background: linear-gradient(90deg, #76008e, #d600ff 48%, #76008e);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.announcement,
.announcement a {
  color: #fff;
}

header.sticky-top {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.navbar {
  background: rgba(5, 2, 8, 0.88);
  border-bottom: 1px solid var(--pm-line);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.26);
}

.navbar .navbar-brand {
  letter-spacing: -0.03em;
}

.navbar .navbar-brand img {
  max-width: 148px;
  object-fit: contain;
}

.navbar .navbar-brand span {
  background: linear-gradient(90deg, #fff, #f0a5ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.navbar .nav-link {
  color: #b9aebe;
  font-size: 0.86rem;
  font-weight: 600;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: #fff;
}

.btn {
  border-radius: 0.55rem;
  font-weight: 700;
}

.btn-primary,
.btn-outline-primary:hover {
  color: #fff;
  background: linear-gradient(135deg, #9e00bd, #e013ff);
  border-color: #df25ff;
  box-shadow: 0 8px 24px rgba(214, 0, 255, 0.22);
}

.btn-primary:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(214, 0, 255, 0.34);
}

.btn-outline-primary {
  background: rgba(214, 0, 255, 0.04);
  border-color: rgba(214, 0, 255, 0.62);
}

.hero {
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--pm-line);
  background-position: center;
}

.hero::before,
.hero::after {
  position: absolute;
  z-index: 0;
  content: "";
  pointer-events: none;
}

.hero::before {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 2, 8, 0.96), rgba(5, 2, 8, 0.72) 50%, rgba(5, 2, 8, 0.92)),
    linear-gradient(0deg, #050208 0%, transparent 32%);
}

.hero::after {
  top: -12rem;
  left: 50%;
  width: 42rem;
  height: 42rem;
  background: rgba(214, 0, 255, 0.18);
  filter: blur(110px);
  border-radius: 50%;
  transform: translateX(-50%);
}

.hero .bg-overlay {
  position: absolute;
  z-index: 0;
  inset: 0;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(214, 0, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214, 0, 255, 0.06) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, #000, transparent 92%);
}

.hero .container {
  position: relative;
  min-height: inherit;
}

.hero .content {
  padding: 2rem 0;
}

.hero .content::before {
  display: inline-flex;
  margin-bottom: 1.2rem;
  padding: 0.42rem 0.75rem;
  content: "PREMIUM DIGITAL PRODUCTS";
  color: #f4a8ff;
  background: rgba(214, 0, 255, 0.08);
  border: 1px solid rgba(214, 0, 255, 0.3);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.hero .content h1 {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  color: #fff;
  font-size: clamp(2.7rem, 7vw, 5.4rem);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.065em;
  text-shadow: 0 0 40px rgba(214, 0, 255, 0.2);
}

.hero .content p {
  max-width: 660px;
  margin-right: auto;
  margin-left: auto;
  color: #b9afbe;
  font-size: 1.03rem;
  line-height: 1.75;
}

.hero .fake-searchbar input,
.hero .search-modal .searchbar input,
.form-control,
.form-select,
.modal-content {
  color: #fff;
  background: rgba(13, 7, 18, 0.9);
  border-color: var(--pm-line);
}

.hero .fake-searchbar {
  filter: drop-shadow(0 14px 32px rgba(0, 0, 0, 0.34));
}

.hero .fake-searchbar input {
  border-radius: 0.7rem;
}

.hero .fake-searchbar:hover input {
  border-color: rgba(214, 0, 255, 0.54);
  box-shadow: 0 0 0 4px rgba(214, 0, 255, 0.07);
}

.hero .content .stats {
  background: rgba(12, 6, 16, 0.82);
  border: 1px solid var(--pm-line);
  box-shadow: var(--pm-glow);
  backdrop-filter: blur(16px);
}

.hero .content .stats div .value {
  color: #fff;
}

.hero .content .stats div .label {
  color: var(--pm-muted);
  letter-spacing: 0.02em;
}

.py-20 {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-title h1,
.section-title h2 {
  font-weight: 800;
  letter-spacing: -0.035em;
}

.section-title h2::after {
  display: block;
  width: 42px;
  height: 3px;
  margin-top: 0.7rem;
  content: "";
  background: linear-gradient(90deg, var(--pm-purple), transparent);
  border-radius: 99px;
}

.section-subtitle {
  width: auto;
  height: auto;
  max-width: 650px;
  color: var(--pm-muted);
  line-height: 1.7;
}

.categories .card,
.products .card {
  overflow: hidden;
  background: linear-gradient(160deg, rgba(18, 10, 24, 0.96), rgba(8, 4, 11, 0.98));
  border: 1px solid rgba(214, 0, 255, 0.14);
  border-radius: 0.85rem;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.24);
}

.categories .card:hover,
.products .card:hover {
  border-color: rgba(214, 0, 255, 0.48);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34), 0 0 28px rgba(214, 0, 255, 0.11);
  transform: translateY(-5px);
}

.categories .card-img-top,
.products .card .card-img-top {
  background-color: #09040d;
  border-bottom: 1px solid rgba(214, 0, 255, 0.12);
}

.categories .card-img-top::after,
.products .card .card-img-top::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(to top, rgba(7, 3, 10, 0.46), transparent 55%);
}

.categories .card-body,
.products .card .card-body {
  padding: 1.15rem;
}

.categories .card-title,
.products .card .card-title {
  color: #fff;
  font-weight: 700;
}

.categories .card-text {
  min-height: 2.8rem;
  color: var(--pm-muted);
  font-size: 0.86rem;
}

.products .card .info {
  color: #c7bdca;
}

.socials {
  background:
    linear-gradient(rgba(214, 0, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214, 0, 255, 0.035) 1px, transparent 1px),
    rgba(10, 5, 14, 0.82);
  background-size: 44px 44px;
  border-top: 1px solid var(--pm-line);
  border-bottom: 1px solid var(--pm-line);
}

.socials .list .social {
  background: rgba(5, 2, 8, 0.84);
  border: 1px solid rgba(214, 0, 255, 0.18);
}

.socials .list .social:hover {
  border-color: rgba(214, 0, 255, 0.55);
  box-shadow: var(--pm-glow);
  transform: translateY(-2px);
}

footer.footer {
  background: rgba(7, 3, 10, 0.96);
  border-top-color: var(--pm-line);
}

.footer .logo p {
  color: #fff;
  font-weight: 800;
}

.footer h5 {
  color: #eab6f3;
  font-size: 0.72rem;
  letter-spacing: 0.11em;
}

/* Product-level status page */
.petty-status-page {
  max-width: 1080px;
}

.petty-status-page .py-5-nav {
  padding-top: 8.5rem;
  padding-bottom: 6rem;
}

.status-hero {
  max-width: 720px;
  margin: 0 auto 2.6rem;
  text-align: center;
}

.status-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1rem;
  color: #df8ff0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.status-live-dot {
  position: relative;
  width: 8px;
  height: 8px;
  background: var(--pm-green);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(49, 230, 161, 0.8);
}

.status-live-dot::after {
  position: absolute;
  inset: -4px;
  content: "";
  border: 1px solid rgba(49, 230, 161, 0.5);
  border-radius: 50%;
  animation: pm-status-pulse 1.7s ease-out infinite;
}

.status-hero h1 {
  margin-bottom: 0.8rem;
  font-size: clamp(2.5rem, 7vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.055em;
}

.status-hero p {
  color: var(--pm-muted);
  font-size: 1rem;
}

.status-monitor-note {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
  padding: 1rem 1.15rem;
  color: #d8fff0;
  background: rgba(27, 184, 126, 0.065);
  border: 1px solid rgba(49, 230, 161, 0.22);
  border-radius: 0.75rem;
}

.status-monitor-note > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
}

.status-monitor-note strong {
  font-size: 0.83rem;
}

.status-monitor-note small {
  color: #7eaa98;
  font-size: 0.72rem;
}

.status-monitor-icon {
  display: grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  color: var(--pm-green);
  background: rgba(49, 230, 161, 0.1);
  border-radius: 50%;
  place-items: center;
}

.status-monitor-icon svg {
  width: 17px;
}

.status-groups {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}

.status-group {
  margin: 0;
}

.status-group-heading {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  margin-bottom: 0.9rem;
}

.status-group-heading span {
  color: #7d7084;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.status-group-heading h2 {
  margin: 0;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.status-group-heading::after {
  height: 1px;
  flex: 1;
  content: "";
  background: linear-gradient(90deg, rgba(214, 0, 255, 0.24), transparent);
}

.status-group .status-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.status-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 0.8rem;
  min-height: 70px;
  padding: 0.75rem;
  color: #fff;
  background: linear-gradient(150deg, rgba(20, 9, 25, 0.95), rgba(9, 4, 12, 0.98));
  border: 1px solid rgba(214, 0, 255, 0.14);
  border-radius: 0.68rem;
}

.status-card:hover {
  color: #fff;
  border-color: rgba(214, 0, 255, 0.52);
  box-shadow: var(--pm-glow);
  transform: translateY(-2px);
}

.status-product-mark {
  display: grid;
  width: 38px;
  height: 38px;
  align-self: center;
  color: #f4c5ff;
  background: linear-gradient(135deg, rgba(214, 0, 255, 0.2), rgba(214, 0, 255, 0.05));
  border: 1px solid rgba(214, 0, 255, 0.3);
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 800;
  place-items: center;
}

.status-product-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-self: center;
}

.status-product-copy strong {
  overflow: hidden;
  font-size: 0.76rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.status-product-copy small {
  margin-top: 0.15rem;
  color: #706778;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-card .status {
  gap: 0.45rem;
  align-self: center;
  justify-self: end;
  padding: 0.28rem 0.52rem;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
}

.status-card .status .indicator {
  width: 0.45rem;
  height: 0.45rem;
  box-shadow: 0 0 10px currentColor;
}

.status-card .status .label {
  max-width: 145px;
  overflow: hidden;
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@keyframes pm-status-pulse {
  from { opacity: 1; transform: scale(0.7); }
  to { opacity: 0; transform: scale(1.7); }
}

@media (max-width: 767.98px) {
  .navbar .navbar-collapse {
    padding: 1rem 0;
  }

  .hero .container {
    padding-right: 1.15rem;
    padding-left: 1.15rem;
  }

  .hero .content h1 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .py-20 {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .petty-status-page .py-5-nav {
    padding-top: 6.5rem;
  }

  .status-group .status-cards {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .status-card {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .status-product-mark {
    width: 34px;
    height: 34px;
  }

  .status-card .status {
    grid-column: 2;
    justify-self: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
