@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;900&family=Familjen+Grotesk:wght@400..700&family=Martian+Mono:wght@300;400;500&display=swap');

/* ==========================================================================
   ADONIS PRELOADER — Self-contained styles
   Copy this file or inline it. No external dependencies required.
   ========================================================================== */

:root {
  --ap-c-bg: #040508;
  --ap-c-accent: #f7b756;
  --ap-c-fg-3: #585c66;
  --ap-c-white: #ffffff;
  --ap-f-display: 'Familjen Grotesk', 'Cairo', sans-serif;
  --ap-f-mono: 'Martian Mono', monospace;
}

.ap-preloader {
  position: fixed;
  inset: 0;
  z-index: 999999; /* Higher than other site elements */
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  overflow: hidden;
}

/* Force LTR to prevent digits/taglines flipping in Arabic mode.
   Must target descendants too: home.css applies `* { direction: rtl }`
   directly to every element, which overrides plain inheritance and
   reversed the counter reels (100 rendered as 001). */
.ap-preloader,
.ap-preloader * {
  direction: ltr;
}

.ap-belts {
  position: absolute;
  inset: 0;
  display: flex;
  pointer-events: none;
  z-index: 1;
}

.ap-belt {
  flex: 1;
  height: 100%;
  background: var(--ap-c-bg);
  border-right: 1px solid rgba(255, 255, 255, 0.02);
  transform: scaleY(1);
  transform-origin: top center;
}

.ap-center {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 28px;
}

.ap-logo-wrap {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 40px;
  background: rgba(4, 5, 8, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 220px;
  height: 220px;
  justify-content: center;
}

.ap-logo-plus {
  position: absolute;
  font-family: var(--ap-f-mono);
  font-size: 14px;
  color: var(--ap-c-accent);
  line-height: 1;
}
.ap-logo-plus--tl { top: -6px; left: -5px; }
.ap-logo-plus--tr { top: -6px; right: -5px; }
.ap-logo-plus--bl { bottom: -6px; left: -5px; }
.ap-logo-plus--br { bottom: -6px; right: -5px; }

.ap-logo-img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.ap-logo-label {
  font-family: var(--ap-f-display);
  font-size: 12px;
  letter-spacing: 0.35em;
  color: var(--ap-c-white);
  text-transform: uppercase;
}

.ap-tagline {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ap-f-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ap-c-fg-3);
}

.ap-tag-dot {
  color: var(--ap-c-accent);
}

.ap-counter {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ap-f-display);
  font-size: 38px;
  font-weight: 700;
  color: var(--ap-c-accent);
  height: 48px;
  overflow: hidden;
}

.ap-reel {
  width: 26px;
  height: 48px;
  overflow: hidden;
  position: relative;
}

.ap-strip {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.ap-strip span {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 48px;
}

.ap-pct {
  margin-left: 2px;
  font-size: 22px;
}
