*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,sans-serif;background:#070708;color:#fff;background-image:linear-gradient(rgba(255,255,255,.018) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.018) 1px,transparent 1px);background-size:42px 42px}.wrap{width:min(1180px,calc(100% - 32px));margin:auto}.topbar{position:sticky;top:0;z-index:20;background:rgba(7,7,8,.9);backdrop-filter:blur(16px);border-bottom:1px solid #24242a}.nav{min-height:72px;display:grid;grid-template-columns:auto minmax(250px,520px) auto;gap:24px;align-items:center}.brand{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none}.logo{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(135deg,#ff2d36,#8e0006);font-weight:900}.search input{width:100%;height:44px;border:1px solid #24242a;border-radius:999px;background:#0d0d10;color:#fff;padding:0 18px;outline:0}.actions{display:flex;gap:10px}.primary,.ghost,.filter,.link-btn,.buy{border:0;cursor:pointer;font:inherit}.primary{min-height:44px;padding:0 20px;border-radius:12px;background:linear-gradient(135deg,#e1121b,#a80007);color:#fff;font-weight:800}.ghost{min-height:44px;padding:0 17px;border-radius:12px;background:#111115;color:#fff;border:1px solid #27272e}.hero{padding:52px 0 24px}.hero-box{min-height:420px;border:1px solid #24242a;border-radius:28px;padding:54px;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;overflow:hidden;background:radial-gradient(circle at 82% 40%,rgba(225,18,27,.18),transparent 30%),linear-gradient(135deg,#111115,#09090b)}.eyebrow{font-size:12px;letter-spacing:.16em;color:#ff3b43;font-weight:900}.hero h1{font-size:clamp(40px,5vw,68px);line-height:.98;letter-spacing:-.055em;margin:16px 0}.hero p{color:#a2a2ad;line-height:1.7;max-width:580px}.hero-btn{display:inline-flex;align-items:center;text-decoration:none;margin-top:20px}.hero-art{position:relative;height:300px}.card{position:absolute;width:170px;height:105px;border-radius:20px;display:grid;place-items:center;background:#16161c;border:1px solid #2b2b33;font-weight:900;box-shadow:0 25px 50px rgba(0,0,0,.45)}.c1{top:20px;right:130px;transform:rotate(-7deg)}.c2{top:105px;right:20px;transform:rotate(8deg);background:linear-gradient(135deg,#db111a,#720005)}.c3{top:190px;right:160px;transform:rotate(5deg)}.filters{display:flex;gap:10px;padding:18px 0;overflow:auto}.filter{min-height:40px;padding:0 17px;border-radius:999px;color:#aaaab4;background:#111115;border:1px solid #24242a}.filter.active{color:#fff;border-color:#6e1116;background:rgba(225,18,27,.13)}.catalog{padding:40px 0 64px}.heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:20px}.heading h2{margin:6px 0 0;font-size:30px}.link-btn{background:none;color:#ff343c;font-weight:800}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.product{border:1px solid #24242a;border-radius:20px;overflow:hidden;background:#111115;transition:.2s}.product:hover{transform:translateY(-4px);border-color:#5c1519}.cover{height:180px;padding:16px;display:flex;align-items:flex-end;position:relative;background:var(--bg)}.cover b{font-size:26px;text-transform:uppercase;line-height:.95;position:relative;z-index:2}.badge{position:absolute;top:13px;left:13px;padding:7px 9px;border-radius:999px;background:rgba(0,0,0,.6);font-size:10px;font-weight:900}.body{padding:16px}.body h3{margin:0 0 12px}.price{color:#ff3038;font-size:20px;font-weight:900}.caption{display:block;color:#90909a;font-size:11px;margin-top:4px}.buy{width:100%;height:42px;margin-top:14px;border-radius:10px;background:#e1121b;color:#fff;font-weight:800}.buy:disabled{background:#27272d;color:#777}.benefits{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;padding-bottom:70px}.benefits article{display:flex;gap:14px;padding:22px;border-radius:18px;background:#111115;border:1px solid #24242a}.benefits h3,.benefits p{margin:0}.benefits p{color:#9c9ca6;margin-top:6px;font-size:13px}.drawer{position:fixed;top:0;right:0;z-index:50;width:min(420px,100%);height:100vh;background:#0d0d10;border-left:1px solid #24242a;padding:24px;transform:translateX(105%);transition:.25s;display:flex;flex-direction:column}.drawer.open{transform:none}.drawer-head{display:flex;justify-content:space-between;align-items:center}.drawer-head button{width:38px;height:38px;border-radius:50%;border:1px solid #2a2a31;background:#151519;color:#fff;font-size:24px}.cart-items{flex:1;overflow:auto}.cart-item{padding:15px 0;border-bottom:1px solid #24242a;display:flex;justify-content:space-between}.total{display:flex;justify-content:space-between;padding:18px 0}.full{width:100%}.overlay{position:fixed;inset:0;background:rgba(0,0,0,.65);z-index:40;opacity:0;visibility:hidden}.overlay.show{opacity:1;visibility:visible}footer{border-top:1px solid #24242a}.footer{min-height:100px;display:flex;justify-content:space-between;align-items:center;color:#999}.remove{border:0;background:none;color:#ff555b;cursor:pointer}@media(max-width:950px){.nav{grid-template-columns:auto 1fr}.search{grid-column:1/-1;grid-row:2;margin-bottom:12px}.hero-box{grid-template-columns:1fr}.hero-art{display:none}.grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:640px){.actions .primary{display:none}.hero{padding-top:28px}.hero-box{padding:30px 22px;min-height:auto}.hero h1{font-size:42px}.grid{grid-template-columns:1fr}.cover{height:210px}.benefits{grid-template-columns:1fr}}
/* Atualização Discord + otimização */

.logo {
  overflow: hidden;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.search {
  position: relative;
}

.search > span {
  position: absolute;
  left: 17px;
  top: 50%;
  z-index: 2;
  color: #777780;
  transform: translateY(-50%);
  font-size: 21px;
}

.search input {
  padding-left: 45px;
}

.hero-box {
  position: relative;
  background:
    linear-gradient(
      90deg,
      rgba(9,9,11,.97) 0%,
      rgba(9,9,11,.88) 53%,
      rgba(9,9,11,.64) 100%
    ),
    var(--hero-image),
    radial-gradient(
      circle at 82% 40%,
      rgba(225,18,27,.2),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #111115,
      #09090b
    );
  background-position: center;
  background-size: cover;
}

.hero-content {
  position: relative;
  z-index: 3;
}

.catalog-count {
  color: #888892;
  font-size: 13px;
  font-weight: 700;
}

.grid {
  align-items: stretch;
}

.product {
  min-width: 0;
  display: flex;
  flex-direction: column;
  box-shadow: 0 16px 45px rgba(0,0,0,.18);
}

.product .body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product .buy {
  margin-top: auto;
}

.cover {
  overflow: hidden;
  isolation: isolate;
}

.cover::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    transparent 35%,
    rgba(0,0,0,.78)
  );
}

.cover b {
  max-width: calc(100% - 18px);
  overflow-wrap: anywhere;
  text-shadow: 0 2px 14px rgba(0,0,0,.85);
}

.product-emoji {
  position: absolute;
  top: 13px;
  right: 13px;
  width: 34px;
  height: 34px;
  object-fit: contain;
  filter: drop-shadow(0 5px 10px rgba(0,0,0,.5));
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(10px);
}

.badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 10px currentColor;
}

.badge.available {
  color: #f1fff4;
  border: 1px solid rgba(40,220,100,.25);
}

.badge.unavailable {
  color: #ffd3d5;
  border: 1px solid rgba(255,50,60,.28);
}

.product-description {
  min-height: 38px;
  margin: 0 0 15px;
  color: #92929d;
  font-size: 12px;
  line-height: 1.55;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-meta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.stock-text {
  max-width: 120px;
  color: #8f8f99;
  font-size: 10px;
  line-height: 1.35;
  text-align: right;
}

.buy {
  margin-top: auto;
  transition:
    transform .16s ease,
    filter .16s ease;
}

.buy:not(:disabled):hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

.cart-item {
  align-items: center;
  gap: 12px;
}

.cart-item img {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 10px;
  object-fit: cover;
  background: #151519;
}

.cart-item-info {
  min-width: 0;
  flex: 1;
}

.cart-item-info b {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-item-info small {
  display: block;
  margin-top: 5px;
  color: #ff3b43;
  font-weight: 800;
}

.empty-cart {
  min-height: 250px;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 9px;
  color: #85858f;
  text-align: center;
}

.empty-cart > span {
  font-size: 34px;
}

.empty-cart b {
  color: #fff;
}

.empty-cart small {
  color: #85858f;
}

.empty-state {
  grid-column: 1 / -1;
  min-height: 240px;
  display: grid;
  place-content: center;
  gap: 8px;
  color: #85858f;
  text-align: center;
  border: 1px dashed #292930;
  border-radius: 20px;
}

.empty-state strong {
  color: #fff;
  font-size: 18px;
}

.skeleton {
  pointer-events: none;
}

.skeleton-cover,
.skeleton-line {
  background:
    linear-gradient(
      90deg,
      #17171c 25%,
      #222229 50%,
      #17171c 75%
    );
  background-size: 200% 100%;
  animation: skeleton-loading 1.2s infinite;
}

.skeleton-cover {
  height: 180px;
}

.skeleton-line {
  height: 12px;
  margin-bottom: 12px;
  border-radius: 999px;
}

.skeleton-line.large {
  width: 75%;
  height: 17px;
}

.skeleton-line.medium {
  width: 48%;
}

.skeleton-line.button {
  width: 100%;
  height: 42px;
  margin: 24px 0 0;
  border-radius: 10px;
}

@keyframes skeleton-loading {
  to {
    background-position: -200% 0;
  }
}

#checkoutButton:disabled {
  cursor: not-allowed;
  filter: grayscale(1);
  opacity: .45;
}

body.drawer-open {
  overflow: hidden;
}

@media (max-width: 720px) {
  .wrap {
    width: min(
      100% - 22px,
      1180px
    );
  }

  .topbar {
    position: sticky;
  }

  .nav {
    min-height: 64px;
    grid-template-columns: 1fr auto;
    gap: 12px;
  }

  .brand b {
    max-width: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .actions {
    margin-left: auto;
  }

  .actions .account-button {
    display: none;
  }

  .ghost {
    min-height: 40px;
    padding: 0 13px;
  }

  .search {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-bottom: 11px;
  }

  .hero {
    padding-top: 22px;
  }

  .hero-box {
    min-height: 360px;
    padding: 34px 24px;
    border-radius: 22px;
  }

  .hero h1 {
    font-size: clamp(
      38px,
      12vw,
      52px
    );
  }

  .catalog {
    padding-top: 28px;
  }

  .heading {
    align-items: center;
  }

  .heading h2 {
    font-size: 25px;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cover {
    height: 220px;
  }

  .benefits {
    grid-template-columns: 1fr;
  }
}

.product-emoji.emoji-top-right {
  top: 13px;
  right: 13px;
  bottom: auto;
  left: auto;
}

.product-emoji.emoji-top-left {
  top: 13px;
  left: 13px;
  right: auto;
  bottom: auto;
}

.product-emoji.emoji-bottom-right {
  right: 13px;
  bottom: 13px;
  top: auto;
  left: auto;
}

.product-emoji.emoji-bottom-left {
  left: 13px;
  bottom: 13px;
  top: auto;
  right: auto;
}

.account-area {
  position: relative;
}

.account-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 40px;
  max-width: 230px;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
}

.discord-login-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  background: #5865f2;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.account-avatar {
  width: 27px;
  height: 27px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.account-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 200;
  width: 270px;
  padding: 14px;
  border: 1px solid #29292f;
  border-radius: 15px;
  background: #111114;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.65);
}

.account-menu[hidden] {
  display: none;
}

.account-menu-user {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 13px;
  border-bottom: 1px solid #29292f;
}

.account-menu-user div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.account-menu-user strong,
.account-menu-user small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-menu-user small {
  color: #9898a2;
}

.account-menu-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: #242429;
}

.account-logout {
  display: block;
  margin-top: 12px;
  padding: 11px 13px;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  text-align: center;
  background: #242429;
  transition: 0.2s ease;
}

.account-logout:hover {
  background: #d50918;
}

@media (max-width: 700px) {
  .account-button {
    max-width: 160px;
  }

  #accountName {
    max-width: 105px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .account-menu {
    position: fixed;
    top: 72px;
    right: 16px;
    width: min(270px, calc(100vw - 32px));
  }
}

/* =========================================
   RED STORE — ANIMAÇÕES E POP-UPS
========================================= */

html {
  scroll-behavior: smooth;
}

body {
  opacity: 1;
  transition:
    opacity 0.28s ease,
    transform 0.28s ease;
}

body.page-leaving {
  opacity: 0;
  transform: scale(0.992);
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(
      circle at 50% 40%,
      rgba(224, 14, 28, 0.14),
      transparent 32%
    ),
    #070708;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-content {
  width: min(320px, calc(100% - 40px));
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.loader-content strong {
  margin-top: 18px;
  font-size: 17px;
  letter-spacing: 0.08em;
}

.loader-content small {
  margin-top: 7px;
  color: #8f8f99;
}

.loader-logo-ring {
  position: relative;
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  background:
    linear-gradient(145deg, #e20d1d, #70030a);
  box-shadow:
    0 0 45px rgba(226, 13, 29, 0.3);
  animation:
    loaderFloat 1.8s ease-in-out infinite;
}

.loader-logo-ring::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 2px solid transparent;
  border-top-color: #ef1b2b;
  border-right-color: rgba(239, 27, 43, 0.25);
  border-radius: 28px;
  animation: loaderSpin 1s linear infinite;
}

.loader-logo-ring span {
  color: #fff;
  font-size: 34px;
  font-weight: 900;
}

.loader-progress {
  width: 100%;
  height: 5px;
  margin-top: 24px;
  overflow: hidden;
  border-radius: 999px;
  background: #1d1d22;
}

.loader-progress span {
  display: block;
  width: 42%;
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(
      90deg,
      transparent,
      #ef1424,
      #ff5965,
      transparent
    );
  animation: loaderProgress 1.15s ease-in-out infinite;
}

.toast-container {
  position: fixed;
  top: 88px;
  right: 22px;
  z-index: 99998;
  width: min(370px, calc(100vw - 32px));
  display: grid;
  gap: 12px;
  pointer-events: none;
}

.site-toast {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid #29292f;
  border-radius: 15px;
  background:
    linear-gradient(
      145deg,
      rgba(24, 24, 28, 0.98),
      rgba(12, 12, 14, 0.98)
    );
  box-shadow:
    0 18px 55px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(18px);
  pointer-events: auto;
  animation: toastEnter 0.38s cubic-bezier(.2,.8,.2,1);
}

.site-toast.is-leaving {
  animation: toastLeave 0.28s ease forwards;
}

.toast-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 900;
  background: #25252b;
}

.site-toast.success .toast-icon {
  color: #66e89a;
  background: rgba(26, 187, 91, 0.14);
}

.site-toast.error .toast-icon {
  color: #ff6673;
  background: rgba(226, 13, 29, 0.15);
}

.site-toast.info .toast-icon {
  color: #8090ff;
  background: rgba(88, 101, 242, 0.15);
}

.toast-text {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.toast-text strong {
  font-size: 14px;
}

.toast-text span {
  color: #a0a0aa;
  font-size: 13px;
  line-height: 1.35;
}

.toast-close {
  border: 0;
  background: transparent;
  color: #888892;
  font-size: 18px;
  cursor: pointer;
}

.site-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99997;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(9px);
  animation: modalOverlayEnter 0.25s ease;
}

.site-modal-overlay[hidden] {
  display: none;
}

.site-modal {
  position: relative;
  width: min(430px, 100%);
  padding: 30px;
  border: 1px solid #2d2d33;
  border-radius: 20px;
  text-align: center;
  background:
    linear-gradient(
      145deg,
      #17171b,
      #0d0d0f
    );
  box-shadow:
    0 28px 90px rgba(0, 0, 0, 0.7);
  animation:
    modalEnter 0.38s cubic-bezier(.2,.8,.2,1);
}

.site-modal-close {
  position: absolute;
  top: 13px;
  right: 13px;
  width: 34px;
  height: 34px;
  border: 1px solid #303036;
  border-radius: 10px;
  background: #1b1b1f;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.site-modal-icon {
  width: 62px;
  height: 62px;
  margin: 0 auto 17px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  font-size: 25px;
  font-weight: 900;
  background:
    linear-gradient(
      145deg,
      #ef1424,
      #85040d
    );
  box-shadow:
    0 12px 35px rgba(226, 13, 29, 0.22);
}

.site-modal h3 {
  margin: 0;
  font-size: 22px;
}

.site-modal p {
  margin: 11px 0 0;
  color: #aaaab3;
  line-height: 1.55;
}

.site-modal-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 24px;
}

.account-menu:not([hidden]) {
  animation:
    accountMenuEnter 0.28s cubic-bezier(.2,.8,.2,1);
  transform-origin: top right;
}

#drawer {
  transition:
    transform 0.38s cubic-bezier(.2,.8,.2,1),
    opacity 0.3s ease;
}

.overlay {
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.product {
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.product:hover {
  transform: translateY(-7px);
  box-shadow:
    0 20px 55px rgba(0, 0, 0, 0.38);
}

button,
.primary,
.ghost {
  transition:
    transform 0.18s ease,
    filter 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}

button:active,
.primary:active,
.ghost:active {
  transform: scale(0.97);
}

.button-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}

.button-loading::after {
  content: "";
  position: absolute;
  width: 19px;
  height: 19px;
  inset: 50% auto auto 50%;
  margin: -10px 0 0 -10px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: loaderSpin 0.7s linear infinite;
}

@keyframes loaderSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes loaderFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes loaderProgress {
  0% {
    transform: translateX(-120%);
  }

  100% {
    transform: translateX(340%);
  }
}

@keyframes toastEnter {
  from {
    opacity: 0;
    transform: translateX(45px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes toastLeave {
  to {
    opacity: 0;
    transform: translateX(45px) scale(0.96);
  }
}

@keyframes modalOverlayEnter {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes modalEnter {
  from {
    opacity: 0;
    transform: translateY(22px) scale(0.94);
  }

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

@keyframes accountMenuEnter {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.95);
  }

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

@media (max-width: 700px) {
  .toast-container {
    top: 78px;
    right: 16px;
    left: 16px;
    width: auto;
  }

  .site-toast {
    grid-template-columns: 38px 1fr auto;
  }

  .site-modal {
    padding: 26px 20px 22px;
  }
}

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


/* =========================================
   RED STORE FEEDBACK CAROUSEL
========================================= */

.feedback-strip {
  padding: 22px 0 10px;
  overflow: hidden;
}

.feedback-strip[hidden] {
  display: none;
}

.feedback-wrap {
  display: grid;
  gap: 15px;
}

.feedback-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
}

.feedback-heading h2 {
  margin: 5px 0 0;
  font-size: 21px;
}

.feedback-buttons {
  display: flex;
  gap: 8px;
}

.feedback-buttons button {
  width: 39px;
  height: 39px;
  border: 1px solid #2b2b31;
  border-radius: 11px;
  background: #141418;
  color: #fff;
  font-size: 25px;
  cursor: pointer;
}

.feedback-buttons button:hover {
  border-color: #e10c1c;
  background: #211114;
}

.feedback-viewport {
  overflow: hidden;
  border-radius: 18px;
}

.feedback-track {
  display: flex;
  gap: 14px;
  transition:
    transform 0.55s
    cubic-bezier(.2, .8, .2, 1);
  will-change: transform;
}

.feedback-card {
  flex: 0 0 calc((100% - 28px) / 3);
  min-width: 0;
  min-height: 180px;
  padding: 17px;
  border: 1px solid #29292f;
  border-radius: 17px;
  background:
    linear-gradient(
      145deg,
      rgba(25, 25, 29, 0.97),
      rgba(12, 12, 14, 0.97)
    );
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.25);
  animation:
    feedbackEnter 0.55s
    cubic-bezier(.2, .8, .2, 1);
}

.feedback-profile {
  display: flex;
  align-items: center;
  gap: 11px;
}

.feedback-avatar {
  width: 43px;
  height: 43px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  background: #242429;
}

.feedback-profile-text {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.feedback-profile-text strong,
.feedback-profile-text small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feedback-profile-text small {
  color: #91919b;
  font-size: 12px;
}

.feedback-message {
  min-height: 55px;
  margin-top: 14px;
  color: #dedee3;
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.feedback-image {
  display: block;
  width: 100%;
  max-height: 180px;
  margin-top: 13px;
  border-radius: 12px;
  object-fit: cover;
  background: #09090b;
}

.feedback-reactions {
  min-height: 27px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 13px;
}

.feedback-reaction {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border: 1px solid #303037;
  border-radius: 999px;
  background: #18181c;
  font-size: 12px;
}

.feedback-reaction img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.feedback-discord-emoji {
  width: 22px;
  height: 22px;
  display: inline-block;
  vertical-align: -6px;
  object-fit: contain;
}

@keyframes feedbackEnter {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 950px) {
  .feedback-card {
    flex-basis:
      calc((100% - 14px) / 2);
  }
}

@media (max-width: 620px) {
  .feedback-strip {
    padding-top: 15px;
  }

  .feedback-heading h2 {
    font-size: 17px;
  }

  .feedback-card {
    flex-basis: 88%;
  }
}


/* RED STORE FEEDBACK 3D START */

.feedback-strip {
  position: relative;
  overflow: hidden;
  padding-bottom: 22px;
}

.feedback-viewport {
  position: relative;
  min-height: 225px;
  overflow: hidden;
  perspective: 1450px;
  perspective-origin: center center;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.feedback-viewport:active {
  cursor: grabbing;
}

.feedback-track {
  position: relative;
  width: 100%;
  min-height: 225px;
  display: block;
  overflow: visible;
  transform: none !important;
  transform-style: preserve-3d;
  transition: none;
}

.feedback-card {
  position: absolute;
  top: 8px;
  left: 50%;
  width: min(
    360px,
    calc(100vw - 54px)
  );
  min-height: 175px;
  margin: 0;
  transform-origin: center center;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change:
    transform,
    opacity,
    filter;
  transition:
    transform 0.78s
      cubic-bezier(.18, .84, .24, 1),
    opacity 0.55s ease,
    filter 0.55s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease;
}

.feedback-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  opacity: 0;
  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(238, 17, 34, 0.23),
      transparent 62%
    );
  transition: opacity 0.4s ease;
}

.feedback-card-active {
  border-color:
    rgba(237, 18, 35, 0.48);
  box-shadow:
    0 27px 75px rgba(0, 0, 0, 0.55),
    0 0 42px rgba(218, 9, 25, 0.15),
    inset 0 1px 0
      rgba(255, 255, 255, 0.06);
}

.feedback-card-active::before {
  opacity: 1;
}

.feedback-card-active:hover {
  box-shadow:
    0 32px 85px rgba(0, 0, 0, 0.62),
    0 0 52px rgba(218, 9, 25, 0.21),
    inset 0 1px 0
      rgba(255, 255, 255, 0.08);
}

.feedback-buttons {
  position: relative;
  z-index: 120;
}

.feedback-buttons button {
  position: relative;
  overflow: hidden;
}

.feedback-buttons button::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  border-radius: inherit;
  background:
    radial-gradient(
      circle,
      rgba(234, 14, 31, 0.3),
      transparent 68%
    );
  transition: opacity 0.25s ease;
}

.feedback-buttons button:hover::after {
  opacity: 1;
}

.feedback-profile,
.feedback-message,
.feedback-reactions,
.feedback-image {
  transform: translateZ(18px);
}

@media (min-width: 951px) {
  .feedback-viewport,
  .feedback-track {
    min-height: 220px;
  }

  .feedback-card {
    width: 355px;
  }
}

@media (
  min-width: 621px
) and (
  max-width: 950px
) {
  .feedback-viewport,
  .feedback-track {
    min-height: 230px;
  }

  .feedback-card {
    width: 330px;
  }
}

@media (max-width: 620px) {
  .feedback-viewport,
  .feedback-track {
    min-height: 245px;
  }

  .feedback-card {
    top: 10px;
    width: min(
      86vw,
      330px
    );
  }

  .feedback-heading {
    align-items: center;
  }

  .feedback-buttons button {
    width: 36px;
    height: 36px;
  }
}

@media (
  prefers-reduced-motion: reduce
) {
  .feedback-card {
    transition-duration: 0.01ms;
  }
}

/* RED STORE FEEDBACK 3D END */
