.catalog-section {
  padding: clamp(24px, 4vh, 48px) 0 clamp(44px, 6vh, 72px);
}

.catalog-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  margin-bottom: clamp(24px, 3.6vh, 38px);
}

.catalog-header__title {
  font-size: clamp(1.55rem, 3vw, 2.55rem);
}

.catalog-header__subtitle {
  font-size: clamp(0.9rem, 1.15vw, 1.05rem);
  color: var(--text-secondary);
  max-width: 620px;
}

.catalog-search {
  width: 100%;
  max-width: 560px;
  position: relative;
  margin-top: 6px;
}

.catalog-search__icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  display: flex;
  align-items: center;
  transition: color 0.25s ease;
}

.catalog-search__input {
  width: 100%;
  height: 50px;
  padding: 0 46px 0 48px;
  border-radius: var(--radius-pill);
  background: rgba(19, 19, 29, 0.86);
  border: 1px solid rgba(157, 78, 221, 0.36);
  color: var(--text-primary);
  font-size: 0.95rem;
  backdrop-filter: blur(12px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.catalog-search__input::placeholder {
  color: var(--text-muted);
}

.catalog-search__input:focus {
  outline: none;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 0 3px rgba(0, 245, 212, 0.14), 0 0 22px rgba(0, 245, 212, 0.22);
  background: rgba(19, 19, 29, 0.96);
}

.catalog-search:focus-within .catalog-search__icon {
  color: var(--neon-cyan);
}

.catalog-search__clear {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease, color 0.2s ease;
}

.catalog-search__clear.is-visible {
  display: inline-flex;
}

.catalog-search__clear:hover {
  background: rgba(0, 245, 212, 0.18);
  color: var(--neon-cyan);
}

.catalog-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(14px, 1.8vw, 22px);
}

.game-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 10px 14px;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  transition: transform 0.28s var(--ease-out), border-color 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
  cursor: pointer;
  overflow: hidden;
}

.game-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(181, 23, 158, 0.75), rgba(157, 78, 221, 0.45), rgba(0, 245, 212, 0.75));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.28;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.game-card:hover {
  transform: translateY(-5px);
  background: var(--surface-hover);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45), 0 0 24px rgba(157, 78, 221, 0.3), 0 0 18px rgba(0, 245, 212, 0.2);
}

.game-card:hover::before {
  opacity: 1;
}

.game-card:not(.game-card--soon):active {
  transform: scale(0.97);
  transition-duration: 0.1s;
}

.game-card__thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: #0B0815;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.game-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease-out);
}

.game-card:hover .game-card__img {
  transform: scale(1.06);
}

.game-card__body {
  width: 100%;
  padding-top: 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.game-card__name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.game-card__cat {
  font-size: 0.73rem;
  color: var(--text-muted);
  font-weight: 500;
}

.game-card--razer::before {
  background: linear-gradient(135deg, rgba(68, 214, 44, 0.95), rgba(0, 245, 212, 0.7), rgba(68, 214, 44, 0.95));
  opacity: 0.62;
}

.game-card--razer:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 28px rgba(68, 214, 44, 0.42);
}

.game-card__badge-razer {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 3px 8px;
  border-radius: 99px;
  background: rgba(8, 24, 10, 0.85);
  border: 1px solid rgba(68, 214, 44, 0.75);
  color: var(--razer-green);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  box-shadow: 0 0 12px rgba(68, 214, 44, 0.4);
}

.game-card--razer .game-card__cat {
  color: var(--razer-green);
  font-weight: 600;
}

.game-card--maintenance::before {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.85), rgba(251, 146, 60, 0.65), rgba(245, 158, 11, 0.85));
  opacity: 0.55;
}

.game-card--maintenance .game-card__img {
  filter: saturate(0.65) brightness(0.84);
}

.game-card--maintenance:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.48), 0 0 22px rgba(245, 158, 11, 0.32);
}

.game-card__badge-maint {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  padding: 4px 8px;
  border-radius: 99px;
  background: rgba(24, 14, 4, 0.9);
  border: 1px solid rgba(245, 158, 11, 0.78);
  color: #FCD34D;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.38);
  backdrop-filter: blur(6px);
}

.game-card--soon {
  cursor: default;
  opacity: 0.72;
}

.game-card--soon:hover {
  transform: none;
  box-shadow: none;
  background: var(--surface);
}

.game-card--soon:hover::before {
  opacity: 0.35;
}

.game-card__soon-mark {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4vw, 3.6rem);
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 2px rgba(157, 78, 221, 0.65);
  text-shadow: 0 0 18px rgba(0, 245, 212, 0.28);
  background: radial-gradient(circle at center, rgba(157, 78, 221, 0.14), rgba(8, 4, 16, 0.9));
}

.catalog-empty {
  grid-column: 1 / -1;
  padding: 46px 24px;
  border-radius: 20px;
  background: rgba(19, 19, 29, 0.76);
  border: 1px solid var(--border-subtle);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.catalog-empty h3 {
  font-size: 1.1rem;
  color: var(--text-primary);
}

.catalog-empty p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  max-width: 440px;
}

.catalog-trust-footer {
  margin-top: clamp(32px, 4.5vh, 52px);
  display: flex;
  justify-content: center;
}

.razer-view {
  display: none;
  animation: rlFadeUp 0.38s var(--ease-out);
}

.razer-view.is-active {
  display: block;
}

.catalog-view.is-hidden {
  display: none;
}

.razer-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.razer-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 12px;
  background: rgba(19, 19, 29, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.22s ease;
}

.razer-back-btn:hover {
  color: var(--text-primary);
  border-color: var(--razer-green);
  box-shadow: 0 0 16px rgba(68, 214, 44, 0.26);
}

.razer-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  margin-bottom: clamp(26px, 4vh, 42px);
  position: relative;
}

.razer-hero__head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.razer-hero__logo {
  width: clamp(54px, 5vw, 76px);
  height: clamp(54px, 5vw, 76px);
  border-radius: 16px;
  object-fit: cover;
  border: 1.5px solid rgba(68, 214, 44, 0.65);
  box-shadow: 0 0 24px rgba(68, 214, 44, 0.45);
}

.razer-hero__title {
  font-size: clamp(1.45rem, 3.2vw, 2.7rem);
  line-height: 1.18;
}

.razer-shipping-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 22px;
  border-radius: var(--radius-pill);
  background: var(--grad-razer);
  color: #061408;
  font-size: clamp(0.8rem, 1vw, 0.94rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 0 24px rgba(68, 214, 44, 0.42), 0 0 18px rgba(0, 245, 212, 0.28);
}

.razer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 28px);
}

.razer-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px 20px 22px;
  border-radius: 22px;
  background: rgba(19, 19, 29, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  transition: transform 0.28s var(--ease-out), border-color 0.28s ease, box-shadow 0.28s ease;
  overflow: hidden;
}

.razer-card--available:hover {
  transform: translateY(-5px);
  border-color: rgba(68, 214, 44, 0.65);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.5), 0 0 28px rgba(68, 214, 44, 0.24);
}

.razer-card--soldout {
  opacity: 0.7;
  filter: saturate(0.45);
}

.razer-card__status {
  align-self: flex-end;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.razer-card__status--ok {
  background: rgba(68, 214, 44, 0.18);
  color: #7CFF66;
  border: 1px solid rgba(68, 214, 44, 0.55);
  box-shadow: 0 0 14px rgba(68, 214, 44, 0.25);
}

.razer-card__status--out {
  background: rgba(239, 68, 68, 0.16);
  color: #FCA5A5;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.razer-card__visual {
  height: 190px;
  margin: 10px 0 16px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 50% 60%, rgba(68, 214, 44, 0.16) 0%, transparent 66%),
    linear-gradient(180deg, rgba(12, 12, 22, 0.4) 0%, rgba(12, 22, 16, 0.65) 100%);
  border: 1px solid rgba(68, 214, 44, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.razer-card--soldout .razer-card__visual {
  background: linear-gradient(180deg, rgba(16, 16, 26, 0.5), rgba(14, 14, 22, 0.8));
  border-color: rgba(255, 255, 255, 0.06);
}

.razer-card__visual img {
  width: 86%;
  height: 86%;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.65));
}

.razer-card__svg {
  width: 78%;
  height: 78%;
  filter: drop-shadow(0 8px 18px rgba(68, 214, 44, 0.25));
}

.razer-card__info {
  text-align: center;
  margin-bottom: 18px;
}

.razer-card__name {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.razer-card__spec {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.razer-card__cta {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s ease;
}

.razer-card__cta--active {
  background: linear-gradient(180deg, #5BF042 0%, #38C221 100%);
  color: #051406;
  box-shadow: var(--glow-razer);
}

.razer-card__cta--active:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 34px rgba(68, 214, 44, 0.72);
}

.razer-card__cta--active:active {
  transform: scale(0.97);
  transition-duration: 0.1s;
}

.razer-card__cta--disabled {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-muted);
  cursor: not-allowed;
}

.rl-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(5, 2, 12, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s var(--ease-out), visibility 0.28s var(--ease-out);
}

.rl-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.rl-modal {
  position: relative;
  width: 100%;
  max-width: 540px;
  max-height: min(92vh, 840px);
  border-radius: 26px;
  padding: 2px;
  background: linear-gradient(145deg, rgba(181, 23, 158, 0.92), rgba(157, 78, 221, 0.75), rgba(0, 245, 212, 0.92));
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.72),
    0 0 36px rgba(157, 78, 221, 0.38),
    0 0 42px rgba(0, 245, 212, 0.24);
  opacity: 0;
  transform: translateY(22px) scale(0.92);
  transition: transform 0.34s var(--ease-out), opacity 0.28s var(--ease-out);
  display: flex;
}

.rl-modal-backdrop.is-open .rl-modal {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.rl-modal__surface {
  width: 100%;
  max-height: calc(min(92vh, 840px) - 4px);
  overflow-y: auto;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(20, 17, 36, 0.97) 0%, rgba(12, 10, 24, 0.98) 100%);
  padding: 24px clamp(18px, 3vw, 28px) 22px;
  position: relative;
}

.rl-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.rl-modal__close:hover {
  color: var(--neon-cyan);
  border-color: var(--neon-cyan);
  background: rgba(0, 245, 212, 0.12);
}

.rl-modal__header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-right: 28px;
  padding-left: 28px;
  margin-bottom: 14px;
}

.rl-modal__thumb {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  border: 1.5px solid rgba(0, 245, 212, 0.45);
  box-shadow: 0 0 14px rgba(0, 245, 212, 0.25);
  flex-shrink: 0;
}

.rl-modal__title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.rl-modal__title {
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
}

.rl-info-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 245, 212, 0.55);
  background: rgba(0, 245, 212, 0.08);
  color: var(--neon-cyan);
  font-size: 0.85rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.22s ease;
}

.rl-info-btn:hover,
.rl-info-btn[aria-expanded="true"] {
  background: var(--neon-cyan);
  color: #080410;
  box-shadow: 0 0 16px rgba(0, 245, 212, 0.55);
}

.rl-tech-panel {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transform: translateY(-6px);
  margin-bottom: 0;
  transition:
    grid-template-rows 0.32s var(--ease-out),
    opacity 0.26s ease,
    transform 0.3s var(--ease-out),
    margin-bottom 0.3s var(--ease-out);
}

.rl-tech-panel.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
  transform: translateY(0);
  margin-bottom: 16px;
}

.rl-tech-panel__inner {
  overflow: hidden;
}

.rl-tech-panel__box {
  padding: 13px 15px;
  border-radius: 14px;
  background: rgba(0, 245, 212, 0.06);
  border: 1px solid rgba(0, 245, 212, 0.34);
}

.rl-tech-panel__title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--neon-cyan);
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.rl-tech-panel__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.rl-tech-panel__list li {
  font-size: 0.8rem;
  color: #D7D4E8;
  padding-left: 14px;
  position: relative;
  line-height: 1.42;
}

.rl-tech-panel__list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--neon-cyan);
  font-weight: 800;
}

.rl-modal__section-label {
  display: block;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin: 14px 0 10px;
}

.rl-packages-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.rl-package-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 9px;
  padding: 12px 13px;
  border-radius: 14px;
  background: rgba(19, 19, 29, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  text-align: left;
  transition: all 0.22s var(--ease-out);
  position: relative;
}

.rl-package-card:hover {
  border-color: rgba(157, 78, 221, 0.65);
  background: rgba(28, 24, 48, 0.92);
  transform: translateY(-2px);
}

.rl-package-card:active {
  transform: scale(0.97);
  transition-duration: 0.1s;
}

.rl-package-card.is-selected {
  border-color: var(--neon-cyan);
  background: linear-gradient(135deg, rgba(157, 78, 221, 0.22), rgba(0, 245, 212, 0.14));
  box-shadow: 0 0 18px rgba(157, 78, 221, 0.35), inset 0 0 0 1px rgba(0, 245, 212, 0.45);
}

.rl-package-card__name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.25;
}

.rl-package-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.rl-package-card__price {
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--neon-cyan);
  text-shadow: 0 0 10px rgba(0, 245, 212, 0.35);
}

.rl-package-card__price--quote {
  font-size: 0.82rem;
  color: #E9D5FF;
  text-shadow: 0 0 10px rgba(157, 78, 221, 0.45);
}

.rl-package-card__points {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px 2px 4px;
  border-radius: var(--radius-pill);
  background: rgba(157, 78, 221, 0.22);
  border: 1px solid rgba(157, 78, 221, 0.5);
  font-size: 0.72rem;
  font-weight: 800;
  color: #E9D5FF;
  white-space: nowrap;
}

.rl-package-card__points--var {
  background: rgba(0, 245, 212, 0.12);
  border-color: rgba(0, 245, 212, 0.42);
  color: #B6FFF4;
}

.rl-maint-banner {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.52);
  color: #FDE68A;
  font-size: 0.82rem;
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.rl-maint-banner strong {
  color: #FBBF24;
  display: block;
  margin-bottom: 2px;
}

.rl-field-note {
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(0, 245, 212, 0.08);
  border: 1px solid rgba(0, 245, 212, 0.3);
  color: #CCFBF1;
  font-size: 0.78rem;
  line-height: 1.42;
}

.rl-field-note--amber {
  background: rgba(245, 158, 11, 0.1);
  border-color: rgba(245, 158, 11, 0.4);
  color: #FDE68A;
}

.rl-field__input:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.rl-pay-option:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.rl-tyc-consent.is-disabled {
  opacity: 0.48;
  pointer-events: none;
}

.rl-modal__submit:disabled {
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: #FCD34D;
  box-shadow: none;
  animation: none;
  cursor: not-allowed;
}

.rl-modal__submit:disabled:hover {
  transform: none;
  box-shadow: none;
}

.rl-modal__submit:disabled::before {
  display: none;
}

.rl-package-card__points img {
  width: 17px;
  height: 17px;
  object-fit: contain;
}

.rl-fields-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rl-field {
  position: relative;
}

.rl-field__label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
}

.rl-field__input,
.rl-field__select {
  width: 100%;
  height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  background: rgba(12, 11, 24, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.rl-field__select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2300F5D4' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 16px 16px;
}

.rl-field__select option {
  background-color: #100D1E;
  color: #F8F9FA;
}

.rl-field__input--pw {
  padding-right: 44px;
}

.rl-field__input::placeholder {
  color: var(--text-muted);
}

.rl-field__input:focus,
.rl-field__select:focus {
  outline: none;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 0 3px rgba(0, 245, 212, 0.14);
}

.rl-field__input.is-error,
.rl-field__select.is-error {
  border-color: #FB7185;
  box-shadow: 0 0 0 3px rgba(251, 113, 133, 0.18);
}

.rl-field__select:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

.rl-pw-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.rl-pw-toggle:hover {
  color: var(--neon-cyan);
}

.rl-form-error {
  display: none;
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(251, 113, 133, 0.12);
  border: 1px solid rgba(251, 113, 133, 0.4);
  color: #FDA4AF;
  font-size: 0.8rem;
  text-align: center;
}

.rl-form-error.is-visible {
  display: block;
}

.rl-pay-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.rl-pay-option {
  padding: 12px 14px;
  border-radius: var(--radius-pill);
  border: 0;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(19, 19, 29, 0.9);
  background-clip: padding-box;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: all 0.22s var(--ease-out);
}

.rl-pay-option:hover {
  box-shadow: inset 0 0 0 1px rgba(0, 245, 212, 0.52);
  color: var(--text-primary);
}

.rl-pay-option.is-selected {
  border: 0;
  background: var(--grad-pill);
  background-clip: padding-box;
  color: #080410;
  box-shadow: 0 0 20px rgba(0, 245, 212, 0.35), 0 0 22px rgba(157, 78, 221, 0.35);
}

.rl-pay-option:focus-visible {
  outline: 2px solid var(--neon-cyan);
  outline-offset: 2px;
}

.rl-pay-option:active {
  transform: scale(0.97);
  transition-duration: 0.1s;
}

.rl-tyc-consent {
  margin-top: 16px;
  padding: 10px 13px;
  border-radius: 12px;
  background: rgba(19, 19, 29, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.rl-tyc-consent.is-error {
  border-color: rgba(251, 113, 133, 0.78);
  background: rgba(251, 113, 133, 0.1);
  box-shadow: 0 0 16px rgba(251, 113, 133, 0.25);
  animation: rlShake 0.34s ease;
}

.rl-tyc-consent__label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.35;
  user-select: none;
}

.rl-tyc-consent__checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 19px;
  height: 19px;
  border-radius: 6px;
  border: 1.5px solid rgba(0, 245, 212, 0.5);
  background: rgba(10, 8, 22, 0.9);
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease;
}

.rl-tyc-consent__checkbox:checked {
  border: none;
  background: var(--grad-pill);
  background-origin: border-box;
  background-clip: border-box;
  background-repeat: no-repeat;
  box-shadow: 0 0 12px rgba(0, 245, 212, 0.45);
}

.rl-tyc-consent__checkbox:checked::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid #080410;
  border-width: 0 2.3px 2.3px 0;
  transform: rotate(45deg);
}

.rl-tyc-consent__link {
  color: var(--neon-cyan);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.rl-tyc-consent__link:hover {
  color: #FFFFFF;
}

.rl-modal__actions {
  display: flex;
  align-items: stretch;
  margin-top: 14px;
}

.rl-modal__submit {
  width: 100%;
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  background: var(--grad-cta);
  color: #FFFFFF;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  box-shadow: var(--glow-cta);
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s ease;
  animation: rlGlowPulse 3.2s ease-in-out infinite;
}

.rl-modal__submit:hover {
  animation-play-state: paused;
  transform: translateY(-2px);
  box-shadow: 0 0 34px rgba(181, 23, 158, 0.58), 0 0 46px rgba(0, 245, 212, 0.45);
}

.rl-modal__submit:active {
  transform: scale(0.97) !important;
  transition-duration: 0.1s;
}

@keyframes rlShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-3px); }
}

.rl-modal__footer {
  margin-top: 16px;
  padding-top: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.rl-modal__fx-link {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.rl-modal__fx-link a {
  color: var(--neon-cyan);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.rl-modal__fx-link a:hover {
  color: #FFFFFF;
}

.rl-modal__aiad {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  color: var(--text-muted);
}

@keyframes rlFadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

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

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

@media (max-width: 767px) {
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

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

  .rl-packages-grid {
    grid-template-columns: 1fr;
  }
}
