:root {
  color-scheme: dark;
  --bg: #050506;
  --panel: #101014;
  --panel-2: #15151b;
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f7f7f8;
  --muted: #a6a6ad;
  --soft: #707078;
  --red: #e50914;
  --red-2: #ff313d;
  --green: #20d49b;
  --gold: #ffc83d;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --radius: 8px;
  --rail: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 58% 0%, rgba(229, 9, 20, 0.18), transparent 32rem),
    linear-gradient(110deg, #020203 0%, #08080b 42%, #120507 100%);
  color: var(--text);
  font-size: 13px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

button,
input {
  font: inherit;
}

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

.rail {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 40;
  width: var(--rail);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 10px;
  border-right: 1px solid var(--line);
  background: rgba(2, 2, 3, 0.86);
  backdrop-filter: blur(20px);
}

.brand-mini,
.brand-orb {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent),
    radial-gradient(circle at 30% 20%, #fff, #ffb2b5 14%, var(--red) 38%, #130102 72%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 30px rgba(229, 9, 20, 0.42);
  font-weight: 900;
  letter-spacing: 0;
}

.rail-nav {
  width: 100%;
  display: grid;
  gap: 12px;
  margin-top: 62px;
}

.rail-nav.bottom {
  margin-top: auto;
}

.rail-link {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px;
  height: 48px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: 0.2s ease;
}

.rail-link:hover,
.rail-link.active {
  color: #fff;
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.08);
}

.rail-link.active::before {
  content: "";
  position: absolute;
  left: -10px;
  width: 4px;
  height: 36px;
  border-radius: 999px;
  background: var(--red);
}

.cart-badge {
  position: absolute;
  top: 3px;
  right: 3px;
  display: grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--red);
  color: white;
  font-size: 11px;
  font-weight: 800;
}

.drawer {
  position: fixed;
  inset: 0 auto 0 var(--rail);
  z-index: 30;
  width: 280px;
  padding: 34px 24px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(6, 6, 8, 0.96), rgba(4, 4, 5, 0.88));
  transform: translateX(-100%);
  transition: transform 0.24s ease;
}

body.drawer-open .drawer {
  transform: translateX(0);
}

body.rail-hover .drawer,
.rail:hover + .drawer,
.drawer:hover {
  transform: translateX(0);
}

.drawer-brand {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 12px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--line);
}

.drawer-brand strong,
.wordmark {
  font-weight: 900;
}

.drawer-brand span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.drawer-brand svg {
  color: var(--red-2);
}

.drawer-group {
  display: grid;
  gap: 8px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.drawer-group p {
  margin: 0 0 10px;
  color: var(--soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.drawer-group a,
.drawer-group button {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 44px;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.drawer-group a:hover,
.drawer-group button:hover {
  color: #fff;
}

.site-shell {
  width: calc(100% - var(--rail));
  margin-left: var(--rail);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 0 30px;
  border-bottom: 1px solid var(--line);
  background: rgba(4, 4, 6, 0.78);
  backdrop-filter: blur(18px);
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
}

.wordmark-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(32, 212, 155, 0.65);
}

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

.top-actions > a {
  color: var(--muted);
  font-size: 14px;
}

.theme-toggle,
.user-pill,
.ghost-btn,
.filter,
.modal-close,
.showcase-arrow {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
}

.theme-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 10px;
  color: var(--muted);
}

.user-pill {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px 8px 8px;
  font-weight: 800;
}

.avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--red);
  font-size: 12px;
}

.hero {
  min-height: calc(100vh - 70px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(390px, 1.1fr);
  gap: 44px;
  align-items: center;
  padding: 48px 7vw 40px 44px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(229, 9, 20, 0.12);
  color: #fff;
  font-weight: 800;
}

.trust-row span:first-child {
  color: var(--red-2);
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(30px, 4.2vw, 52px);
  line-height: 1;
  letter-spacing: 0;
}

.hero h1 em {
  color: var(--red-2);
  font-style: normal;
  text-shadow: 0 0 36px rgba(229, 9, 20, 0.4);
}

.hero p {
  max-width: 680px;
  margin: 22px 0 0;
  color: #c4c4ca;
  font-size: 14px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.primary-btn,
.checkout-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--red), #8e0209);
  color: white;
  box-shadow: 0 16px 42px rgba(229, 9, 20, 0.34);
  font-weight: 900;
  cursor: pointer;
}

.ghost-btn {
  min-height: 48px;
  padding: 0 18px;
  font-weight: 800;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 42px 0 0;
}

.hero-stats div {
  padding: 0 30px;
  border-left: 1px solid var(--line);
}

.hero-stats div:first-child {
  padding-left: 0;
  border-left: 0;
}

.hero-stats dt {
  font-size: 25px;
  font-weight: 900;
}

.hero-stats dd {
  margin: 6px 0 0;
  color: var(--muted);
}

.hero-showcase {
  position: relative;
  min-height: 460px;
  display: grid;
  place-items: center;
  perspective: 1200px;
}

.showcase-card {
  position: absolute;
  width: min(620px, 86%);
  min-height: 330px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.1), transparent 34%),
    linear-gradient(145deg, rgba(229, 9, 20, 0.35), rgba(7, 7, 10, 0.9));
  box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  opacity: 0.34;
  transform: translateX(-26%) scale(0.84) rotateY(18deg);
  transition: 0.35s ease;
}

.showcase-card:nth-of-type(3) {
  transform: translateX(26%) scale(0.84) rotateY(-18deg);
}

.showcase-card.active {
  z-index: 2;
  opacity: 1;
  transform: translateX(0) scale(1) rotateY(0deg);
}

.showcase-card strong {
  position: absolute;
  left: 28px;
  bottom: 58px;
  font-size: 25px;
  z-index: 2;
}

.showcase-card > span {
  position: absolute;
  left: 28px;
  bottom: 32px;
  color: #d6d6dc;
  z-index: 2;
}

.showcase-price {
  position: absolute;
  right: 28px;
  bottom: 30px;
  z-index: 2;
  padding: 12px 20px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: white;
  font-size: 18px;
  font-weight: 900;
}

.card-art {
  position: absolute;
  inset: 0;
  opacity: 0.98;
}

.card-art::before,
.card-art::after {
  content: "";
  position: absolute;
  border-radius: 24px;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45);
}

.streaming::before {
  width: 150px;
  height: 150px;
  right: 190px;
  top: 64px;
  background: linear-gradient(145deg, #fff, #e50914 55%, #550006);
  transform: rotate(-10deg);
}

.streaming::after {
  width: 170px;
  height: 170px;
  right: 80px;
  top: 92px;
  background: linear-gradient(145deg, #fbfbfb, #161616 42%, #e50914 100%);
  transform: rotate(8deg);
}

.gaming::before {
  width: 210px;
  height: 145px;
  right: 115px;
  top: 96px;
  border-radius: 42px;
  background: radial-gradient(circle at 30% 32%, #fff 0 8%, transparent 9%), linear-gradient(145deg, #ff3340, #5d0006);
}

.gaming::after {
  width: 110px;
  height: 110px;
  right: 265px;
  top: 78px;
  border-radius: 50%;
  background: linear-gradient(145deg, #fff, #202026);
}

.giftcard::before {
  width: 132px;
  height: 210px;
  right: 244px;
  top: 70px;
  background: linear-gradient(145deg, #ff313d, #111);
  transform: rotate(-12deg);
}

.giftcard::after {
  width: 132px;
  height: 210px;
  right: 122px;
  top: 60px;
  background: linear-gradient(145deg, #fff, #e50914 45%, #111);
  transform: rotate(10deg);
}

.showcase-arrow {
  position: absolute;
  z-index: 4;
  width: 52px;
  height: 52px;
  border-radius: 50%;
}

.showcase-arrow.prev {
  left: 4%;
}

.showcase-arrow.next {
  right: 4%;
}

.search-band,
.section,
.footer {
  margin: 0 24px 24px 24px;
}

.search-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 24px;
  align-items: end;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.section {
  padding: 42px 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--red-2);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h2 {
  margin: 0;
  font-size: clamp(21px, 2.1vw, 30px);
  line-height: 1.1;
}

.section-head p {
  margin: 10px 0 0;
  color: var(--muted);
}

.availability {
  color: var(--muted);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.38);
}

.search-box input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
}

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

.category-card,
.product-card,
.review-grid article,
.faq-list details,
.rating-card,
dialog {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.025));
}

.category-card {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  padding: 22px;
  cursor: pointer;
}

.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.72) 72%),
    radial-gradient(circle at 72% 30%, var(--tone), transparent 9rem),
    linear-gradient(145deg, rgba(229, 9, 20, 0.22), rgba(0, 0, 0, 0.2));
}

.category-card:hover {
  border-color: rgba(229, 9, 20, 0.62);
  transform: translateY(-2px);
}

.category-visual {
  position: absolute;
  right: 22px;
  top: 34px;
  display: grid;
  place-items: center;
  width: 110px;
  height: 110px;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(229, 9, 20, 0.38));
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.36);
  color: #111;
  font-size: 48px;
  font-weight: 900;
  transform: rotate(var(--tilt));
}

.category-card h3,
.category-card p {
  position: relative;
  z-index: 1;
}

.category-card h3 {
  margin: 150px 0 6px;
  font-size: 16px;
}

.category-card p {
  margin: 0;
  color: #d0d0d5;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter {
  min-height: 38px;
  padding: 0 14px;
  color: var(--muted);
  font-weight: 800;
}

.filter.active {
  border-color: rgba(229, 9, 20, 0.6);
  background: rgba(229, 9, 20, 0.18);
  color: #fff;
}

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

.product-card {
  position: relative;
  overflow: hidden;
}

.product-card.is-out {
  opacity: 0.68;
}

.favorite-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  cursor: pointer;
}

.favorite-btn.active {
  background: var(--red);
  border-color: var(--red-2);
}

.product-thumb {
  position: relative;
  min-height: 148px;
  overflow: hidden;
  background:
    radial-gradient(circle at 70% 35%, var(--tone), transparent 6.5rem),
    linear-gradient(145deg, #19191f, #060607);
}

.product-thumb img {
  display: block;
  width: 100%;
  height: 148px;
  object-fit: cover;
}

.product-thumb span {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(229, 9, 20, 0.72));
  color: #111;
  font-size: 26px;
  font-weight: 900;
  box-shadow: var(--shadow);
}

.product-body {
  padding: 16px;
}

.product-body h3 {
  min-height: 42px;
  margin: 0 0 10px;
  font-size: 13px;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
}

.price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 16px;
}

.price-row strong {
  color: #fff;
  font-size: 18px;
}

.add-btn {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--radius);
  background: var(--red);
  color: white;
  cursor: pointer;
}

.add-btn:disabled {
  background: rgba(255, 255, 255, 0.1);
  color: var(--muted);
  cursor: not-allowed;
}

.trust-grid,
.client-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.trust-grid article,
.client-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.025));
}

.trust-grid article {
  min-height: 154px;
  padding: 20px;
}

.trust-grid i {
  color: var(--red-2);
}

.trust-grid strong {
  display: block;
  margin: 14px 0 8px;
  font-size: 15px;
}

.trust-grid p,
.client-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.client-balance {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(229, 9, 20, 0.14);
}

.client-balance i {
  color: var(--gold);
}

.client-card {
  padding: 18px;
}

.client-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.client-card h3 {
  margin: 0;
}

.client-card-head span {
  color: var(--muted);
}

.mini-list {
  display: grid;
  gap: 10px;
}

.mini-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.24);
}

.mini-item button,
.copy-row button {
  display: grid;
  place-items: center;
  min-width: 40px;
  height: 40px;
  border: 0;
  border-radius: var(--radius);
  background: var(--red);
  color: #fff;
  cursor: pointer;
}

.order-mini {
  align-items: flex-start;
}

.order-mini span {
  display: grid;
  gap: 4px;
}

.order-mini small {
  color: var(--muted);
}

.order-mini em {
  color: var(--green);
  font-style: normal;
  font-weight: 800;
}

.affiliate-card label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.copy-row {
  display: grid;
  grid-template-columns: 1fr 42px;
  gap: 8px;
}

.copy-row input {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 12px;
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
}

.affiliate-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 14px;
}

.affiliate-stats span {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
}

.affiliate-stats strong {
  display: block;
  color: #fff;
}

.rating-card {
  min-width: 290px;
  padding: 20px 26px;
  text-align: center;
}

.rating-card strong {
  display: block;
  font-size: 34px;
}

.rating-card span,
.review-grid span {
  color: var(--gold);
  letter-spacing: 0.08em;
}

.rating-card small,
.review-grid small {
  color: var(--muted);
}

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

.review-grid article {
  min-height: 190px;
  padding: 26px;
}

.review-grid p {
  min-height: 54px;
  color: #dfdfe4;
  font-size: 13px;
  line-height: 1.5;
}

.review-grid strong {
  display: block;
}

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

.faq-list details {
  padding: 20px 22px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px 0 44px;
  border-top: 1px solid var(--line);
}

.footer strong,
.footer span {
  display: block;
}

.footer span {
  margin-top: 6px;
  color: var(--muted);
}

.support-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: var(--radius);
  background: white;
  color: #111;
  font-weight: 900;
}

.recent-buy {
  position: fixed;
  left: calc(var(--rail) + 22px);
  bottom: 22px;
  z-index: 50;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  width: min(402px, calc(100vw - 120px));
  padding: 22px;
  border: 1px solid rgba(229, 9, 20, 0.46);
  border-radius: var(--radius);
  background: rgba(2, 2, 3, 0.92);
  box-shadow: var(--shadow);
}

.recent-close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.initial {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: linear-gradient(145deg, #fff, var(--red));
  color: #111;
  font-size: 22px;
  font-weight: 900;
}

.recent-buy small {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.recent-buy strong {
  display: block;
  margin-top: 8px;
}

.recent-buy p {
  margin: 6px 0;
  color: #d8d8dd;
}

.recent-buy span:last-child {
  color: var(--gold);
}

.support-bubble {
  position: fixed;
  right: 28px;
  bottom: 26px;
  z-index: 45;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 10px 18px;
  border: 2px solid rgba(229, 9, 20, 0.6);
  border-radius: 999px;
  background: white;
  color: #111;
  box-shadow: var(--shadow);
  font-weight: 900;
  cursor: pointer;
}

.support-bubble span {
  line-height: 1.05;
}

dialog {
  width: min(480px, calc(100vw - 34px));
  padding: 0;
  color: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.68);
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 22% 0%, rgba(229, 9, 20, 0.24), transparent 16rem),
    rgba(255, 255, 255, 0.035);
}

.modal-head h3 {
  margin: 0;
  font-size: 18px;
}

.modal-close {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
}

.cart-items {
  display: grid;
  gap: 10px;
  min-height: 170px;
  padding: 18px 20px 10px;
}

.coupon-form {
  display: grid;
  gap: 8px;
  margin: 0 20px 10px;
}

.coupon-form label {
  color: var(--muted);
  font-weight: 800;
}

.coupon-form > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.coupon-form input {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 12px;
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
}

.coupon-form button {
  min-height: 42px;
  border: 0;
  border-radius: var(--radius);
  padding: 0 14px;
  background: #fff;
  color: #111;
  font-weight: 900;
  cursor: pointer;
}

.coupon-form small {
  color: var(--green);
}

.cart-discount {
  display: none;
  align-items: center;
  justify-content: space-between;
  margin: 0 20px 8px;
  padding: 10px 16px;
  border: 1px solid rgba(32, 212, 155, 0.28);
  border-radius: var(--radius);
  background: rgba(32, 212, 155, 0.08);
}

.cart-discount.show {
  display: flex;
}

.cart-discount strong {
  color: var(--green);
}

.cart-modal {
  width: min(520px, calc(100vw - 34px));
  background:
    radial-gradient(circle at 78% 16%, rgba(229, 9, 20, 0.2), transparent 18rem),
    linear-gradient(145deg, rgba(20, 20, 24, 0.96), rgba(5, 5, 7, 0.96));
}

.cart-empty {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  min-height: 168px;
  color: var(--muted);
  text-align: center;
}

.cart-empty i {
  width: 44px;
  height: 44px;
  color: var(--red-2);
}

.cart-empty strong {
  color: #fff;
  font-size: 16px;
}

.cart-empty p {
  max-width: 280px;
  margin: 0;
  line-height: 1.45;
}

.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.cart-item small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
}

.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 8px 20px 14px;
  padding: 14px 16px;
  border-top: 1px solid var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.28);
}

.cart-total strong {
  font-size: 22px;
}

dialog .checkout-btn {
  width: calc(100% - 40px);
  margin: 0 20px 20px;
}

.login-modal {
  width: min(460px, calc(100vw - 34px));
  background:
    radial-gradient(circle at 18% 0%, rgba(229, 9, 20, 0.2), transparent 15rem),
    linear-gradient(145deg, rgba(18, 18, 22, 0.97), rgba(5, 5, 7, 0.98));
}

.login-body {
  display: grid;
  gap: 12px;
  padding: 20px;
}

.social-login {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.social-login:hover {
  border-color: rgba(229, 9, 20, 0.5);
  background: rgba(229, 9, 20, 0.12);
}

.google-login span {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: #fff;
  color: #111;
  font-weight: 900;
}

.discord-login i {
  color: #7b7cff;
}

.login-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-weight: 800;
}

.login-divider::before,
.login-divider::after {
  content: "";
  height: 1px;
  background: var(--line);
}

.login-modal label {
  display: grid;
  gap: 8px;
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.login-modal input {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 14px;
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
}

.payment-modal {
  width: min(900px, calc(100vw - 34px));
}

.payment-body {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1fr);
  gap: 16px;
  padding: 20px;
}

.pix-card,
.receipt-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.24);
}

.pix-card > span {
  width: max-content;
  max-width: 100%;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(32, 212, 155, 0.14);
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.pix-card > strong {
  font-size: 34px;
}

.qr-fake {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  width: 152px;
  height: 152px;
  padding: 14px;
  border: 8px solid #fff;
  background:
    linear-gradient(90deg, #111 12px, transparent 12px 22px, #111 22px 34px, transparent 34px),
    linear-gradient(#111 12px, transparent 12px 22px, #111 22px 34px, transparent 34px),
    #fff;
}

.qr-fake span {
  display: block;
  background: #111;
}

.payment-steps {
  display: grid;
  gap: 8px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.payment-steps li {
  position: relative;
  padding: 9px 10px 9px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
}

.payment-steps li::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--soft);
  transform: translateY(-50%);
}

.payment-steps li.active {
  border-color: rgba(32, 212, 155, 0.35);
  color: #fff;
}

.payment-steps li.active::before {
  background: var(--green);
}

.pix-card label,
.receipt-card label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.pix-key {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.pix-key code {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
}

.pix-key button,
.chat-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 46px;
  border: 0;
  border-radius: var(--radius);
  background: var(--red);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.receipt-card input,
.receipt-card textarea,
.chat-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
}

.receipt-card textarea {
  resize: vertical;
}

.chat-modal {
  width: min(520px, calc(100vw - 34px));
}

.chat-log {
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 260px;
  max-height: 360px;
  overflow: auto;
  padding: 18px 20px;
}

.chat-message {
  width: fit-content;
  max-width: 82%;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  line-height: 1.45;
}

.chat-message.client {
  justify-self: end;
  background: var(--red);
}

.chat-message.support {
  justify-self: start;
}

.chat-form {
  display: grid;
  grid-template-columns: 1fr 46px;
  gap: 8px;
  padding: 14px 20px 20px;
  border-top: 1px solid var(--line);
}

.admin-kicker {
  display: block;
  margin-bottom: 5px;
  color: var(--red-2);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-modal {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  max-height: 100vh;
  border: 0;
  border-radius: 0;
  background: #050607;
}

.admin-modal::backdrop {
  background: #000;
}

.admin-app {
  display: grid;
  grid-template-columns: 78px 302px 1fr;
  min-height: 100vh;
  color: #fff;
  background:
    radial-gradient(circle at 22% 10%, rgba(255, 255, 255, 0.06), transparent 25rem),
    linear-gradient(100deg, #07080a, #030405 62%, #07080a);
}

.admin-iconbar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 24px 12px;
  border-right: 1px solid var(--line);
  background: #050607;
}

.admin-iconbar > strong {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 28% 20%, #fff, var(--red) 48%, #130102);
  box-shadow: 0 0 30px rgba(229, 9, 20, 0.36);
}

.admin-tab-icon,
.admin-close {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px;
  height: 48px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.admin-tab-icon.active,
.admin-tab-icon:hover,
.admin-close:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.admin-tab-icon.active::before {
  content: "";
  position: absolute;
  left: -12px;
  width: 4px;
  height: 36px;
  border-radius: 999px;
  background: var(--red);
}

.admin-close {
  margin-top: auto;
}

.admin-sidebar {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 10px 10px 12px;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}

.admin-store {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 12px;
  align-items: center;
  min-height: 70px;
  padding: 0 0 10px;
}

.admin-store strong {
  display: block;
}

.admin-store span {
  color: #4f94ff;
}

.admin-store small,
.admin-user-card small,
.admin-title p {
  color: var(--muted);
}

.admin-sidebar nav {
  display: grid;
  gap: 4px;
  overflow: auto;
  padding-right: 8px;
}

.admin-sidebar nav p {
  margin: 18px 10px 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.admin-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--muted);
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.admin-nav.active,
.admin-nav:hover {
  background: rgba(255, 255, 255, 0.075);
  color: #fff;
}

.admin-nav.active {
  box-shadow: inset 4px 0 0 var(--red);
}

.admin-user-card {
  display: grid;
  grid-template-columns: 38px 1fr 24px;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding: 10px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
}

.admin-main {
  min-width: 0;
  max-height: 100vh;
  overflow: auto;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 0 30px;
  border-bottom: 1px solid var(--line);
}

.admin-topbar > strong {
  font-size: 20px;
}

.admin-topbar > strong span,
.chat-list-head span {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 10px;
  border-radius: 50%;
  background: var(--green);
}

.admin-topbar > div,
.admin-profile {
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-profile {
  gap: 8px;
}

.admin-profile small {
  color: var(--muted);
}

.admin-profile b,
.admin-user-row em {
  color: #ffbd4a;
  font-style: normal;
}

.admin-view {
  display: none;
  padding: 22px 20px 40px;
}

.admin-view.active {
  display: block;
}

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

.admin-title h2 {
  font-size: 24px;
}

.admin-title button,
.admin-chart-card button,
.admin-tabs button,
.admin-add-user {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  font-weight: 800;
}

.admin-dashboard-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}

.admin-stat,
.admin-chart-card,
.conversion-card,
.admin-box,
.admin-user-row,
.admin-chat-list {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
}

.admin-stat {
  min-height: 142px;
  padding: 20px;
}

.admin-stat i {
  color: #4f94ff;
}

.admin-stat span {
  display: inline-block;
  margin-left: 10px;
  color: var(--muted);
  font-size: 16px;
}

.admin-stat strong {
  display: block;
  margin: 14px 0 10px;
  font-size: 22px;
}

.admin-stat small {
  padding: 6px 10px;
  border-radius: 5px;
  font-weight: 900;
}

.admin-stat .good {
  background: rgba(32, 212, 155, 0.16);
  color: var(--green);
}

.admin-stat .bad {
  background: rgba(255, 87, 45, 0.16);
  color: #ff6238;
}

.admin-layout {
  display: grid;
  grid-template-columns: 1fr 376px;
  gap: 20px;
}

.admin-chart-card {
  min-height: 376px;
  padding: 20px;
}

.admin-chart-card > div:first-child,
.conversion-card > div:first-child {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-chart {
  position: relative;
  display: grid;
  grid-template-rows: repeat(5, 1fr);
  height: 250px;
  margin: 32px 18px 0 36px;
  border-left: 2px solid rgba(255, 255, 255, 0.12);
  border-bottom: 2px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.22);
}

.admin-chart span {
  border-top: 1px solid rgba(255, 255, 255, 0.035);
  transform: translateX(-22px);
}

.admin-chart b {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, #895cff, #ff313d);
}

.admin-rightcol {
  display: grid;
  gap: 20px;
}

.conversion-card,
.admin-box {
  padding: 20px;
}

.conversion-card a {
  color: #3d8bff;
  font-weight: 800;
}

.gauge {
  position: relative;
  display: grid;
  place-items: end center;
  height: 170px;
  margin-top: 12px;
  overflow: hidden;
}

.gauge::before,
.gauge::after {
  content: "";
  position: absolute;
  bottom: -78px;
  width: 280px;
  height: 280px;
  border: 14px solid rgba(255, 255, 255, 0.14);
  border-bottom-color: transparent;
  border-radius: 50%;
}

.gauge::after {
  width: 218px;
  height: 218px;
  bottom: -47px;
}

.gauge span {
  position: relative;
  z-index: 1;
  text-align: center;
  font-weight: 900;
}

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

.conversion-card p {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}

.conversion-card b {
  color: #fff;
}

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

.admin-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.admin-tabs button.active {
  color: #fff;
  box-shadow: inset 0 -4px 0 #ffc45a;
}

.admin-add-user {
  margin-bottom: 20px;
  background: #fff;
  color: #111;
}

.admin-user-row {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(17, 28, 48, 0.5);
}

.admin-user-row b {
  color: #4f94ff;
}

.admin-user-row small,
.admin-user-row a {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.admin-chat-shell {
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: 20px;
  min-height: calc(100vh - 114px);
}

.admin-chat-list {
  padding: 20px;
}

.chat-list-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.chat-list-head strong {
  margin-right: auto;
  font-size: 20px;
}

.chat-list-head button {
  width: 44px;
  height: 38px;
  border: 0;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  color: #fff;
}

.admin-chat-list label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.admin-chat-list input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
}

.admin-chat-list > small {
  display: block;
  margin: 16px 0;
  color: var(--muted);
}

.admin-chat-list article {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border-bottom: 1px solid var(--line);
}

.admin-chat-list article.active {
  border-left: 3px solid #ffc45a;
  background: rgba(255, 196, 90, 0.07);
}

.admin-chat-list article b {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #30343a;
  font-size: 20px;
}

.admin-chat-list p,
.admin-chat-list span {
  margin: 4px 0 0;
  color: var(--muted);
}

.admin-chat-empty {
  display: grid;
  place-items: center;
  align-content: center;
  color: #fff;
}

.admin-chat-empty i {
  width: 80px;
  height: 80px;
}

.admin-chat-empty strong {
  margin-top: 12px;
  font-size: 42px;
  letter-spacing: 0;
}

.admin-table {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}

.admin-table table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.admin-table th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}

body.light-mode {
  color-scheme: light;
  --bg: #f8f8f9;
  --panel: #fff;
  --panel-2: #f0f0f2;
  --line: rgba(0, 0, 0, 0.12);
  --line-strong: rgba(0, 0, 0, 0.2);
  --text: #09090b;
  --muted: #5f5f68;
  --soft: #777780;
  background: linear-gradient(120deg, #fff, #fff4f5 52%, #f1f1f3);
}

body.light-mode .rail,
body.light-mode .topbar,
body.light-mode .drawer {
  background: rgba(255, 255, 255, 0.86);
}

body.light-mode .category-card,
body.light-mode .product-card,
body.light-mode .review-grid article,
body.light-mode .faq-list details,
body.light-mode .search-band,
body.light-mode dialog {
  background: rgba(255, 255, 255, 0.82);
}

@media (max-width: 1280px) {
  .hero {
    grid-template-columns: 1fr;
    padding-right: 34px;
  }

  .hero-showcase {
    min-height: 380px;
  }

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

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

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

  .admin-app {
    grid-template-columns: 72px 260px 1fr;
  }

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

  .admin-layout,
  .admin-chat-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  :root {
    --rail: 0px;
  }

  .rail {
    inset: auto 0 0 0;
    width: 100%;
    height: 72px;
    flex-direction: row;
    justify-content: center;
    padding: 8px;
    border-top: 1px solid var(--line);
    border-right: 0;
  }

  .brand-mini,
  .rail-nav.bottom {
    display: none;
  }

  .rail-nav {
    display: flex;
    justify-content: center;
    margin: 0;
    max-width: 460px;
  }

  .rail-link.active::before {
    inset: auto auto -8px auto;
    width: 36px;
    height: 4px;
  }

  .drawer {
    left: 0;
  }

  .admin-app {
    grid-template-columns: 68px 1fr;
  }

  .admin-sidebar {
    display: none;
  }

  .admin-topbar {
    padding: 0 16px;
  }

  .admin-topbar > strong,
  .admin-profile small {
    display: none;
  }

  .admin-view {
    padding: 18px 14px 36px;
  }

  .admin-dashboard-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .site-shell {
    width: 100%;
    margin-left: 0;
    padding-bottom: 72px;
  }

  .topbar {
    padding: 0 18px;
  }

  .top-actions > a,
  .theme-toggle {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: 42px 20px 28px;
  }

  .hero p {
    font-size: 13px;
  }

  .search-band {
    grid-template-columns: 1fr;
    margin: 0 14px 18px;
  }

  .section,
  .footer {
    margin-inline: 14px;
  }

  .category-grid,
  .product-grid,
  .review-grid,
  .trust-grid,
  .client-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .recent-buy {
    left: 14px;
    bottom: 88px;
    width: calc(100vw - 28px);
  }
}

@media (max-width: 640px) {
  .topbar {
    min-height: 62px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-stats div {
    padding: 0 10px;
  }

  .hero-stats dt {
    font-size: 22px;
  }

  .hero-showcase {
    min-height: 320px;
  }

  .showcase-card {
    width: 100%;
    min-height: 280px;
  }

  .showcase-card strong {
    right: 24px;
    font-size: 21px;
  }

  .showcase-price {
    right: 18px;
    bottom: 94px;
    font-size: 15px;
  }

  .section-head,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .category-grid,
  .product-grid,
  .review-grid,
  .trust-grid,
  .client-grid {
    grid-template-columns: 1fr;
  }

  .coupon-form > div,
  .copy-row,
  .affiliate-stats {
    grid-template-columns: 1fr;
  }

  .support-bubble {
    right: 14px;
    bottom: 88px;
    min-height: 58px;
    padding: 8px 12px;
  }

  .recent-buy {
    display: none;
  }

  .admin-grid,
  .payment-body,
  .admin-panel {
    grid-template-columns: 1fr;
  }

  .pix-key {
    grid-template-columns: 1fr;
  }
}
