/* DraxionMC foundations. Shared by every Tebex page and retained module. */
:root {
  color-scheme: dark;
  --background: #0f0f14;
  --surface: #19191f;
  --raised: #22222b;
  --secondary: #2b2b35;
  --purple: #7a3cff;
  --lavender: #c6a8ff;
  --orange: #ff5a1f;
  --text: #f3f1f7;
  --muted: #b0adb9;
  --line: #34323f;
  --tebex-legal-footer-background-color: #131318;
  --tebex-legal-footer-text-color: #b0adb9;
  --tebex-legal-footer-border-color: #34323f;
  --tebex-legal-footer-max-width: 1240px;
  --tebex-legal-footer-logo-color: #f3f1f7;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font:
    400 15px/1.65 "Segoe UI",
    system-ui,
    sans-serif;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
}
svg {
  flex-shrink: 0;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
}
h1 {
  font-size: clamp(32px, 4vw, 46px);
}
h2 {
  font-size: clamp(24px, 2.7vw, 30px);
}
h3 {
  font-size: 19px;
}
p {
  color: var(--muted);
}
small {
  font-size: 13px;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid var(--lavender);
  outline-offset: 4px;
}
:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}
.shell {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
}
.icon {
  width: 20px;
  height: 20px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 12px 20px;
  background: var(--purple);
  z-index: 100;
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: none;
}
.eyebrow {
  display: block;
  color: var(--lavender);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.15em;
  font-weight: 700;
  text-transform: uppercase;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 48px;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  transition:
    background-color 150ms,
    border-color 150ms,
    transform 150ms;
}
.btn-primary,
.btn-theme {
  background: var(--purple);
  color: #fff;
}
.btn-primary:hover,
.btn-theme:hover {
  background: #8c58ff;
}
.btn-secondary {
  background: var(--secondary);
  color: var(--text);
  border-color: #42404c;
}
.btn-secondary:hover {
  background: #35353f;
  border-color: #696075;
}
.btn:active {
  transform: translateY(1px);
}
.btn-danger {
  background: #422a26;
  color: #ffb59e;
}
.wide {
  width: 100%;
}
.text-link,
.text-content a {
  color: var(--lavender);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.text-link:hover,
.text-content a:hover {
  color: #ded0ff;
}
.text-content {
  overflow-wrap: anywhere;
  color: var(--muted);
}
.text-content > * + * {
  margin-top: 16px;
}
.text-content h1,
.text-content h2,
.text-content h3,
.text-content strong {
  color: var(--text);
}
.text-content ul,
.text-content ol {
  padding-left: 22px;
}
.text-content li + li {
  margin-top: 8px;
}
.text-content img,
.text-content iframe,
.text-content video {
  max-width: 100%;
}
.text-content iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
}
.text-content table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}
.text-content td,
.text-content th {
  padding: 12px;
  border: 1px solid var(--line);
}
.text-content blockquote {
  margin: 20px 0;
  padding: 8px 20px;
  border-left: 2px solid var(--purple);
}
label {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}
input:not([type="hidden"]):not([type="submit"]):not([type="checkbox"]):not(
    [type="radio"]
  ),
select,
textarea {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  border: 1px solid #514b60;
  border-radius: 3px;
  background: #121218;
  color: var(--text);
  padding: 11px 13px;
}
input::placeholder,
textarea::placeholder {
  color: #a7a1b2;
  opacity: 1;
}
input[readonly] {
  color: var(--muted);
}
select {
  padding-right: 24px;
}
.form-group {
  margin-bottom: 22px;
}
.input-group {
  display: flex;
  align-items: stretch;
  gap: 8px;
}
.input-group > input {
  flex: 1;
}
.input-group-addon {
  align-self: center;
}
.store-form {
  max-width: 630px;
  margin: 54px auto;
  padding: 34px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--purple);
}
.store-form h1 {
  margin: 12px 0 18px;
  font-size: 32px;
}
.store-form form,
.store-form > .btn {
  margin-top: 24px;
}
.store-form form > .btn {
  margin-top: 20px;
}
.store-form .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.alert,
.store-notice {
  padding: 16px 20px;
  border-left: 3px solid var(--orange);
  background: #30221e;
  color: #ffe1d5;
  margin-block: 20px;
  overflow-wrap: anywhere;
}
.notification:empty {
  display: none;
}
.card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 4px;
  overflow-wrap: anywhere;
}
.card-header {
  padding: 18px 20px 0;
  font-weight: 700;
  font-size: 15px;
}
.card-body {
  padding: 20px;
}
.progress {
  height: 6px;
  overflow: hidden;
  background: var(--secondary);
  margin-top: 18px;
}
.progress-bar {
  background: var(--purple);
  height: 100%;
  max-width: 100%;
}
.d-flex {
  display: flex;
  gap: 12px;
}
.d-inline-block {
  display: inline-block;
}
.mb-2,
.mt-2 {
  margin-block: 8px;
}
.mt-3 {
  margin-top: 16px;
}
.mt-4 {
  margin-top: 24px;
}
.badge {
  display: inline-block;
  padding: 2px 8px;
  color: var(--text);
  background: var(--secondary);
  font-size: 11px;
}
.top-donator {
  align-items: center;
}
.top-donator img {
  border-radius: 3px;
}
.interaction-status {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100vw - 32px);
  padding: 12px 20px;
  color: var(--text);
  background: var(--secondary);
  border: 1px solid #5b4b71;
  border-radius: 4px;
  z-index: 20;
  box-shadow: 0 8px 28px #0006;
}
.interaction-status:empty {
  display: none;
}
@media (max-width: 640px) {
  .shell {
    width: calc(100% - 32px);
  }
  .store-form {
    padding: 24px;
    margin-block: 26px;
  }
  .input-group {
    flex-wrap: wrap;
  }
  .input-group > input {
    flex-basis: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
