@import url("https://fonts.cdnfonts.com/css/bender");

:root {
  --rs-font-main: "Bender", "Bahnschrift", "Arial Narrow", sans-serif;
  --rs-red: #c7282f;
  --rs-red-deep: #7f1116;
  --rs-gold: #f0be62;
  --rs-gold-soft: #ffdc9a;
  --rs-ink: #15121a;
  --rs-card-top: #2a1a1f;
  --rs-card-bottom: #151722;
  --rs-line: rgba(240, 190, 98, 0.45);
  --rs-text: #f7ecd6;
  --rs-muted: #ccb999;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Global typography: Tarkov-like style for all text and numbers */
html,
body,
.app-wrapper,
.modal,
.navbar {
  font-family: var(--rs-font-main) !important;
  font-weight: 900;
  font-variant-numeric: lining-nums tabular-nums;
}

.app-wrapper button,
.app-wrapper input,
.app-wrapper select,
.app-wrapper textarea {
  font-family: var(--rs-font-main) !important;
  font-weight: 900;
  font-variant-numeric: lining-nums tabular-nums;
}

/* Global page background: full-screen and static */
.app-wrapper[style*="background-size: cover"] {
  background-size: 100% 100% !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
  background-color: #120d14 !important;
}

/* Keep page background untouched. Only style UI blocks. */
.product-card {
  position: relative;
  border: 1px solid rgba(240, 190, 98, 0.22);
  border-radius: 14px;
  background: linear-gradient(165deg, var(--rs-card-top), var(--rs-card-bottom));
  color: var(--rs-text);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--rs-gold);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.46), 0 0 18px rgba(240, 190, 98, 0.22);
}

.product-card-image-container {
  position: relative;
  background-color: #1a141c;
  background-image:
    radial-gradient(200px 110px at 12% -10%, rgba(240, 190, 98, 0.22), transparent 62%),
    radial-gradient(170px 90px at 90% 0%, rgba(199, 40, 47, 0.16), transparent 65%),
    url("/build/assets/bg-DmLsbDkk.svg");
  background-blend-mode: screen, normal, normal;
  padding: 8px;
}

.product-card-image-container img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}

.product-card-footer {
  border-top: 1px solid rgba(240, 190, 98, 0.18);
  color: var(--rs-text);
}

.product-card-name,
.product-card-price,
.product-card-old-price,
.product-card-discount-price,
.product-card-badge-percentage,
.rs-tier-inline {
  font-family: var(--rs-font-main) !important;
  font-weight: 900;
  font-variant-numeric: lining-nums tabular-nums;
}

.product-card-name {
  color: var(--rs-text);
  margin: 0;
  line-height: 1.12;
}

.product-card-price {
  color: var(--rs-gold-soft);
}

.product-card-old-price {
  color: #b39b7a;
}

.product-card-discount-price {
  color: #ffd982;
}

.product-card-badge-percentage {
  background: linear-gradient(180deg, var(--rs-red), var(--rs-red-deep));
  color: #fff6eb;
  border-bottom-left-radius: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.product-card-labels {
  gap: 6px;
}

.product-card-label {
  background: linear-gradient(180deg, rgba(240, 190, 98, 0.98), rgba(210, 139, 49, 0.98));
  color: #2b1707;
  font-weight: 700;
  border-radius: 0 0 10px 10px;
  border: 1px solid rgba(110, 70, 30, 0.3);
}

.rs-tier-inline {
  display: block;
  position: relative;
  margin-top: 5px;
  padding: 2px 0;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  line-height: 1;
  width: max-content;
  color: #d6dbe6;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.58), 0 0 6px rgba(214, 219, 230, 0.12);
  animation: none;
  transform: translateZ(0);
  transition: color 0.22s ease, text-shadow 0.22s ease;
  pointer-events: none;
}

.product-card-image-container > .rs-tier-inline {
  position: absolute;
  bottom: 8px;
  left: 8px;
  margin: 0;
  z-index: 4;
}

.rs-tier-inline::before,
.rs-tier-inline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, currentColor 28%, currentColor 72%, transparent);
  background-size: 180% 100%;
  opacity: 0.32;
  transform: scaleX(0.84);
  transform-origin: center;
  transition: opacity 0.22s ease, transform 0.22s ease;
  animation: rsTierLineFlow 3.8s linear infinite;
}

.rs-tier-inline::before {
  top: 0;
}

.rs-tier-inline::after {
  bottom: 0;
}

.rs-tier-inline--common {
  color: #bfc7d4;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.58), 0 0 6px rgba(191, 199, 212, 0.18);
}

.rs-tier-inline--case {
  color: rgb(124, 252, 0);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.58), 0 0 7px rgba(124, 252, 0, 0.28);
}

.rs-tier-inline--limited {
  color: rgb(220, 20, 60);
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.58), 0 0 7px rgba(220, 20, 60, 0.24);
}

.rs-tier-inline--rare {
  color: #5cb8ff;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.58), 0 0 7px rgba(92, 184, 255, 0.28);
}

.rs-tier-inline--epic {
  color: #b78cff;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.58), 0 0 7px rgba(183, 140, 255, 0.28);
}

.rs-tier-inline--legendary {
  color: #e4b764;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.58), 0 0 7px rgba(228, 183, 100, 0.28);
}

.product-card:hover .rs-tier-inline {
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.58), 0 0 8px currentColor;
}

.product-card:hover .rs-tier-inline::before,
.product-card:hover .rs-tier-inline::after {
  opacity: 0.56;
  transform: scaleX(1);
}

.product-card[data-rs-tier="limited"] {
  border: 2px solid rgba(220, 20, 60, 0.76);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.34), 0 0 14px rgba(220, 20, 60, 0.3);
}

.product-card[data-rs-tier="case"] {
  border: 2px solid rgba(124, 252, 0, 0.74);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.34), 0 0 14px rgba(124, 252, 0, 0.26);
}

.product-card[data-rs-tier="rare"] {
  border: 2px solid rgba(74, 155, 255, 0.74);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.34), 0 0 14px rgba(74, 155, 255, 0.26);
}

.product-card[data-rs-tier="epic"] {
  border: 2px solid rgba(167, 105, 255, 0.76);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.34), 0 0 14px rgba(167, 105, 255, 0.28);
}

.product-card[data-rs-tier="legendary"] {
  border: 2px solid rgba(240, 190, 98, 0.8);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.34), 0 0 15px rgba(240, 190, 98, 0.3);
}

.product-card[data-rs-tier="limited"]:hover {
  border-color: rgba(255, 88, 129, 0.88);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4), 0 0 18px rgba(220, 20, 60, 0.36);
}

.product-card[data-rs-tier="case"]:hover {
  border-color: rgba(169, 255, 84, 0.88);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4), 0 0 18px rgba(124, 252, 0, 0.34);
}

.product-card[data-rs-tier="rare"]:hover {
  border-color: rgba(74, 155, 255, 0.86);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4), 0 0 17px rgba(74, 155, 255, 0.34);
}

.product-card[data-rs-tier="epic"]:hover {
  border-color: rgba(167, 105, 255, 0.88);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4), 0 0 18px rgba(167, 105, 255, 0.36);
}

.product-card[data-rs-tier="legendary"]:hover {
  border-color: rgba(240, 190, 98, 0.9);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4), 0 0 18px rgba(240, 190, 98, 0.38);
}

.search-input,
.select-display,
.select-options,
.amount-control-counter,
.amount-control-total,
.product-modal-inputs-zone-block {
  border: 1px solid var(--rs-line);
}

.search-input,
.select-display,
.amount-control-counter,
.amount-control-total,
.product-modal-inputs-zone-block {
  background: linear-gradient(180deg, #fff9ef, #f2e5cc);
}

.search-input:focus {
  border-color: var(--rs-red);
  box-shadow: 0 0 0 2px rgba(199, 40, 47, 0.16);
}

/* Dark-orange style for search field */
.search-input {
  border: 1px solid rgba(214, 148, 73, 0.58);
  background: linear-gradient(180deg, rgba(70, 36, 17, 0.96), rgba(46, 25, 13, 0.97));
  color: #ffe8c6;
  box-shadow: inset 0 1px 0 rgba(255, 204, 141, 0.2), 0 6px 14px rgba(28, 14, 8, 0.36);
}

.search-input::placeholder {
  color: rgba(255, 219, 170, 0.74);
}

.search-input:focus {
  border-color: rgba(255, 198, 118, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 221, 176, 0.26), 0 0 0 2px rgba(209, 122, 47, 0.24), 0 10px 20px rgba(41, 20, 10, 0.44);
}

/* Banner block after monitoring: force dark-orange palette over inline styles */
.banners-after-monitoring .banner-elem {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(214, 148, 73, 0.52) !important;
  background: linear-gradient(180deg, rgba(72, 37, 18, 0.96), rgba(46, 24, 12, 0.97)) !important;
  color: #ffe8c7 !important;
  box-shadow: inset 0 1px 0 rgba(255, 209, 151, 0.16), 0 10px 22px rgba(31, 16, 8, 0.4);
}

.banners-after-monitoring .banner-elem::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(255, 255, 255, 0), rgba(255, 188, 112, 0.15), rgba(255, 255, 255, 0));
  background-size: 220% 220%;
  pointer-events: none;
  animation: rsAfterBannerShift 7.2s linear infinite;
}

.banners-after-monitoring .banner-item-link {
  color: #ffe8c7 !important;
}

.banners-after-monitoring .bunner-title {
  color: #fff0d6 !important;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

.banners-after-monitoring .banner-content,
.banners-after-monitoring .banner-content p {
  color: rgba(255, 226, 188, 0.9) !important;
}

.banners-after-monitoring .banner-elem:hover {
  border-color: rgba(255, 207, 141, 0.92) !important;
  background: linear-gradient(120deg, #6a2f14, #91411b, #bc5d24, #91411b, #6a2f14) !important;
  background-size: 230% 230% !important;
  color: #fff3e0 !important;
  box-shadow: inset 0 1px 0 rgba(255, 223, 184, 0.24), 0 12px 26px rgba(43, 21, 10, 0.48), 0 0 14px rgba(188, 93, 36, 0.3);
  animation: rsAfterBannerHover 2.8s linear infinite;
}

.select-option.active {
  background: linear-gradient(180deg, var(--rs-red), var(--rs-red-deep));
  color: #fff;
}

.app-button,
.modal-primary-button {
  border: 1px solid rgba(127, 17, 22, 0.35);
  background: linear-gradient(180deg, var(--rs-red), var(--rs-red-deep));
  color: #fff4e4;
}

.app-button:hover,
.app-button--active,
.modal-primary-button:hover {
  border-color: rgba(240, 190, 98, 0.85);
  background: linear-gradient(180deg, #f3c46f, #dea23c);
  color: #2d1a07;
}

/* Header / navbar */
.navbar {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(240, 190, 98, 0.35);
  background:
    radial-gradient(700px 180px at 50% -120px, rgba(240, 190, 98, 0.24), transparent 72%),
    linear-gradient(180deg, rgba(54, 20, 30, 0.97), rgba(30, 14, 22, 0.98));
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.34), 0 0 18px rgba(199, 40, 47, 0.16);
}

.navbar::before {
  content: "";
  position: absolute;
  left: -20%;
  top: -45%;
  width: 140%;
  height: 100%;
  background: linear-gradient(90deg, rgba(240, 190, 98, 0), rgba(240, 190, 98, 0.12), rgba(240, 190, 98, 0));
  transform: rotate(-4deg);
  pointer-events: none;
  animation: rsNavbarShine 7.4s linear infinite;
}

.navbar .navbar-brand {
  color: #f5d397;
  letter-spacing: 0.03em;
  text-shadow: 0 0 8px rgba(240, 190, 98, 0.25);
}

.navbar .navbar-brand:hover {
  color: #ffebc5;
}

.navbar .navbar-nav {
  gap: 8px;
}

.navbar .nav-item:hover {
  background: transparent;
  color: inherit;
}

.navbar .nav-link {
  position: relative;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid rgba(240, 190, 98, 0.42);
  background: linear-gradient(180deg, rgba(61, 24, 34, 0.95), rgba(36, 16, 24, 0.95));
  color: #f4ddb8;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
  box-shadow: inset 0 1px 0 rgba(255, 223, 171, 0.1), 0 6px 14px rgba(0, 0, 0, 0.28);
  transition: border-color 0.24s ease, background 0.3s ease, color 0.2s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.navbar .nav-link:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 188, 169, 0.88);
  background: linear-gradient(120deg, #651428 0%, #931942 28%, #c02a66 50%, #931942 72%, #651428 100%);
  background-size: 230% 230%;
  color: #fff2e8;
  box-shadow: inset 0 1px 0 rgba(255, 214, 191, 0.28), 0 9px 20px rgba(117, 24, 54, 0.42), 0 0 14px rgba(192, 42, 102, 0.28);
  animation: rsNavLinkShift 2.5s linear infinite;
}

.navbar .auth-btn,
.navbar .balance-btn,
.navbar .profile-btn,
.navbar .lang-label.auth-btn {
  border-left: 1px solid rgba(240, 190, 98, 0.24);
  background: linear-gradient(180deg, rgba(54, 22, 31, 0.94), rgba(34, 16, 24, 0.95));
  color: #f2d8ad;
}

.navbar .auth-btn:hover,
.navbar .balance-btn:hover,
.navbar .profile-btn:hover,
.navbar .lang-label.auth-btn:hover {
  background: linear-gradient(180deg, rgba(126, 29, 50, 0.96), rgba(74, 20, 31, 0.96));
  color: #fff1dc;
}

.navbar .navbar-toggler {
  border: 1px solid rgba(240, 190, 98, 0.45);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(60, 24, 34, 0.95), rgba(36, 16, 24, 0.95));
}

.navbar .navbar-toggler-icon {
  color: #f2d8ad;
}

/* Filter buttons (servers/categories): explicit inactive/active palette */
.servers-buttons .app-button.app-button--primary,
.products-types-buttons .app-button.app-button--primary {
  border: 1px solid rgba(240, 190, 98, 0.34);
  background: linear-gradient(180deg, rgba(60, 27, 35, 0.96), rgba(34, 17, 25, 0.96));
  color: #f0d7ad;
  box-shadow: inset 0 1px 0 rgba(255, 219, 165, 0.09), 0 5px 12px rgba(0, 0, 0, 0.28);
}

.servers-buttons .app-button.app-button--primary:hover,
.products-types-buttons .app-button.app-button--primary:hover {
  border-color: rgba(255, 182, 159, 0.8);
  background: linear-gradient(120deg, #61142a, #8f1a42, #bf2b64, #8f1a42, #61142a);
  background-size: 220% 220%;
  color: #fff1e5;
  animation: rsFilterShift 2.6s linear infinite;
}

.servers-buttons .app-button.app-button--primary.app-button--active,
.products-types-buttons .app-button.app-button--primary.app-button--active {
  border-color: rgba(240, 190, 98, 0.88);
  background: linear-gradient(180deg, #f4c771, #d89236);
  color: #2b1808;
  box-shadow: inset 0 1px 0 rgba(255, 246, 221, 0.4), 0 7px 16px rgba(74, 35, 10, 0.34);
  animation: none;
}

.servers-buttons .app-button.app-button--primary.app-button--active:hover,
.products-types-buttons .app-button.app-button--primary.app-button--active:hover {
  border-color: rgba(255, 214, 132, 0.92);
  background: linear-gradient(180deg, #ffd78f, #e0a44a);
  color: #2b1808;
}

.modal-overlay {
  background:
    radial-gradient(1000px 460px at 50% 20%, rgba(199, 40, 47, 0.26), transparent 70%),
    rgba(10, 8, 12, 0.78);
}

.modal {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(240, 190, 98, 0.48);
  background: linear-gradient(160deg, #2a1018, #1b1018 46%, #2f1118 100%);
  color: var(--rs-text);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.5), 0 0 28px rgba(199, 40, 47, 0.16);
  animation: rsModalPulse 3.8s ease-in-out infinite;
}

.modal::before {
  content: "";
  position: absolute;
  top: -35%;
  left: -20%;
  width: 140%;
  height: 70%;
  background: linear-gradient(90deg, rgba(240, 190, 98, 0), rgba(240, 190, 98, 0.15), rgba(240, 190, 98, 0));
  transform: rotate(-8deg);
  pointer-events: none;
  animation: rsModalShine 6.5s linear infinite;
}

.modal-content {
  position: relative;
  border-radius: 8px 34px;
  background:
    radial-gradient(420px 220px at 90% -15%, rgba(240, 190, 98, 0.12), transparent 70%),
    radial-gradient(300px 180px at 0% 10%, rgba(199, 40, 47, 0.16), transparent 74%),
    linear-gradient(180deg, rgba(20, 13, 20, 0.92), rgba(16, 11, 19, 0.97));
  color: var(--rs-text);
}

/* Product modal fit: keep full window visible on 1080p and similar heights */
.modal {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 20px);
}

.modal-content {
  flex: 1 1 auto;
  overflow-y: auto;
  max-height: calc(100vh - 110px);
}

.modal .product-modal {
  width: min(100%, 560px);
  max-width: 560px;
  margin: 0 auto;
  padding: 0.85rem 0.9rem 0;
  gap: 0.85rem;
}

.modal .gallery-main-image {
  width: 100%;
  max-height: min(40vh, 360px);
  object-fit: contain;
}

.modal .product-modal-description {
  max-height: min(16vh, 150px);
  overflow-y: auto;
}

.modal-footer-buttons {
  border-top: 1px solid rgba(240, 190, 98, 0.25);
  background: linear-gradient(180deg, rgba(20, 13, 20, 0.72), rgba(17, 11, 18, 0.95));
  backdrop-filter: blur(4px);
}

.modal .modal-footer-buttons {
  flex: 0 0 auto;
}

@media (max-height: 1100px) {
  .modal {
    max-height: calc(100vh - 10px);
  }

  .modal-content {
    max-height: calc(100vh - 98px);
  }

  .modal .gallery-main-image {
    max-height: min(34vh, 320px);
  }

  .modal .product-modal-description {
    max-height: min(14vh, 120px);
  }
}

.modal-close-button-text {
  color: #d1b17d;
}

.modal-close-button:hover .modal-close-button-text {
  color: #f5d39b;
}

.product-modal-title {
  color: #f0be62;
  text-shadow: none;
}

.product-modal-description {
  color: #cdb89a;
}

.modal .product-modal-gallery {
  border-radius: 10px;
  border: 1px solid rgba(240, 190, 98, 0.24);
  background: linear-gradient(180deg, rgba(23, 15, 21, 0.72), rgba(18, 12, 20, 0.78));
  padding: 8px;
}

.modal .gallery-main-image {
  border-radius: 8px;
  background: rgba(12, 10, 14, 0.55);
}

.gallery-thumbnails img.active {
  border-color: var(--rs-red);
  box-shadow: 0 0 0 1px rgba(127, 17, 22, 0.3);
}

.gallery-nav {
  background: rgba(20, 18, 23, 0.72);
}

.gallery-nav:hover {
  background: rgba(199, 40, 47, 0.88);
}

.modal .select-display,
.modal .select-options,
.modal .amount-control-counter,
.modal .amount-control-total,
.modal .product-modal-inputs-zone-block {
  border: 1px solid rgba(240, 190, 98, 0.4);
  background: linear-gradient(180deg, rgba(54, 28, 35, 0.95), rgba(35, 20, 29, 0.96));
  color: #f8e3be;
}

.modal .select-text,
.modal .amount-control-total-rub,
.modal .amount-control-count {
  color: #f8e3be;
}

.modal .select-option {
  background: linear-gradient(180deg, rgba(49, 26, 34, 0.98), rgba(34, 19, 27, 0.98));
  color: #eed8b2;
}

.modal .select-option:hover {
  background: linear-gradient(180deg, rgba(88, 34, 44, 0.98), rgba(58, 23, 31, 0.98));
}

.modal .amount-control-counter-button {
  color: #ffd793;
}

.amount-control-counter-button:hover {
  background: rgba(199, 40, 47, 0.14);
}

.modal .amount-control-counter-button:hover {
  background: rgba(199, 40, 47, 0.28);
}

.modal .modal-primary-button {
  border: 1px solid rgba(240, 190, 98, 0.42);
  background: linear-gradient(180deg, #5d1820 0%, #431118 52%, #2f0d13 100%);
  color: #ffe8c4;
  box-shadow: inset 0 1px 0 rgba(255, 223, 171, 0.18), 0 8px 20px rgba(35, 10, 15, 0.5);
  transition: border-color 0.28s ease, box-shadow 0.32s ease, background 0.32s ease, color 0.2s ease;
}

.modal .modal-primary-button:hover {
  border-color: rgba(255, 196, 158, 0.86);
  background: linear-gradient(120deg, #6f132a 0%, #a61745 24%, #dd3d76 48%, #a61745 72%, #6f132a 100%);
  background-size: 240% 240%;
  color: #fff1e5;
  box-shadow: inset 0 1px 0 rgba(255, 213, 187, 0.34), 0 10px 24px rgba(118, 20, 49, 0.48), 0 0 16px rgba(221, 61, 118, 0.34);
  animation: rsBuyShift 2.4s linear infinite;
}

/* Recharge panel (balance top-up) */
.modal .recharge-panel {
  border: 1px solid rgba(240, 190, 98, 0.36);
  border-radius: 12px;
  background:
    radial-gradient(360px 160px at 100% -26%, rgba(240, 190, 98, 0.12), transparent 72%),
    radial-gradient(280px 140px at -10% 0%, rgba(199, 40, 47, 0.14), transparent 72%),
    linear-gradient(180deg, rgba(36, 18, 26, 0.94), rgba(24, 13, 20, 0.97));
  color: #f6e3bf;
  box-shadow: inset 0 1px 0 rgba(255, 221, 176, 0.1), 0 12px 24px rgba(0, 0, 0, 0.32);
  padding: 12px;
}

.modal .recharge-panel-header {
  margin: 0 0 10px;
  color: #ffd38f;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.modal .recharge-panel-section {
  margin-top: 10px;
}

.modal .recharge-panel-title,
.modal .recharge-panel-label {
  color: #f2d7ac;
  font-size: 13px;
  margin-bottom: 6px;
}

.modal .recharge-panel-providers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.modal .recharge-panel-provider {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 96px;
  min-height: 58px;
  padding: 8px 12px;
  border: 1px solid rgba(240, 190, 98, 0.3);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(59, 28, 36, 0.94), rgba(37, 18, 27, 0.95));
  box-shadow: inset 0 1px 0 rgba(255, 219, 165, 0.1), 0 6px 14px rgba(0, 0, 0, 0.26);
  cursor: pointer;
  transition: border-color 0.24s ease, box-shadow 0.24s ease, transform 0.2s ease, background 0.24s ease;
}

.modal .recharge-panel-provider img {
  max-width: 100%;
  max-height: 32px;
  width: auto;
  height: auto;
}

.modal .recharge-panel-provider:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 194, 121, 0.86);
  box-shadow: inset 0 1px 0 rgba(255, 233, 199, 0.2), 0 8px 18px rgba(59, 26, 10, 0.34);
}

.modal .recharge-panel-provider.selected {
  border-color: rgba(240, 190, 98, 0.94);
  background: linear-gradient(180deg, rgba(94, 39, 30, 0.96), rgba(58, 25, 18, 0.97));
  box-shadow: inset 0 1px 0 rgba(255, 231, 184, 0.26), 0 10px 20px rgba(58, 26, 10, 0.38), 0 0 16px rgba(240, 190, 98, 0.22);
}

.modal .recharge-panel-amount-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.modal .recharge-panel-input {
  position: relative;
  border: 1px solid rgba(240, 190, 98, 0.38);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(58, 29, 36, 0.94), rgba(36, 20, 28, 0.96));
  color: #f8e3be;
  min-height: 40px;
  padding: 8px 10px;
  box-shadow: inset 0 1px 0 rgba(255, 225, 183, 0.12);
  transition: border-color 0.2s ease, box-shadow 0.24s ease;
}

.modal .recharge-panel-input:focus-within {
  border-color: rgba(255, 202, 134, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 234, 203, 0.2), 0 0 0 2px rgba(209, 122, 47, 0.2);
}

.modal .recharge-panel-input.readonly {
  color: #ffdb9b;
  background: linear-gradient(180deg, rgba(66, 35, 30, 0.95), rgba(44, 24, 20, 0.97));
  font-weight: 900;
}

.modal .recharge-panel-input-raw {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #f8e3be;
  font-family: var(--rs-font-main) !important;
  font-weight: 900;
  font-size: 14px;
}

.modal .recharge-panel-input-raw::placeholder {
  color: rgba(239, 214, 173, 0.68);
}

.modal .promo-wrapper.recharge-panel-input {
  width: 100%;
}

.modal .recharge-panel-bonuses {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(118px, 1fr));
  gap: 10px;
  align-items: stretch;
}

.modal .recharge-panel-bonus-per-summ {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(240, 190, 98, 0.3);
  border-radius: 10px;
  min-height: 72px;
  padding: 8px 8px;
  text-align: center;
  background: linear-gradient(180deg, rgba(52, 25, 32, 0.94), rgba(34, 17, 25, 0.96));
  color: #f2d8ac;
  font-size: 12px;
  overflow: hidden;
}

.modal .recharge-panel-bonus-per-summ > div:last-child {
  white-space: nowrap;
  line-height: 1.15;
  font-weight: 800;
}

.modal .recharge-panel-bonus {
  display: inline-block;
  margin-bottom: 0;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 207, 142, 0.58);
  background: linear-gradient(180deg, #f3c46f, #dea23c);
  color: #2d1a07;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255, 243, 220, 0.34);
}

@media (max-width: 900px) {
  .modal .recharge-panel-amount-row {
    grid-template-columns: 1fr;
  }
}

.monitoring {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(240, 190, 98, 0.34);
  border-left: 3px solid var(--rs-gold);
  border-radius: 12px;
  background:
    radial-gradient(320px 120px at 0% -30%, rgba(240, 190, 98, 0.12), transparent 72%),
    linear-gradient(180deg, rgba(49, 21, 31, 0.96), rgba(30, 14, 22, 0.97));
  color: #f4dfbc;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.32);
}

.monitoring::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(240, 190, 98, 0), rgba(240, 190, 98, 0.08), rgba(240, 190, 98, 0));
  background-size: 220% 220%;
  pointer-events: none;
  animation: rsMonitoringShine 7.2s linear infinite;
}

.monitoring--active {
  border-left-color: #f0be62;
}

.monitoring--disabled {
  border-left-color: #8b3542;
}

.monitoring-title {
  color: #f4dfbc;
  font-weight: 700;
}

.monitoring-title-span {
  color: #d3b98f;
}

.monitoring-progress-bar {
  border: 1px solid rgba(240, 190, 98, 0.26);
  background: linear-gradient(180deg, rgba(20, 13, 19, 0.8), rgba(33, 18, 26, 0.84));
}

.monitoring-progress-fill {
  background: linear-gradient(90deg, #7b1428, #b72846, #df7f3d) !important;
}

.monitoring--disabled .monitoring-progress-fill {
  background: linear-gradient(90deg, #4e2a31, #5f333b) !important;
}

.monitoring-status-text {
  color: #fff2dc;
  font-weight: 700;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55);
}

.roulette-wrapper {
  border: 1px solid rgba(240, 190, 98, 0.45);
  background: linear-gradient(180deg, #16141b, #21222c);
}

.roulette-window {
  border-left-color: var(--rs-gold);
  border-right-color: var(--rs-gold);
}

.roulette-item {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(240, 190, 98, 0.34);
  background:
    radial-gradient(220px 120px at 12% -30%, rgba(240, 190, 98, 0.1), transparent 70%),
    linear-gradient(180deg, rgba(49, 20, 30, 0.96), rgba(29, 14, 22, 0.97));
  color: var(--rs-text);
  box-shadow: inset 0 1px 0 rgba(255, 215, 161, 0.1), 0 7px 16px rgba(0, 0, 0, 0.28);
}

.roulette-item img {
  border: 1px solid rgba(240, 190, 98, 0.2);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(20, 12, 18, 0.78), rgba(32, 16, 24, 0.84));
}

.roulette-item .roulette-item-name {
  color: #f8e4bf;
  font-weight: 700;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.45);
}

.roulette-prize-card {
  border: 1px solid rgba(240, 190, 98, 0.38);
  background:
    radial-gradient(240px 120px at 12% -24%, rgba(240, 190, 98, 0.12), transparent 70%),
    linear-gradient(180deg, rgba(51, 21, 32, 0.96), rgba(30, 14, 22, 0.97));
  color: var(--rs-text);
  box-shadow: inset 0 1px 0 rgba(255, 215, 161, 0.12), 0 8px 18px rgba(0, 0, 0, 0.3);
}

.roulette-prize-card .roulette-prize-image {
  border: 1px solid rgba(240, 190, 98, 0.22);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(20, 12, 18, 0.78), rgba(32, 16, 24, 0.84));
}

.roulette-prize-card .roulette-prize-name {
  color: #f8e4bf;
  font-weight: 700;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.45);
}

/* Advent page: align the seasonal calendar with the main Tarkov-like interface */
.advent-page {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.advent-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.advent-header,
.advent-card,
.advent-sidebar__block {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(240, 190, 98, 0.24);
  background:
    radial-gradient(440px 180px at 100% -30%, rgba(240, 190, 98, 0.12), transparent 70%),
    radial-gradient(320px 140px at 0% 0%, rgba(199, 40, 47, 0.14), transparent 72%),
    linear-gradient(165deg, rgba(42, 20, 28, 0.96), rgba(22, 15, 23, 0.97));
  color: var(--rs-text);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32);
}

.advent-header::before,
.advent-card::before,
.advent-sidebar__block::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(125deg, rgba(255, 255, 255, 0), rgba(240, 190, 98, 0.08), rgba(255, 255, 255, 0)),
    radial-gradient(220px 100px at 16% -20%, rgba(240, 190, 98, 0.12), transparent 70%);
  pointer-events: none;
  opacity: 0.5;
}

.advent-header__content,
.advent-card > *,
.advent-sidebar__block > * {
  position: relative;
  z-index: 1;
}

.advent-header {
  border-radius: 18px;
  padding: 24px;
}

.advent-header__label {
  margin: 0 0 8px;
  color: var(--rs-gold-soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.advent-header__title {
  margin: 0 0 10px;
  color: var(--rs-gold);
  font-size: 32px;
  font-weight: 900;
  line-height: 1.02;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(240, 190, 98, 0.12);
}

.advent-header__dates {
  margin: 0 0 10px;
  color: #dcc298;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.advent-header__description,
.advent-sidebar__text,
.advent-sidebar__list,
.advent-card__description {
  color: var(--rs-muted);
}

.advent-header__description {
  margin: 0;
  max-width: 760px;
  line-height: 1.7;
}

.advent-card {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 468px;
  border-radius: 16px;
  padding: 16px;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.advent-card:hover {
  transform: translateY(-4px);
  border-color: rgba(240, 190, 98, 0.46);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.38), 0 0 18px rgba(240, 190, 98, 0.12);
}

.advent-card.is-available {
  border-color: rgba(240, 190, 98, 0.54);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.34), 0 0 18px rgba(240, 190, 98, 0.18);
}

.advent-card.is-available:hover {
  border-color: rgba(255, 217, 142, 0.86);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.4), 0 0 22px rgba(240, 190, 98, 0.26);
}

.advent-card.is-claimed {
  border-color: rgba(124, 252, 0, 0.34);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.32), 0 0 16px rgba(124, 252, 0, 0.16);
}

.advent-card.is-locked {
  border-color: rgba(204, 185, 153, 0.18);
  opacity: 0.94;
  filter: saturate(0.88);
}

.advent-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  min-height: 66px;
  margin-bottom: 14px;
}

.advent-card__day {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.advent-card__day-label,
.reward-balance__label,
.reward-product__label {
  margin: 0;
  color: #d6c3a2;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.advent-card__day-number {
  color: var(--rs-gold);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 0 10px rgba(240, 190, 98, 0.14);
}

.advent-card__status {
  padding: 7px 11px;
  border-radius: 999px;
  border: 1px solid rgba(240, 190, 98, 0.18);
  background: linear-gradient(180deg, rgba(32, 19, 25, 0.86), rgba(20, 13, 18, 0.92));
  color: #d8c7a7;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}

.advent-card__status.available {
  border-color: rgba(240, 190, 98, 0.36);
  background: linear-gradient(180deg, rgba(112, 65, 23, 0.86), rgba(70, 38, 15, 0.92));
  color: #ffe1a8;
}

.advent-card__status.claimed {
  border-color: rgba(124, 252, 0, 0.32);
  background: linear-gradient(180deg, rgba(33, 62, 18, 0.88), rgba(18, 39, 11, 0.92));
  color: #c8ff9f;
}

.advent-card__status.locked {
  border-color: rgba(177, 160, 133, 0.2);
  background: linear-gradient(180deg, rgba(34, 27, 31, 0.88), rgba(22, 18, 22, 0.92));
  color: #bda988;
}

.advent-card__body {
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 14px;
  min-height: 0;
}

.advent-card__reward {
  display: flex;
  align-items: stretch;
  min-height: 244px;
}

.reward-balance,
.reward-hidden,
.reward-product__image-wrap {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(240, 190, 98, 0.18);
  background:
    radial-gradient(240px 100px at 100% 0%, rgba(240, 190, 98, 0.08), transparent 68%),
    linear-gradient(180deg, rgba(31, 19, 26, 0.9), rgba(18, 13, 20, 0.95));
  box-shadow: inset 0 1px 0 rgba(255, 223, 171, 0.08);
}

.reward-balance {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px;
}

.reward-balance__info {
  text-align: center;
}

.reward-balance__value {
  color: var(--rs-gold-soft);
  font-size: 28px;
  font-weight: 900;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(240, 190, 98, 0.12);
}

.reward-product {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.reward-product__image-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 168px;
  padding: 14px;
  background-color: #141017;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.reward-product__image-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(150px 80px at 12% -10%, rgba(240, 190, 98, 0.1), transparent 68%),
    radial-gradient(140px 70px at 92% 0%, rgba(199, 40, 47, 0.1), transparent 68%);
  pointer-events: none;
}

.reward-product__image {
  position: relative;
  z-index: 1;
  max-width: 100%;
  max-height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.3));
}

.reward-product__info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-height: 64px;
}

.reward-product__name {
  color: var(--rs-text);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
}

.reward-hidden {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 168px;
  padding: 16px;
  border-style: dashed;
  text-align: center;
}

.reward-hidden__gift {
  font-size: 42px;
  line-height: 1;
  filter: drop-shadow(0 0 10px rgba(240, 190, 98, 0.18));
}

.reward-hidden__title {
  margin: 0;
  color: var(--rs-gold-soft);
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
}

.reward-hidden__text {
  margin: 0;
  max-width: 220px;
  color: var(--rs-muted);
  font-size: 13px;
  line-height: 1.55;
}

.advent-card__description {
  margin: 0;
  min-height: 50px;
  font-size: 13px;
  line-height: 1.6;
}

.advent-card__footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.advent-card__footer .app-button {
  width: 100%;
  min-height: 52px;
  flex: 0 0 auto;
}

.advent-card__footer-note {
  padding: 12px 14px;
  border-radius: 12px;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}

.advent-card__footer-note.success {
  border: 1px solid rgba(124, 252, 0, 0.24);
  background: linear-gradient(180deg, rgba(32, 62, 17, 0.86), rgba(18, 39, 11, 0.92));
  color: #c9ffa1;
}

.advent-card__footer-note.muted {
  border: 1px solid rgba(240, 190, 98, 0.16);
  background: linear-gradient(180deg, rgba(31, 20, 25, 0.86), rgba(18, 13, 20, 0.92));
  color: #d1bea0;
}

.advent-sidebar__block {
  padding: 18px;
  border-radius: 16px;
}

.advent-sidebar__block--accent::before {
  opacity: 0.72;
}

.advent-sidebar__title {
  margin: 0 0 12px;
  color: var(--rs-gold-soft);
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.advent-sidebar__text {
  margin: 0;
  line-height: 1.7;
}

.advent-sidebar__list {
  margin: 0;
  padding-left: 20px;
  line-height: 1.7;
}

.advent-sidebar__list li::marker {
  color: var(--rs-gold);
}

.advent-card.is-celebrating {
  animation: rsAdventCelebrate 0.9s ease;
  border-color: rgba(255, 214, 125, 0.84);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.42), 0 0 28px rgba(240, 190, 98, 0.34);
}

.advent-card.is-celebrating::after {
  content: "";
  position: absolute;
  inset: -24%;
  background: radial-gradient(circle, rgba(255, 231, 156, 0.5), rgba(240, 190, 98, 0.18) 32%, transparent 70%);
  pointer-events: none;
  animation: rsAdventGlow 0.9s ease forwards;
}

@keyframes rsAdventCelebrate {
  0% {
    transform: scale(1);
  }
  20% {
    transform: scale(1.03) rotate(-0.5deg);
  }
  40% {
    transform: scale(1.05) rotate(0.45deg);
  }
  65% {
    transform: scale(1.02) rotate(-0.2deg);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes rsAdventGlow {
  0% {
    opacity: 0;
    transform: scale(0.72);
  }
  25% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.24);
  }
}

@media (max-width: 1280px) {
  .advent-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .advent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .advent-header {
    padding: 20px;
  }

  .advent-header__title {
    font-size: 28px;
  }
}

@media (max-width: 680px) {
  .advent-grid {
    grid-template-columns: 1fr;
  }

  .advent-card {
    min-height: 440px;
  }

  .advent-header {
    padding: 18px 16px;
  }

  .advent-header__title {
    font-size: 24px;
  }

  .reward-product__image-wrap {
    min-height: 190px;
  }
}

/* Profile pages: keep account screens in the same red-gold interface as the shop */
[id^="profile-"][id$="-base-layout"] h2.mb-4.text-xl.font-semibold {
  margin: 0 0 16px;
  color: var(--rs-gold);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.05em;
  line-height: 1.08;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(240, 190, 98, 0.1);
}

.profile-info,
[id^="profile-"][id$="-base-layout"] .form,
[id^="profile-"][id$="-base-layout"] .table,
.profile-sidebar__header,
.profile-sidebar__item,
.profile-sidebar__footer,
[id^="profile-"][id$="-base-layout"] .empty-box {
  border: 1px solid rgba(240, 190, 98, 0.24);
  background:
    radial-gradient(320px 140px at 100% -20%, rgba(240, 190, 98, 0.12), transparent 72%),
    radial-gradient(260px 120px at 0% 0%, rgba(199, 40, 47, 0.14), transparent 74%),
    linear-gradient(165deg, rgba(42, 20, 28, 0.96), rgba(22, 15, 23, 0.97));
  color: var(--rs-text);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

.profile-info {
  border-radius: 18px;
  padding: 8px;
}

.profile-info__body {
  padding: 0;
}

.profile-info__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 6px;
}

.profile-info__row {
  display: flex;
  border: 1px solid rgba(240, 190, 98, 0.16);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(34, 21, 27, 0.88), rgba(20, 13, 19, 0.92));
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.profile-info__row:hover {
  transform: translateY(-1px);
  border-color: rgba(240, 190, 98, 0.34);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.24), 0 0 14px rgba(240, 190, 98, 0.12);
}

.profile-info__cell {
  width: 50%;
  padding: 14px 16px;
  color: var(--rs-text);
  border: 0;
}

.profile-info__cell--header {
  color: var(--rs-gold-soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-info__cell a {
  color: #ffe4b1;
  text-decoration: none;
}

.profile-info__cell a:hover {
  color: #fff1d7;
  text-decoration: underline;
}

.profile-sidebar__header,
.profile-sidebar__item,
.profile-sidebar__footer {
  overflow: hidden;
  border-radius: 14px;
}

.profile-sidebar__header {
  margin-bottom: 8px;
  color: var(--rs-gold);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.profile-sidebar__list {
  display: grid;
  gap: 8px;
}

.profile-sidebar__item {
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.profile-sidebar__item:hover {
  transform: translateY(-1px);
  border-color: rgba(240, 190, 98, 0.34);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22);
}

.profile-sidebar__link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.75rem 1rem;
  color: #d7c2a1;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.24s ease, color 0.24s ease, box-shadow 0.24s ease;
}

.profile-sidebar__link:hover,
.profile-sidebar__link--active {
  background: linear-gradient(120deg, #651428 0%, #931942 28%, #c02a66 50%, #931942 72%, #651428 100%);
  background-size: 220% 220%;
  color: #fff1e5;
  box-shadow: inset 0 1px 0 rgba(255, 214, 191, 0.22), 0 0 12px rgba(192, 42, 102, 0.2);
}

.profile-sidebar__footer {
  margin-top: 8px;
  border-style: dashed;
  border-color: rgba(199, 40, 47, 0.44);
  color: #ffc2c4;
}

.profile-sidebar__footer > .profile-sidebar__link {
  color: #ffc2c4;
}

.profile-sidebar__footer > .profile-sidebar__link:hover {
  background: linear-gradient(180deg, rgba(164, 34, 44, 0.96), rgba(102, 22, 31, 0.96));
  color: #fff2e8;
}

[id^="profile-"][id$="-base-layout"] .table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 16px;
  overflow: hidden;
}

[id^="profile-"][id$="-base-layout"] .table thead {
  background: linear-gradient(180deg, rgba(54, 22, 31, 0.94), rgba(34, 16, 24, 0.95));
}

[id^="profile-"][id$="-base-layout"] .table th,
[id^="profile-"][id$="-base-layout"] .table td {
  padding: 12px 14px;
  text-align: left;
}

[id^="profile-"][id$="-base-layout"] .table th {
  color: var(--rs-gold-soft);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-top: 0;
  border-bottom: 1px solid rgba(240, 190, 98, 0.18);
}

[id^="profile-"][id$="-base-layout"] .table td {
  color: var(--rs-text);
  border-top: 1px solid rgba(240, 190, 98, 0.12);
}

[id^="profile-"][id$="-base-layout"] .table tbody {
  background: transparent;
}

[id^="profile-"][id$="-base-layout"] .table tbody tr {
  background: linear-gradient(180deg, rgba(34, 21, 27, 0.84), rgba(20, 13, 19, 0.9));
  transition: background 0.22s ease, transform 0.22s ease;
}

[id^="profile-"][id$="-base-layout"] .table tbody tr:hover {
  background: linear-gradient(180deg, rgba(46, 25, 33, 0.88), rgba(26, 17, 24, 0.92));
}

[id^="profile-"][id$="-base-layout"] .table tbody tr:first-child td {
  border-top: 0;
}

[id^="profile-"][id$="-base-layout"] .table td a {
  color: #ffe4b1;
}

[id^="profile-"][id$="-base-layout"] .table td a:hover {
  color: #fff1d7;
}

[id^="profile-"][id$="-base-layout"] #empty-row td {
  color: var(--rs-muted);
  text-align: center;
}

[id^="profile-"][id$="-base-layout"] .mt-4.flex.justify-center.gap-2 {
  margin-top: 18px;
  flex-wrap: wrap;
}

[id^="profile-"][id$="-base-layout"] .mt-4.flex.justify-center.gap-2 > button {
  min-width: 44px;
  min-height: 40px;
  border: 1px solid rgba(240, 190, 98, 0.28);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(60, 27, 35, 0.96), rgba(34, 17, 25, 0.96));
  color: #f0d7ad;
  font-weight: 800;
  transition: transform 0.2s ease, border-color 0.22s ease, background 0.22s ease, color 0.22s ease;
}

[id^="profile-"][id$="-base-layout"] .mt-4.flex.justify-center.gap-2 > button:hover:not(:disabled) {
  transform: translateY(-1px);
  border-color: rgba(255, 188, 169, 0.86);
  background: linear-gradient(120deg, #651428, #931942, #c02a66, #931942, #651428);
  background-size: 220% 220%;
  color: #fff2e8;
}

[id^="profile-"][id$="-base-layout"] .mt-4.flex.justify-center.gap-2 > button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  transform: none;
}

[id^="profile-"][id$="-base-layout"] .form {
  border-radius: 16px;
  padding: 18px;
}

[id^="profile-"][id$="-base-layout"] .form label,
[id^="profile-"][id$="-base-layout"] .mb-1.block.text-sm.font-medium,
[id^="profile-"][id$="-base-layout"] .text-sm {
  color: #d6c3a2;
}

[id^="profile-"][id$="-base-layout"] .mb-1.block.text-sm.font-medium {
  display: block;
  margin-bottom: 6px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

[id^="profile-"][id$="-base-layout"] .text-input {
  border: 1px solid rgba(214, 148, 73, 0.54);
  background: linear-gradient(180deg, rgba(70, 36, 17, 0.96), rgba(46, 25, 13, 0.97));
  color: #ffe8c6;
  box-shadow: inset 0 1px 0 rgba(255, 204, 141, 0.16), 0 6px 14px rgba(28, 14, 8, 0.28);
}

[id^="profile-"][id$="-base-layout"] .text-input::placeholder {
  color: rgba(255, 219, 170, 0.72);
}

[id^="profile-"][id$="-base-layout"] .text-input:focus {
  border-color: rgba(255, 198, 118, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 221, 176, 0.24), 0 0 0 2px rgba(209, 122, 47, 0.22), 0 10px 20px rgba(41, 20, 10, 0.38);
}

[id^="profile-"][id$="-base-layout"] .text-input.disabled,
[id^="profile-"][id$="-base-layout"] .disabled.text-input {
  background: linear-gradient(180deg, rgba(66, 35, 30, 0.95), rgba(44, 24, 20, 0.97));
  color: #ffd793;
}

[id^="profile-"][id$="-base-layout"] #form-amount-inputs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

[id^="profile-"][id$="-base-layout"] #agree {
  width: 18px;
  height: 18px;
  accent-color: var(--rs-gold);
}

[id^="profile-"][id$="-base-layout"] .text-red-500,
[id^="profile-"][id$="-base-layout"] .mt-1.text-sm.text-red-500 {
  color: #ff9a96;
}

[id^="profile-"][id$="-base-layout"] form.flex.w-full.gap-x-2 {
  gap: 10px;
  align-items: stretch;
}

[id^="profile-"][id$="-base-layout"] .empty-box {
  border-style: dashed;
  border-color: rgba(240, 190, 98, 0.24);
}

[id^="profile-"][id$="-base-layout"] .empty-icon {
  background: rgba(240, 190, 98, 0.12);
  color: var(--rs-gold-soft);
}

[id^="profile-"][id$="-base-layout"] .empty-title {
  color: var(--rs-gold-soft);
}

[id^="profile-"][id$="-base-layout"] .empty-description {
  color: var(--rs-muted);
}

@media (max-width: 900px) {
  [id^="profile-"][id$="-base-layout"] h2.mb-4.text-xl.font-semibold {
    font-size: 20px;
  }

  .profile-info__row {
    flex-direction: column;
  }

  .profile-info__cell {
    width: 100%;
  }

  [id^="profile-"][id$="-base-layout"] #form-amount-inputs {
    grid-template-columns: 1fr;
  }

  [id^="profile-"][id$="-base-layout"] form.flex.w-full.gap-x-2 {
    flex-direction: column;
  }
}

.rs-reveal {
  opacity: 0;
  transform: translateY(12px) scale(0.99);
}

.rs-reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.38s ease, transform 0.45s cubic-bezier(0.2, 0.65, 0.2, 1);
  transition-delay: var(--rs-delay, 0ms);
}

.rs-pop {
  animation: rsPop 0.5s ease;
}

@keyframes rsPop {
  0% {
    box-shadow: 0 0 0 rgba(240, 190, 98, 0);
  }
  50% {
    box-shadow: 0 0 20px rgba(240, 190, 98, 0.42);
  }
  100% {
    box-shadow: 0 0 0 rgba(240, 190, 98, 0);
  }
}

@keyframes rsModalPulse {
  0%,
  100% {
    box-shadow: 0 24px 52px rgba(0, 0, 0, 0.5), 0 0 22px rgba(199, 40, 47, 0.14);
  }
  50% {
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.54), 0 0 34px rgba(240, 190, 98, 0.22);
  }
}

@keyframes rsModalShine {
  0% {
    transform: translateX(-35%) rotate(-8deg);
  }
  100% {
    transform: translateX(35%) rotate(-8deg);
  }
}

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

@keyframes rsTierBlink {
  0%,
  100% {
    opacity: 0.9;
  }
  50% {
    opacity: 0.98;
  }
}

@keyframes rsTierLineFlow {
  0% {
    background-position: 0% 50%;
    opacity: 0.26;
  }
  50% {
    background-position: 100% 50%;
    opacity: 0.46;
  }
  100% {
    background-position: 0% 50%;
    opacity: 0.26;
  }
}

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

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

@keyframes rsNavbarShine {
  0% {
    transform: translateX(-28%) rotate(-4deg);
  }
  100% {
    transform: translateX(28%) rotate(-4deg);
  }
}

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

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

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

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

@media (max-width: 700px) {
  .product-card {
    border-radius: 12px;
  }

  .product-card-footer {
    padding: 7px;
  }

  .product-card-name,
  .product-card-price {
    font-size: 13px;
  }

  .rs-tier-inline {
    font-size: 9px;
    margin-top: 4px;
  }

  .product-card-image-container > .rs-tier-inline {
    bottom: 6px;
    left: 6px;
  }

  .modal {
    border-radius: 10px 26px;
  }

  .modal-content {
    border-radius: 10px 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-card,
  .product-card:hover,
  .app-button,
  .modal-primary-button,
  .modal,
  .modal::before,
  .banners-after-monitoring .banner-elem,
  .banners-after-monitoring .banner-elem::before,
  .monitoring::before,
  .search-input,
  .rs-reveal.is-visible,
  .rs-pop,
  .advent-card,
  .advent-card:hover,
  .advent-header,
  .advent-sidebar__block,
  .advent-card.is-celebrating,
  .advent-card.is-celebrating::after,
  .profile-info__row,
  .profile-sidebar__item,
  .profile-sidebar__link,
  [id^="profile-"][id$="-base-layout"] .mt-4.flex.justify-center.gap-2 > button,
  .rs-tier-inline,
  .rs-tier-inline::before,
  .rs-tier-inline::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}
