/*
Theme Name: Barjees.app
Theme URI: https://www.barjees.app
Author: Khalil
Description: قالب ووردبريس خفيف لموقع Barjees.app بصفحة Coming Soon واحدة وهيدر وفوتر زجاجي تقني وإعدادات تخصيص موسعة.
Version: 1.9.0
Text Domain: barjees-coming-soon
*/

:root {
  --barjees-bg: #050505;
  --barjees-text: #f8f5ef;
  --barjees-muted: #c8c3ba;
  --barjees-accent: #ffffff;
  --barjees-overlay: .45;
  --barjees-position-y: 72;
  --barjees-position-x: 50;
  --barjees-content-width: 960px;
  --barjees-bg-offset-x: 0vw;
  --barjees-bg-offset-y: -5vh;
  --barjees-bg-scale: 1;
  --barjees-bg-opacity: 1;
  --barjees-bg-brightness: 1;
  --barjees-image-glow-speed: 2.8s;
  --barjees-scan-speed: 2.2s;
  --barjees-title-size: 72px;
  --barjees-pretitle-size: 28px;
  --barjees-pretitle-letter-spacing: .22em;
  --barjees-pretitle-glow-speed: 3.6s;
  --barjees-letter-spacing: .16em;
  --barjees-button-radius: 999px;
  --barjees-font: Arial, Helvetica, sans-serif;
  --barjees-extra-image-max-width: 320px;
  --barjees-extra-image-height: 0px;
  --barjees-extra-image-offset-x: 0px;
  --barjees-extra-image-offset-y: 0px;
  --barjees-extra-image-mt: 20px;
  --barjees-extra-image-mr: 0px;
  --barjees-extra-image-mb: 20px;
  --barjees-extra-image-ml: 0px;
  --barjees-extra-html-max-width: 900px;
  --barjees-extra-html-mt: 20px;
  --barjees-extra-html-mr: 0px;
  --barjees-extra-html-mb: 20px;
  --barjees-extra-html-ml: 0px;
  --barjees-extra-image-animation-speed: 3s;
  --barjees-extra-image-animation-intensity: 12px;
  --barjees-extra-image-top-max-width: 320px;
  --barjees-extra-image-top-height: 0px;
  --barjees-extra-image-top-offset-x: 0px;
  --barjees-extra-image-top-offset-y: 0px;
  --barjees-extra-image-top-mt: 0px;
  --barjees-extra-image-top-mr: 0px;
  --barjees-extra-image-top-mb: 12px;
  --barjees-extra-image-top-ml: 0px;
  --barjees-extra-image-top-animation-speed: 3s;
  --barjees-extra-image-top-animation-intensity: 12px;
  --barjees-content-auto-shift-x: 0px;
  --barjees-content-auto-shift-y: 0px;
  --barjees-content-safe-height: 100dvh;
  --barjees-safe-top: 0px;
  --barjees-safe-bottom: 100dvh;
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  font-family: var(--barjees-font);
  background: var(--barjees-bg);
  color: var(--barjees-text);
  overflow: hidden;
}

.barjees-page {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  isolation: isolate;
  background: var(--barjees-bg);
}

/*
 * Single background architecture.
 * One source image is rendered exactly once inside a clipped layer. The image
 * itself handles fit, focal position, scale and movement. This prevents the
 * former cover + contain duplication completely.
 */
.barjees-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background-color: var(--barjees-bg);
  pointer-events: none;
}

.barjees-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: var(--barjees-bg-opacity);
  filter: brightness(var(--barjees-bg-brightness));
  transform: translate(var(--barjees-bg-offset-x), var(--barjees-bg-offset-y)) scale(var(--barjees-bg-scale));
  transform-origin: center center;
  animation: barjees-image-glow var(--barjees-image-glow-speed) ease-in-out infinite;
  will-change: opacity, filter, transform;
}

@keyframes barjees-image-glow {
  0%, 100% {
    opacity: calc(var(--barjees-bg-opacity) * .82);
    filter: brightness(calc(var(--barjees-bg-brightness) * .88)) contrast(1.02);
    transform: translate(var(--barjees-bg-offset-x), var(--barjees-bg-offset-y)) scale(var(--barjees-bg-scale));
  }
  50% {
    opacity: var(--barjees-bg-opacity);
    filter: brightness(var(--barjees-bg-brightness)) contrast(1.07);
    transform: translate(var(--barjees-bg-offset-x), var(--barjees-bg-offset-y)) scale(calc(var(--barjees-bg-scale) + .01));
  }
}

.barjees-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(0, 0, 0, var(--barjees-overlay));
  pointer-events: none;
}

.barjees-content {
  position: absolute;
  top: calc(var(--barjees-position-y) * 1%);
  left: calc(var(--barjees-position-x) * 1%);
  width: min(92vw, var(--barjees-content-width));
  z-index: 4;
  padding: 24px;
  background: transparent;
  transform: translate(-50%, -50%) translate(var(--barjees-content-auto-shift-x), var(--barjees-content-auto-shift-y));
  text-align: center;
}

.barjees-content.barjees-content-scroll {
  max-height: var(--barjees-content-safe-height);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.barjees-content.barjees-content-scroll::-webkit-scrollbar {
  display: none;
}

.barjees-logo {
  margin: 0 auto 20px;
}

.barjees-logo img {
  display: block;
  width: auto;
  max-width: min(180px, 38vw);
  max-height: 150px;
  margin: 0 auto;
}


.barjees-pretitle {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  padding: .32em 1.35em;
  max-width: min(90vw, 100%);
  color: rgba(255,255,255,.98);
  font-size: clamp(.9rem, 2.2vw, var(--barjees-pretitle-size));
  line-height: 1.2;
  letter-spacing: clamp(.08em, var(--barjees-pretitle-letter-spacing), .65em);
  text-transform: uppercase;
  font-weight: 700;
  white-space: normal;
  text-align: center;
  text-shadow:
    0 0 8px rgba(255,255,255,.34),
    0 0 18px rgba(255,246,225,.20),
    0 2px 10px rgba(0,0,0,.56);
  border-radius: 999px;
  isolation: isolate;
}

.barjees-pretitle::before,
.barjees-pretitle::after {
  content: '';
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: -1;
}

.barjees-pretitle::before {
  width: min(78vw, 520px);
  height: 24px;
  border-radius: 999px;
  background: radial-gradient(circle at center, rgba(255,247,227,.95) 0%, rgba(255,232,187,.58) 26%, rgba(255,244,229,.22) 48%, rgba(255,255,255,0) 72%);
  filter: blur(10px);
  opacity: .92;
}

.barjees-pretitle::after {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.98) 0 35%, rgba(255,244,196,.88) 36% 55%, rgba(255,255,255,0) 68%);
  box-shadow: 0 0 8px rgba(255,255,255,.75), 0 0 16px rgba(255,240,191,.48);
  opacity: 0;
}

.barjees-pretitle--none::before,
.barjees-pretitle--none::after {
  display: none;
}

.barjees-pretitle--beam::before {
  animation: barjees-pretitle-beam var(--barjees-pretitle-glow-speed) ease-in-out infinite;
}

.barjees-pretitle--beam::after {
  animation: barjees-pretitle-star calc(var(--barjees-pretitle-glow-speed) * 1.05) linear infinite;
}

.barjees-pretitle--pulse::before {
  animation: barjees-pretitle-pulse var(--barjees-pretitle-glow-speed) ease-in-out infinite;
}

.barjees-pretitle--pulse::after {
  opacity: .66;
  animation: barjees-pretitle-twinkle calc(var(--barjees-pretitle-glow-speed) * .95) ease-in-out infinite;
}

.barjees-pretitle--shimmer {
  overflow: hidden;
}

.barjees-pretitle--shimmer::before {
  animation: barjees-pretitle-pulse calc(var(--barjees-pretitle-glow-speed) * 1.2) ease-in-out infinite;
}

.barjees-pretitle--shimmer > span,
.barjees-pretitle--shimmer {
  background-image: linear-gradient(110deg, rgba(255,255,255,.85) 0%, rgba(255,236,177,.96) 28%, rgba(255,255,255,1) 50%, rgba(255,230,152,.95) 70%, rgba(255,255,255,.85) 100%);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: barjees-pretitle-shimmer calc(var(--barjees-pretitle-glow-speed) * 1.1) linear infinite;
}

.barjees-pretitle--shimmer::after {
  animation: barjees-pretitle-star calc(var(--barjees-pretitle-glow-speed) * .95) linear infinite;
}

.barjees-pretitle--sparkle::before {
  animation: barjees-pretitle-pulse calc(var(--barjees-pretitle-glow-speed) * 1.05) ease-in-out infinite;
}

.barjees-pretitle--sparkle::after {
  animation: barjees-pretitle-sparkle calc(var(--barjees-pretitle-glow-speed) * 1.15) linear infinite;
}

.barjees-pretitle--aurora::before {
  width: min(88vw, 620px);
  height: 42px;
  background: radial-gradient(circle at center, rgba(251,244,229,.78) 0%, rgba(255,214,136,.40) 30%, rgba(202,224,255,.18) 58%, rgba(255,255,255,0) 76%);
  filter: blur(14px);
  animation: barjees-pretitle-aurora calc(var(--barjees-pretitle-glow-speed) * 1.15) ease-in-out infinite;
}

.barjees-pretitle--aurora::after {
  animation: barjees-pretitle-star calc(var(--barjees-pretitle-glow-speed) * 1.2) linear infinite;
}

@keyframes barjees-pretitle-beam {
  0%, 100% { opacity: .35; transform: translate(-50%, -50%) scaleX(.72); }
  50% { opacity: 1; transform: translate(-50%, -50%) scaleX(1.02); }
}

@keyframes barjees-pretitle-pulse {
  0%, 100% { opacity: .34; transform: translate(-50%, -50%) scale(.9); }
  50% { opacity: .95; transform: translate(-50%, -50%) scale(1.12); }
}

@keyframes barjees-pretitle-shimmer {
  0% { background-position: 160% 0; }
  100% { background-position: -60% 0; }
}

@keyframes barjees-pretitle-star {
  0% { left: 18%; opacity: 0; transform: translate(-50%, -50%) scale(.4); }
  18% { opacity: .72; }
  50% { left: 50%; opacity: 1; transform: translate(-50%, -50%) scale(1); }
  82% { opacity: .72; }
  100% { left: 82%; opacity: 0; transform: translate(-50%, -50%) scale(.4); }
}

@keyframes barjees-pretitle-sparkle {
  0% { left: 24%; top: 48%; opacity: 0; transform: translate(-50%, -50%) scale(.28) rotate(0deg); }
  18% { opacity: .82; }
  34% { left: 42%; top: 24%; opacity: 1; transform: translate(-50%, -50%) scale(1.05) rotate(40deg); }
  52% { left: 56%; top: 62%; opacity: .92; transform: translate(-50%, -50%) scale(.66) rotate(90deg); }
  70% { left: 72%; top: 34%; opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(140deg); }
  100% { left: 82%; top: 52%; opacity: 0; transform: translate(-50%, -50%) scale(.26) rotate(180deg); }
}

@keyframes barjees-pretitle-aurora {
  0%, 100% { opacity: .52; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.05); }
}

@keyframes barjees-pretitle-twinkle {
  0%, 100% { opacity: .18; transform: translate(-50%, -50%) scale(.45); }
  50% { opacity: .92; transform: translate(-50%, -50%) scale(1); }
}

.barjees-title {
  position: relative;
  display: inline-block;
  margin: 0;
  padding: .06em .08em .12em;
  font-family: var(--barjees-font);
  color: var(--barjees-text);
  font-size: clamp(2rem, 7vw, var(--barjees-title-size));
  line-height: 1.06;
  letter-spacing: clamp(.03em, var(--barjees-letter-spacing), .12em);
  text-transform: uppercase;
  font-weight: 700;
  text-shadow:
    0 1px 0 rgba(255,255,255,.16),
    0 2px 4px rgba(0,0,0,.45),
    0 0 14px rgba(255,247,230,.08),
    0 0 32px rgba(255,223,162,.08);
}

.barjees-title::before,
.barjees-title::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  white-space: nowrap;
}

.barjees-title::before {
  color: transparent;
  -webkit-text-fill-color: transparent;
  background-color: var(--barjees-text);
  background-image:
    repeating-linear-gradient(135deg,
      rgba(255,255,255,.20) 0 2px,
      rgba(0,0,0,.03) 2px 6px,
      rgba(74,55,38,.16) 6px 8px,
      rgba(0,0,0,.02) 8px 12px),
    repeating-linear-gradient(90deg,
      rgba(255,255,255,.24) 0 1px,
      rgba(0,0,0,0) 1px 10px);
  background-blend-mode: soft-light, overlay;
  background-clip: text;
  -webkit-background-clip: text;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.08));
  opacity: 1;
}

.barjees-title::after {
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px rgba(93, 76, 58, .92);
  text-shadow:
    1px 0 0 rgba(243,236,224,.18),
    -1px 0 0 rgba(243,236,224,.18),
    0 1px 0 rgba(243,236,224,.12),
    0 -1px 0 rgba(243,236,224,.08);
  opacity: .92;
}

.barjees-subtitle {
  max-width: 700px;
  margin: 18px auto 0;
  color: var(--barjees-muted);
  font-size: clamp(.95rem, 2vw, 1.2rem);
  line-height: 1.7;
  white-space: pre-line;
  text-shadow: 0 2px 12px rgba(0,0,0,.75);
}

.barjees-domain {
  margin-top: 16px;
  font-size: clamp(.8rem, 2vw, 1rem);
  letter-spacing: .18em;
  text-transform: lowercase;
}

.barjees-scan-text {
  position: relative;
  display: inline-block;
  color: var(--barjees-muted);
  text-shadow: 0 2px 10px rgba(0,0,0,.72);
}

.barjees-scan-text::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: transparent;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0) 42%,
    rgba(255,255,255,.20) 47%,
    rgba(255,255,255,1) 50%,
    rgba(255,255,255,.20) 53%,
    rgba(255,255,255,0) 58%,
    rgba(255,255,255,0) 100%
  );
  background-size: 260% 100%;
  background-repeat: no-repeat;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 12px rgba(255,255,255,.60));
  animation: barjees-name-scan var(--barjees-scan-speed) linear infinite;
}

@keyframes barjees-name-scan {
  0% { background-position: -35% 0; }
  100% { background-position: 145% 0; }
}


/* Header brand: continuous subtle shine from left to right with a soft star traveling with it. */
.barjees-header-brand .barjees-scan-text::after {
  animation-name: barjees-header-brand-shine;
  animation-duration: var(--barjees-scan-speed);
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  filter: drop-shadow(0 0 8px rgba(255,255,255,.42));
}

.barjees-header-brand .barjees-scan-text::before {
  content: "✦";
  position: absolute;
  top: 50%;
  left: -6%;
  z-index: 2;
  color: rgba(255,255,255,.72);
  font-size: .58em;
  line-height: 1;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(.45) rotate(0deg);
  opacity: 0;
  text-shadow:
    0 0 3px rgba(255,255,255,.72),
    0 0 7px rgba(255,255,255,.32);
  animation: barjees-header-brand-star var(--barjees-scan-speed) linear infinite;
}

@keyframes barjees-header-brand-shine {
  0% { background-position: 145% 0; }
  100% { background-position: -35% 0; }
}

@keyframes barjees-header-brand-star {
  0% {
    left: -6%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(.35) rotate(0deg);
  }
  12% {
    opacity: .28;
  }
  48% {
    opacity: .78;
    transform: translate(-50%, -50%) scale(.82) rotate(65deg);
  }
  62% {
    opacity: .42;
  }
  100% {
    left: 106%;
    opacity: 0;
    transform: translate(-50%, -50%) scale(.35) rotate(130deg);
  }
}


.barjees-is-hidden {
  display: none !important;
}

.barjees-extra-slot {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  background: transparent !important;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.barjees-extra-image,
.barjees-extra-html {
  position: relative;
  flex: 0 0 auto;
  background: transparent !important;
  border: 0;
  box-shadow: none;
}

/*
 * Foreground-image safe area:
 * user offsets remain authoritative until an image would enter the fixed
 * header/footer or leave the viewport. frontend.js then adds only the minimum
 * automatic correction through the two safe-shift variables below. The site
 * background is not constrained and may continue behind the glass chrome.
 */
.barjees-extra-image {
  --barjees-active-image-animation-speed: var(--barjees-extra-image-animation-speed);
  --barjees-active-image-animation-intensity: var(--barjees-extra-image-animation-intensity);
  --barjees-image-safe-shift-x: 0px;
  --barjees-image-safe-shift-y: 0px;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
  isolation: auto;
  width: min(100%, var(--barjees-extra-image-max-width), calc(100vw - 36px));
  max-width: min(var(--barjees-extra-image-max-width), calc(100vw - 36px));
  margin-top: var(--barjees-extra-image-mt);
  margin-right: var(--barjees-extra-image-mr);
  margin-bottom: var(--barjees-extra-image-mb);
  margin-left: var(--barjees-extra-image-ml);
  transform:
    translate(
      clamp(-45vw, var(--barjees-extra-image-offset-x), 45vw),
      clamp(-40vh, var(--barjees-extra-image-offset-y), 40vh)
    )
    translate(var(--barjees-image-safe-shift-x), var(--barjees-image-safe-shift-y));
  transform-origin: center center;
}

.barjees-extra-image--top {
  --barjees-active-image-animation-speed: var(--barjees-extra-image-top-animation-speed);
  --barjees-active-image-animation-intensity: var(--barjees-extra-image-top-animation-intensity);
  width: min(100%, var(--barjees-extra-image-top-max-width), calc(100vw - 36px));
  max-width: min(var(--barjees-extra-image-top-max-width), calc(100vw - 36px));
  margin-top: var(--barjees-extra-image-top-mt);
  margin-right: var(--barjees-extra-image-top-mr);
  margin-bottom: var(--barjees-extra-image-top-mb);
  margin-left: var(--barjees-extra-image-top-ml);
  transform:
    translate(
      clamp(-45vw, var(--barjees-extra-image-top-offset-x), 45vw),
      clamp(-40vh, var(--barjees-extra-image-top-offset-y), 40vh)
    )
    translate(var(--barjees-image-safe-shift-x), var(--barjees-image-safe-shift-y));
}

.barjees-extra-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: max(80px, calc(var(--barjees-content-safe-height) - 28px));
  height: auto;
  object-position: center;
  background: transparent !important;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

/* Images embedded through the custom HTML field follow the same transparent
   foreground behavior as the two native image controls. */
.barjees-extra-html,
.barjees-extra-html > div,
.barjees-extra-html img {
  background-color: transparent !important;
}

.barjees-extra-html img {
  border: 0;
  box-shadow: none;
}

.barjees-extra-html img {
  max-width: 100%;
  height: auto;
}

/* Additional image motion effects. The animation is applied to the inner image
   so positioning transforms on the outer wrapper keep working independently. */
.barjees-animation-none > img,
.barjees-animation-none.barjees-animate-html-images img {
  animation: none !important;
}

.barjees-animation-float > img,
.barjees-animation-float.barjees-animate-html-images img {
  animation: barjees-extra-float var(--barjees-active-image-animation-speed) ease-in-out infinite;
  will-change: transform;
}

.barjees-animation-breathe > img,
.barjees-animation-breathe.barjees-animate-html-images img {
  animation: barjees-extra-breathe var(--barjees-active-image-animation-speed) ease-in-out infinite;
  will-change: transform, opacity;
}

.barjees-animation-pulse > img,
.barjees-animation-pulse.barjees-animate-html-images img {
  animation: barjees-extra-pulse var(--barjees-active-image-animation-speed) ease-in-out infinite;
  will-change: transform;
}

.barjees-animation-swing > img,
.barjees-animation-swing.barjees-animate-html-images img {
  animation: barjees-extra-swing var(--barjees-active-image-animation-speed) ease-in-out infinite;
  transform-origin: 50% 12%;
  will-change: transform;
}

.barjees-animation-glow > img,
.barjees-animation-glow.barjees-animate-html-images img {
  animation: barjees-extra-glow var(--barjees-active-image-animation-speed) ease-in-out infinite;
  will-change: filter, opacity;
}

@keyframes barjees-extra-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(calc(var(--barjees-active-image-animation-intensity) * -1)); }
}

@keyframes barjees-extra-breathe {
  0%, 100% { transform: scale(1); opacity: .92; }
  50% { transform: scale(1.025); opacity: 1; }
}

@keyframes barjees-extra-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes barjees-extra-swing {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-2deg); }
  75% { transform: rotate(2deg); }
}

@keyframes barjees-extra-glow {
  0%, 100% { filter: brightness(.82) drop-shadow(0 0 0 rgba(255,255,255,0)); opacity: .88; }
  50% { filter: brightness(1.18) drop-shadow(0 0 var(--barjees-active-image-animation-intensity) rgba(255,255,255,.42)); opacity: 1; }
}

.barjees-extra-html {
  --barjees-active-image-animation-speed: var(--barjees-extra-image-animation-speed);
  --barjees-active-image-animation-intensity: var(--barjees-extra-image-animation-intensity);
  width: min(100%, var(--barjees-extra-html-max-width));
  max-width: var(--barjees-extra-html-max-width);
  margin-top: var(--barjees-extra-html-mt);
  margin-right: var(--barjees-extra-html-mr);
  margin-bottom: var(--barjees-extra-html-mb);
  margin-left: var(--barjees-extra-html-ml);
}

.barjees-extra-image.barjees-align-left,
.barjees-extra-html.barjees-align-left {
  align-self: flex-start;
  text-align: left;
}

.barjees-extra-image.barjees-align-center,
.barjees-extra-html.barjees-align-center {
  align-self: center;
  text-align: center;
}

.barjees-extra-image.barjees-align-right,
.barjees-extra-html.barjees-align-right {
  align-self: flex-end;
  text-align: right;
}

.barjees-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 24px;
  padding: 10px 24px;
  border: 1px solid var(--barjees-accent);
  border-radius: var(--barjees-button-radius);
  color: var(--barjees-bg);
  background: var(--barjees-accent);
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, opacity .2s ease;
}

.barjees-button:hover,
.barjees-button:focus-visible {
  transform: translateY(-2px);
  opacity: .9;
}

@media (max-width: 600px) {
  .barjees-content { width: 100%; padding: 18px; }
  .barjees-extra-image {
    width: min(100%, var(--barjees-extra-image-max-width), calc(100vw - 28px));
    max-width: min(var(--barjees-extra-image-max-width), calc(100vw - 28px));
  }
  .barjees-extra-image--top {
    width: min(100%, var(--barjees-extra-image-top-max-width), calc(100vw - 28px));
    max-width: min(var(--barjees-extra-image-top-max-width), calc(100vw - 28px));
  }
  .barjees-title {
    letter-spacing: min(var(--barjees-letter-spacing), .05em);
    font-size: clamp(1.9rem, 7vw, var(--barjees-title-size));
  }
  .barjees-domain { letter-spacing: .1em; }
  .barjees-bg { animation-duration: 3.1s; }
}

@media (prefers-reduced-motion: reduce) {
  .barjees-button { transition: none; }
  .barjees-bg img,
  .barjees-scan-text::after,
  .barjees-header-brand .barjees-scan-text::before,
  .barjees-extra-image img,
  .barjees-extra-html img { animation: none !important; }
}

.barjees-no-image-glow .barjees-bg img {
  animation: none;
  opacity: var(--barjees-bg-opacity);
  filter: brightness(var(--barjees-bg-brightness));
  transform: translate(var(--barjees-bg-offset-x), var(--barjees-bg-offset-y)) scale(var(--barjees-bg-scale));
}

.barjees-no-scan .barjees-scan-text::after {
  animation: none;
  opacity: 0;
}

/* Glass tech header & footer */
.barjees-tech-grid {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: .14;
  background-image:
    linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.9), transparent 45%, transparent 55%, rgba(0,0,0,.7));
}

.barjees-glass {
  position: fixed;
  left: 18px;
  right: 18px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 58px;
  padding: 12px 18px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(16,16,18,.62), rgba(5,5,7,.38));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 14px 50px rgba(0,0,0,.34);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  color: var(--barjees-text);
}

.barjees-header { top: max(18px, env(safe-area-inset-top)); }
.barjees-footer { bottom: max(18px, env(safe-area-inset-bottom)); }

.barjees-header-brand,
.barjees-system-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.barjees-header-brand { font-weight: 700; }
.barjees-system-status { color: var(--barjees-muted); }

.barjees-brand-mark {
  width: 13px;
  height: 13px;
  border: 1px solid var(--barjees-accent);
  transform: rotate(45deg);
  box-shadow: 0 0 16px color-mix(in srgb, var(--barjees-accent) 60%, transparent);
}

.barjees-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--barjees-accent);
  box-shadow: 0 0 12px var(--barjees-accent);
  animation: barjees-pulse 2s ease-in-out infinite;
}

.barjees-footer {
  color: var(--barjees-muted);
  font-size: .76rem;
  letter-spacing: .08em;
}

.barjees-footer-note {
  color: var(--barjees-text);
  opacity: .82;
}

@keyframes barjees-pulse {
  0%, 100% { opacity: .45; transform: scale(.9); }
  50% { opacity: 1; transform: scale(1.15); }
}

@media (max-width: 600px) {
  .barjees-glass {
    left: 10px;
    right: 10px;
    min-height: 52px;
    padding: 10px 13px;
    border-radius: 15px;
  }
  .barjees-header { top: max(10px, env(safe-area-inset-top)); }
  .barjees-footer { bottom: max(10px, env(safe-area-inset-bottom)); }
  .barjees-header-brand,
  .barjees-system-status,
  .barjees-footer { font-size: .66rem; letter-spacing: .07em; }
  .barjees-footer-note { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .barjees-status-dot { animation: none; }
}

/* =========================================================
   Standard WordPress pages and posts — Barjees.app v1.6.0
   ========================================================= */
body.barjees-inner-site {
  min-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  background: #050608;
}
.barjees-inner-page { position: relative; min-height: 100vh; isolation: isolate; }
.barjees-inner-grid {
  position: fixed; inset: 0; z-index: -2; pointer-events: none; opacity: .13;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}
.barjees-inner-page::before {
  content: ""; position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background: radial-gradient(circle at 75% 0%, rgba(255,255,255,.07), transparent 32%), linear-gradient(145deg, #050608, #0b0c10 60%, #060709);
}
.barjees-inner-header {
  position: sticky; top: 14px; z-index: 30; width: min(1180px, calc(100% - 28px)); min-height: 66px; margin: 14px auto 0; padding: 10px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  border: 1px solid rgba(255,255,255,.13); border-radius: 18px;
  background: linear-gradient(135deg, rgba(16,16,18,.82), rgba(5,5,7,.62));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 16px 55px rgba(0,0,0,.34);
  -webkit-backdrop-filter: blur(20px) saturate(135%); backdrop-filter: blur(20px) saturate(135%);
}
.barjees-inner-brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.barjees-inner-navigation { margin-inline-start: auto; }
.barjees-inner-menu { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin: 0; padding: 0; list-style: none; }
.barjees-inner-menu li { position: relative; }
.barjees-inner-menu a { display: block; padding: 9px 12px; border-radius: 10px; color: var(--barjees-muted); text-decoration: none; font-size: .82rem; transition: .18s ease; }
.barjees-inner-menu a:hover, .barjees-inner-menu .current-menu-item > a, .barjees-inner-menu .current_page_item > a { color: #fff; background: rgba(255,255,255,.075); }
.barjees-inner-menu-toggle { display: none; width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.12); border-radius: 11px; color: #fff; background: rgba(255,255,255,.05); cursor: pointer; }
.barjees-inner-main { width: min(1120px, calc(100% - 32px)); min-height: calc(100vh - 180px); margin: 52px auto 70px; }
.barjees-inner-footer { width: min(1180px, calc(100% - 28px)); min-height: 64px; margin: 0 auto 14px; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid rgba(255,255,255,.11); border-radius: 17px; color: var(--barjees-muted); background: rgba(12,13,16,.72); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); font-size: .78rem; }
.barjees-inner-footer a { color: #fff; text-decoration: none; }
.barjees-listing__header, .barjees-article__header { margin-bottom: 28px; }
.barjees-listing__header > span, .barjees-article__type { display: inline-block; margin-bottom: 10px; color: var(--barjees-muted); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; }
.barjees-listing__header h1, .barjees-article__header h1 { margin: 0; color: #fff; font-size: clamp(2rem, 5vw, 4rem); line-height: 1.15; }
.barjees-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; }
.barjees-post-card { overflow: hidden; border: 1px solid rgba(255,255,255,.10); border-radius: 18px; background: linear-gradient(145deg, rgba(20,22,27,.76), rgba(11,12,15,.72)); box-shadow: 0 22px 60px rgba(0,0,0,.22); }
.barjees-post-card__image { display: grid; place-items: center; aspect-ratio: 16/10; overflow: hidden; background: rgba(255,255,255,.025); color: rgba(255,255,255,.22); }
.barjees-post-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.barjees-post-card:hover .barjees-post-card__image img { transform: scale(1.035); }
.barjees-post-placeholder { color: rgba(255,255,255,.22); font-size: 3.2rem; line-height: 1; }
.barjees-post-card__body { padding: 20px; }
.barjees-post-card__meta, .barjees-article__meta { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; color: var(--barjees-muted); font-size: .72rem; }
.barjees-post-card h2 { margin: 13px 0 10px; font-size: 1.25rem; line-height: 1.45; }
.barjees-post-card h2 a { color: #fff; text-decoration: none; }
.barjees-post-card p { min-height: 4.9em; margin: 0 0 16px; color: var(--barjees-muted); line-height: 1.8; font-size: .86rem; }
.barjees-post-card__more { color: #fff; text-decoration: none; font-size: .78rem; font-weight: 700; }
.barjees-article { max-width: 920px; margin: 0 auto; padding: clamp(22px, 4vw, 48px); border: 1px solid rgba(255,255,255,.10); border-radius: 22px; background: linear-gradient(145deg, rgba(20,22,27,.78), rgba(11,12,15,.72)); box-shadow: 0 30px 90px rgba(0,0,0,.28); }
.barjees-article__excerpt { max-width: 760px; margin: 18px 0 0; color: var(--barjees-muted); font-size: 1.05rem; line-height: 1.9; }
.barjees-article__meta { margin-top: 14px; }
.barjees-article__image { margin: 0 0 32px; overflow: hidden; border-radius: 17px; }
.barjees-article__image img { display: block; width: 100%; height: auto; }
.barjees-entry-content { color: #e7e7e9; font-size: 1rem; line-height: 2; }
.barjees-entry-content > *:first-child { margin-top: 0; }
.barjees-entry-content a { color: #fff; }
.barjees-entry-content img { max-width: 100%; height: auto; border-radius: 12px; }
.barjees-entry-content blockquote { margin: 26px 0; padding: 16px 20px; border-inline-start: 3px solid #fff; color: var(--barjees-muted); background: rgba(255,255,255,.035); }
.barjees-entry-content table { width: 100%; border-collapse: collapse; }
.barjees-entry-content th, .barjees-entry-content td { padding: 11px; border: 1px solid rgba(255,255,255,.12); }
.post-navigation { margin-top: 34px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.post-navigation a { display: block; padding: 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 12px; color: #fff; text-decoration: none; }
.barjees-pagination { margin-top: 30px; }
.barjees-pagination .nav-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.barjees-pagination a, .barjees-pagination span { min-width: 40px; padding: 9px 12px; border: 1px solid rgba(255,255,255,.1); border-radius: 10px; color: #fff; text-decoration: none; text-align: center; background: rgba(255,255,255,.03); }
.barjees-pagination .current { color: #090a0c; background: #fff; }
.barjees-empty-state { max-width: 720px; margin: 10vh auto; padding: 48px 24px; text-align: center; border: 1px solid rgba(255,255,255,.1); border-radius: 22px; background: rgba(255,255,255,.025); }
.barjees-empty-state span { display: block; color: rgba(255,255,255,.16); font-size: clamp(4rem, 13vw, 9rem); font-weight: 900; }
.barjees-empty-state h1, .barjees-empty-state h2 { margin: 0 0 12px; }
.barjees-empty-state p { color: var(--barjees-muted); }
@media (max-width: 900px) { .barjees-post-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 720px) {
  .barjees-inner-header { align-items: center; }
  .barjees-inner-menu-toggle { display: inline-grid; place-items: center; }
  .barjees-inner-navigation { position: absolute; top: calc(100% + 8px); left: 0; right: 0; display: none; padding: 10px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: rgba(10,11,14,.96); box-shadow: 0 18px 50px rgba(0,0,0,.5); }
  .barjees-inner-header.is-menu-open .barjees-inner-navigation { display: block; }
  .barjees-inner-menu { display: grid; }
  .barjees-post-grid { grid-template-columns: 1fr; }
  .barjees-inner-main { margin-top: 34px; }
  .barjees-article { padding: 22px 18px; }
  .post-navigation .nav-links { grid-template-columns: 1fr; }
  .barjees-inner-footer { align-items: flex-start; flex-direction: column; }
}


/* v1.9.0 — single-source background architecture. */
.barjees-page,
.barjees-content,
.barjees-extra-slot,
.barjees-extra-image,
.barjees-extra-html {
  background-color: transparent !important;
  background-image: none !important;
}

.barjees-bg {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  z-index: 0;
}

.barjees-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
