:root {
  --purple: #3510d8;
  --purple-dark: #1b086d;
  --violet: #693cff;
  --ink: #09071d;
  --muted: #626276;
  --line: #eceaf7;
  --line-strong: #dedbf1;
  --soft: #f7f5ff;
  --panel: #ffffff;
  --gold: #ffba08;
  --danger: #d61f48;
  --purple-soft: #ece7ff;
  --blue-soft: #dceeff;
  --mint-soft: #dcf7eb;
  --amber-soft: #ffefc4;
  --rose-soft: #ffe0ec;
  --cyan-soft: #d9f6ff;
  --shadow: 0 14px 34px rgba(33, 19, 91, 0.1);
  --shadow-soft: 0 8px 22px rgba(33, 19, 91, 0.075);
  --shadow-tight: 0 4px 12px rgba(33, 19, 91, 0.08);
  --shadow-lift: 0 26px 70px rgba(33, 19, 91, 0.14);
  --radius: 12px;
  --radius-soft: 16px;
  --section-gap: clamp(44px, 4.8vw, 68px);
}

* {
  box-sizing: border-box;
}

body {
  position: relative;
  margin: 0;
  color: var(--ink);
  font-family: "Plus Jakarta Sans", Inter, "Segoe UI", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  background:
    linear-gradient(180deg, #fff 0%, #fff 52%, #fbfaff 100%);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    radial-gradient(circle, rgba(53, 16, 216, 0.09) 1px, transparent 1.4px),
    linear-gradient(rgba(53, 16, 216, 0.014) 1px, transparent 1px);
  background-size: 28px 28px, 100% 86px;
  mask-image:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.52), transparent 70%),
    linear-gradient(to right, transparent 0, #000 14%, #000 86%, transparent 100%);
  mask-composite: intersect;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.page-shell {
  width: min(100% - 38px, 1420px);
  margin: 0 auto;
  padding: 24px 0 0;
}

.site-header {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 52px auto;
  gap: 20px;
  align-items: center;
  width: 100%;
  min-height: 70px;
  margin-bottom: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  width: 230px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  gap: clamp(18px, 2.2vw, 36px);
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
  scrollbar-width: none;
}

.main-nav::-webkit-scrollbar {
  display: none;
}

.main-nav a,
.nav-dropdown {
  position: relative;
  padding: 15px 0;
  color: #100c25;
  transition: color 0.18s ease;
}

.main-nav a:hover,
.nav-dropdown:hover {
  color: var(--purple);
}

.main-nav .active {
  color: var(--ink);
}

.main-nav .active::after {
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  height: 3px;
  border-radius: 999px;
  content: "";
  background: var(--purple);
}

.nav-dropdown > span {
  position: absolute;
  top: 100%;
  left: -18px;
  z-index: 10;
  display: none;
  min-width: 190px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.nav-dropdown:hover > span {
  display: grid;
}

.nav-dropdown a {
  padding: 8px;
}

.header-search {
  position: relative;
  justify-self: end;
  width: 44px;
  height: 44px;
}

.header-search::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  color: var(--ink);
  font-size: 22px;
  content: "\2315";
  pointer-events: none;
}

.header-search input,
.site-footer input,
.newsletter-band input,
.deal-box input,
.live-search-box input,
.admin-form input,
.admin-form textarea,
.admin-form select,
.admin-inline-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

.header-search input {
  width: 44px;
  height: 44px;
  border-color: transparent;
  border-radius: 50%;
  padding: 0;
  color: transparent;
  background: transparent;
  cursor: pointer;
  transition: width 0.22s ease, border-color 0.22s ease, border-radius 0.22s ease, padding 0.22s ease, color 0.22s ease, background 0.22s ease;
}

.header-search input::placeholder {
  color: transparent;
}

.header-search:focus-within {
  width: min(260px, 24vw);
}

.header-search:focus-within::before {
  left: 13px;
  inset: 0 auto 0 13px;
  place-items: center;
  font-size: 18px;
}

.header-search:focus-within input {
  width: 100%;
  border-color: var(--line-strong);
  border-radius: var(--radius);
  padding: 0 14px 0 42px;
  color: var(--ink);
  background: #fff;
  cursor: text;
  box-shadow: var(--shadow-tight);
}

.header-search:focus-within input::placeholder {
  color: var(--muted);
}

.header-search input:focus,
.live-search-box input:focus,
.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(53, 16, 216, 0.08);
}

.newsletter-btn,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--purple);
  border-radius: 10px;
  padding: 0 24px;
  color: #fff;
  font-weight: 900;
  background: var(--purple);
  box-shadow: 0 10px 20px rgba(53, 16, 216, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.newsletter-btn {
  min-height: 52px;
  padding: 0 24px;
  font-size: 15px;
}

.newsletter-btn::after {
  margin-left: 8px;
  font-size: 15px;
  content: "\2709";
}

.newsletter-btn:hover,
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(53, 16, 216, 0.24);
}

.btn.ghost {
  color: var(--purple);
  background: #fff;
  box-shadow: var(--shadow-tight);
}

.btn.light {
  color: var(--purple);
  border-color: #fff;
  background: #fff;
}

.btn.danger {
  border-color: var(--danger);
  background: var(--danger);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(460px, 1.55fr);
  gap: 22px;
  margin-bottom: var(--section-gap);
}

.hero-copy,
.hero-feature,
.deal-box,
.about-copy,
.newsletter-band,
.site-footer,
.admin-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-soft);
  background: var(--panel);
  box-shadow: var(--shadow-lift);
}

.hero-copy {
  position: relative;
  overflow: hidden;
  min-height: 435px;
  padding: clamp(34px, 5vw, 52px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.74), rgba(255, 255, 255, 0.28)),
    radial-gradient(circle at 100% 0%, rgba(105, 60, 255, 0.14), transparent 38%),
    linear-gradient(135deg, #fbfaff, #f0edff);
}

.hero-copy::after,
.about-copy::after,
.deal-box::after {
  position: absolute;
  right: -52px;
  bottom: -92px;
  width: 180px;
  height: 260px;
  content: "";
  background: repeating-linear-gradient(135deg, rgba(53, 16, 216, 0.07) 0 1px, transparent 1px 13px);
  transform: rotate(12deg);
  pointer-events: none;
}

.eyebrow,
.card-category,
.blog-card span {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 24px;
  border-radius: 999px;
  padding: 0 10px;
  color: var(--purple);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  background: rgba(53, 16, 216, 0.08);
}

.hero-copy h1 {
  max-width: 480px;
  margin: 20px 0 18px;
  font-size: clamp(34px, 3.6vw, 50px);
  line-height: 1.08;
}

.hero-copy p {
  max-width: 430px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
}

.hero-feature {
  position: relative;
  display: grid;
  grid-template-columns: 1fr minmax(250px, 0.82fr);
  overflow: hidden;
  min-height: 435px;
  padding: clamp(30px, 4vw, 48px);
  color: #fff;
  background:
    radial-gradient(circle at 50% 110%, rgba(126, 62, 255, 0.58), transparent 30%),
    radial-gradient(circle at 80% 58%, rgba(111, 60, 255, 0.68), transparent 32%),
    linear-gradient(135deg, #060318, #130064 62%, #030011);
}

.hero-feature::before {
  position: absolute;
  inset: auto -90px -110px auto;
  width: 360px;
  height: 260px;
  content: "";
  background:
    linear-gradient(135deg, transparent 0 38%, rgba(255, 255, 255, 0.16) 38% 48%, transparent 48% 100%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 16px);
  transform: rotate(-12deg);
  pointer-events: none;
}

.hero-feature h2 {
  margin: 0 0 10px;
  font-size: clamp(34px, 3.2vw, 48px);
  line-height: 1.05;
}

.hero-feature p,
.hero-feature li {
  color: rgba(255, 255, 255, 0.86);
}

.hero-feature ul {
  display: grid;
  gap: 10px;
  padding-left: 0;
  margin: 22px 0 28px;
  list-style: none;
}

.hero-feature li::before {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  border-radius: 50%;
  color: #fff;
  font-size: 11px;
  content: "\2713";
  background: #18c75a;
}

.hero-feature img {
  align-self: center;
  height: 330px;
  width: 100%;
  border-radius: var(--radius);
  object-fit: cover;
}

.hero-rating {
  position: absolute;
  top: 38px;
  right: 38px;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border: 3px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  background: var(--purple);
}

.hero-rating strong {
  font-size: 30px;
  line-height: 1;
}

.hero-rating span {
  font-size: 10px;
  text-transform: uppercase;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: var(--section-gap) 0 18px;
}

.hero-grid + .section-head {
  margin-top: 0;
  border-radius: var(--radius);
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(237, 246, 255, 0.72), rgba(255, 255, 255, 0.88));
}

.section-head h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
}

#trending h2::before,
#deals h2::before,
#blog h2::before {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-right: 8px;
  border-radius: 7px;
  color: #fff;
  font-size: 15px;
  vertical-align: 3px;
  background: var(--purple);
}

#trending h2::before {
  content: "\1F525";
}

#deals h2::before {
  content: "\25A3";
}

#blog h2::before {
  content: "\270E";
}

.section-head a {
  color: var(--purple);
  font-size: 13px;
  font-weight: 900;
}

.section-head a::after {
  margin-left: 8px;
  content: "\2192";
}

.category-strip,
.tabs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 2px 2px 12px;
  scrollbar-width: thin;
}

.category-pill {
  flex: 1 0 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  min-height: 78px;
  padding: 18px;
  font-weight: 900;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.category-pill:nth-child(5n + 1) {
  background: linear-gradient(135deg, #fff, var(--purple-soft));
}

.category-pill:nth-child(5n + 2) {
  background: linear-gradient(135deg, #fff, var(--blue-soft));
}

.category-pill:nth-child(5n + 3) {
  background: linear-gradient(135deg, #fff, var(--mint-soft));
}

.category-pill:nth-child(5n + 4) {
  background: linear-gradient(135deg, #fff, var(--amber-soft));
}

.category-pill:nth-child(5n + 5) {
  background: linear-gradient(135deg, #fff, var(--rose-soft));
}

.category-icon {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  font-size: 20px;
  line-height: 1;
}

.category-pill:hover {
  transform: translateY(-3px);
  border-color: rgba(53, 16, 216, 0.22);
  background: linear-gradient(135deg, #fff, #fbfaff);
  box-shadow: 0 18px 34px rgba(33, 19, 91, 0.12);
}

.category-pill.active {
  color: var(--purple);
  border-color: rgba(53, 16, 216, 0.26);
}

.tabs {
  margin-bottom: 24px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 248, 232, 0.56), rgba(255, 255, 255, 0.78));
}

.tabs button {
  border: 0;
  border-bottom: 3px solid transparent;
  padding: 10px 16px;
  color: #36334e;
  font-weight: 850;
  background: transparent;
}

.tabs button.active {
  color: var(--purple);
  border-color: var(--purple);
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 24px;
  align-items: stretch;
}

.listing-grid > div {
  display: flex;
  min-width: 0;
}

.listing-card,
.blog-card,
.community-card,
.detail-sidebar {
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-soft);
  background: #fff;
  box-shadow: 0 12px 30px rgba(33, 19, 91, 0.085);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.listing-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.listing-card.placeholder {
  min-height: 100%;
  border-style: dashed;
  background: linear-gradient(135deg, #fff, var(--cyan-soft));
}

.listing-card.placeholder .listing-body {
  justify-content: center;
  min-height: 320px;
}

.listing-card:hover,
.blog-card:hover {
  transform: translateY(-4px);
  border-color: rgba(53, 16, 216, 0.2);
  box-shadow: 0 22px 44px rgba(33, 19, 91, 0.15);
}

.listing-grid > div:nth-child(5n + 1) .listing-card {
  background: linear-gradient(180deg, #fff 0%, var(--purple-soft) 100%);
}

.listing-grid > .listing-card:nth-child(5n + 1) {
  background: linear-gradient(180deg, #fff 0%, var(--purple-soft) 100%);
}

.listing-grid > div:nth-child(5n + 2) .listing-card {
  background: linear-gradient(180deg, #fff 0%, var(--blue-soft) 100%);
}

.listing-grid > .listing-card:nth-child(5n + 2) {
  background: linear-gradient(180deg, #fff 0%, var(--blue-soft) 100%);
}

.listing-grid > div:nth-child(5n + 3) .listing-card {
  background: linear-gradient(180deg, #fff 0%, var(--mint-soft) 100%);
}

.listing-grid > .listing-card:nth-child(5n + 3) {
  background: linear-gradient(180deg, #fff 0%, var(--mint-soft) 100%);
}

.listing-grid > div:nth-child(5n + 4) .listing-card {
  background: linear-gradient(180deg, #fff 0%, var(--amber-soft) 100%);
}

.listing-grid > .listing-card:nth-child(5n + 4) {
  background: linear-gradient(180deg, #fff 0%, var(--amber-soft) 100%);
}

.listing-grid > div:nth-child(5n + 5) .listing-card {
  background: linear-gradient(180deg, #fff 0%, var(--rose-soft) 100%);
}

.listing-grid > .listing-card:nth-child(5n + 5) {
  background: linear-gradient(180deg, #fff 0%, var(--rose-soft) 100%);
}

.listing-image {
  position: relative;
  display: block;
  height: 174px;
  background: #120065;
}

.listing-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.listing-card:hover .listing-image img,
.blog-card:hover img {
  transform: scale(1.035);
}

.listing-image span {
  position: absolute;
  left: 14px;
  bottom: 12px;
  border-radius: 4px;
  padding: 5px 8px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
  background: #fff;
  box-shadow: var(--shadow-tight);
}

.listing-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.listing-body h3,
.blog-card h3 {
  margin: 8px 0 12px;
  font-size: 18px;
  line-height: 1.25;
}

.listing-body p,
.blog-card p {
  line-height: 1.68;
}

.listing-body p,
.blog-card p,
.about-copy p,
.deal-box p,
.newsletter-band p,
.site-footer p {
  color: var(--muted);
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 16px 0;
  font-size: 13px;
}

.stars {
  color: var(--gold);
  letter-spacing: 0;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: auto;
}

.card-actions .btn {
  min-height: 38px;
  padding: 0 10px;
  font-size: 13px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.25fr 0.8fr;
  gap: 22px;
  margin-top: var(--section-gap);
}

.video-tile {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-soft);
  box-shadow: 0 20px 48px rgba(33, 19, 91, 0.12);
}

.video-tile img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
}

.video-tile span {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 3px solid #fff;
  border-radius: 50%;
  color: #fff;
  font-weight: 900;
  background: rgba(53, 16, 216, 0.6);
}

.about-copy,
.deal-box {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 3vw, 36px);
}

.about-copy > *,
.deal-box > * {
  position: relative;
  z-index: 1;
}

.about-copy {
  background:
    radial-gradient(circle at 100% 100%, rgba(20, 184, 166, 0.12), transparent 35%),
    linear-gradient(135deg, #fff, var(--mint-soft));
}

.about-copy h2,
.deal-box h2 {
  margin: 8px 0 14px;
  font-size: 30px;
  line-height: 1.18;
}

.stats {
  display: flex;
  gap: 24px;
  margin-top: 24px;
}

.stats strong {
  font-size: 22px;
}

.stats span {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.deal-box {
  display: grid;
  align-content: center;
  gap: 12px;
  background:
    radial-gradient(circle at 100% 0%, rgba(255, 186, 8, 0.14), transparent 34%),
    linear-gradient(135deg, #fff, var(--amber-soft));
}

.cta-banner {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: var(--section-gap) 0 calc(var(--section-gap) - 16px);
  border-radius: var(--radius-soft);
  min-height: 190px;
  padding: 46px 56px 46px 290px;
  color: #fff;
  background:
    url("data:image/svg+xml,%3Csvg width='260' height='170' viewBox='0 0 260 170' xmlns='http://www.w3.org/2000/svg'%3E%3Cg transform='translate(48 22)'%3E%3Cpath d='M71 111C47 127 25 126 10 111c-17-17-11-42 14-50 10-3 21-2 34 3 5-26 24-46 49-52 34-8 67 16 74 50 22-2 38 8 44 26 7 22-10 45-36 49H32c13-4 26-12 39-26Z' fill='%23fff' opacity='.18'/%3E%3Cpath d='M97 111 66 90l47-79 31 22-47 78Z' fill='%23fff'/%3E%3Cpath d='M112 11c22 9 33 24 32 46-23-2-39-11-49-29l17-17Z' fill='%23ff7a1a'/%3E%3Cpath d='M66 90c-13 2-23 10-30 24 15-1 27-7 36-20l-6-4Z' fill='%23ffba08'/%3E%3Cpath d='M98 35a11 11 0 1 0 22 0 11 11 0 0 0-22 0Z' fill='%233510d8'/%3E%3C/g%3E%3C/svg%3E") 24px 50% / 250px auto no-repeat,
    radial-gradient(circle at 9% 50%, rgba(255, 255, 255, 0.18), transparent 26%),
    linear-gradient(135deg, #792cff, #2700a6 58%, #140060);
  box-shadow: 0 24px 66px rgba(53, 16, 216, 0.26);
}

.cta-banner::after {
  position: absolute;
  inset: auto -90px -110px auto;
  width: 360px;
  height: 260px;
  content: "";
  background:
    linear-gradient(135deg, transparent 0 38%, rgba(255, 255, 255, 0.16) 38% 48%, transparent 48% 100%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 16px);
  transform: rotate(-12deg);
  pointer-events: none;
}

.cta-banner > * {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  margin: 0 0 8px;
  font-size: 36px;
}

.mini-carousel {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  overflow-y: hidden;
  border-radius: var(--radius-soft);
  padding: 12px;
  background: linear-gradient(135deg, rgba(239, 251, 255, 0.7), rgba(255, 255, 255, 0.2));
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.mini-carousel .listing-card {
  flex: 0 0 min(236px, 78vw);
  scroll-snap-align: start;
}

.mini-carousel .listing-card:nth-child(5n + 1) {
  background: linear-gradient(180deg, #fff 0%, var(--purple-soft) 100%);
}

.mini-carousel .listing-card:nth-child(5n + 2) {
  background: linear-gradient(180deg, #fff 0%, var(--blue-soft) 100%);
}

.mini-carousel .listing-card:nth-child(5n + 3) {
  background: linear-gradient(180deg, #fff 0%, var(--mint-soft) 100%);
}

.mini-carousel .listing-card:nth-child(5n + 4) {
  background: linear-gradient(180deg, #fff 0%, var(--amber-soft) 100%);
}

.mini-carousel .listing-card:nth-child(5n + 5) {
  background: linear-gradient(180deg, #fff 0%, var(--rose-soft) 100%);
}

.listing-card.compact .listing-image {
  height: 136px;
}

.listing-card.compact .listing-body {
  padding: 14px;
}

.listing-card.compact .card-actions,
.listing-card.compact .card-category {
  display: none;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) 1.25fr;
  gap: 24px;
  margin-bottom: var(--section-gap);
}

.blog-card {
  padding-bottom: 18px;
}

.blog-card:nth-child(5n + 1) {
  background: linear-gradient(180deg, #fff 0%, var(--purple-soft) 100%);
}

.blog-card:nth-child(5n + 2) {
  background: linear-gradient(180deg, #fff 0%, var(--blue-soft) 100%);
}

.blog-card:nth-child(5n + 3) {
  background: linear-gradient(180deg, #fff 0%, var(--mint-soft) 100%);
}

.blog-card:nth-child(5n + 4) {
  background: linear-gradient(180deg, #fff 0%, var(--amber-soft) 100%);
}

.blog-card:nth-child(5n + 5) {
  background: linear-gradient(180deg, #fff 0%, var(--rose-soft) 100%);
}

.blog-card img {
  height: 148px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.blog-card span,
.blog-card h3,
.blog-card p {
  margin-left: 16px;
  margin-right: 16px;
}

.blog-card span {
  margin-top: 14px;
}

.community-card {
  display: grid;
  align-content: center;
  padding: 34px;
  color: #fff;
  background: linear-gradient(135deg, var(--purple), #140060);
}

.community-card p {
  color: rgba(255, 255, 255, 0.8);
}

.newsletter-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
  gap: 28px;
  align-items: center;
  min-height: 104px;
  margin-top: 8px;
  padding: 24px 34px;
  background:
    radial-gradient(circle at 3% 50%, rgba(53, 16, 216, 0.1), transparent 13%),
    repeating-linear-gradient(135deg, rgba(53, 16, 216, 0.035) 0 1px, transparent 1px 14px),
    linear-gradient(135deg, #f4f1ff, #fff);
}

.newsletter-band h2 {
  margin: 0 0 6px;
  font-size: 26px;
  line-height: 1.12;
}

.newsletter-band p {
  margin: 0;
}

.newsletter-intro {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.newsletter-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: var(--radius);
  color: #fff;
  font-size: 25px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--purple), #6d38ff);
  box-shadow: 0 14px 26px rgba(53, 16, 216, 0.24);
}

.newsletter-band form {
  display: grid;
  grid-template-columns: 1fr auto;
}

.newsletter-band input {
  border-radius: var(--radius) 0 0 var(--radius);
}

.newsletter-band .btn {
  border-radius: 0 var(--radius) var(--radius) 0;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.72s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.22s ease,
    border-color 0.22s ease;
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.site-footer {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 34px;
  margin-bottom: 20px;
  padding: 28px 34px 42px;
  width: 100%;
  border-top-left-radius: var(--radius-soft);
  border-top-right-radius: var(--radius-soft);
  background:
    radial-gradient(circle at 8% 0%, rgba(105, 60, 255, 0.14), transparent 28%),
    radial-gradient(circle at 92% 100%, rgba(53, 16, 216, 0.1), transparent 30%),
    linear-gradient(135deg, #fbfaff 0%, #f3efff 48%, #ffffff 100%);
  box-shadow: var(--shadow-soft);
}

.site-footer::before {
  position: absolute;
  inset: 0;
  content: "";
  background: repeating-linear-gradient(135deg, rgba(53, 16, 216, 0.035) 0 1px, transparent 1px 15px);
  mask-image: linear-gradient(90deg, transparent, #000 18%, transparent 58%);
  pointer-events: none;
}

.site-footer > * {
  position: relative;
  z-index: 1;
}

.site-footer > div {
  min-width: 0;
}

.site-footer > div + div {
  border-left: 1px solid var(--line-strong);
  padding-left: 34px;
}

.site-footer h3 {
  margin-top: 0;
  margin-bottom: 14px;
  font-size: 15px;
}

.site-footer a {
  display: block;
  margin: 5px 0;
  color: #38354d;
  font-size: 13px;
}

.site-footer .btn {
  width: 100%;
  margin-top: 10px;
}

.footer-social {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 22px;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin: 0;
  color: var(--purple-dark);
  font-size: 17px;
  font-weight: 950;
  line-height: 1;
}

.footer-social a:last-child {
  color: #e0001b;
}

.footer-copy {
  position: absolute;
  right: 0;
  bottom: 10px;
  left: 0;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.category-hero {
  display: grid;
  gap: 18px;
  margin-bottom: 20px;
  padding: 36px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #16005c, var(--purple));
}

.account-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 24px;
  align-items: center;
  margin-bottom: 26px;
  border-radius: 8px;
  padding: clamp(28px, 5vw, 52px);
  color: #fff;
  background:
    radial-gradient(circle at 14% 50%, rgba(255, 255, 255, 0.16), transparent 24%),
    linear-gradient(135deg, #11004b, var(--purple));
}

.profile-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
  border-radius: 8px;
  padding: clamp(26px, 4vw, 44px);
  color: #fff;
  background:
    radial-gradient(circle at 16% 50%, rgba(255, 255, 255, 0.18), transparent 24%),
    linear-gradient(135deg, #100046, #3510d8 62%, #160060);
  box-shadow: var(--shadow);
}

.profile-welcome h1 {
  margin: 8px 0 10px;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.08;
}

.profile-welcome p {
  max-width: 680px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
}

.agent-search-panel {
  display: grid;
  grid-template-columns: 76px minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 18px;
  align-items: start;
  margin-bottom: 30px;
  border: 1px solid rgba(53, 16, 216, 0.15);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 28px);
  background:
    linear-gradient(135deg, rgba(247, 245, 255, 0.96), #fff);
  box-shadow: var(--shadow);
}

.agent-orb {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  color: #fff;
  font-weight: 950;
  background:
    radial-gradient(circle at 30% 20%, #9f8cff, transparent 35%),
    linear-gradient(135deg, var(--violet), var(--purple-dark));
  box-shadow: 0 12px 30px rgba(53, 16, 216, 0.32);
}

.agent-search-form {
  display: grid;
  gap: 12px;
}

.agent-search-form label {
  font-size: 22px;
  font-weight: 950;
}

.agent-search-form p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.agent-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.agent-input-row input {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgba(53, 16, 216, 0.18);
  border-radius: 8px;
  padding: 0 16px;
  background: #fff;
  outline: none;
}

.agent-input-row input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(53, 16, 216, 0.08);
}

.agent-results {
  display: grid;
  gap: 12px;
  min-height: 178px;
}

.agent-empty {
  display: grid;
  align-content: center;
  min-height: 126px;
  border: 1px dashed rgba(53, 16, 216, 0.24);
  border-radius: 8px;
  padding: 18px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.72);
}

.agent-empty strong {
  color: var(--ink);
  font-size: 16px;
}

.agent-empty span {
  display: block;
  margin-top: 4px;
}

.agent-result-card {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(33, 19, 91, 0.08);
}

.agent-result-card:nth-child(5n + 1),
.admin-accordion:nth-of-type(5n + 1),
.admin-row:nth-child(5n + 1),
.admin-card:nth-of-type(5n + 1),
.detail-sidebar {
  background: linear-gradient(135deg, #fff, var(--purple-soft));
}

.agent-result-card:nth-child(5n + 2),
.admin-accordion:nth-of-type(5n + 2),
.admin-row:nth-child(5n + 2),
.admin-card:nth-of-type(5n + 2),
.user-auth-card {
  background: linear-gradient(135deg, #fff, var(--blue-soft));
}

.agent-result-card:nth-child(5n + 3),
.admin-accordion:nth-of-type(5n + 3),
.admin-row:nth-child(5n + 3),
.admin-card:nth-of-type(5n + 3),
.agent-search-panel {
  background: linear-gradient(135deg, #fff, var(--mint-soft));
}

.agent-result-card:nth-child(5n + 4),
.admin-accordion:nth-of-type(5n + 4),
.admin-row:nth-child(5n + 4),
.admin-card:nth-of-type(5n + 4) {
  background: linear-gradient(135deg, #fff, var(--amber-soft));
}

.agent-result-card:nth-child(5n + 5),
.admin-accordion:nth-of-type(5n + 5),
.admin-row:nth-child(5n + 5),
.admin-card:nth-of-type(5n + 5) {
  background: linear-gradient(135deg, #fff, var(--rose-soft));
}

.agent-result-card img {
  width: 104px;
  height: 92px;
  border-radius: 6px;
  object-fit: cover;
}

.agent-result-card span {
  min-width: 0;
}

.agent-result-card small,
.agent-result-card strong,
.agent-result-card em,
.agent-result-card b {
  display: block;
}

.agent-result-card small {
  color: var(--purple);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.agent-result-card strong {
  margin-top: 2px;
  font-size: 17px;
  line-height: 1.2;
}

.agent-result-card em {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.agent-result-card b {
  margin-top: 7px;
  color: var(--purple);
  font-size: 12px;
}

.account-hero h1 {
  max-width: 620px;
  margin: 8px 0 10px;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
}

.account-hero p {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

.account-search {
  justify-self: stretch;
}

.category-hero h1 {
  margin: 0;
  font-size: 42px;
}

.live-search-box {
  position: relative;
  max-width: 720px;
}

.live-results {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 20;
  display: none;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.live-results.active {
  display: block;
}

.live-result {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 12px;
  padding: 10px;
  color: var(--ink);
}

.live-result + .live-result {
  border-top: 1px solid var(--line);
}

.live-result img {
  width: 74px;
  height: 58px;
  border-radius: 6px;
  object-fit: cover;
}

.live-result strong,
.live-result small,
.live-result em {
  display: block;
}

.live-result small {
  color: var(--purple);
  font-weight: 800;
}

.live-result em,
.live-empty {
  color: var(--muted);
  font-size: 13px;
  font-style: normal;
}

.live-empty {
  margin: 0;
  padding: 16px;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 26px;
  align-items: start;
}

.detail-layout.single {
  grid-template-columns: minmax(0, 1fr);
}

.detail-main {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 46px);
  background: #fff;
  box-shadow: var(--shadow);
}

.detail-main,
.user-auth-card,
.agent-search-panel,
.admin-card,
.admin-accordion,
.admin-row,
.agent-result-card,
.detail-sidebar {
  border-color: rgba(53, 16, 216, 0.12);
}

.detail-main::before {
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  content: "";
  background: linear-gradient(90deg, var(--purple), var(--violet) 54%, var(--gold));
}

.page-detail {
  background:
    radial-gradient(circle at 100% 0%, rgba(105, 60, 255, 0.1), transparent 28%),
    linear-gradient(180deg, #fff, #fbfaff);
}

.detail-main h1 {
  margin: 8px 0 12px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
}

.lead {
  color: var(--muted);
  font-size: 19px;
}

.detail-image {
  width: 100%;
  max-height: 440px;
  border-radius: 8px;
  margin: 26px 0;
  object-fit: cover;
}

.review-quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 4px;
}

.review-score-panel,
.review-cta-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  gap: 24px;
  align-items: center;
  margin: 28px 0;
  border: 1px solid rgba(53, 16, 216, 0.12);
  border-radius: var(--radius-soft);
  padding: clamp(22px, 3vw, 34px);
  background:
    radial-gradient(circle at 100% 0%, rgba(53, 16, 216, 0.12), transparent 30%),
    linear-gradient(135deg, #fff, var(--purple-soft));
  box-shadow: var(--shadow-soft);
}

.review-score-panel h2,
.review-cta-strip h2 {
  margin: 8px 0 12px;
}

.review-score-panel aside {
  display: grid;
  gap: 10px;
  justify-items: center;
  border-radius: var(--radius);
  padding: 24px;
  color: #fff;
  text-align: center;
  background: linear-gradient(135deg, var(--purple), var(--purple-dark));
  box-shadow: 0 18px 36px rgba(53, 16, 216, 0.2);
}

.review-score-panel aside strong {
  font-size: 52px;
  line-height: 1;
}

.review-score-panel aside span {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.review-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 26px 0;
}

.review-info-grid > div {
  border: 1px solid rgba(53, 16, 216, 0.12);
  border-radius: var(--radius-soft);
  padding: 20px;
  background: linear-gradient(180deg, #fff, var(--blue-soft));
  box-shadow: var(--shadow-soft);
}

.review-info-grid > div:nth-child(2) {
  background: linear-gradient(180deg, #fff, var(--mint-soft));
}

.review-info-grid > div:nth-child(3) {
  background: linear-gradient(180deg, #fff, var(--amber-soft));
}

.review-info-grid h3 {
  margin: 0 0 8px;
}

.review-checklist,
.sidebar-checks {
  display: grid;
  gap: 10px;
  padding-left: 0;
  list-style: none;
}

.review-checklist li,
.sidebar-checks li {
  position: relative;
  padding-left: 28px;
}

.review-checklist li::before,
.sidebar-checks li::before {
  position: absolute;
  left: 0;
  top: 0.15em;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  content: "\2713";
  background: var(--purple);
}

.review-cta-strip {
  color: #fff;
  background:
    radial-gradient(circle at 12% 50%, rgba(255, 255, 255, 0.18), transparent 28%),
    linear-gradient(135deg, var(--purple), var(--purple-dark));
}

.review-cta-strip p {
  color: rgba(255, 255, 255, 0.82);
}

.reviews-hub-panel {
  margin-top: var(--section-gap);
}

.review-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.review-feature-card {
  overflow: hidden;
  border: 1px solid rgba(53, 16, 216, 0.12);
  border-radius: var(--radius-soft);
  background: linear-gradient(180deg, #fff, var(--purple-soft));
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.review-feature-card:nth-child(5n + 2) {
  background: linear-gradient(180deg, #fff, var(--blue-soft));
}

.review-feature-card:nth-child(5n + 3) {
  background: linear-gradient(180deg, #fff, var(--mint-soft));
}

.review-feature-card:nth-child(5n + 4) {
  background: linear-gradient(180deg, #fff, var(--amber-soft));
}

.review-feature-card:nth-child(5n + 5) {
  background: linear-gradient(180deg, #fff, var(--rose-soft));
}

.review-feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(53, 16, 216, 0.2);
  box-shadow: 0 22px 44px rgba(33, 19, 91, 0.15);
}

.review-feature-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.review-feature-card > div {
  padding: 18px;
}

.review-feature-card h3 {
  margin: 10px 0;
  font-size: 19px;
  line-height: 1.2;
}

.disclosure {
  border-left: 4px solid var(--purple);
  padding: 14px 18px;
  background: var(--soft);
}

.cms-content {
  color: #25213a;
  font-size: 17px;
}

.cms-content h2,
.cms-content h3 {
  margin-top: 30px;
}

.cms-content h2 {
  position: relative;
  padding-left: 18px;
  color: var(--purple-dark);
  line-height: 1.18;
}

.cms-content h2::before {
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 5px;
  border-radius: 999px;
  content: "";
  background: linear-gradient(180deg, var(--purple), var(--gold));
}

.cms-content p {
  max-width: 980px;
}

.cms-content p + h2 {
  border-top: 1px solid rgba(53, 16, 216, 0.1);
  padding-top: 24px;
}

.cms-content p + h2::before {
  top: 24px;
}

.cms-content a {
  color: var(--purple);
  font-weight: 850;
}

.page-slug-about .cms-content h2:nth-of-type(2),
.page-slug-reviews .cms-content h2:nth-of-type(2),
.page-slug-deals .cms-content h2:nth-of-type(2),
.page-slug-contact .cms-content h2:nth-of-type(2) {
  margin-top: 36px;
  border: 1px solid rgba(53, 16, 216, 0.12);
  border-radius: 8px;
  padding: 22px 22px 0 42px;
  background: linear-gradient(135deg, rgba(247, 245, 255, 0.96), #fff);
}

.page-slug-about .cms-content h2:nth-of-type(2)::before,
.page-slug-reviews .cms-content h2:nth-of-type(2)::before,
.page-slug-deals .cms-content h2:nth-of-type(2)::before,
.page-slug-contact .cms-content h2:nth-of-type(2)::before {
  top: 22px;
  left: 22px;
  bottom: 0.2em;
}

.page-slug-about .cms-content h2:nth-of-type(2) + p,
.page-slug-reviews .cms-content h2:nth-of-type(2) + p,
.page-slug-deals .cms-content h2:nth-of-type(2) + p,
.page-slug-contact .cms-content h2:nth-of-type(2) + p {
  margin: 0 0 18px;
  border: 1px solid rgba(53, 16, 216, 0.12);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  padding: 0 22px 22px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.detail-sidebar {
  position: sticky;
  top: 16px;
  padding: 24px;
}

.detail-sidebar .btn {
  width: 100%;
}

.empty-state {
  padding: 50px;
  text-align: center;
}

.user-auth-shell {
  display: grid;
  place-items: center;
  min-height: 520px;
  padding: 36px 0 56px;
}

.user-auth-card {
  width: min(100%, 520px);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 4vw, 34px);
  background: #fff;
  box-shadow: var(--shadow);
}

.user-auth-card form,
.user-auth-card {
  display: grid;
  gap: 14px;
}

.user-auth-card h1 {
  margin: 0;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.1;
}

.user-auth-card p {
  margin: 0;
  color: var(--muted);
}

.user-auth-card label {
  display: grid;
  gap: 6px;
  color: #373246;
  font-weight: 800;
}

.user-auth-card input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--ink);
  background: #fff;
  outline: none;
}

.user-auth-card input:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(53, 16, 216, 0.08);
}

.user-auth-card .btn {
  width: 100%;
}

.auth-switch {
  text-align: center;
  font-size: 13px;
}

.auth-switch a {
  color: var(--purple);
  font-weight: 900;
}

.auth-hidden-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.admin-shell {
  width: min(100% - 32px, 1320px);
  margin: 24px auto;
}

.admin-shell.narrow {
  width: min(100% - 32px, 520px);
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.admin-header h1 {
  margin: 0;
}

.admin-header p,
.admin-muted {
  color: var(--muted);
}

.admin-header nav {
  display: flex;
  gap: 10px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.admin-stats article {
  border: 1px solid rgba(53, 16, 216, 0.12);
  border-radius: 8px;
  padding: 16px;
  background: #fff;
  box-shadow: var(--shadow-tight);
}

.admin-stats strong {
  display: block;
  font-size: 26px;
  line-height: 1;
}

.admin-stats span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.maintenance-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.maintenance-actions .btn {
  width: 100%;
}

.admin-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.35fr;
  gap: 20px;
  margin-bottom: 20px;
}

.admin-accordion {
  overflow: hidden;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(33, 19, 91, 0.08);
}

.admin-accordion > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 70px;
  padding: 16px 22px;
  cursor: pointer;
  list-style: none;
}

.admin-accordion > summary::-webkit-details-marker {
  display: none;
}

.admin-accordion > summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #fff;
  font-weight: 950;
  background: var(--purple);
  flex: 0 0 auto;
}

.admin-accordion[open] > summary::after {
  content: "-";
}

.admin-accordion > summary strong {
  display: block;
  font-size: 18px;
}

.admin-accordion > summary small {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.admin-accordion-body {
  margin: 0;
  padding: 0 18px 18px;
}

.admin-card {
  padding: 24px;
}

.admin-form {
  display: grid;
  gap: 14px;
}

.admin-form label {
  display: grid;
  gap: 6px;
  color: #373246;
  font-weight: 800;
}

.admin-form textarea {
  resize: vertical;
}

.admin-two,
.admin-three {
  display: grid;
  gap: 12px;
}

.admin-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.admin-list {
  display: grid;
  gap: 12px;
}

.admin-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.admin-details {
  display: block;
}

.admin-details summary {
  cursor: pointer;
}

.admin-details .admin-form {
  margin-top: 14px;
}

.bulk-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.bulk-actions .btn {
  min-height: 34px;
  padding: 0 12px;
  font-size: 12px;
}

.grouped-listings {
  gap: 10px;
}

.mini-accordion {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaff;
}

.mini-accordion > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
}

.mini-accordion > summary::-webkit-details-marker {
  display: none;
}

.mini-accordion > summary strong,
.mini-accordion > summary small {
  display: block;
}

.mini-accordion > summary small {
  color: var(--muted);
  font-size: 12px;
}

.mini-accordion > .admin-list {
  padding: 0 12px 12px;
}

.admin-inline-delete {
  display: flex;
  justify-content: flex-end;
  margin: -4px 0 12px;
}

.admin-inline-delete .btn {
  min-height: 30px;
  padding: 0 10px;
  font-size: 12px;
}

.admin-row small {
  display: block;
  color: var(--muted);
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.admin-actions .btn,
.admin-row .btn {
  min-height: 34px;
  padding: 0 12px;
  font-size: 12px;
}

.admin-inline-form {
  display: grid;
  grid-template-columns: 1fr 1fr 0.65fr 80px 92px auto;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}

.check {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
}

.check input {
  width: auto;
}

.success,
.alert {
  border-radius: 8px;
  padding: 12px 14px;
  font-weight: 800;
}

.type-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  border-radius: 999px;
  padding: 0 9px;
  color: #fff;
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.placement-top {
  background: #3510d8;
}

.placement-middle {
  background: #047857;
}

.placement-bottom {
  background: #c2410c;
}

.placement-auto {
  background: #475569;
}

.placement-archive {
  background: #6b7280;
}

.status-draft {
  background: #7c3aed;
}

.status-approved {
  background: #0f766e;
}

.status-scheduled {
  background: #0369a1;
}

.status-published {
  background: #15803d;
}

.status-paused,
.status-archived {
  background: #991b1b;
}

.listing-blog-index {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.success {
  color: #106b34;
  background: #eaf8ef;
}

.alert {
  color: #a10025;
  background: #fff0f3;
}

.detail-main,
.detail-sidebar,
.admin-card:nth-of-type(5n + 1),
.admin-accordion:nth-of-type(5n + 1),
.admin-row:nth-child(5n + 1),
.user-auth-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(53, 16, 216, 0.08), transparent 34%),
    linear-gradient(135deg, #fff, var(--purple-soft));
}

.admin-card:nth-of-type(5n + 2),
.admin-accordion:nth-of-type(5n + 2),
.admin-row:nth-child(5n + 2) {
  background: linear-gradient(135deg, #fff, var(--blue-soft));
}

.admin-card:nth-of-type(5n + 3),
.admin-accordion:nth-of-type(5n + 3),
.admin-row:nth-child(5n + 3),
.agent-search-panel {
  background: linear-gradient(135deg, #fff, var(--mint-soft));
}

.admin-card:nth-of-type(5n + 4),
.admin-accordion:nth-of-type(5n + 4),
.admin-row:nth-child(5n + 4) {
  background: linear-gradient(135deg, #fff, var(--amber-soft));
}

.admin-card:nth-of-type(5n + 5),
.admin-accordion:nth-of-type(5n + 5),
.admin-row:nth-child(5n + 5) {
  background: linear-gradient(135deg, #fff, var(--rose-soft));
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 14px 18px;
  }

  .main-nav,
  .header-search {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .main-nav {
    order: 3;
    padding-bottom: 4px;
  }

  .header-search {
    order: 4;
    width: 100%;
    justify-self: stretch;
  }

  .header-search::before {
    left: 13px;
    inset: 0 auto 0 13px;
    font-size: 18px;
  }

  .header-search input {
    width: 100%;
    border-color: var(--line-strong);
    border-radius: var(--radius);
    padding: 0 14px 0 42px;
    color: var(--ink);
    background: #fff;
    cursor: text;
  }

  .header-search input::placeholder {
    color: var(--muted);
  }

  .newsletter-btn {
    justify-self: end;
  }

  .hero-grid,
  .about-grid,
  .detail-layout,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .admin-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .review-score-panel,
  .review-cta-strip {
    grid-template-columns: 1fr;
  }

  .review-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .listing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mini-carousel,
  .blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-grid {
    gap: 18px;
  }

  .hero-copy,
  .hero-feature {
    min-height: auto;
  }

  .hero-copy h1 {
    max-width: 700px;
  }

  .hero-feature {
    grid-template-columns: minmax(0, 1fr) minmax(240px, 0.72fr);
  }

  .cta-banner {
    padding-left: 240px;
    background-size: 210px auto, auto, auto;
  }

  .blog-grid .community-card {
    grid-column: 1 / -1;
  }

  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer > div:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 720px) {
  .page-shell,
  .admin-shell {
    width: min(100% - 22px, 1320px);
    padding-top: 16px;
  }

  .site-header {
    margin-bottom: 28px;
  }

  .brand img {
    width: 204px;
  }

  .main-nav {
    font-size: 14px;
  }

  .hero-grid,
  .agent-search-panel,
  .listing-grid,
  .review-info-grid,
  .review-feature-grid,
  .mini-carousel,
  .blog-grid,
  .newsletter-band,
  .site-footer,
  .account-hero,
  .admin-stats,
  .maintenance-actions,
  .admin-two,
  .admin-three,
  .admin-inline-form {
    grid-template-columns: 1fr;
  }

  .profile-hero {
    display: grid;
  }

  .agent-input-row,
  .agent-result-card {
    grid-template-columns: 1fr;
  }

  .agent-result-card img {
    width: 100%;
    height: 150px;
  }

  .hero-grid {
    margin-bottom: 38px;
  }

  .hero-copy {
    padding: 28px;
  }

  .hero-copy h1 {
    font-size: 34px;
  }

  .hero-copy p {
    font-size: 16px;
  }

  .hero-actions {
    gap: 12px;
  }

  .hero-actions .btn,
  .cta-banner .btn {
    width: 100%;
  }

  .hero-feature {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .hero-feature img {
    height: 210px;
  }

  .hero-rating {
    top: 18px;
    right: 18px;
    width: 72px;
    height: 72px;
  }

  .hero-copy {
    min-height: auto;
  }

  .section-head {
    align-items: flex-start;
    margin-top: 38px;
  }

  .section-head h2 {
    font-size: 23px;
  }

  .category-pill {
    flex-basis: 144px;
    padding: 15px;
  }

  .listing-image {
    height: 178px;
  }

  .about-grid {
    margin-top: 40px;
  }

  .about-copy,
  .deal-box {
    padding: 24px;
  }

  .stats {
    flex-wrap: wrap;
    gap: 18px;
  }

  .stats strong {
    flex: 1 1 120px;
  }

  .cta-banner {
    min-height: auto;
    padding: 150px 24px 30px;
    background-position: 50% 0, center, center;
    background-size: 190px auto, auto, auto;
  }

  .cta-banner h2 {
    font-size: 30px;
    line-height: 1.15;
  }

  .newsletter-band form,
  .card-actions {
    grid-template-columns: 1fr;
  }

  .newsletter-band input,
  .newsletter-band .btn {
    border-radius: var(--radius);
  }

  .newsletter-band,
  .site-footer {
    padding: 24px;
  }

  .newsletter-band {
    gap: 18px;
  }

  .newsletter-intro {
    align-items: start;
    gap: 14px;
  }

  .newsletter-icon {
    width: 44px;
    height: 44px;
    font-size: 21px;
  }

  .newsletter-band h2 {
    font-size: 22px;
  }

  .site-footer {
    padding-bottom: 46px;
  }

  .site-footer > div + div {
    border-left: 0;
    border-top: 1px solid var(--line-strong);
    padding-top: 22px;
    padding-left: 0;
  }

  .cta-banner,
  .admin-header,
  .admin-row {
    display: grid;
  }
}
