/* Widok sklepu SkyRift. */
.store-page { overflow: hidden; }
.store-page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 112px 0 96px;
  background:
    radial-gradient(ellipse at 52% 0%, rgba(34, 180, 255, 0.24), transparent 57%),
    linear-gradient(180deg, rgba(8, 32, 56, 0.52), rgba(5, 17, 30, 0.08));
}
.store-page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 140px;
  background: linear-gradient(to bottom, transparent, var(--bg));
}
.store-page-orb {
  position: absolute;
  z-index: -2;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(15px);
  pointer-events: none;
}
.store-page-orb-left { top: -190px; left: -170px; background: radial-gradient(circle, rgba(43, 165, 255, 0.24), transparent 66%); }
.store-page-orb-right { right: -180px; bottom: -280px; background: radial-gradient(circle, rgba(86, 99, 255, 0.16), transparent 66%); }
.store-page-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 0.58fr); gap: 70px; align-items: center; }
.store-page-hero-copy h1 { margin-bottom: 17px; }
.store-page-hero-copy h1 span { color: var(--cyan); }
.store-page-hero-copy > p:not(.eyebrow) { max-width: 660px; margin: 0; color: var(--muted); font-size: 18px; }
.store-page-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.store-status-card {
  position: relative;
  overflow: hidden;
  padding: 31px 30px 29px;
  border: 1px solid rgba(125, 225, 255, 0.23);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(12, 57, 94, 0.80), rgba(5, 21, 38, 0.92));
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(229, 251, 255, 0.06);
}
.store-status-card::before { content: ""; position: absolute; top: -80px; right: -66px; width: 230px; height: 230px; border: 1px solid rgba(126, 228, 255, 0.14); border-radius: 50%; }
.store-status-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 20px; border: 1px solid rgba(112, 223, 255, 0.33); border-radius: 16px; color: var(--cyan); background: rgba(80, 205, 255, 0.12); box-shadow: 0 0 28px rgba(60, 202, 255, 0.10); font-size: 24px; }
.store-status-label { margin: 0 0 4px; color: #8bb2c7; font-size: 11px; font-weight: 900; letter-spacing: 0.13em; text-transform: uppercase; }
.store-status-card strong { display: block; color: #ebfbff; font-size: 25px; line-height: 1.15; }
.store-status-card > p:not(.store-status-label) { margin: 11px 0 17px; color: #9fc3d4; font-size: 13px; line-height: 1.56; }
.store-status-pill,
.rank-card-badge {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border: 1px solid rgba(122, 225, 255, 0.25);
  border-radius: 999px;
  color: #aeefff;
  background: rgba(78, 202, 255, 0.09);
  font-size: 11px;
  font-weight: 900;
}

.store-ranks-section { position: relative; padding: 104px 0 112px; }
.store-section-heading { max-width: 690px; margin: 0 auto; text-align: center; }
.store-section-heading > p:not(.eyebrow) { margin: -2px auto 0; color: var(--muted); font-size: 16px; }

.rank-package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
  margin-top: 47px;
}
.rank-package-card {
  position: relative;
  display: flex;
  min-height: 420px;
  flex-direction: column;
  overflow: hidden;
  padding: 21px 19px 18px;
  border: 1px solid rgba(151, 228, 255, 0.16);
  border-radius: 18px;
  background: linear-gradient(155deg, rgba(14, 49, 80, 0.77), rgba(5, 19, 34, 0.90));
  box-shadow: inset 0 1px 0 rgba(230, 252, 255, 0.04);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}
.rank-package-card::before { content: ""; position: absolute; top: -105px; right: -75px; width: 225px; height: 225px; border-radius: 50%; opacity: 0.64; filter: blur(2px); }
.rank-package-card:hover { transform: translateY(-5px); border-color: rgba(171, 235, 255, 0.36); box-shadow: 0 22px 42px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(230, 252, 255, 0.05); }
.rank-showcase-topline { position: relative; display: flex; align-items: center; gap: 7px; color: #91b9cb; font-size: 10.5px; font-weight: 900; letter-spacing: 0.11em; text-transform: uppercase; }
.rank-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px rgba(83, 213, 255, 0.70); }
.rank-display {
  position: relative;
  display: block;
  width: max-content;
  max-width: 100%;
  margin: 25px 0 10px;
  color: #ffffff;
  font-family: "Arial Black", Impact, Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(30px, 2.25vw, 39px);
  font-weight: 950;
  font-kerning: none;
  font-variant-ligatures: none;
  letter-spacing: -0.065em;
  line-height: 0.96;
  white-space: nowrap;
  text-rendering: geometricPrecision;
  text-shadow: 0 2px 0 rgba(14, 33, 45, 0.60);
}
/* Rangi mają jeden czytelny kolor. Sponsor zachowuje kolor liter z serwera. */
.rank-display-vip,
.rank-display-vip-plus,
.rank-display-mvip,
.rank-display-mvip-plus {
  background: none;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: currentColor;
  -webkit-text-stroke: 0;
}
.rank-display-vip { color: #eaf040; }
.rank-display-vip-plus { color: #ffb028; }
.rank-display-mvip { color: #ed63e8; }
.rank-display-mvip-plus { color: #e343d7; }
.rank-display-sponsor { color: #ffffff; letter-spacing: -0.045em; text-shadow: 0 2px 0 rgba(14, 33, 45, 0.60), 0 0 17px rgba(120, 238, 255, 0.28); }
.rank-display-sponsor span { display: inline; padding: 0; margin: 0; }
.rank-description { position: relative; min-height: 42px; margin: 0; color: #a7c5d3; font-size: 13px; line-height: 1.55; }

.rank-period-list { position: relative; display: grid; gap: 8px; margin: 20px 0 16px; }
.rank-period-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 80px;
  padding: 10px 11px;
  border: 1px solid rgba(147, 225, 255, 0.13);
  border-radius: 11px;
  background: rgba(2, 17, 30, 0.40);
}
.rank-period-option > div { display: grid; gap: 2px; }
.rank-period-side { justify-items: end; flex: 0 0 auto; }
.rank-period-option strong { color: #e8faff; font-size: 13px; }
.rank-period-option span { color: #88adbf; font-size: 11px; }
.rank-period-option b { color: #b8eefd; font-size: 11px; text-align: right; white-space: nowrap; }
.rank-buy-button { display: inline-flex; align-items: center; justify-content: center; min-height: 27px; padding: 5px 8px; border: 1px solid rgba(106, 225, 255, 0.34); border-radius: 8px; color: #062535; background: #73e1ff; box-shadow: 0 8px 18px rgba(52, 196, 239, 0.13); font-size: 10px; font-weight: 950; text-decoration: none; white-space: nowrap; transition: transform .18s ease, filter .18s ease; }
.rank-buy-button:hover { transform: translateY(-1px); filter: brightness(1.06); }
.rank-buy-unavailable { color: #8bb1c3; font-size: 10px; font-weight: 800; text-align: right; white-space: nowrap; }
.rank-period-only { min-height: 68px; border-color: rgba(126, 235, 255, 0.22); background: rgba(44, 171, 220, 0.08); }
.rank-card-badge { position: relative; width: fit-content; margin-top: auto; }

.rank-showcase-vip::before { background: radial-gradient(circle, rgba(224, 242, 58, 0.28), transparent 67%); }
.rank-showcase-vip-plus::before { background: radial-gradient(circle, rgba(255, 178, 31, 0.30), transparent 67%); }
.rank-showcase-mvip::before { background: radial-gradient(circle, rgba(246, 75, 229, 0.25), transparent 67%); }
.rank-showcase-mvip-plus::before { background: radial-gradient(circle, rgba(210, 26, 224, 0.27), transparent 67%); }
.rank-showcase-sponsor::before { background: radial-gradient(circle, rgba(93, 231, 255, 0.26), transparent 67%); }

.rank-showcase-vip .rank-dot,
.rank-showcase-vip .rank-card-badge { background: #eaf040; color: #172102; box-shadow: 0 0 13px rgba(234, 240, 64, 0.28); }
.rank-showcase-vip .rank-card-badge { border-color: rgba(236, 246, 91, 0.34); }
.rank-showcase-vip-plus .rank-dot,
.rank-showcase-vip-plus .rank-card-badge { background: #ffb028; color: #3b2000; box-shadow: 0 0 13px rgba(255, 176, 40, 0.28); }
.rank-showcase-vip-plus .rank-card-badge { border-color: rgba(255, 181, 59, 0.36); }
.rank-showcase-mvip .rank-dot,
.rank-showcase-mvip .rank-card-badge { background: #ed63e8; color: #3b073a; box-shadow: 0 0 13px rgba(237, 99, 232, 0.28); }
.rank-showcase-mvip .rank-card-badge { border-color: rgba(247, 126, 239, 0.35); }
.rank-showcase-mvip-plus .rank-dot,
.rank-showcase-mvip-plus .rank-card-badge { background: #e343d7; color: #3b0638; box-shadow: 0 0 13px rgba(227, 67, 215, 0.28); }
.rank-showcase-mvip-plus .rank-card-badge { border-color: rgba(239, 91, 221, 0.36); }
.rank-showcase-sponsor .rank-dot,
.rank-showcase-sponsor .rank-card-badge { background: #77e4f8; color: #042b38; box-shadow: 0 0 13px rgba(119, 228, 248, 0.28); }
.rank-showcase-sponsor .rank-card-badge { border-color: rgba(125, 237, 255, 0.36); }

/* Sponsor: S #FFFFFF, p #DDFFFF, o #BBFFFF, n #99FFFF, s #77FFFF, o #55FFFF, r #55FFFF. */
.sponsor-s { color: #ffffff; }
.sponsor-p { color: #ddffff; }
.sponsor-o1 { color: #bbffff; }
.sponsor-n { color: #99ffff; }
.sponsor-s2 { color: #77ffff; }
.sponsor-o2,
.sponsor-r { color: #55ffff; }

.store-info-section { padding: 76px 0; }
.store-info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.store-info-card { display: flex; align-items: flex-start; gap: 17px; min-height: 166px; padding: 25px; border: 1px solid rgba(143, 226, 255, 0.15); border-radius: 18px; background: rgba(7, 29, 50, 0.58); }
.store-info-icon { display: grid; place-items: center; flex: 0 0 auto; width: 39px; height: 39px; border: 1px solid rgba(111, 222, 255, 0.28); border-radius: 12px; color: var(--cyan); background: rgba(64, 193, 247, 0.11); font-weight: 950; }
.store-info-card h2 { margin: 0 0 7px; color: #e9fbff; font-size: 20px; }
.store-info-card p { margin: 0; color: #a4c4d4; font-size: 13.5px; line-height: 1.6; }
.store-info-card a { display: inline-flex; gap: 6px; margin-top: 10px; color: var(--cyan); font-size: 13px; font-weight: 850; }
.store-info-card a:hover { color: #ecfbff; }

@media (max-width: 1120px) {
  .rank-package-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .store-page-hero-grid { grid-template-columns: 1fr; gap: 33px; }
  .store-status-card { max-width: 560px; }
}
@media (max-width: 690px) {
  .store-page-hero { padding: 78px 0 71px; }
  .store-page-hero-copy > p:not(.eyebrow) { font-size: 16px; }
  .store-page-actions { flex-direction: column; }
  .store-page-actions .button { width: 100%; }
  .store-status-card { padding: 25px 21px; }
  .store-ranks-section { padding: 72px 0 78px; }
  .store-section-heading > p:not(.eyebrow) { font-size: 14px; }
  .rank-package-grid,
  .store-info-grid { grid-template-columns: 1fr; }
  .rank-package-grid { margin-top: 31px; }
  .rank-package-card { min-height: 0; }
  .rank-display { margin-top: 23px; font-size: 36px; }
  .rank-period-option { min-height: 76px; }
  .store-info-section { padding: 55px 0; }
  .store-info-card { min-height: 0; padding: 20px; }
}

/* Oferta sklepu pobierana z panelu MariaDB. */
.store-loading,
.store-empty-offer {
  margin: 0;
  padding: 13px 12px;
  border: 1px dashed rgba(147, 225, 255, 0.20);
  border-radius: 11px;
  color: #9bc2d4;
  font-size: 12px;
  line-height: 1.45;
}

.store-empty-offer {
  color: #b4ccda;
  background: rgba(2, 17, 30, 0.32);
}

.store-status-pill.store-status-live {
  color: #aef4db;
  border-color: rgba(73, 211, 169, 0.32);
  background: rgba(73, 211, 169, 0.10);
}


/* Kategorie sklepu i czytelny proces zakupu. */
.store-steps-card {
  position: relative;
  overflow: hidden;
  padding: 31px 30px 29px;
  border: 1px solid rgba(125, 225, 255, 0.23);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(12, 57, 94, 0.80), rgba(5, 21, 38, 0.92));
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(229, 251, 255, 0.06);
}
.store-steps-card::before { content: ""; position: absolute; top: -80px; right: -66px; width: 230px; height: 230px; border: 1px solid rgba(126, 228, 255, 0.14); border-radius: 50%; }
.store-steps-card strong { display: block; color: #ebfbff; font-size: 25px; line-height: 1.15; }
.store-steps-list { display: grid; gap: 13px; margin: 20px 0 0; padding: 0; list-style: none; }
.store-steps-list li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; align-items: center; }
.store-steps-list li > span { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid rgba(112, 223, 255, 0.29); border-radius: 9px; color: var(--cyan); background: rgba(80, 205, 255, 0.10); font-size: 12px; font-weight: 900; }
.store-steps-list b, .store-steps-list small { display: block; }
.store-steps-list b { color: #e5f8ff; font-size: 13px; }
.store-steps-list small { margin-top: 2px; color: #9fc3d4; font-size: 12px; line-height: 1.35; }

.store-catalog-section { padding: 104px 0 112px; }
.store-category-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin: 34px 0 30px; }
.store-category-tab {
  appearance: none;
  min-width: 112px;
  padding: 11px 16px;
  border: 1px solid rgba(129, 224, 255, 0.20);
  border-radius: 11px;
  color: #b6dbe9;
  background: rgba(12, 45, 73, 0.54);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}
.store-category-tab:hover { transform: translateY(-1px); border-color: rgba(120, 226, 255, .46); color: #e9fbff; }
.store-category-tab.active { border-color: rgba(102, 223, 255, .58); color: #062032; background: linear-gradient(135deg, #8deaff, #43c8f4); box-shadow: 0 10px 23px rgba(43, 196, 242, .15); }
.store-category-panel { min-height: 342px; }
.store-category-panel[hidden] { display: none; }
.store-category-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin: 0 auto 25px; max-width: 1050px; }
.store-category-head .eyebrow { margin-bottom: 6px; }
.store-category-head h3 { margin: 0; color: #effcff; font-size: 27px; }
.store-category-head > p { max-width: 440px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; text-align: right; }
.rank-package-grid-ranks { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 1280px; margin: 0 auto; }
.rank-package-grid-special { grid-template-columns: minmax(270px, 370px); justify-content: center; max-width: 520px; margin: 0 auto; }
.store-coming-card { display: grid; justify-items: center; max-width: 690px; margin: 0 auto; padding: 57px 35px; border: 1px solid rgba(128, 226, 255, .20); border-radius: 21px; background: radial-gradient(360px 170px at 50% 0%, rgba(52, 193, 245, .12), transparent 72%), linear-gradient(145deg, rgba(10, 41, 68, .80), rgba(5, 23, 40, .90)); text-align: center; }
.store-coming-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 18px; border: 1px solid rgba(112, 223, 255, .33); border-radius: 17px; color: var(--cyan); background: rgba(80, 205, 255, .10); font-size: 27px; font-weight: 900; }
.store-coming-card .eyebrow { margin-bottom: 8px; }
.store-coming-card h3 { margin: 0; color: #edfbff; font-size: 26px; }
.store-coming-card > p:not(.eyebrow) { max-width: 510px; margin: 11px 0 0; color: #9fc3d4; line-height: 1.65; }

@media (max-width: 1160px) {
  .rank-package-grid-ranks { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 720px; }
}
@media (max-width: 760px) {
  .store-category-head { display: block; }
  .store-category-head h3 { font-size: 23px; }
  .store-category-head > p { margin-top: 8px; text-align: left; }
  .store-category-tab { min-width: calc(50% - 6px); }
  .store-steps-card { padding: 25px 21px; }
}
@media (max-width: 520px) {
  .rank-package-grid-ranks { grid-template-columns: 1fr; }
  .store-category-tab { min-width: 0; flex: 1 1 calc(50% - 6px); padding: 10px 8px; }
  .store-coming-card { padding: 39px 20px; }
  .store-coming-card h3 { font-size: 22px; }
}

/* Szczegółowe korzyści rang - lista rozwijana, żeby karty sklepu pozostały czytelne. */
.rank-benefits {
  position: relative;
  margin: 16px 0 0;
  border: 1px solid rgba(142, 224, 255, 0.16);
  border-radius: 11px;
  background: rgba(3, 20, 35, 0.42);
}
.rank-benefits summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 39px;
  padding: 9px 11px;
  color: #c5effa;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.01em;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.rank-benefits summary::-webkit-details-marker { display: none; }
.rank-benefits summary:focus-visible { outline: 2px solid rgba(112, 225, 255, 0.75); outline-offset: -3px; border-radius: 9px; }
.rank-benefits:hover { border-color: rgba(119, 226, 255, 0.33); }
.rank-benefits-icon {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  border: 1px solid rgba(119, 226, 255, 0.29);
  border-radius: 6px;
  color: var(--cyan);
  background: rgba(77, 206, 255, 0.08);
  font-size: 0;
  line-height: 0;
  transition: color .18s ease, background .18s ease;
}
.rank-benefits-icon::before,
.rank-benefits-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 9px;
  height: 1.5px;
  border-radius: 99px;
  background: currentColor;
  transform-origin: center;
}
.rank-benefits-icon::before { transform: translate(-50%, -50%); }
.rank-benefits-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.rank-benefits[open] { border-color: rgba(112, 225, 255, 0.31); background: rgba(5, 31, 52, 0.61); }
.rank-benefits[open] .rank-benefits-icon { color: #062534; background: #85e5ff; }
.rank-benefits[open] .rank-benefits-icon::before { transform: translate(-50%, -50%) rotate(45deg); }
.rank-benefits[open] .rank-benefits-icon::after { transform: translate(-50%, -50%) rotate(-45deg); }
.rank-benefits ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 1px 11px 13px 28px;
  color: #a9cad7;
  font-size: 11px;
  line-height: 1.5;
}
.rank-benefits li { padding-left: 1px; }
.rank-benefits li::marker { color: var(--cyan); }
.rank-benefits strong { color: #e4f8ff; }
.rank-benefits code,
.rank-description code {
  padding: 1px 4px;
  border: 1px solid rgba(115, 222, 255, 0.16);
  border-radius: 4px;
  color: #c5f4ff;
  background: rgba(81, 203, 255, 0.09);
  font: 700 0.92em/1.25 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: nowrap;
}
.rank-package-card .rank-benefits + .rank-period-list { margin-top: auto; padding-top: 14px; }

@media (max-width: 520px) {
  .rank-benefits summary { min-height: 42px; padding: 10px 11px; }
  .rank-benefits ul { font-size: 11.5px; }
}

/* Prawdziwe promocje pobierane z panelu - bez sztucznego odliczania. */
.rank-period-option.is-promotion {
  border-color: rgba(111, 229, 255, 0.44);
  background: linear-gradient(135deg, rgba(20, 100, 137, 0.28), rgba(2, 17, 30, 0.50));
}
.rank-price-stack {
  display: grid;
  justify-items: end;
  gap: 2px;
}
.rank-price-stack b {
  color: #c5f5ff;
}
.rank-price-old {
  color: #87a5b5;
  font-size: 10px;
  font-weight: 800;
  text-decoration-thickness: 1px;
}
.rank-promotion-badge {
  display: inline-flex;
  align-items: center;
  min-height: 17px;
  padding: 2px 5px;
  border: 1px solid rgba(115, 231, 255, 0.43);
  border-radius: 5px;
  color: #d8fbff !important;
  background: rgba(62, 202, 245, 0.18);
  font-size: 8px !important;
  font-weight: 950;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.rank-promotion-note {
  color: #a3cfdf !important;
  font-size: 9px !important;
  font-weight: 750;
  white-space: nowrap;
}


/* SkyRift 0.9.11 - informacje zakupowe niżej od oferty, ale bez nadmiernej pustej przestrzeni. */
.store-info-section {
  margin-top: clamp(48px, 5vw, 70px);
}
@media (max-width: 760px) {
  .store-info-section { margin-top: 42px; }
}
