/* LitoriaSMP store — shared 2022 portal language */

:root {
  --portal-orange: #f58220;
  --portal-orange-bright: #ff9d3d;
  --portal-orange-deep: #b94f08;
  --portal-bg: #11110f;
  --portal-panel: #242422;
  --portal-panel-raised: #2d2d2b;
  --portal-panel-hover: #383835;
  --portal-text: #f7f4ef;
  --portal-muted: #b9b4ac;
  --portal-line: rgba(255, 255, 255, .11);
  --portal-focus: #ffc27a;
  --portal-success: #63bd67;
  --portal-danger: #ef6767;
  --portal-radius: 3px;
  --portal-motion: 180ms;
}

html { scroll-padding-top: 148px; }

body {
  min-height: 100dvh;
  background:
    linear-gradient(90deg, rgba(12,12,11,.96), rgba(12,12,11,.78) 50%, rgba(12,12,11,.93)),
    url("assets/bg-hall.webp") center top / cover fixed no-repeat !important;
  color: var(--portal-text) !important;
}

body::after {
  display: block !important;
  background: linear-gradient(rgba(0,0,0,.12), rgba(0,0,0,.5)) !important;
  mask-image: none !important;
}

button,
a,
input,
summary { touch-action: manipulation; }

:focus-visible {
  outline: 3px solid var(--portal-focus) !important;
  outline-offset: 2px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  padding: 9px 12px;
  color: #111;
  background: var(--portal-focus);
  transform: translateY(-150%);
}

.skip-link:focus { transform: translateY(0); }

.top-app-bar {
  height: 58px !important;
  background: rgba(14,14,13,.98) !important;
  border-bottom: 1px solid rgba(245,130,32,.28) !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.top-app-bar__inner {
  width: min(100%, 1440px);
  max-width: 1440px !important;
  height: 58px !important;
  padding: 0 16px !important;
  gap: 14px;
}

.brand { min-width: 168px; }
.brand__logo { border-radius: 0 !important; }
.brand__text { font-size: 1.05rem !important; }
.brand__smp { color: var(--portal-orange) !important; }

.nav-tabs { align-self: stretch; gap: 0 !important; }
.nav-tabs__link {
  min-height: 58px;
  padding: 0 14px !important;
  display: inline-flex;
  align-items: center;
  border: 0 !important;
  border-radius: 0 !important;
  color: #c9c4bc !important;
  font-size: .78rem !important;
  font-weight: 750 !important;
  text-transform: uppercase;
}

.nav-tabs__link:hover { color: #fff !important; background: #262624 !important; }
.nav-tabs__link.is-active {
  color: #fff !important;
  background: #2e2e2b !important;
  box-shadow: inset 0 -3px 0 var(--portal-orange) !important;
}

.top-app-bar__actions .btn {
  min-height: 38px;
  border-radius: 2px !important;
}

.store-subnav {
  position: fixed;
  z-index: 190;
  top: 58px;
  right: 0;
  left: 0;
  height: 38px;
  color: #ded9d1;
  background: rgba(31,31,29,.99);
  border-bottom: 1px solid var(--portal-line);
}

.store-subnav__inner,
.store-ribbon__inner {
  width: min(100%, 1440px);
  height: 100%;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
}

.store-subnav__inner { gap: 4px; }
.store-subnav a,
.store-subnav__safe {
  min-height: 38px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #d9d4cc;
  font-size: .72rem;
  font-weight: 650;
}
.store-subnav a:hover { color: #fff; background: rgba(255,255,255,.055); }
.store-subnav .material-icons-round { color: var(--portal-orange-bright); font-size: 1rem; }
.store-subnav__safe { margin-left: auto; color: var(--portal-muted); }

.store-ribbon {
  position: fixed;
  z-index: 189;
  top: 96px;
  right: 0;
  left: 0;
  height: 34px;
  color: #1a1109;
  background: linear-gradient(90deg, var(--portal-orange), #f27312);
  box-shadow: 0 5px 18px rgba(0,0,0,.25);
}

.store-ribbon__inner { gap: 12px; font-size: .72rem; font-weight: 750; }
.store-ribbon__brand,
.store-ribbon code { font-family: "Monocraft", ui-monospace, monospace; }
.store-ribbon code { color: #2a1608; font-size: .72rem; }
.store-ribbon button,
.store-ribbon a {
  min-height: 27px;
  padding: 0 9px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #281408;
  background: rgba(55,25,4,.12);
  border: 0;
  border-radius: 2px;
  font: inherit;
  cursor: pointer;
}
.store-ribbon a { margin-left: auto; }
.store-ribbon button:hover,
.store-ribbon a:hover { color: #130a04; background: rgba(255,255,255,.18); }
.store-ribbon .material-icons-round { font-size: .95rem; }

.don-page {
  width: min(100%, 1120px) !important;
  max-width: 1120px !important;
  padding: 154px 16px 56px !important;
}

.breadcrumbs { margin: 0 0 10px; color: var(--portal-muted); }

.don-hero {
  min-height: 300px;
  margin-bottom: 12px !important;
  padding: 0 !important;
  display: grid;
  align-items: stretch;
  background: var(--portal-panel) !important;
  border: 1px solid var(--portal-line) !important;
  border-top: 3px solid var(--portal-orange) !important;
  border-radius: var(--portal-radius) !important;
  box-shadow: 0 18px 44px rgba(0,0,0,.32);
}

.don-hero::after {
  content: "";
  position: absolute;
  inset: 0 0 0 50%;
  background:
    linear-gradient(90deg, var(--portal-panel), transparent 32%),
    linear-gradient(rgba(0,0,0,.08), rgba(0,0,0,.32)),
    url("assets/bg-hall.webp") center / cover no-repeat;
}

.don-hero__inner {
  position: relative;
  z-index: 1;
  padding: 34px 36px;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 20px !important;
}

.don-hero__inner > div:first-child { width: min(50%, 520px); }
.don-hero__title {
  margin-bottom: 12px;
  color: #fff;
  font-family: Inter, system-ui, sans-serif !important;
  font-size: clamp(1.85rem, 4vw, 2.8rem) !important;
  letter-spacing: -.035em;
}
.don-hero__title em { color: var(--portal-orange-bright); background: none !important; -webkit-text-fill-color: currentColor !important; }
.don-hero__sub { color: #ddd8d0 !important; line-height: 1.65; }
.don-hero__badges { width: 48%; gap: 6px !important; }
.don-hero__badge {
  min-height: 34px;
  padding: 6px 9px !important;
  color: #f4f0e9 !important;
  background: #30302d !important;
  border: 1px solid var(--portal-line) !important;
  border-radius: 2px !important;
}
.don-hero__badge .material-icons-round { color: var(--portal-orange-bright) !important; }

.card,
.don-section,
.don-server-strip {
  background: rgba(36,36,34,.98) !important;
  border: 1px solid var(--portal-line) !important;
  border-radius: var(--portal-radius) !important;
  box-shadow: none !important;
}
.card:hover { border-color: rgba(245,130,32,.32) !important; }

.don-server-strip {
  margin-bottom: 12px !important;
  padding: 12px 16px !important;
  background: #1d1d1b !important;
  border-left: 3px solid var(--portal-success) !important;
}
.sidebar__dot--online,
.sidebar__dot--on { animation: none !important; box-shadow: 0 0 0 3px rgba(99,189,103,.14) !important; }
.sidebar__ip { border-radius: 2px !important; }

.don-section { margin-bottom: 12px !important; overflow: hidden; }
.don-section__head {
  min-height: 50px;
  margin: 0 !important;
  padding: 10px 16px !important;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  background: #1c1c1a !important;
  border-bottom: 1px solid var(--portal-line) !important;
  font-family: Inter, system-ui, sans-serif !important;
  font-size: 1rem !important;
}
.don-section__num {
  width: 28px !important;
  height: 28px !important;
  display: inline-grid !important;
  place-items: center;
  flex: 0 0 28px;
  color: #1b1008 !important;
  background: var(--portal-orange) !important;
  border-radius: 2px !important;
  font-family: "Monocraft", ui-monospace, monospace;
}
.don-section__sub { margin-left: auto; color: var(--portal-muted) !important; font-family: Inter, system-ui, sans-serif; }

.don-field-label {
  margin: 15px 18px 7px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
}
.don-field-label span { color: var(--portal-muted); font-size: .72rem; font-weight: 450; }
.don-nick-row { padding: 0 18px 18px !important; }
.don-nick-input,
.don-promo-input {
  min-height: 46px;
  color: var(--portal-text) !important;
  background: #171715 !important;
  border: 1px solid rgba(255,255,255,.16) !important;
  border-radius: 2px !important;
  font-size: 1rem !important;
}
.don-nick-input::placeholder,
.don-promo-input::placeholder { color: #918d86; }
.don-nick-input:focus,
.don-promo-input:focus { border-color: var(--portal-orange) !important; box-shadow: 0 0 0 3px rgba(245,130,32,.16) !important; }

.btn,
.don-tab,
.don-buy,
.don-pkg-btn { border-radius: 2px !important; }
.btn-tonal,
.btn-text {
  min-height: 44px;
  color: #f1ece4 !important;
  background: #353532 !important;
  border: 1px solid rgba(255,255,255,.11) !important;
}
.btn-tonal:hover,
.btn-text:hover { color: #fff !important; background: var(--portal-panel-hover) !important; border-color: rgba(245,130,32,.5) !important; }

.don-tabs {
  margin: 12px 16px !important;
  padding: 0 !important;
  gap: 1px !important;
  background: var(--portal-line) !important;
  border: 1px solid var(--portal-line) !important;
  border-radius: 2px !important;
}
.don-tab {
  min-height: 46px;
  flex: 1;
  color: #ccc7bf !important;
  background: #2d2d2a !important;
  border: 0 !important;
}
.don-tab:hover { color: #fff !important; background: #373734 !important; }
.don-tab--active {
  color: #fff !important;
  background: #3a3028 !important;
  box-shadow: inset 0 -3px 0 var(--portal-orange) !important;
}

.don-split { gap: 1px !important; background: var(--portal-line); }
.don-lb,
.don-perks { background: #242422 !important; }
.don-lb__item,
.don-tier-row,
.don-pkg-btn,
.don-method {
  min-height: 52px;
  color: var(--portal-text) !important;
  background: var(--portal-panel-raised) !important;
  border-color: var(--portal-line) !important;
  border-radius: 2px !important;
  cursor: pointer;
}
.don-lb__item:hover:not(.don-lb__item--locked),
.don-tier-row:hover,
.don-pkg-btn:hover { background: var(--portal-panel-hover) !important; transform: none !important; box-shadow: none !important; }
.don-lb__item--selected,
.don-lb__item.is-selected,
.don-tier-row.is-selected {
  color: #fff !important;
  background: #41352c !important;
  border-color: var(--portal-orange) !important;
  box-shadow: inset 3px 0 0 var(--portal-orange) !important;
}

.don-promo-section { padding: 14px 18px !important; }
.don-buy {
  min-height: 58px;
  margin-top: 4px;
  color: #1a1008 !important;
  background: var(--portal-orange) !important;
  border: 1px solid var(--portal-orange-bright) !important;
  font-family: Inter, system-ui, sans-serif !important;
  font-weight: 800 !important;
  animation: none !important;
  box-shadow: 0 10px 26px rgba(0,0,0,.24) !important;
}
.don-buy:not(:disabled):hover { background: var(--portal-orange-bright) !important; }
.don-buy:disabled { color: #8d8880 !important; background: #292927 !important; border-color: var(--portal-line) !important; cursor: not-allowed; opacity: .72; }

.don-info li { line-height: 1.65; }
.don-faq__item { border-color: var(--portal-line) !important; }
.don-faq__item summary { min-height: 48px; display: flex; align-items: center; color: #f0ece5; cursor: pointer; }
.don-faq__item summary:hover { color: var(--portal-orange-bright) !important; }

.site-footer {
  margin-top: 0 !important;
  color: var(--portal-muted);
  background: #11110f !important;
  border-top: 1px solid rgba(245,130,32,.22) !important;
}

@media (max-width: 900px) {
  .nav-tabs__link--optional { display: none; }
  .don-hero::after { inset: 0 0 0 58%; opacity: .58; }
  .don-hero__inner > div:first-child { width: 58%; }
  .don-hero__badges { width: 58%; }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 92px; }
  .top-app-bar,
  .top-app-bar__inner { height: 54px !important; }
  .brand { min-width: 0; }
  .brand__text { max-width: 128px; overflow: hidden; white-space: nowrap; }
  .nav-tabs { display: none !important; }
  .top-app-bar__actions { margin-left: auto; }
  .store-subnav { display: none; }
  .store-ribbon { top: 54px; height: 34px; }
  .store-ribbon__brand,
  .store-ribbon a { display: none; }
  .store-ribbon__inner { justify-content: space-between; }
  .don-page { padding: 108px 10px 40px !important; }
  .breadcrumbs { display: none; }
  .don-hero { min-height: 0; }
  .don-hero::after {
    position: relative;
    inset: auto;
    display: block;
    height: 190px;
    order: -1;
    background: linear-gradient(rgba(0,0,0,.08), rgba(0,0,0,.4)), url("assets/bg-hall.webp") center / cover no-repeat;
  }
  .don-hero__inner { padding: 20px 16px 18px; gap: 14px !important; }
  .don-hero__inner > div:first-child,
  .don-hero__badges { width: 100%; }
  .don-hero__title { font-size: 1.85rem !important; }
  .don-hero__sub { font-size: .9rem; }
  .don-hero__badge { min-height: 32px; }
  .don-server-strip { align-items: flex-start !important; }
  .don-section__head { flex-wrap: wrap; }
  .don-section__sub { width: 100%; margin-left: 38px; }
  .don-field-label { align-items: flex-start; flex-direction: column; gap: 2px; }
  .don-tabs { overflow: visible !important; flex-wrap: wrap; }
  .don-tab { flex: 1 1 100%; }
  .don-nick-row .btn,
  .don-promo-apply { min-height: 46px; }
  .don-promo-row { flex-wrap: wrap; }
  .don-promo-input { flex-basis: calc(100% - 32px); }
  .don-promo-apply { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
