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

:root {
  --rs-font-main: "Blushes", "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 {
  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;
  margin-top: 5px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  width: fit-content;
  color: #ffdca2;
  background-size: 230% 100%;
  animation: rsTierShift 2.8s linear infinite, rsTierBlink 1.8s ease-in-out infinite;
}

@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .rs-tier-inline {
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
  }
}

.rs-tier-inline--common {
  background-image: linear-gradient(90deg, #d1d5db, #f4f4f5, #c4cad4, #f4f4f5, #d1d5db);
  text-shadow: 0 0 6px rgba(209, 213, 219, 0.25);
  animation-duration: 3.2s, 2.2s;
}

.rs-tier-inline--rare {
  background-image: linear-gradient(90deg, #d28d3a, #f1bf72, #ba5c1f, #ffd79a, #d28d3a);
  text-shadow: 0 0 8px rgba(210, 141, 58, 0.36);
  animation-duration: 2.6s, 1.7s;
}

.rs-tier-inline--epic {
  background-image: linear-gradient(90deg, #ff61a7, #c184ff, #6b5dff, #ff80ca, #ff61a7);
  text-shadow: 0 0 10px rgba(193, 132, 255, 0.38);
  animation-duration: 2.2s, 1.55s;
}

.rs-tier-inline--legendary {
  background-image: linear-gradient(90deg, #ffefb1, #ffcc62, #ff9c29, #fff2bc, #ffefb1);
  text-shadow: 0 0 11px rgba(255, 202, 102, 0.44);
  animation-duration: 1.85s, 1.3s;
}

.product-card[data-rs-tier="rare"] {
  border: 2px solid rgba(74, 155, 255, 0.82);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.38), 0 0 20px rgba(74, 155, 255, 0.34);
}

.product-card[data-rs-tier="epic"] {
  border: 2px solid rgba(167, 105, 255, 0.84);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.38), 0 0 22px rgba(167, 105, 255, 0.36);
}

.product-card[data-rs-tier="legendary"] {
  border: 2px solid rgba(240, 190, 98, 0.92);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.38), 0 0 24px rgba(240, 190, 98, 0.42);
}

.product-card[data-rs-tier="rare"]:hover {
  border-color: rgba(74, 155, 255, 0.94);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.42), 0 0 24px rgba(74, 155, 255, 0.44);
}

.product-card[data-rs-tier="epic"]:hover {
  border-color: rgba(167, 105, 255, 0.95);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.42), 0 0 26px rgba(167, 105, 255, 0.46);
}

.product-card[data-rs-tier="legendary"]:hover {
  border-color: rgba(240, 190, 98, 0.98);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.42), 0 0 28px rgba(240, 190, 98, 0.5);
}

.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);
}

.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.82;
  }
  50% {
    opacity: 1;
  }
}

@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;
  }

  .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,
  .rs-tier-inline {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}
