/* Black Friday 2026 promo modal — Gnome IT Solutions */
html.gh-bf-noscroll,
body.gh-bf-noscroll {
  overflow: hidden;
}

.gh-bf-overlay {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(8, 10, 18, 0.72);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.gh-bf-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.gh-bf-modal {
  position: relative;
  width: min(440px, 100%);
  max-height: min(92vh, 640px);
  overflow: auto;
  border-radius: 20px;
  background: linear-gradient(155deg, #0f1419 0%, #1a1f2e 45%, #111827 100%);
  border: 1px solid rgba(238, 85, 134, 0.35);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 0 40px rgba(238, 85, 134, 0.15);
  color: #f3f4f6;
  text-align: center;
  transform: scale(0.92) translateY(12px);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.gh-bf-overlay.is-open .gh-bf-modal {
  transform: scale(1) translateY(0);
}

.gh-bf-modal::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(90deg, #ee5586, #ffc107, #ee5586);
  background-size: 200% 100%;
  animation: gh-bf-shine 3s linear infinite;
}

@keyframes gh-bf-shine {
  to {
    background-position: 200% 0;
  }
}

.gh-bf-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #d1d5db;
  font-size: 1.25rem;
  cursor: pointer;
  line-height: 1;
  transition: background 0.2s, color 0.2s;
}

.gh-bf-close:hover {
  background: rgba(238, 85, 134, 0.25);
  color: #fff;
}

.gh-bf-body {
  padding: 36px 28px 28px;
}

.gh-bf-badge {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #111827;
  background: #ffc107;
  box-shadow: 0 4px 14px rgba(255, 193, 7, 0.35);
}

.gh-bf-title {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 5vw, 1.85rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
}

.gh-bf-title em {
  font-style: normal;
  color: #ee5586;
}

.gh-bf-lead {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.5;
  color: #cbd5e1;
}

.gh-bf-exclude {
  margin: 0 0 22px;
  font-size: 13px;
  color: #94a3b8;
}

.gh-bf-code-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.gh-bf-code {
  flex: 1 1 auto;
  min-width: 140px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px dashed rgba(255, 193, 7, 0.5);
  background: rgba(0, 0, 0, 0.35);
  font-family: "Consolas", "Monaco", monospace;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffc107;
}

.gh-bf-copy {
  flex: 0 0 auto;
  padding: 14px 18px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}

.gh-bf-copy:hover {
  background: rgba(255, 255, 255, 0.18);
}

.gh-bf-copy.is-copied {
  background: #15803d;
}

.gh-bf-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 320px;
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none !important;
  color: #111827 !important;
  background: #ffc107;
  box-shadow: 0 8px 24px rgba(255, 193, 7, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}

.gh-bf-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 193, 7, 0.45);
}

.gh-bf-foot {
  margin: 16px 0 0;
  font-size: 12px;
  color: #64748b;
}

.gh-bf-sparkle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffc107;
  opacity: 0.6;
  pointer-events: none;
}

.gh-bf-sparkle--1 { top: 18%; left: 12%; animation: gh-bf-pulse 2s ease-in-out infinite; }
.gh-bf-sparkle--2 { top: 28%; right: 15%; animation: gh-bf-pulse 2.4s ease-in-out infinite 0.3s; }
.gh-bf-sparkle--3 { bottom: 22%; left: 18%; animation: gh-bf-pulse 2.2s ease-in-out infinite 0.6s; }

@keyframes gh-bf-pulse {
  0%, 100% { opacity: 0.25; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.4); }
}

@media (max-width: 480px) {
  .gh-bf-body {
    padding: 32px 20px 24px;
  }
  .gh-bf-code-wrap {
    flex-direction: column;
  }
  .gh-bf-copy {
    width: 100%;
  }
}