:root {
  --burtono-social-black: #07090d;
  --burtono-social-panel: #0f131a;
  --burtono-social-yellow: #f6c90e;
  --burtono-social-white: #f8fafc;
  --burtono-social-muted: #aab2bf;
}

.burtono-social,
.burtono-social * {
  box-sizing: border-box;
}

.burtono-social {
  position: relative;
  z-index: 8;
  isolation: isolate;
  color: var(--burtono-social-white);
  background:
    linear-gradient(90deg, rgba(246, 201, 14, 0.06) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(180deg, #0d1118 0%, var(--burtono-social-black) 100%);
  border-top: 1px solid rgba(246, 201, 14, 0.28);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.burtono-social::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--burtono-social-yellow);
  box-shadow: 0 0 28px rgba(246, 201, 14, 0.55);
}

.burtono-social__inner {
  width: min(100% - 48px, 1200px);
  min-height: 136px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-block: 28px;
}

.burtono-social__copy {
  min-width: 0;
}

.burtono-social__eyebrow,
.burtono-social__heading,
.burtono-social__description {
  margin: 0;
}

.burtono-social__eyebrow {
  margin-bottom: 7px;
  color: var(--burtono-social-yellow);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.4;
}

.burtono-social__heading {
  color: var(--burtono-social-white);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 750;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.burtono-social__description {
  max-width: 620px;
  margin-top: 7px;
  color: var(--burtono-social-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.burtono-social__links {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.burtono-social__link {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--burtono-social-yellow);
  background: rgba(15, 19, 26, 0.9);
  border: 1px solid rgba(246, 201, 14, 0.42);
  border-radius: 12px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.025);
  text-decoration: none;
  transform: translateZ(0);
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.burtono-social__link svg {
  width: 22px;
  height: 22px;
  display: block;
  fill: currentColor;
}

.burtono-social__link:hover {
  color: #080a0e;
  background: var(--burtono-social-yellow);
  border-color: var(--burtono-social-yellow);
  box-shadow: 0 10px 30px rgba(246, 201, 14, 0.28), 0 0 0 4px rgba(246, 201, 14, 0.1);
  transform: translateY(-2px) scale(1.06);
}

.burtono-social__link:focus-visible {
  outline: 3px solid var(--burtono-social-yellow);
  outline-offset: 4px;
}

.burtono-social__label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.burtono-social--floating {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: auto;
  border: 1px solid rgba(246, 201, 14, 0.34);
  border-radius: 16px;
  background: rgba(7, 9, 13, 0.94);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(14px);
}

.burtono-social--floating::before,
.burtono-social--floating .burtono-social__copy {
  display: none;
}

.burtono-social--floating .burtono-social__inner {
  width: auto;
  min-height: 0;
  padding: 10px;
}

.burtono-social--floating .burtono-social__links {
  gap: 8px;
}

.burtono-social--floating .burtono-social__link {
  width: 44px;
  height: 44px;
}

@media (max-width: 700px) {
  .burtono-social__inner {
    width: min(100% - 32px, 1200px);
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    padding-block: 24px 64px;
  }

  .burtono-social__description {
    max-width: 34rem;
    font-size: 0.82rem;
  }

  .burtono-social__links {
    width: 100%;
  }

  .burtono-social__link {
    width: 46px;
    height: 46px;
  }

  .burtono-social--floating {
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    max-width: calc(100vw - 24px);
  }

  .burtono-social--floating .burtono-social__inner {
    width: auto;
    padding: 8px;
  }

  .burtono-social--floating .burtono-social__links {
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .burtono-social__link {
    transition: none;
  }

  .burtono-social__link:hover {
    transform: none;
  }
}
