/* ==========================================================================
   JunkieLists Premium theme — antet, hero, conținut, subsol.
   Activ doar când <body class="jlp"> (Admin → Extras → Site theme = Premium).
   Peste: bootstrap / template.css / web.css / jl-premium.css (care rămân pentru pagini).
   ========================================================================== */

.jlp {
  --jl-display: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --jl-body: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  --jlp-bg: #0b0806;
  --jlp-panel: #140e08;
  --jlp-panel-2: #1d140a;
  --jlp-line: rgba(242, 179, 61, 0.18);
  --jlp-line-2: rgba(242, 179, 61, 0.38);
  --jlp-gold: #f2b33d;
  --jlp-gold-l: #ffd983;
  --jlp-ember: #e8613a;
  --jlp-text: #efe6d6;
  --jlp-muted: #b3a387;
  --jlp-wrap: 1240px;
  background: var(--jlp-bg) !important;
  color: var(--jlp-text);
  font-family: var(--jl-body);
  font-size: 15px;
  margin: 0;
  overflow-x: hidden;
}
.jlp *, .jlp *::before, .jlp *::after { box-sizing: border-box; }
.jlp img { max-width: 100%; }
.jlp a { color: var(--jlp-gold-l); }
.jlp a:hover { color: #fff; text-decoration: none; }

/* titluri: același stil peste tot (Montserrat, gros, majuscule) */
.jlp .shop-header h2,
.jlp .title-small span, .jlp .title-large span,
.jlp .web-title, .jlp .jl-section-head h3, .jlp .jl-news-title,
.jlp .jl-pack h4, .jlp .jl-article-head h1, .jlp .jlp-h {
  font-family: var(--jl-display) !important;
  font-weight: 900 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.jlp-wrap { width: 100%; max-width: var(--jlp-wrap); margin: 0 auto; padding: 0 24px; }
.jlp-skip { position: absolute; left: -9999px; top: 0; z-index: 100000; background: #000; color: #fff; padding: 10px 14px; }
.jlp-skip:focus { left: 10px; }

/* ---------- butoane ---------- */
.jlp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 800 13px/1 var(--jl-body); letter-spacing: .6px; text-transform: uppercase;
  border-radius: 10px; padding: 12px 18px; cursor: pointer; border: 1px solid transparent;
  text-decoration: none !important; white-space: nowrap; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.jlp-btn-gold { color: #1d1200 !important; background: linear-gradient(180deg, #ffd166, #e39a00); box-shadow: 0 8px 22px rgba(227, 154, 0, .28); }
.jlp-btn-gold:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(227, 154, 0, .42); color: #000 !important; }
.jlp-btn-ghost { color: var(--jlp-gold-l) !important; background: rgba(11, 8, 6, .45); border-color: var(--jlp-line-2); }
.jlp-btn-ghost:hover { background: rgba(242, 179, 61, .12); color: #fff !important; }
.jlp-btn-lg { padding: 16px 24px; font-size: 14px; border-radius: 12px; }
.jlp-btn-block { width: 100%; }

/* ---------- antet ---------- */
.jlp header.jlp-topbar, .jlp-topbar { height: auto; width: auto; margin: 0; position: sticky; top: 0; z-index: 1000; background: rgba(11, 8, 6, .92); border-bottom: 1px solid rgba(242, 179, 61, .14); backdrop-filter: blur(8px); }
.jlp-topbar-in { display: flex; align-items: center; gap: 22px; min-height: 72px; }
.jlp-logo { position: relative; z-index: 3; align-self: flex-start; margin: 4px 0 -40px; flex-shrink: 0; }
.jlp-logo img { height: 108px; width: auto; display: block; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .7)); transition: transform .2s ease; }
.jlp-logo:hover img { transform: scale(1.03); }
.jlp-nav { display: flex; gap: 20px; flex: 1 1 auto; flex-wrap: wrap; }
.jlp-nav-link { color: #cdbfa5 !important; font-size: 13px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; padding: 6px 0; border-bottom: 2px solid transparent; }
.jlp-nav-link:hover { color: #fff !important; }
.jlp-nav-link.is-active { color: #fff !important; border-bottom-color: var(--jlp-gold); }
.jlp-account { display: flex; align-items: center; gap: 10px; }
.jlp-online { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; color: #b9f5c8 !important; background: rgba(34, 197, 94, .1); border: 1px solid rgba(34, 197, 94, .35); border-radius: 999px; padding: 7px 12px; }
.jlp-online .jlp-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: jlpPulse 2s infinite; }
.jlp-online.is-off { color: #fcd34d !important; background: rgba(245, 158, 11, .1); border-color: rgba(245, 158, 11, .35); }
.jlp-online.is-off .jlp-dot { background: #f59e0b; animation: none; }
@keyframes jlpPulse { 70% { box-shadow: 0 0 0 7px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
@media (prefers-reduced-motion: reduce) { .jlp-online .jlp-dot { animation: none; } .jlp-btn, .jlp-quick-card { transition: none; } }

.jlp-user { position: relative; }
.jlp-user summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--jlp-gold-l); border: 1px solid var(--jlp-line-2); border-radius: 10px; padding: 10px 14px; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jlp-user summary::-webkit-details-marker { display: none; }
.jlp-user-menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 210px; background: #150f08; border: 1px solid var(--jlp-line-2); border-radius: 12px; padding: 6px; box-shadow: 0 20px 40px rgba(0, 0, 0, .55); z-index: 10; }
.jlp-user-menu a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--jlp-text) !important; }
.jlp-user-menu a:hover { background: rgba(242, 179, 61, .1); }
.jlp-user-menu a i { width: 16px; color: var(--jlp-gold); }
.jlp-user-menu a.is-danger, .jlp-user-menu a.is-danger i { color: #fca5a5 !important; }

.jlp-nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.jlp-burger { display: none; width: 44px; height: 44px; border: 1px solid var(--jlp-line-2); border-radius: 10px; cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 4px; margin: 0; }
.jlp-burger span { display: block; width: 18px; height: 2px; background: var(--jlp-gold-l); border-radius: 2px; }

/* ---------- fereastra login ---------- */
.jlp-modal { position: fixed; inset: 0; z-index: 100001; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(0, 0, 0, .72); }
.jlp-modal.is-open { display: flex; }
.jlp-modal-box { position: relative; width: 100%; max-width: 400px; background: linear-gradient(180deg, #1d140a, #120c06); border: 1px solid var(--jlp-line-2); border-radius: 18px; padding: 28px; box-shadow: 0 30px 70px rgba(0, 0, 0, .6); }
.jlp-modal-x { position: absolute; top: 10px; right: 12px; width: 40px; height: 40px; background: none; border: 0; color: #cdbfa5; font-size: 26px; cursor: pointer; }
.jlp-modal .jlp-h { margin: 0 0 16px; font-size: 22px; color: #fff3d6; }
.jlp-form { display: flex; flex-direction: column; gap: 8px; }
.jlp-form label { font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--jlp-muted); margin-top: 6px; }
.jlp-form input { font: 500 15px var(--jl-body); color: var(--jlp-text); background: #0b0806; border: 1px solid var(--jlp-line-2); border-radius: 10px; padding: 13px 14px; }
.jlp-form input:focus { outline: none; border-color: var(--jlp-gold); box-shadow: 0 0 0 3px rgba(242, 179, 61, .18); }
.jlp-form .jlp-btn { margin-top: 14px; padding: 15px; }
.jlp-modal-links { display: flex; justify-content: space-between; margin-top: 16px; font-size: 13px; }
.jlp-alert { background: rgba(239, 68, 68, .12); border: 1px solid rgba(239, 68, 68, .5); color: #fecaca; border-radius: 10px; padding: 10px 12px; font-size: 13px; margin: 0 0 8px; }

/* ---------- hero ---------- */
.jlp-hero {
  position: relative; overflow: hidden;
  background:
    linear-gradient(90deg, rgba(11, 8, 6, .97) 0%, rgba(11, 8, 6, .82) 42%, rgba(11, 8, 6, .25) 75%, rgba(11, 8, 6, .55) 100%),
    linear-gradient(180deg, rgba(11, 8, 6, 0) 60%, #0b0806 100%),
    url('../images/jl-hero.webp') right center / cover no-repeat, #0b0806;
}
.jlp-hero-in { display: flex; gap: 48px; align-items: center; flex-wrap: wrap; padding-top: 84px; padding-bottom: 110px; }
.jlp-hero-copy { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.jlp-eyebrow { align-self: flex-start; font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--jlp-gold); border: 1px solid rgba(242, 179, 61, .4); border-radius: 999px; padding: 6px 14px; background: rgba(242, 179, 61, .06); }
.jlp-hero-title { margin: 0; font: 900 52px/1.08 var(--jl-display); text-transform: uppercase; color: #fff6dc; letter-spacing: .5px; }
.jlp-hero-text { margin: 0; max-width: 560px; font-size: 17px; line-height: 1.7; color: #cdbfa5; }
.jlp-hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 4px; }
.jlp-countdown { margin-top: 8px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.jlp-countdown-label { font-size: 12px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase; color: var(--jlp-gold); }
.jlp-countdown-boxes { display: flex; gap: 8px; }
.jlp-countdown-boxes span { min-width: 62px; text-align: center; background: rgba(11, 8, 6, .65); border: 1px solid var(--jlp-line-2); border-radius: 12px; padding: 8px 6px; font-size: 10px; letter-spacing: 1px; text-transform: uppercase; color: var(--jlp-muted); }
.jlp-countdown-boxes b { display: block; font-size: 22px; color: var(--jlp-gold-l); letter-spacing: 0; }
.jlp-countdown-done { font-weight: 800; color: #86efac; }

.jlp-server { flex: 1 1 340px; max-width: 380px; background: rgba(20, 14, 8, .84); border: 1px solid rgba(242, 179, 61, .22); border-radius: 18px; padding: 24px; box-shadow: 0 24px 60px rgba(0, 0, 0, .5); display: flex; flex-direction: column; gap: 14px; }
.jlp-server-head { display: flex; align-items: center; justify-content: space-between; }
.jlp-server .jlp-h { margin: 0; font-size: 18px; color: #fff3d6; }
.jlp-status { font-size: 11px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: #86efac; }
.jlp-status::before { content: '● '; }
.jlp-status.is-off { color: #fcd34d; }
.jlp-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.jlp-stats div { background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .06); border-radius: 12px; padding: 12px 14px; }
.jlp-stats span { display: block; font-size: 11px; color: var(--jlp-muted); text-transform: uppercase; letter-spacing: 1px; }
.jlp-stats b { display: block; font-size: 19px; color: var(--jlp-gold-l); margin-top: 4px; }
.jlp-server-row { display: flex; justify-content: space-between; font-size: 13px; color: #cdbfa5; padding-top: 12px; border-top: 1px dashed rgba(255, 255, 255, .1); }
.jlp-server-row b { color: var(--jlp-text); }

/* ---------- acțiuni rapide ---------- */
.jlp-quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-top: -56px; position: relative; z-index: 2; }
.jlp-quick-card { display: flex; flex-direction: column; gap: 10px; background: linear-gradient(180deg, #1d140a, #120c06); border: 1px solid var(--jlp-line); border-radius: 16px; padding: 22px; color: var(--jlp-text) !important; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.jlp-quick-card:hover { transform: translateY(-3px); border-color: var(--jlp-line-2); box-shadow: 0 16px 34px rgba(0, 0, 0, .45); }
.jlp-quick-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(242, 179, 61, .1); border: 1px solid var(--jlp-line-2); color: var(--jlp-gold); font-size: 18px; }
.jlp-quick-card strong { font: 900 16px var(--jl-display); text-transform: uppercase; color: #fff3d6; letter-spacing: .4px; }
.jlp-quick-card span:last-child { font-size: 13px; line-height: 1.6; color: var(--jlp-muted); }

/* ---------- slider ---------- */
.jlp-slider { margin-top: 28px; }
.jlp-slider .swiper { border-radius: 18px; overflow: hidden; border: 1px solid var(--jlp-line); aspect-ratio: 1240 / 380; background: #120c06; }
.jlp-slider .swiper-slide a { display: block; position: relative; height: 100%; }
.jlp-slider img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jlp-slider-title { position: absolute; left: 24px; bottom: 22px; font: 900 22px var(--jl-display); text-transform: uppercase; color: #fff; text-shadow: 0 2px 12px rgba(0, 0, 0, .7); }
.jlp-slider .swiper-pagination-bullet { background: #fff; opacity: .5; }
.jlp-slider .swiper-pagination-bullet-active { background: var(--jlp-gold) !important; opacity: 1; }

/* ---------- conținut ---------- */
.jlp-pagehead { height: 48px; }
.jlp-main { padding-top: 28px; padding-bottom: 80px; }
.jlp .web-container { width: auto !important; padding-top: 0 !important; margin: 0 !important; display: block !important; }
.jlp .web-container .main { width: 100%; }
.jlp .page-container-view { margin-top: 0 !important; color: var(--jlp-text) !important; width: 100% !important; }
.jlp .page-container-view > .content { background: linear-gradient(180deg, rgba(24, 16, 8, .95), rgba(13, 9, 5, .97)) !important; }
.jlp .page-container-view > .content > .box-web { background: none !important; overflow-x: auto; }

/* pe Home, caseta „Information” e înlocuită de cardul Server din hero */
.jlp .web-container .box-info { display: none !important; }
@media (min-width: 1200px) {
  .jlp .web-container .box-notice { flex: 1 1 0 !important; }
  .jlp .web-container .box-events { flex: 0 0 360px !important; width: 360px !important; }
}

/* ---------- subsol ---------- */
.jlp footer.jlp-footer { width: auto; height: auto; }
.jlp-footer { border-top: 1px solid rgba(242, 179, 61, .14); background: linear-gradient(180deg, #0b0806 0%, rgba(11, 8, 6, .55) 45%, rgba(11, 8, 6, .92) 100%), url('../images/jl-footer.webp') center bottom / cover no-repeat, #0b0806; }
.jlp-footer-in { padding-top: 64px; padding-bottom: 48px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.jlp-footer-logo { height: 96px; width: auto; }
.jlp-footer-nav { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .6px; }
.jlp-footer-nav a { color: #cdbfa5 !important; }
.jlp-footer-nav a:hover { color: #fff !important; }
.jlp-footer-legal { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.jlp-footer-legal button { font: 700 12px var(--jl-body); letter-spacing: 1px; text-transform: uppercase; color: var(--jlp-gold-l); background: rgba(11, 8, 6, .6); border: 1px solid rgba(242, 179, 61, .4); border-radius: 999px; padding: 10px 18px; cursor: pointer; }
.jlp-footer-legal button:hover { background: rgba(242, 179, 61, .14); color: #fff; }
.jlp-copy { margin: 0; font-size: 13px; color: #cdbfa5; }

/* ---------- ecrane mici ---------- */
@media (max-width: 1100px) {
  .jlp-burger { display: inline-flex; order: 3; }
  .jlp-logo { margin: 0 0 -24px; }
  .jlp-logo img { height: 84px; }
  .jlp-nav { order: 4; flex-basis: 100%; display: none; flex-direction: column; gap: 0; padding: 6px 0 14px; }
  .jlp-nav-link { padding: 12px 4px; border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .jlp-nav-link.is-active { border-bottom-color: rgba(255, 255, 255, .06); color: var(--jlp-gold-l) !important; }
  .jlp-nav-toggle:checked ~ .jlp-nav { display: flex; }
  .jlp-topbar-in { flex-wrap: wrap; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
  .jlp-account { margin-left: auto; }
  .jlp .web-container .main-notice-info,
  .jlp .web-container .main-ranking-staff { flex-direction: column !important; gap: 18px !important; }
  .jlp .web-container .main-notice-info > *,
  .jlp .web-container .main-ranking-staff > * { width: 100% !important; flex: 1 1 auto !important; height: auto !important; min-height: 0; }
}
@media (max-width: 860px) {
  .jlp .castle-siege-new { height: auto !important; padding: 24px 14px 28px !important; }
  .jlp .cs-container-new { flex-direction: column !important; margin: 0 auto !important; max-width: 100% !important; width: 100%; gap: 18px !important; }
  .jlp .cs-info-box-new { width: 100% !important; }
  .jlp .cs-info-grid { grid-template-columns: 1fr !important; }
  .jlp .jl-promo-main { flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .jlp-wrap { padding: 0 16px; }
  .jlp-logo { margin: 0; align-self: center; }
  .jlp-logo img { height: 64px; }
  .jlp-online { display: none; }
  .jlp-account .jlp-btn { padding: 11px 12px; font-size: 12px; }
  .jlp-hero-in { padding-top: 48px; padding-bottom: 84px; gap: 28px; }
  .jlp-hero-title { font-size: 30px; }
  .jlp-hero-text { font-size: 15px; }
  .jlp-hero-cta .jlp-btn { width: 100%; }
  .jlp-server { max-width: none; }
  .jlp-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .jlp-quick-card { padding: 16px; }
  .jlp-quick-card span:last-child { display: none; }
  .jlp-slider .swiper { aspect-ratio: 16 / 9; }
  .jlp .page-container-view > .content { border-radius: 14px !important; }
}
