body {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.social-widget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #1d2227;
  border: 2px solid #13191f;
  border-radius: 0;
  width: 280px;
  font-family: "Helvetica", Arial, sans-serif;
  color: #ffffff;
  z-index: 1000;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1), height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 0 1px #13191f, 0 0 20px rgba(255, 255, 255, 0.1);
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  user-select: none;
}

.social-widget.collapsed .social-widget-content {
  opacity: 0;
  max-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
}

.social-widget.collapsed {
  width: 200px;
  height: auto;
}

.social-widget-content {
  opacity: 1;
  max-height: 500px;
  transition: opacity 0.3s ease 0.1s, max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
}

.social-widget-header {
  padding: 12px 16px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #13191f;
  background: linear-gradient(45deg, #1d2227 0%, #13191f 100%);
  cursor: move;
  position: relative;
}

.social-widget-header h3 {
  margin: 0;
  font-size: 14px;
  color: #ffffff;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  letter-spacing: 1px;
}

.widget-toggle {
  background: #13191f;
  border: 1px solid #ffffff;
  color: #ffffff;
  font-size: 14px;
  cursor: pointer;
  padding: 4px 8px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  font-family: monospace;
  font-weight: bold;
}

.widget-toggle:hover {
  background: #ffffff;
  color: #1d2227;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.social-widget-content {
  padding: 12px 16px 16px;
  background: #1d2227;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: #13191f;
  border: 1px solid #ffffff33;
  border-radius: 0;
  text-decoration: none;
  color: #ffffff;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 2;
}

.social-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.social-link:hover::before {
  left: 100%;
}

.social-link:hover {
  background: #00594f;
  color: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 0 15px rgba(0, 89, 79, 0.5);
  transform: translateX(3px);
}

.social-link img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  image-rendering: pixelated;
  image-rendering: -moz-crisp-edges;
  image-rendering: crisp-edges;
  filter: brightness(1.2);
  object-fit: contain;
  transition: filter 0.2s ease;
}

.social-link:hover img {
  filter: brightness(1.5) saturate(1.3) hue-rotate(10deg);
}

.social-link span {
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.widget-footer {
  text-align: center;
  padding-top: 8px;
  border-top: 2px solid #13191f;
}

.linktree-btn {
  display: inline-block;
  padding: 6px 12px;
  background: #ffffff;
  color: #1d2227;
  text-decoration: none;
  border-radius: 0;
  font-size: 10px;
  font-weight: bold;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid #ffffff;
  position: relative;
  overflow: hidden;
}

.linktree-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #13191f;
  transition: left 0.3s ease;
  z-index: -1;
}

.linktree-btn:hover::before {
  left: 0;
}

.linktree-btn:hover {
  color: #ffffff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
  transform: translateY(-1px);
}

.social-widget::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 10px 10px;
  pointer-events: none;
  border-radius: inherit;
}

@media (max-width: 768px) {
  .social-widget {
    top: 10px;
    right: 10px;
    width: 240px;
  }

  .social-widget.collapsed {
    width: 180px;
  }
}

@media (max-width: 480px) {
  .social-widget {
    width: calc(100vw - 20px);
    right: 10px;
  }

  .social-widget.collapsed {
    width: calc(100vw - 20px);
  }
}
