@font-face {
  font-family: "RC Ourbit IranSansX";
  src: url("assets/IRANSansXFaNum-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

.rc-ourbit {
  --background: #18181b;
  --gold: #f2b705;
  --gold-rgb: 242 183 5;
  --white: #fff;
  --height: 70px;
  --headline-width: 920px;
  --title-y: 13px;
  --title-size: 30px;
  --title-line: 44px;
  --open-left: 571.5px;
  --open-width: 162px;
  --tail-left: 188.5px;
  --tail-width: 373px;
  --offer-width: 540px;
  --offer-height: 70px;
  --reward-height: 45px;
  --reward-size: 28px;
  --reward-line: 42px;
  --reward-label-y: 4px;
  --currency-left: 147.5px;
  --slot-left: 279.5px;
  --slot-width: 88px;
  --slot-height: 43px;
  --number-left: 2px;
  --number-size: 37px;
  --ceiling-left: 375.5px;
  --condition-y: 42px;
  --condition-size: 16px;
  --condition-line: 22px;
  --cta-left: -247px;
  --cta-width: 217px;
  --cta-height: 46px;
  --cta-radius: 44px;
  --cta-size: 20px;
  --cta-line: 36px;

  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  height: var(--height);
  background: var(--background);
  background-image: linear-gradient(
    90deg, transparent, rgb(var(--gold-rgb) / .025) 31%,
    rgb(var(--gold-rgb) / .105) 58%, rgb(var(--gold-rgb) / .055) 82%, transparent
  );
  color: var(--white);
  font: 700 16px/1 var(--rc-ourbit-font-family, "RC Ourbit IranSansX"), "Noto Sans Arabic", Tahoma, sans-serif;
  text-align: right;
  text-rendering: geometricPrecision;
  white-space: nowrap;
}

.rc-ourbit::after {
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgb(var(--gold-rgb) / .38) 52%, transparent);
  content: "";
  pointer-events: none;
}

.rc-ourbit *,
.rc-ourbit *::before,
.rc-ourbit *::after {
  box-sizing: border-box;
}

.rc-ourbit__link {
  position: absolute;
  inset: 0;
  display: block;
  color: inherit;
  text-decoration: none;
}

.rc-ourbit__stage {
  position: absolute;
  inset: 0;
}

.rc-ourbit__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  margin: 0;
  clip-path: inset(50%);
}

.rc-ourbit__headline,
.rc-ourbit__offer,
.rc-ourbit__cta {
  position: absolute;
  left: 50%;
}

.rc-ourbit__headline {
  top: 0;
  width: var(--headline-width);
  height: var(--height);
  margin-left: calc(var(--headline-width) / -2);
  overflow: hidden;
  font-size: var(--title-size);
  line-height: var(--title-line);
}

.rc-ourbit__opening,
.rc-ourbit__tail {
  position: absolute;
  top: var(--title-y);
  height: var(--title-line);
  overflow: hidden;
}

.rc-ourbit__opening {
  left: var(--open-left);
  width: var(--open-width);
  color: var(--gold);
}

.rc-ourbit__tail {
  left: var(--tail-left);
  width: var(--tail-width);
}

.rc-ourbit__reveal,
.rc-ourbit__continuation {
  position: absolute;
  top: 0;
  left: 0;
}

.rc-ourbit__offer {
  top: calc((var(--height) - var(--offer-height)) / 2);
  width: var(--offer-width);
  height: var(--offer-height);
  margin-left: calc(var(--offer-width) / -2);
  overflow: hidden;
  color: var(--gold);
}

.rc-ourbit__reward {
  position: absolute;
  inset: 0 0 auto;
  height: var(--reward-height);
  font-size: var(--reward-size);
  line-height: var(--reward-line);
}

.rc-ourbit__ceiling,
.rc-ourbit__currency {
  position: absolute;
  top: var(--reward-label-y);
}

.rc-ourbit__ceiling { left: var(--ceiling-left); }
.rc-ourbit__currency { left: var(--currency-left); }

.rc-ourbit__slot {
  position: absolute;
  top: 0;
  left: var(--slot-left);
  width: var(--slot-width);
  height: var(--slot-height);
  overflow: hidden;
}

.rc-ourbit__number {
  position: absolute;
  top: 0;
  left: var(--number-left);
  font-size: var(--number-size);
  line-height: var(--slot-height);
}

.rc-ourbit__condition {
  position: absolute;
  top: var(--condition-y);
  right: 0;
  left: 0;
  color: var(--white);
  font-size: var(--condition-size);
  line-height: var(--condition-line);
  text-align: center;
}

.rc-ourbit__cta {
  top: calc((var(--height) - var(--cta-height)) / 2);
  display: grid;
  place-items: center;
  width: var(--cta-width);
  height: var(--cta-height);
  margin-left: var(--cta-left);
  border: 1px solid var(--gold);
  border-radius: var(--cta-radius);
  background: var(--gold);
  color: var(--background);
  font-size: var(--cta-size);
  line-height: var(--cta-line);
  text-decoration: none;
}

.rc-ourbit__link:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: -2px;
}

@media (max-width: 767px) {
  .rc-ourbit {
    --height: 40px;
    --headline-width: 390px;
    --title-y: 7px;
    --title-size: 18px;
    --title-line: 26px;
    --open-left: 262px;
    --open-width: 99px;
    --tail-left: 32px;
    --tail-width: 225px;
    --offer-width: 390px;
    --offer-height: 32px;
    --reward-height: 21px;
    --reward-size: 18px;
    --reward-line: 21px;
    --reward-label-y: 0px;
    --currency-left: 121.5px;
    --slot-left: 204.5px;
    --slot-width: 48px;
    --slot-height: 21px;
    --number-left: 0px;
    --number-size: 21px;
    --ceiling-left: 256.5px;
    --condition-y: 20px;
    --condition-size: 10px;
    --condition-line: 12px;
    --cta-left: -163.5px;
    --cta-width: 147px;
    --cta-height: 32px;
    --cta-radius: 24px;
    --cta-size: 13px;
    --cta-line: 18px;
  }
}

@media (max-width: 344px) {
  .rc-ourbit__stage { scale: .92 1; }
}
