/* ============================================================
   Rewards Button + Rewards Modal (Rankings + Class PvP)
   (kept in external CSS to avoid Razor/CSS analyzer warnings)
   ============================================================ */

.rk2-chip--btn{
  cursor:pointer;
  border:0;
  padding:8px 12px;
}
.rk2-chip--btn:focus{ outline:none; box-shadow:none; }

/* More "premium" / attention-grabbing Rewards button */
.rk2-chip--rewards{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;

  font-weight: 1000;
  letter-spacing: .9px;
  text-transform: uppercase;

  padding: 9px 14px !important;
  color: rgba(255,255,255,.96) !important;

  border: 1px solid rgba(255, 215, 130, .65) !important;
  background: linear-gradient(135deg,
      rgba(255,215,130,.38) 0%,
      rgba(255,170,70,.22) 30%,
      rgba(0,0,0,.22) 100%) !important;

  box-shadow:
    0 0 0 1px rgba(255,215,130,.20),
    0 12px 28px rgba(0,0,0,.55),
    0 0 28px rgba(255,215,130,.22);

  isolation: isolate;
  transform: translateZ(0);
  transition: transform .14s ease, filter .14s ease, box-shadow .14s ease, border-color .14s ease;
}

.rk2-chip--rewards i{ font-size: 16px; transform: translateY(0.5px); }
.rk2-chip--rewards .rk2-rewards-label{ line-height: 1; }
.rk2-chip--rewards .rk2-rewards-badge{
  margin-left: 4px;
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 1000;
  letter-spacing: .6px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,215,130,.42);
  color: rgba(255,215,130,.98);
}

/* glow aura */
.rk2-chip--rewards::before{
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  background: linear-gradient(90deg,
      rgba(255,215,130,0),
      rgba(255,215,130,.65),
      rgba(255,215,130,0));
  filter: blur(10px);
  opacity: .38;
  z-index: -1;
  animation: rk2RewardsGlow 2.2s ease-in-out infinite;
  pointer-events: none;
}

/* shine sweep */
.rk2-chip--rewards::after{
  content: "";
  position: absolute;
  top: 0;
  left: -30%;
  width: 60%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg,
      rgba(255,255,255,0),
      rgba(255,255,255,.18),
      rgba(255,255,255,0));
  opacity: .55;
  transform: skewX(-18deg);
  animation: rk2RewardsShine 3.6s ease-in-out infinite;
  pointer-events: none;
}

.rk2-chip--rewards:hover{
  border-color: rgba(255, 230, 160, .92) !important;
  filter: brightness(1.10);
  transform: translateY(-1px) scale(1.02);
  box-shadow:
    0 0 0 1px rgba(255,215,130,.26),
    0 16px 34px rgba(0,0,0,.62),
    0 0 40px rgba(255,215,130,.30);
}

.rk2-chip--rewards:active{
  transform: translateY(0px) scale(1.00);
  filter: brightness(1.05);
}

@keyframes rk2RewardsGlow{
  0%,100%{ opacity: .30; transform: translateY(0px); }
  50%{ opacity: .62; transform: translateY(-1px); }
}
@keyframes rk2RewardsShine{
  0%{ left: -40%; opacity: 0; }
  20%{ opacity: .58; }
  40%{ left: 110%; opacity: 0; }
  100%{ left: 110%; opacity: 0; }
}

/* Modal */
.rk2-modal .modal-content{
  background: rgba(10, 14, 22, .92);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
}
.rk2-modal .modal-header{ border-bottom: 1px solid rgba(255,255,255,.08); }
.rk2-modal .modal-title{
  font-weight: 900;
  letter-spacing: .2px;
}
.rk2-modal .modal-body{ color: rgba(255,255,255,.86); }

.rk2-modal-sub{
  margin: 0 0 14px 0;
  font-size: 13px;
  color: rgba(255,255,255,.78);
}

.rk2-rewards-grid{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.rk2-reward-card{
  display:flex;
  align-items:center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.10);
  min-width: 240px;
  cursor: pointer;
  transition: transform .12s ease, border-color .12s ease, background .12s ease, box-shadow .12s ease;
}

.rk2-reward-card:hover{
  transform: translateY(-1px);
  border-color: rgba(255,215,130,.40);
  background: rgba(0,0,0,.35);
  box-shadow: 0 10px 22px rgba(0,0,0,.35);
}

.rk2-reward-icon{
  width: 55px;
  height: 55px;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
}

.rk2-reward-name{
  font-weight: 900;
  color: rgba(255,255,255,.92);
  line-height: 1.15;
}
.rk2-reward-qty{
  font-size: 12px;
  color: rgba(255,255,255,.68);
}

.rk2-rewards-note{
  margin-top: 12px;
  font-size: 12px;
  color: rgba(255,255,255,.62);
}

/* Bubble title block (Class PvP modal) */
.rk2-bubble-wrap{
  display:flex;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 16px;
  background: rgba(0,0,0,.24);
  border: 1px solid rgba(255,215,130,.18);
}

.rk2-bubble-img{
  width: 100%;
  max-height: 140px;
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
}
