.ff-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 200000;
  background: rgba(0, 0, 0, 0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.ff-popup-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.ff-popup {
  width: min(420px, 100%);
  background: #0a0a0a;
  border: 1px solid #333;
  color: #f2f2f2;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  transform: translateY(10px);
  transition: transform 0.25s ease;
}

.ff-popup-overlay.is-open .ff-popup {
  transform: translateY(0);
}

.ff-popup__close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 1px solid #444;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.ff-popup__close:hover {
  border-color: #ff4848;
  color: #ff4848;
}

.ff-popup__banner {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #000;
}

.ff-popup__body {
  padding: 16px 18px 18px;
}

.ff-popup__cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.ff-popup__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ff-popup__btn--login {
  background: #ff4848;
  color: #fff;
}

.ff-popup__btn--login:hover {
  filter: brightness(1.08);
  color: #fff;
}

.ff-popup__btn--daftar {
  background: transparent;
  color: #f2f2f2;
  border: 1px solid #555;
}

.ff-popup__btn--daftar:hover {
  border-color: #ff4848;
  color: #ff4848;
}

.ff-popup__copy {
  margin: 0;
  text-align: center;
  font-size: 11px;
  color: #777;
  letter-spacing: 0.02em;
}
