: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-top: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-radius: 0;
  overflow: hidden;
  position: relative;
  height: clamp(200px, 32vw, 380px);
  max-height: 380px;
}

.fb3-banner-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.fb3-banner-layer {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(255, 124, 35, 0.18), transparent 55%),
    linear-gradient(120deg, rgba(4, 0, 15, 0.58), rgba(10, 0, 29, 0.46));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 3vw, 1.5rem);
}

.fb3-banner-glass {
  max-width: 520px;
  width: min(100%, 520px);
  text-align: center;
  padding: clamp(0.9rem, 2.5vw, 1.5rem) clamp(0.85rem, 2vw, 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.15rem, 2.8vw, 1.75rem);
  line-height: 1.25;
  max-width: 24ch;
  background: linear-gradient(120deg, #ffe6c1, #ffc163, #ff7c23);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.fb3-banner-text {
  margin: 0;
  font-size: 0.9rem;
  color: var(--fb3-muted);
}

.fb3-link--hero {
  margin-top: 1rem;
}

.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-article {
  margin-top: 2rem;
  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));
}

.fb3-article h2,
.fb3-article h3 {
  margin: 1.5rem 0 0.75rem;
  line-height: 1.3;
  color: var(--fb3-text);
}

.fb3-article h2 {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
}

.fb3-article h3 {
  font-size: clamp(1rem, 2.2vw, 1.1rem);
}

.fb3-article p {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--fb3-muted);
}

.fb3-article ul,
.fb3-article ol {
  margin: 0 0 1rem 1.25rem;
  font-size: 0.9rem;
  color: var(--fb3-muted);
}

.fb3-article li {
  margin-bottom: 0.5rem;
}

.fb3-article strong {
  color: var(--fb3-text);
}

.fb3-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1rem 0 1.5rem;
  border-radius: 12px;
  border: 1px solid var(--fb3-border);
}

.fb3-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--fb3-panel-soft);
  font-size: 0.85rem;
}

.fb3-table td {
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--fb3-border);
  vertical-align: top;
}

.fb3-table td p {
  margin: 0;
  font-size: inherit;
}

.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 {
  display: block;
  width: 60px;
  height: 28px;
  padding: 4px 8px;
  box-sizing: content-box;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}

.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 {
    height: clamp(180px, 42vw, 280px);
    max-height: 280px;
  }

  .fb3-banner-layer {
    padding: 0.75rem 1rem;
    justify-content: center;
    align-items: center;
  }

  .fb3-banner-glass {
    text-align: center;
  }

  .fb3-nav {
    display: none;
  }

  .fb3-auth .fb3-link--ghost {
    display: none;
  }
}

@media (max-width: 480px) {
  .fb3-banner {
    height: clamp(168px, 48vw, 240px);
    max-height: 240px;
  }

  .fb3-banner-layer {
    padding: 0.65rem 0.75rem;
  }

  .fb3-banner-glass {
    padding: 0.75rem 0.85rem;
  }
}

