:root {
  --bb-bg: #07080f;
  --bb-bg-mid: #0b1020;
  --bb-gold: #d4af37;
  --bb-gold-soft: #e4c86a;
  --bb-tg-blue: #2f9ed4;
  --bb-tg-blue-mid: #2898d4;
  --bb-tg-blue-deep: #1f86c4;
  --bb-online-green: #3aa86a;
  --bb-online-green-dim: rgba(58, 168, 106, 0.06);
  --bb-text-body: rgba(244, 246, 248, 0.82);
  --bb-text-secondary: rgba(229, 231, 235, 0.68);
  --bb-text-muted: rgba(214, 218, 224, 0.58);
  --bb-text-faint: rgba(214, 218, 224, 0.52);
  --bb-text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75);
  --bb-col: 440px;
  --bb-radius: 14px;
  --bb-row-h: 48px;
  --bb-cta-h: 52px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
}

body {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--bb-text-body);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.4;
  background: var(--bb-bg);
  text-shadow: var(--bb-text-shadow);
}

.bg-base,
.starfield {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.bg-base {
  background:
    radial-gradient(ellipse 70% 36% at 50% -12%, rgba(55, 174, 226, 0.06), transparent 58%),
    radial-gradient(ellipse 40% 22% at 18% 88%, rgba(88, 70, 180, 0.05), transparent 70%),
    linear-gradient(180deg, #07080f 0%, #0a1020 55%, #070914 100%);
}

.starfield {
  width: 100%;
  height: 100%;
}

.lang-switch {
  position: fixed;
  top: 16px;
  right: 18px;
  z-index: 4;
  display: inline-flex;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(10, 14, 24, 0.72);
  backdrop-filter: blur(10px);
}

.lang-btn {
  min-height: 26px;
  padding: 3px 10px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--bb-text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
}

.lang-btn.is-active {
  background: rgba(212, 175, 55, 0.16);
  color: var(--bb-gold-soft);
}

.lang-btn:focus-visible,
.cta:focus-visible,
.copy-btn:focus-visible,
.verify-title:focus-visible,
.footer a:focus-visible {
  outline: 2px solid rgba(212, 175, 55, 0.7);
  outline-offset: 2px;
}

.page,
.footer {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--bb-col);
  padding-left: 18px;
  padding-right: 18px;
}

.page {
  padding-top: 148px;
  padding-bottom: 8px;
  text-align: center;
}

.brand {
  margin-bottom: 18px;
}

.logo-wrapper {
  position: relative;
  width: 118px;
  height: 118px;
  margin: 0 auto 14px;
}

.logo-wrapper::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.28) 0%, rgba(212, 175, 55, 0.05) 48%, transparent 70%);
  filter: blur(5px);
  z-index: 0;
}

.logo {
  position: relative;
  z-index: 1;
  display: block;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  filter:
    drop-shadow(0 0 4px rgba(212, 175, 55, 0.85))
    drop-shadow(0 0 10px rgba(212, 175, 55, 0.28))
    drop-shadow(0 0 18px rgba(201, 162, 39, 0.12));
}

.site-title {
  margin: 0 0 8px;
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #e8d48a;
  text-shadow: none;
}

.site-description {
  margin: 0 0 7px;
  color: var(--bb-text-body);
  font-size: 0.95rem;
}

.site-tagline {
  margin: 0 0 8px;
  color: var(--bb-gold);
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0.92;
}

.status-bar {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  color: var(--bb-text-muted);
  font-size: 0.78rem;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--bb-gold);
}

.announce,
.ctas,
.copy-list,
.domains,
.verify,
.config-fallback {
  width: 100%;
}

.announce {
  margin: 16px 0 14px;
  padding: 10px 12px;
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: var(--bb-radius);
  background:
    linear-gradient(180deg, rgba(232, 212, 138, 0.06), transparent 55%),
    rgba(16, 18, 28, 0.72);
  text-align: left;
}

.announce-text {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 0;
  color: var(--bb-text-secondary);
  font-size: 0.82rem;
  line-height: 1.35;
}

.announce-icon {
  flex: 0 0 auto;
  font-size: 1rem;
  line-height: 1.2;
}

.announce-copy {
  color: var(--bb-text-body);
}

.ctas {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: var(--bb-cta-h);
  padding: 0 16px;
  border-radius: var(--bb-radius);
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 700;
  transition: transform 0.16s ease, filter 0.16s ease;
}

.cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.cta:active {
  transform: translateY(1px);
  filter: brightness(0.97);
}

.tg-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.cta-bot {
  background: linear-gradient(180deg, #3aa8d6 0%, var(--bb-tg-blue-mid) 42%, var(--bb-tg-blue-deep) 100%);
  color: #fff;
  box-shadow: 0 6px 14px rgba(31, 134, 196, 0.18);
  text-shadow: none;
}

.cta-channel {
  border: 1.5px solid var(--bb-gold);
  color: var(--bb-gold);
  background: rgba(10, 12, 20, 0.55);
}

.copy-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 14px 0 12px;
}

.copy-row,
.domain-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: var(--bb-row-h);
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  background: rgba(18, 22, 34, 0.48);
}

.copy-handle,
.domain-url,
.copy-btn {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

.copy-handle,
.domain-url {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: var(--bb-text-body);
  font-size: 0.9rem;
  word-break: break-all;
  text-align: left;
}

.copy-btn {
  flex: 0 0 auto;
  min-height: 28px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--bb-gold);
  font-size: 0.86rem;
  font-weight: 650;
  cursor: pointer;
}

.copy-row:hover,
.domain-card:hover {
  background: rgba(18, 22, 34, 0.58);
}

.copy-btn.is-copied {
  color: var(--bb-online-green);
}

.domains {
  margin: 0 0 12px;
  text-align: left;
}

.domains-title {
  margin: 0 0 6px;
  color: var(--bb-text-muted);
  font-size: 0.68rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.domain-active {
  border-color: rgba(58, 168, 106, 0.2);
  background: rgba(16, 24, 22, 0.42);
}

.domain-active .domain-url {
  color: var(--bb-online-green);
  font-weight: 650;
}

.domain-reserved {
  border-style: dashed;
}

.domain-reserved .domain-url {
  color: var(--bb-gold);
}

.domain-tag {
  margin-right: 6px;
  color: var(--bb-gold);
  font-size: 0.72rem;
  font-weight: 650;
}

.domains-notice {
  margin: 6px 0 0;
  color: var(--bb-text-muted);
  font-size: 0.74rem;
}

.verify {
  margin: 0 0 8px;
  text-align: left;
}

.verify-title {
  color: var(--bb-gold);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.verify-title::-webkit-details-marker {
  display: none;
}

.verify-title::before {
  content: "▶ ";
  font-size: 0.7rem;
}

.verify[open] .verify-title::before {
  content: "▼ ";
}

.verify-list {
  margin: 8px 0 0;
  padding-left: 18px;
  color: var(--bb-text-secondary);
  font-size: 0.82rem;
}

.verify-list li + li {
  margin-top: 5px;
}

.config-fallback {
  margin: 8px 0 0;
  color: var(--bb-text-muted);
  font-size: 0.78rem;
}

.footer {
  padding-top: 10px;
  padding-bottom: 28px;
  text-align: center;
  color: var(--bb-text-faint);
  font-size: 0.78rem;
}

.footer p {
  margin: 0 0 3px;
}

.footer a {
  color: var(--bb-text-secondary);
  text-decoration: none;
}

.footer-handle {
  margin-left: 6px;
}

@media (max-width: 480px) {
  .lang-switch {
    position: absolute;
    top: 10px;
    right: 12px;
  }

  .page {
    padding-top: 72px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .logo-wrapper,
  .logo {
    width: 104px;
    height: 104px;
  }

  .cta {
    min-height: 48px;
  }
}

@media (min-height: 900px) {
  .page {
    padding-top: 168px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cta,
  .copy-row,
  .domain-card {
    transition: none;
  }
}
