:root {
  color-scheme: dark;
  --fb3-bg: #060015;
  --fb3-panel: #13042b;
  --fb3-panel-soft: #180531;
  --fb3-accent: #ff7c23;
  --fb3-accent-alt: #aa5bff;
  --fb3-text: #ffffff;
  --fb3-muted: #c7b6ff;
  --fb3-border: rgba(255, 255, 255, 0.12);
  --fb3-radius-lg: 18px;
  --fb3-radius-pill: 999px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body.fb3-body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top left, #3b0b62, #060015 52%, #000 100%);
  color: var(--fb3-text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.fb3-header {
  position: sticky;
  top: 0;
  z-index: 25;
  background: linear-gradient(to bottom, rgba(6, 0, 21, 0.18), rgba(6, 0, 21, 0.06), transparent);
  backdrop-filter: blur(18px);
}

.fb3-header-row {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.fb3-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.fb3-brand-mark {
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background: radial-gradient(circle at 30% 0, #ffae49, #ff7c23);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #1b0600;
}

.fb3-brand-text {
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fb3-muted);
}

.fb3-menu {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.fb3-nav {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.fb3-nav-btn {
  padding: 0.35rem 0.9rem;
  border-radius: var(--fb3-radius-pill);
  border: 1px solid transparent;
  background: transparent;
  color: var(--fb3-muted);
  font-size: 0.85rem;
  cursor: pointer;
}

.fb3-nav-btn:hover,
.fb3-nav-btn:focus-visible {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
  color: var(--fb3-text);
}

.fb3-auth {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.fb3-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1.2rem;
  border-radius: var(--fb3-radius-pill);
  font-size: 0.83rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease-out, transform 0.1s ease-out, border-color 0.15s ease-out, box-shadow 0.15s ease-out;
}

.fb3-link--ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.18);
}

.fb3-link--primary,
.fb3-link--hero {
  background: linear-gradient(130deg, var(--fb3-accent), #ffc163);
  color: #230a01;
  box-shadow: 0 0 0 1px rgba(255, 150, 76, 0.46), 0 14px 32px rgba(0, 0, 0, 0.8);
}

.fb3-link--ghost:hover,
.fb3-link--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.fb3-link--primary:hover,
.fb3-link--primary:focus-visible,
.fb3-link--hero:hover,
.fb3-link--hero:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(255, 150, 76, 0.7), 0 18px 40px rgba(0, 0, 0, 0.95);
}

.fb3-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.2rem 3rem;
}

.fb3-banner {
  margin: 16px auto;
  width: min(1160px, 94vw);
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 124, 35, 0.45);
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.45);
}

.fb3-banner-img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.fb3-banner-layer {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.45));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.fb3-banner-glass {
  max-width: 520px;
  text-align: center;
  padding: 1.5rem 1.3rem;
  border-radius: 20px;
  background: radial-gradient(circle at top left, rgba(170, 91, 255, 0.22), rgba(9, 0, 22, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.fb3-banner-title {
  margin: 0 0 1rem;
  font-size: clamp(1.7rem, 3.4vw, 2.3rem);
  background: linear-gradient(120deg, #ffe6c1, #ffc163, #ff7c23);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.fb3-link--hero {
  margin-top: 0;
}

.page-content {
  margin-top: 1.8rem;
  padding: 1.5rem 1.25rem 1.6rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: radial-gradient(circle at top right, rgba(170, 91, 255, 0.3), rgba(9, 0, 23, 0.96));
  text-align: left;
}

.page-content__lead {
  margin: 0 0 1rem;
  font-size: 1rem;
  color: #ffe9c7;
}

.page-content h2 {
  margin: 1.35rem 0 0.45rem;
  font-size: 1.05rem;
}

.page-content h2:first-of-type {
  margin-top: 0;
}

.page-content h3 {
  margin: 1rem 0 0.5rem;
  font-size: 0.95rem;
  color: #ffe9c7;
}

.page-content p {
  margin: 0.35rem 0;
  font-size: 0.9rem;
  color: var(--fb3-muted);
}

.page-content ul,
.page-content ol {
  margin: 0.35rem 0 0.75rem;
  padding-left: 1.35rem;
  color: var(--fb3-muted);
  font-size: 0.9rem;
}

.page-content ol {
  list-style: decimal;
}

.page-content li {
  margin: 0.3rem 0;
}

.page-content__table-wrap {
  overflow-x: auto;
  margin: 0.75rem 0;
  -webkit-overflow-scrolling: touch;
}

.page-content h2 {
  color: #ffe9c7;
}

.page-content__table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.5rem;
}

.page-content__table th,
.page-content__table td {
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  text-align: left;
}

.page-content__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.85rem;
  margin-top: 0.65rem;
}

.page-content__card {
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 1, 27, 0.85);
  text-align: center;
}

.fb3-tabs {
  margin-top: 1.7rem;
}

.fb3-tab-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
}

.fb3-tab {
  border-radius: var(--fb3-radius-pill);
  border: 1px solid var(--fb3-border);
  background: rgba(19, 4, 43, 0.96);
  color: var(--fb3-muted);
  font-size: 0.8rem;
  padding: 0.38rem 0.95rem;
  white-space: nowrap;
  cursor: pointer;
}

.fb3-tab--active {
  border-color: rgba(255, 124, 35, 0.7);
  box-shadow: 0 0 20px rgba(255, 124, 35, 0.55);
  background: radial-gradient(circle at top, rgba(255, 124, 35, 0.35), rgba(19, 4, 43, 0.96));
  color: #ffe9c7;
}

.fb3-footer {
  margin-top: 2.6rem;
  padding: 1.6rem 1.2rem 2.5rem;
  background: radial-gradient(circle at top, rgba(170, 91, 255, 0.24), rgba(6, 0, 19, 0.98));
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.fb3-footer-main {
  max-width: 1200px;
  margin: 0 auto;
}

.fb3-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  font-size: 0.8rem;
}

.fb3-footer-links a {
  color: var(--fb3-muted);
}

.fb3-footer-links a:hover,
.fb3-footer-links a:focus-visible {
  color: var(--fb3-text);
}

.fb3-footer-pay {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.fb3-footer-pay img {
  height: 22px;
  width: auto;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.72));
}

.fb3-footer-copy {
  max-width: 1200px;
  margin: 1.3rem auto 0;
  font-size: 0.75rem;
  color: var(--fb3-muted);
}

@media (min-width: 768px) {
  .fb3-banner-layer {
    justify-content: center;
    padding-inline: 2rem;
  }

  .fb3-banner-glass {
    text-align: center;
  }
}

@media (max-width: 768px) {
  html,
  body.fb3-body {
    max-width: 100%;
    overflow-x: hidden;
  }

  body.fb3-body {
    position: fixed;
    inset: 0;
  }

  .fb3-banner-layer {
    padding: 18px;
    align-items: center;
  }

  .fb3-banner-glass {
    text-align: center;
  }

  .fb3-nav {
    display: none;
  }

  .fb3-auth .fb3-link--ghost {
    display: none;
  }
}

