/* NoxusMU — Buy Credits: Treasure Hall + Noxus Market (views/credits.php) */
.nx-credits-page .nx-main { padding: 0 !important; max-width: none !important; background: #050208 !important; }
.nxv { --gold: #f1c96b; --gold-2: #ffe3a6; --ink: #050208; --line: rgba(241, 201, 107, .28); --muted: #b9a27e;
  color: #f3e8d6; font: 14px/1.6 'Open Sans', Arial, sans-serif; background: #050208; overflow: hidden; }
.nxv *, .nxv *::before, .nxv *::after { box-sizing: border-box; }
.nxv [hidden] { display: none !important; }
.nxv h1, .nxv h2, .nxv h3, .nxv h4 { margin: 0; font-family: 'Cinzel', Georgia, serif; letter-spacing: .02em; text-transform: none; }
.nxv p { margin: 0; }
body .nxv button { height: auto !important; min-width: 0 !important; max-width: none !important; margin: 0; box-shadow: none; text-shadow: none; background-image: none; cursor: pointer; line-height: 1.3 !important; }
body .nxv button::before, body .nxv button::after { display: none !important; }

/* ---------- Treasure Hall ---------- */
.nxv-hall { position: relative; isolation: isolate; padding: 64px clamp(16px, 4vw, 64px) 46px;
  background: linear-gradient(180deg, rgba(5, 2, 8, .5), #050208 94%), url('../images/events/v2/hero-citadel.webp') center top / cover no-repeat; }
.nxv-hall::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at 50% 78%, rgba(255, 190, 90, .2), transparent 55%); }
.nxv-hall-top { display: flex; flex-direction: column; align-items: center; gap: 22px; max-width: 1400px; margin: 0 auto; }
.nxv-title { text-align: center; }
.nxv-title small { display: block; color: #e8c27a; font-size: 11px; letter-spacing: .5em; }
.nxv-title h1 { margin: 12px 0 8px; font: 900 clamp(38px, 6vw, 82px)/1 'Cinzel', serif; color: var(--gold-2); text-shadow: 0 0 30px rgba(255, 190, 90, .35), 0 4px 0 #3a1d05; }
.nxv-title p { max-width: 680px; margin: 0 auto; color: #d9c7a8; font-size: 15px; }
.nxv-balance { display: flex; align-items: center; gap: 16px; padding: 10px 20px; border: 1px solid var(--line); border-radius: 99px; background: rgba(12, 6, 3, .72); backdrop-filter: blur(4px); }
.nxv-balance span { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .2em; }
.nxv-balance strong { font: 800 22px 'Cinzel', serif; color: #fff; }
.nxv-balance strong em { font-style: normal; font-size: 12px; color: var(--gold); }
.nxv-balance a { color: var(--gold); font-size: 11px; font-weight: 700; text-decoration: none; }

.nxv-pedestals { display: flex; justify-content: center; align-items: flex-end; flex-wrap: wrap; gap: 18px 14px; max-width: 1400px; margin: 90px auto 0; }
.nxv-pedestal { position: relative; width: 236px; text-align: center; cursor: pointer; transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.nxv-pedestal:hover { transform: translateY(-10px); }
.nxv-pedestal input { position: absolute; opacity: 0; pointer-events: none; }
.nxv-pedestal > img { position: relative; z-index: 2; display: block; width: 230px; margin: 0 auto -30px; filter: drop-shadow(0 18px 20px rgba(0, 0, 0, .7)); transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.nxv-pedestal:hover > img { transform: scale(1.05) translateY(-4px); }
.nxv-pedestal.is-tier-5 > img { width: 270px; }
.nxv-stone { position: relative; display: flex; flex-direction: column; align-items: center; min-height: 250px; margin: 0 14px; padding: 42px 14px 16px; border-radius: 50% 50% 8px 8px / 30px 30px 8px 8px; background: linear-gradient(180deg, #3b2a1c, #1a110a); box-shadow: inset 0 10px 20px rgba(255, 210, 140, .15), 0 20px 40px rgba(0, 0, 0, .6); transition: box-shadow .3s; }
.nxv-stone::before { content: ""; position: absolute; left: 10%; right: 10%; top: -8px; height: 22px; border-radius: 50%; background: radial-gradient(ellipse, rgba(255, 210, 120, .7), transparent 70%); filter: blur(4px); }
.nxv-pedestal.is-tier-5 .nxv-stone { min-height: 290px; }
.nxv-stone small { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .3em; }
.nxv-pack-name { margin-top: 2px; font: 700 16px 'Cinzel', serif; color: var(--gold-2); }
.nxv-stone strong { font: 900 32px/1.15 'Cinzel', serif; color: #fff; }
.nxv-stone em { font-style: normal; font-size: 9px; letter-spacing: .3em; color: #e8c27a; }
.nxv-bonus { margin-top: 8px; padding: 2px 9px; border: 1px solid rgba(120, 255, 180, .45); border-radius: 3px; color: #9dffc8; font-size: 10px; font-weight: 700; letter-spacing: .06em; }
.nxv-bonus.is-base { border-color: rgba(255, 210, 120, .4); color: #ffd98a; }
.nxv-price { display: block; width: 100%; margin-top: auto; padding: 11px; border: 1px solid var(--gold); border-radius: 3px; background: linear-gradient(180deg, #f6d98a, #c98d38); color: #2a1405; font: 800 15px 'Cinzel', serif; letter-spacing: .08em; }
.nxv-pedestal input:checked ~ .nxv-stone { box-shadow: inset 0 10px 20px rgba(255, 210, 140, .2), 0 0 0 2px var(--gold), 0 0 40px rgba(255, 200, 100, .45); }
.nxv-pedestal input:checked ~ .nxv-stone .nxv-price { background: linear-gradient(180deg, #fff0bf, #e6ae4c); }
.nxv-pedestal input:focus-visible ~ .nxv-stone { outline: 2px solid #fff0bf; outline-offset: 3px; }
.nxv-flag { position: absolute; z-index: 3; top: -34px; left: 50%; transform: translateX(-50%); padding: 5px 14px; border: 1px solid var(--gold); background: #7b1d1d; color: var(--gold-2); font: 800 10px 'Cinzel', serif; letter-spacing: .14em; white-space: nowrap; }
.nxv-trust { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 30px; margin-top: 34px; color: var(--muted); font-size: 12px; }
.nxv-trust i { color: var(--gold); margin-right: 5px; }

/* ---------- Sections ---------- */
.nxv-market, .nxv-checkout, .nxv-history { max-width: 1400px; margin: 0 auto; padding: 56px clamp(16px, 4vw, 64px); }
.nxv-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 26px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.nxv-head small { color: #e8c27a; font-size: 10px; font-weight: 800; letter-spacing: .4em; }
.nxv-head h2 { margin-top: 6px; font-size: clamp(28px, 3.4vw, 42px); color: var(--gold-2); }
.nxv-head p { max-width: 460px; color: #cdb99a; }
.nxv-head b { color: var(--gold); }
.nxv-alert { max-width: 1400px; margin: 18px auto; padding: 14px 18px; border-radius: 6px; font-size: 13px; }
.nxv-alert.is-ok { border: 1px solid rgba(90, 255, 170, .35); background: rgba(30, 110, 80, .18); color: #b7ffe0; }
.nxv-alert.is-bad { border: 1px solid rgba(255, 90, 110, .4); background: rgba(120, 18, 43, .22); color: #ffc4d0; }
.nxv-empty { display: grid; justify-items: center; gap: 6px; max-width: 700px; margin: 40px auto 0; padding: 40px; border: 1px dashed var(--line); border-radius: 8px; color: var(--muted); text-align: center; }
.nxv-empty i { font-size: 30px; color: var(--gold); }
.nxv-empty strong { font: 700 18px 'Cinzel', serif; color: var(--gold-2); }

/* ---------- Market ---------- */
.nxv-deals { position: relative; margin-bottom: 30px; padding: 22px; border: 1px solid rgba(255, 110, 70, .45); border-radius: 10px; background: radial-gradient(ellipse at 0% 0%, rgba(255, 90, 50, .16), transparent 45%), linear-gradient(135deg, #1b0c07, #0c0605); }
.nxv-deals-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 18px; }
.nxv-hot { display: inline-block; padding: 4px 10px; border-radius: 3px; background: linear-gradient(90deg, #d8342a, #ff7a2e); color: #fff; font-size: 10px; font-weight: 800; letter-spacing: .16em; }
.nxv-deals-head h3 { margin-top: 6px; font-size: 26px; color: #ffd0a0; }
.nxv-timer { text-align: right; color: #d8b89a; font-size: 12px; }
.nxv-timer b { display: block; font: 800 26px 'Cinzel', serif; color: #fff; font-variant-numeric: tabular-nums; }
.nxv-timer small { color: #9c8068; }
.nxv-deals-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 14px; }
.nxv-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
body .nxv .nxv-tabs button { padding: 9px 16px !important; border: 1px solid var(--line) !important; border-radius: 99px !important; background: rgba(20, 12, 6, .7) !important; color: #e3cfa9 !important; font: 700 12px 'Open Sans', sans-serif !important; width: auto !important; }
body .nxv .nxv-tabs button:hover { border-color: var(--gold) !important; }
body .nxv .nxv-tabs button.is-on { border-color: var(--gold) !important; background: linear-gradient(180deg, #f6d98a, #c98d38) !important; color: #2a1405 !important; }
.nxv-tabs i { margin-right: 5px; }
.nxv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; }
.nxv-item { position: relative; display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; border: 1px solid rgba(241, 201, 107, .2); border-radius: 8px; background: linear-gradient(180deg, #1c130b, #0d0906); transition: transform .2s, border-color .2s, box-shadow .2s; }
.nxv-item:hover { transform: translateY(-4px); border-color: rgba(241, 201, 107, .6); box-shadow: 0 16px 34px rgba(0, 0, 0, .5); }
.nxv-item-art { display: grid; place-items: center; height: 120px; background: radial-gradient(circle at 50% 60%, rgba(255, 200, 110, .18), transparent 65%); }
.nxv-item-art img { max-width: 96px; max-height: 96px; image-rendering: auto; transform: scale(1.4); filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .7)); }
.nxv-item-art i { font-size: 42px; color: var(--gold); }
.nxv-item-copy { padding: 4px 16px 10px; }
.nxv-item-copy h4 { font-size: 15px; color: var(--gold-2); }
.nxv-item-copy p { margin-top: 4px; color: #b8a58a; font-size: 12px; line-height: 1.5; }
.nxv-item-stock { display: inline-block; margin-top: 6px; color: #ff9f7a; font-size: 11px; font-weight: 700; }
.nxv-item-buy { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; border-top: 1px solid rgba(241, 201, 107, .14); background: rgba(0, 0, 0, .25); }
.nxv-item-price { color: #e8c27a; font-size: 11px; font-weight: 700; }
.nxv-item-price b { font: 800 20px 'Cinzel', serif; color: #fff; margin-right: 3px; }
.nxv-item-price s { display: block; color: #8d7b66; font-size: 12px; }
.nxv-item-buy form { margin: 0; }
body .nxv .nxv-item-btn, .nxv a.nxv-item-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 88px !important; padding: 9px 16px !important; border: 1px solid var(--gold) !important; border-radius: 4px !important; background: linear-gradient(180deg, #f6d98a, #c98d38) !important; color: #2a1405 !important; font: 800 12px 'Cinzel', serif !important; letter-spacing: .08em; text-decoration: none; width: auto !important; }
body .nxv .nxv-item-btn:hover, .nxv a.nxv-item-btn:hover { background: linear-gradient(180deg, #fff0bf, #e6ae4c) !important; }
.nxv .nxv-item-btn.is-off { border-color: #555 !important; background: #2a2420 !important; color: #8d7b66 !important; }
.nxv-item.is-deal { border-color: rgba(255, 120, 70, .55); background: linear-gradient(180deg, #2a120a, #110806); }
.nxv-item.is-big .nxv-item-art { height: 150px; }
.nxv-item.is-big .nxv-item-art img { transform: scale(1.7); }
.nxv-item-flag { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 4px 9px; border-radius: 3px; background: linear-gradient(90deg, #d8342a, #ff7a2e); color: #fff; font: 800 12px 'Cinzel', serif; }
.nxv-note { margin-top: 18px; color: #a8927a; font-size: 12px; }
.nxv-note i { color: var(--gold); margin-right: 5px; }

/* ---------- Checkout ---------- */
.nxv-checkout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 50px; align-items: center; margin-top: 10px; border-top: 1px solid var(--line); }
.nxv-steps small { color: #e8c27a; font-size: 10px; font-weight: 800; letter-spacing: .4em; }
.nxv-steps h2 { margin: 6px 0 12px; font-size: clamp(26px, 3vw, 38px); color: var(--gold-2); }
.nxv-steps p { color: #cdb99a; }
.nxv-steps ol { display: grid; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.nxv-steps li { display: flex; align-items: center; gap: 12px; color: #e7d6b8; font-weight: 700; }
.nxv-steps li b { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--gold); transform: rotate(45deg); color: var(--gold); font-size: 12px; }
.nxv-steps li b::first-letter { display: inline-block; }
.nxv-order { overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: linear-gradient(180deg, #1a120a, #0b0705); box-shadow: 0 26px 60px rgba(0, 0, 0, .45); }
.nxv-order-head { display: flex; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid rgba(241, 201, 107, .14); color: #9df0c0; font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.nxv-order-head em { color: #cdb99a; font-style: normal; letter-spacing: .04em; }
.nxv-order-pick { display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 14px; padding: 16px 20px; }
.nxv-order-pick img { width: 110px; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .6)); }
.nxv-order-pick small { display: block; color: var(--muted); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.nxv-order-pick strong { display: block; font: 700 18px 'Cinzel', serif; color: var(--gold-2); }
.nxv-order-pick em { font-style: normal; color: #e8c27a; }
.nxv-order-price { font: 800 26px 'Cinzel', serif; color: #fff; }
.nxv-guest { margin: 0 20px 14px; padding: 16px; border: 1px dashed var(--line); border-radius: 8px; color: #b8a58a; font-size: 12px; }
.nxv-guest strong { display: block; margin-bottom: 4px; font: 700 15px 'Cinzel', serif; color: var(--gold-2); }
body .nxv .nxv-cta, .nxv a.nxv-cta { display: flex; align-items: center; justify-content: center; gap: 9px; flex-wrap: wrap; margin: 0 20px 12px; padding: 15px !important; border: 1px solid var(--gold) !important; border-radius: 6px !important; background: linear-gradient(180deg, #f6d98a, #d9a24a 55%, #a86f27) !important; color: #2a1405 !important; font: 800 13px 'Cinzel', serif !important; letter-spacing: .1em; text-decoration: none; width: auto !important; }
.nxv .nxv-cta small { flex-basis: 100%; text-align: center; font: 600 10px 'Open Sans', sans-serif; letter-spacing: 0; opacity: .8; }
body .nxv .nxv-cta.is-ghost, .nxv a.nxv-cta.is-ghost { background: transparent !important; color: var(--gold) !important; }
.nxv-confirm { margin: 0; padding: 16px 20px 20px; border-top: 1px solid rgba(241, 201, 107, .14); }
.nxv-confirm label { display: block; margin: 0; }
.nxv-confirm label span { display: block; margin-bottom: 7px; color: #e7d6b8; font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.nxv-confirm input[type=text] { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 6px; outline: 0; background: #080504; color: #fff; font: 600 13px 'Open Sans', sans-serif; }
.nxv-confirm input[type=text]:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(241, 201, 107, .15); }
.nxv-confirm label small { display: block; margin-top: 6px; color: #8d7b66; font-size: 11px; }
body .nxv .nxv-confirm button { width: 100% !important; margin-top: 14px; padding: 14px !important; border: 0 !important; border-radius: 6px !important; background: linear-gradient(90deg, #8c5a1f, #d9a24a) !important; color: #fff !important; font: 800 12px 'Cinzel', serif !important; letter-spacing: .1em; }
.nxv-order footer { padding: 12px 20px; border-top: 1px solid rgba(241, 201, 107, .1); color: #8d7b66; font-size: 11px; text-align: center; }
.nxv-order footer i { color: #9df0c0; margin-right: 5px; }

/* ---------- History ---------- */
.nxv-history-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.nxv-history h3 { margin-bottom: 10px; font-size: 17px; color: var(--gold-2); }
.nxv-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 14px; margin-bottom: 8px; border: 1px solid rgba(241, 201, 107, .12); border-radius: 6px; background: rgba(255, 255, 255, .02); }
.nxv-row b { display: block; color: #fff; }
.nxv-row small { color: #8d7b66; font-size: 11px; }
.nxv-row em { font-style: normal; font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 99px; background: rgba(255, 210, 120, .1); color: #ffd98a; }
.nxv-row em.is-paid, .nxv-row em.is-approved { background: rgba(90, 255, 170, .1); color: #8dffc4; }
.nxv-row em.is-rejected, .nxv-row em.is-failed { background: rgba(255, 90, 110, .12); color: #ff9fb0; }
.nxv-muted { color: #8d7b66; }

/* ---------- Confirm modal ---------- */
.nxv-modal { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; padding: 16px; background: rgba(5, 2, 8, .8); backdrop-filter: blur(4px); }
.nxv-modal[hidden] { display: none; }
.nxv-modal-card { width: min(420px, 100%); padding: 26px 24px 20px; border: 1px solid rgba(241, 201, 107, .5); border-radius: 10px; background: linear-gradient(180deg, #1c130b, #0b0705); color: #f3e8d6; text-align: center; font: 14px/1.6 'Open Sans', Arial, sans-serif; }
.nxv-modal-card h3 { margin: 0 0 8px; font: 700 22px 'Cinzel', serif; color: #ffe3a6; }
.nxv-modal-card p { margin: 0 0 18px; color: #d9c7a8; }
.nxv-modal-card > div { display: flex; gap: 10px; justify-content: center; }
.nxv-modal-card .nxv-cta { flex: 1; margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nxv-pedestals { margin-top: 60px; }
  .nxv-checkout, .nxv-history-cols { grid-template-columns: 1fr; }
  .nxv-head { flex-direction: column; align-items: flex-start; }
  .nxv-deals-head { flex-direction: column; align-items: flex-start; }
  .nxv-timer { text-align: left; }
}
@media (max-width: 560px) {
  .nxv-pedestals { row-gap: 56px; }
  .nxv-pedestal { width: calc(50% - 8px); }
  .nxv-pedestal > img, .nxv-pedestal.is-tier-5 > img { width: 100%; }
  .nxv-stone { margin: 0 4px; min-height: 230px; padding: 38px 8px 12px; }
  .nxv-stone strong { font-size: 24px; }
  .nxv-flag { font-size: 8px; padding: 4px 8px; }
  .nxv-order-pick { grid-template-columns: 70px 1fr; }
  .nxv-order-pick img { width: 70px; }
  .nxv-order-price { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) { .nxv * { transition: none !important; } }

/* ---------- Bundles & limited offers ---------- */
.nxv-offers { margin-bottom: 30px; padding: 22px; border: 1px solid rgba(241, 201, 107, .5); border-radius: 10px; background: radial-gradient(ellipse at 100% 0%, rgba(255, 200, 100, .14), transparent 45%), linear-gradient(135deg, #1b1308, #0b0805); }
.nxv-offers-head { margin-bottom: 18px; }
.nxv-offers-head h3 { margin-top: 6px; font-size: 26px; color: var(--gold-2); }
.nxv-hot.is-gold { background: linear-gradient(90deg, #b8862d, #f1c96b); color: #2a1405; }
.nxv-offers-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); gap: 16px; }
.nxv-offer { display: grid; grid-template-columns: 170px 1fr; overflow: hidden; border: 1px solid rgba(241, 201, 107, .3); border-radius: 10px; background: linear-gradient(180deg, #211709, #0e0a05); transition: transform .2s, border-color .2s; }
.nxv-offer:hover { transform: translateY(-4px); border-color: var(--gold); }
.nxv-offer-art { position: relative; display: grid; place-items: center; min-height: 190px; background: radial-gradient(circle at 50% 60%, rgba(255, 190, 90, .25), transparent 70%); }
.nxv-offer-art img { width: 150px; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .7)); }
.nxv-offer-art img.is-item { width: auto; max-width: 90px; transform: scale(1.5); }
.nxv-offer-save { position: absolute; top: 12px; left: 12px; padding: 4px 9px; border-radius: 3px; background: linear-gradient(90deg, #1f9d63, #45d68f); color: #06150d; font: 800 11px 'Cinzel', serif; }
.nxv-offer-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 14px; }
.nxv-offer-kind { color: #e8c27a; font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.nxv-offer-body h3 { font-size: 20px; color: var(--gold-2); }
.nxv-offer-body p { color: #b8a58a; font-size: 12px; }
.nxv-offer-contents { display: grid; gap: 6px; margin: 4px 0 0; padding: 0; list-style: none; }
.nxv-offer-contents li { display: flex; align-items: center; gap: 10px; color: #e7d6b8; font-size: 12px; }
.nxv-offer-contents img { width: 28px; height: 28px; object-fit: contain; filter: drop-shadow(0 2px 4px #000); }
.nxv-offer-contents b { color: var(--gold); }
.nxv-offer-timer { color: #ffb48a; font-size: 12px; }
.nxv-offer-timer b { font-variant-numeric: tabular-nums; color: #fff; }
.nxv-offer-buy { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; border-top: 1px solid rgba(241, 201, 107, .14); }
.nxv-offer-buy form { margin: 0; }
@media (max-width: 560px) { .nxv-offer { grid-template-columns: 1fr; } .nxv-offer-art { min-height: 150px; } }
