/* ==========================================================================
   BANG! JORDAN — skin "Seven Star"
   Localisation ar-JO + identité visuelle jordanienne (noir, blanc, vert, rouge)
   ========================================================================== */

@font-face {
  font-family: 'Cairo';
  src: url('fonts/jo/cairo-arabic.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Noto Kufi Arabic';
  src: url('fonts/jo/noto-kufi-arabic.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root,
.dark {
  --au-bg: #080B0A;
  --au-bg-2: #0C1210;
  --au-panel: #101815;
  --au-panel-2: #16221D;
  --au-orange: #007A3D;
  --au-orange-2: #63D6A0;
  --au-orange-deep: #005A2D;
  --au-green: #CE1126;
  --au-green-2: #F05A66;
  --au-text: #F3F7F4;
  --au-muted: #93A89C;
  --au-line: rgba(255, 255, 255, 0.12);
  --au-radius: 16px;
  --au-gutter: clamp(20px, 4vw, 56px);

  /* remapeo del tema original */
  --background: #080B0A;
  --foreground: #F3F7F4;
  --card: #101815;
  --card-foreground: #ffffff;
  --popover: #101815;
  --popover-foreground: #ffffff;
  --primary: #007A3D;
  --primary-foreground: #ffffff;
  --secondary: #16221D;
  --secondary-foreground: #ffffff;
  --muted: #16221D;
  --muted-foreground: #93A89C;
  --accent: #16221D;
  --accent-foreground: #ffffff;
  --border: rgba(255, 255, 255, 0.14);
  --input: #16221D;
  --ring: #007A3D;
  --green-gradient: linear-gradient(100deg, #4FD18B 0%, #007A3D 55%, #005A2D 100%);
  --gradient: linear-gradient(90deg, #007A3D, transparent) #007A3D;
}

* { -webkit-tap-highlight-color: transparent; }

html { background: var(--au-bg); scroll-behavior: smooth; }

body {
  font-family: 'Cairo', 'Noto Kufi Arabic', system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(1100px 520px at 50% -8%, rgba(0, 122, 61, 0.18), transparent 62%),
    radial-gradient(900px 600px at 100% 40%, rgba(0, 90, 45, 0.10), transparent 60%),
    var(--au-bg) !important;
  color: var(--au-text);
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: 0;
}

::selection { background: var(--au-orange); color: #FFFFFF; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #050706; }
::-webkit-scrollbar-thumb { background: #1D3A2C; border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: #2B5A45; }

a { color: inherit; }
img { max-width: 100%; }

/* ============================== HEADER ================================= */

header {
  background: rgba(8, 11, 10, 0.84) !important;
  border-bottom: 1px solid var(--au-line);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}
header::before {
  height: 100% !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
/* bandera */
header::after {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    #007A3D 0 34%,
    #ffffff 34% 66%,
    #007A3D 66% 100%
  );
  opacity: 0.95;
  pointer-events: none;
}

header nav.au-navbar {
  max-width: 1440px;
  height: 68px;
  padding-top: 3px;
  padding-inline: 20px;
  gap: 14px;
}

header .logo {
  width: 128px !important;
  min-width: 128px !important;
  height: 40px;
}
header .logo img { filter: drop-shadow(0 2px 10px rgba(0, 122, 61, 0.25)); }

.au-logo-country {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: 2px;
  padding-left: 14px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(159, 216, 188, 0.75);
  white-space: nowrap;
}
.au-logo-country::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--au-orange);
  box-shadow: 0 0 0 3px rgba(0, 122, 61, 0.2);
}

.au-nav {
  display: none;
  align-items: center;
  gap: 2px;
  margin-left: auto;
  margin-right: 6px;
}
.au-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(243, 247, 244, 0.68);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.18s ease, background 0.18s ease;
}
.au-nav a:hover { color: #fff; background: rgba(0, 122, 61, 0.12); }
.au-nav a.is-active {
  color: #FFFFFF;
  background: var(--au-orange);
  box-shadow: 0 6px 18px rgba(0, 122, 61, 0.3);
}
.au-nav a .au-dot {
  width: 5px;
  height: 5px;
  margin-left: 7px;
  border-radius: 50%;
  background: #E8434F;
  box-shadow: 0 0 0 3px rgba(255, 93, 93, 0.18);
}

/* cluster derecho */
header .sign_in {
  width: auto !important;
  height: 38px !important;
  padding: 0 16px !important;
  gap: 8px;
  border-radius: 999px !important;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04) !important;
  color: #EDF7F1 !important;
  font-size: 11.5px !important;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s ease;
}
header .sign_in:hover {
  border-color: var(--au-orange);
  background: rgba(0, 122, 61, 0.14) !important;
  color: #fff !important;
}
header .sign_in svg { width: 15px; height: 15px; flex: none; }

header .js-download,
#header-download {
  height: 38px !important;
  padding: 0 18px !important;
  border-radius: 999px !important;
  background: var(--green-gradient) !important;
  color: #FFFFFF !important;
  font-size: 11.5px !important;
  font-weight: 900 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  box-shadow: 0 8px 22px rgba(0, 122, 61, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.5);
  border: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
header .js-download:hover,
#header-download:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 122, 61, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
#header-download .hover-shine { display: none; }

/* botón de idioma */
header [aria-label='Idioma'] {
  width: 38px !important;
  height: 38px !important;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04) !important;
}
header [aria-label='Idioma']:hover { border-color: var(--au-orange); }
header [aria-label='Idioma'] img { border-radius: 3px; filter: none; }

/* menú de idiomas */
header [data-dropdown-target='dropdown'] {
  top: 46px !important;
  width: 208px !important;
  background: rgba(10, 15, 13, 0.98) !important;
  border: 1px solid var(--au-line);
  border-radius: 14px !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  padding: 6px !important;
}
header [data-dropdown-target='dropdown'] > div {
  border-radius: 9px;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 12px !important;
  color: rgba(243, 247, 244, 0.8) !important;
}
header [data-dropdown-target='dropdown'] > div:hover {
  background: rgba(0, 122, 61, 0.16) !important;
  color: #fff !important;
}
header [data-dropdown-target='dropdown'] img { border-radius: 2px; }

/* hamburguesa */
.au-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  cursor: pointer;
}
.au-burger span {
  display: block;
  width: 17px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  position: relative;
  transition: background 0.2s;
}
.au-burger span::before,
.au-burger span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 17px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease;
}
.au-burger span::before { top: -6px; }
.au-burger span::after { top: 6px; }
.au-burger.is-open span { background: transparent; }
.au-burger.is-open span::before { transform: translateY(6px) rotate(45deg); }
.au-burger.is-open span::after { transform: translateY(-6px) rotate(-45deg); }

.au-mobile {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  z-index: 55;
  background: rgba(6, 12, 20, 0.99);
  border-bottom: 1px solid var(--au-line);
  padding: 10px 20px 22px;
  max-height: calc(100vh - 68px);
  overflow-y: auto;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
}
.au-mobile.is-open { display: block; }
.au-mobile a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 2px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #DCE9E2;
  text-decoration: none;
}
.au-mobile a:last-of-type { border-bottom: 0; }
.au-mobile .au-mobile-cta {
  margin-top: 16px;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: var(--green-gradient);
  color: #FFFFFF;
  font-weight: 900;
  padding: 14px;
  box-shadow: 0 10px 26px rgba(0, 122, 61, 0.28);
}

/* =============================== HERO ================================== */

#au-hero {
  height: clamp(430px, 46vw, 560px) !important;
  margin-bottom: 0 !important;
  background: #070A08 !important;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
#au-hero > .absolute { inset: 0; }
#au-hero > .absolute img {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: center 30% !important;
  filter: blur(20px) brightness(0.55) saturate(1.2);
  transform: scale(1.1);
}
#au-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 11, 10, 0.96) 0%, rgba(8, 11, 10, 0.8) 44%, rgba(8, 11, 10, 0.2) 100%),
    linear-gradient(0deg, var(--au-bg) 0%, rgba(8, 11, 10, 0.1) 42%, rgba(8, 11, 10, 0.35) 100%);
}
#au-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  z-index: 3;
  background: linear-gradient(90deg, #007A3D 0%, #63D6A0 45%, #CE1126 100%);
  opacity: 0.55;
}
.au-hero-legacy { display: none !important; }

.au-hero-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
}
.au-hero-inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 84px var(--au-gutter) 34px;
  position: relative;
}
.au-hero-eyebrow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.au-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 26px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.au-pill--18 {
  background: #CE1126;
  color: #fff;
  box-shadow: 0 6px 18px rgba(255, 77, 77, 0.32);
}
.au-pill--flag {
  background: rgba(0, 122, 61, 0.14);
  border: 1px solid rgba(0, 122, 61, 0.4);
  color: #B9F5D6;
}
.au-pill--flag svg { width: 16px; height: 11px; border-radius: 2px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.au-gate-flag { display: flex; justify-content: center; margin-bottom: 16px; }
.au-gate-flag svg { width: 56px; height: 37px; border-radius: 4px; box-shadow: 0 10px 26px rgba(0,0,0,.45), inset 0 0 0 1px rgba(255,255,255,.22); }
.au-dl__flag { display: flex; justify-content: center; margin-bottom: 14px; }
.au-dl__flag svg { width: 50px; height: 33px; border-radius: 4px; box-shadow: 0 8px 22px rgba(0,0,0,.4); }
.au-footer-flag { display: inline-flex; }
.au-footer-flag svg { width: 38px; height: 25px; border-radius: 3px; }
.au-pill--live {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #EDF7F1;
}
.au-pill--live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3ddc84;
  box-shadow: 0 0 0 3px rgba(61, 220, 132, 0.18);
}

#au-hero h1 {
  font-family: 'Noto Kufi Arabic', 'Cairo', sans-serif;
  font-weight: 400;
  font-size: clamp(38px, 5.6vw, 76px);
  line-height: 0.94;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: #fff;
  max-width: 780px;
  margin: 0;
  text-shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
}
#au-hero h1 em {
  font-style: normal;
  color: var(--au-orange-2);
  position: relative;
  white-space: nowrap;
}
#au-hero h1 em::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.02em;
  height: 0.09em;
  background: var(--au-green);
  border-radius: 99px;
  opacity: 0.9;
}
.au-hero-sub {
  margin-top: 18px;
  max-width: 540px;
  font-size: 15.5px;
  line-height: 1.55;
  color: rgba(243, 247, 244, 0.78);
}
.au-hero-sub strong { color: #fff; font-weight: 700; }
.au-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 26px;
}
.au-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}
.au-btn svg { width: 16px; height: 16px; }
.au-btn--primary {
  background: var(--green-gradient);
  color: #FFFFFF;
  box-shadow: 0 14px 34px rgba(0, 122, 61, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.au-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(0, 122, 61, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.au-btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.22);
  color: #fff;
  backdrop-filter: blur(6px);
}
.au-btn--ghost:hover {
  border-color: var(--au-orange);
  background: rgba(0, 122, 61, 0.14);
  transform: translateY(-2px);
}
.au-hero-pay {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(243, 247, 244, 0.42);
}
.au-hero-pay span { white-space: nowrap; }
.au-hero-pay i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
}

.au-sun {
  position: absolute;
  right: -70px;
  top: 50%;
  width: 340px;
  height: 340px;
  transform: translateY(-50%);
  color: var(--au-orange);
  opacity: 0.2;
  pointer-events: none;
  z-index: -1;
  animation: au-spin 120s linear infinite;
}
@keyframes au-spin { to { transform: translateY(-50%) rotate(360deg); } }

/* ============================ CONTENIDO ================================ */

#au-main {
  max-width: 1440px !important;
  width: 100%;
  margin: 0 auto !important;
  padding: 0 var(--au-gutter) !important;
}
#au-main > div { width: 100%; }

.au-section-head { padding: 30px 0 0; }
.au-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--au-orange-2);
}
.au-kicker::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--au-green);
  border-radius: 2px;
}
.au-section-head h2 {
  font-family: 'Noto Kufi Arabic', sans-serif;
  font-weight: 400;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fff;
  margin: 10px 0 0;
}
.au-section-head p {
  margin: 9px 0 0;
  font-size: 13px;
  color: var(--au-muted);
}
.au-filete {
  height: 7px;
  margin: 18px 0 0;
  border-top: 2px solid rgba(0, 122, 61, 0.45);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
}
.au-filete::before {
  content: '';
  position: absolute;
  left: 0;
  top: -2px;
  width: 96px;
  height: 2px;
  background: var(--au-green);
}

.au-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 20px;
}
.au-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 36px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid rgba(0, 122, 61, 0.26);
  background: rgba(0, 122, 61, 0.06);
  color: #D6E5DC;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.18s ease;
}
.au-chip:hover {
  border-color: var(--au-orange);
  background: rgba(0, 122, 61, 0.16);
  color: #fff;
}
.au-chip.is-active {
  background: var(--au-orange);
  border-color: var(--au-orange);
  color: #FFFFFF;
  box-shadow: 0 8px 22px rgba(0, 122, 61, 0.28);
}
.au-chip b {
  font-size: 10px;
  font-weight: 800;
  opacity: 0.6;
}

#au-grid {
  gap: 16px !important;
  margin-bottom: 8px !important;
}
@media (min-width: 640px) {
  #au-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
}
@media (min-width: 1080px) {
  #au-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}

#au-grid > a {
  background: linear-gradient(180deg, #0F1613 0%, #0B110E 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--au-radius);
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  will-change: transform;
}
#au-grid > a:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 122, 61, 0.55);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(0, 122, 61, 0.18);
}
#au-grid .au-thumb {
  display: block;
  position: relative;
  overflow: hidden;
  background: #0B110E;
}
#au-grid picture { display: block !important; }
#au-grid .au-thumb img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.3, 1), filter 0.35s ease;
}
#au-grid > a:hover .au-thumb img { transform: scale(1.045); filter: brightness(0.86); }
#au-grid .au-thumb::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 54px;
  height: 54px;
  margin: -27px 0 0 -27px;
  border-radius: 50%;
  background: rgba(0, 122, 61, 0.96) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M8 5.5v13l11-6.5z' fill='%231A1300'/></svg>") center / 20px 20px no-repeat;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.22s ease, transform 0.22s ease;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  pointer-events: none;
  z-index: 2;
}
#au-grid > a:hover .au-thumb::after { opacity: 1; transform: scale(1); }

#au-grid .video_duration {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 3;
  line-height: 0;
}
#au-grid .video_duration::before {
  position: static !important;
  float: none !important;
  display: inline-block !important;
  margin: 0 8px 8px 0 !important;
}
.video_duration::before {
  background: rgba(4, 6, 5, 0.8) !important;
  color: #fff !important;
  font-family: 'Cairo', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  padding: 5px 8px !important;
  border-radius: 7px !important;
  letter-spacing: 0.02em;
  margin: 0 8px 8px 0 !important;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.au-badge {
  position: absolute;
  top: 9px;
  z-index: 3;
  padding: 4px 7px;
  border-radius: 6px;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: uppercase;
  pointer-events: none;
}
.au-badge--ci {
  left: 9px;
  background: var(--au-orange);
  color: #FFFFFF;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}
.au-badge--hd {
  right: 9px;
  background: rgba(4, 6, 5, 0.72);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
}
.au-badge--new {
  right: 9px;
  left: auto;
  background: var(--au-green);
  color: #FFFFFF;
}

.au-card-meta {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 11px 13px 14px;
}
.au-card-title {
  margin: 0;
  font-family: 'Cairo', sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.36;
  letter-spacing: 0.005em;
  color: #EAF4EE;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 35px;
}
#au-grid > a:hover .au-card-title { color: #fff; }
.au-card-sub {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  white-space: nowrap;
  gap: 7px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #7F9588;
}
.au-card-sub i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(127, 149, 136, 0.6);
}
.au-card-sub .au-cat { color: var(--au-orange-2); }

.au-count {
  display: none;
  margin: 0 0 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--au-muted);
}
.au-count.is-visible { display: block; }
.au-count b { color: #fff; }

/* paginación */
.pagination .active {
  background: var(--au-orange) !important;
  color: #FFFFFF !important;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(0, 122, 61, 0.28);
}
.pagination a {
  background: rgba(0, 122, 61, 0.06) !important;
  border: 1px solid rgba(0, 122, 61, 0.22) !important;
  color: #dbeaf7 !important;
  font-weight: 700;
  transition: all 0.18s ease;
}
.pagination a:hover {
  background: var(--au-orange) !important;
  border-color: var(--au-orange) !important;
  color: #FFFFFF !important;
}
.pagination li span { color: var(--au-muted); font-size: 12px; }

/* ============================== FOOTER ================================= */

footer#footer {
  background: #050706 !important;
  border-top: 1px solid var(--au-line);
  padding-top: 0 !important;
  position: relative;
}
footer#footer::before {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(90deg, #007A3D 0%, #63D6A0 42%, #CE1126 100%);
  opacity: 0.6;
}
.au-footer-top {
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px 20px 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}
.au-footer-top .au-sun-sm {
  width: 38px;
  height: 38px;
  color: var(--au-green);
  opacity: 0.9;
}
.au-footer-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(159, 216, 188, 0.72);
}
.au-footer-note {
  font-size: 11.5px;
  color: #6F8379;
  letter-spacing: 0.02em;
}
.au-footer-legal {
  max-width: 1440px;
  margin: 18px auto 0;
  padding: 0 20px 30px;
  text-align: center;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #60746A;
}
.au-footer-legal b { color: #93A89C; font-weight: 800; }

footer#footer .max-w-sm { max-width: 220px !important; }
footer#footer section[aria-label='legale'] { padding-bottom: 30px !important; }
footer#footer .socials-icons a {
  width: 40px;
  height: 40px;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #D3E3DA;
  transition: all 0.2s ease;
}
footer#footer .socials-icons a:hover {
  background: var(--au-orange) !important;
  color: #FFFFFF;
  border-color: var(--au-orange);
  transform: translateY(-2px);
}
footer#footer .socials-icons svg { width: 17px; height: 17px; }

footer#footer .bg-card {
  background: rgba(255, 255, 255, 0.03) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
footer#footer .bg-card a {
  color: rgba(243, 247, 244, 0.66) !important;
  letter-spacing: 0.12em;
}
footer#footer .bg-card a:hover { color: var(--au-orange-2) !important; }

#download-app-float {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(18px) !important;
  transition: opacity 0.25s ease, transform 0.25s ease;
  background: var(--green-gradient) !important;
  color: #FFFFFF !important;
  font-weight: 900 !important;
  letter-spacing: 0.1em !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
#download-app-float.au-float-on {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) !important;
}

/* ============================ AGE GATE ================================= */

#au-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background:
    radial-gradient(700px 400px at 50% 0%, rgba(0, 122, 61, 0.18), transparent 65%),
    rgba(3, 5, 4, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}
#au-gate[hidden] { display: none; }
.au-gate-card {
  position: relative;
  width: 100%;
  max-width: 470px;
  padding: 36px 30px 30px;
  border-radius: 24px;
  border: 1px solid rgba(0, 122, 61, 0.32);
  background: linear-gradient(180deg, #101815 0%, #0C1210 100%);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7);
  text-align: center;
  overflow: hidden;
}
.au-gate-card::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, #007A3D 0%, #63D6A0 42%, #CE1126 100%);
}
.au-gate-card .au-sun-sm {
  width: 46px;
  height: 46px;
  color: var(--au-green);
  margin: 0 auto 14px;
  display: block;
}
.au-gate-card h2 {
  font-family: 'Noto Kufi Arabic', sans-serif;
  font-weight: 400;
  font-size: 34px;
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
  margin: 0;
}
.au-gate-card p {
  margin: 14px auto 0;
  max-width: 330px;
  font-size: 13.5px;
  line-height: 1.6;
  color: #A7B8AE;
}
.au-gate-card p b { color: #fff; }
.au-gate-actions {
  display: grid;
  gap: 10px;
  margin-top: 24px;
}
.au-gate-actions .au-btn { width: 100%; }
.au-gate-small {
  margin-top: 16px;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #60746A;
}

/* ============================ RESPONSIVE =============================== */

@media (min-width: 1024px) {
  .au-nav { display: flex; }
}
@media (min-width: 1200px) {
  .au-logo-country { display: inline-flex; }
}
@media (max-width: 1399px) {
  .au-nav a[data-hide='lg'] { display: none; }
  header .logo { width: 116px !important; min-width: 116px !important; }
  .au-nav a { padding: 9px 9px; font-size: 11px; }
  .au-logo-country { font-size: 9px; letter-spacing: 0.2em; padding-left: 10px; }
}
@media (max-width: 1023px) {
  .au-burger { display: inline-flex; }
  header nav.au-navbar { height: 64px; padding-inline: 14px; }
  .au-mobile { top: 64px; }
  header .logo { width: 112px !important; min-width: 112px !important; }
  .au-hero-inner { padding: 76px 18px 30px; }
  .au-sun { width: 300px; height: 300px; right: -110px; opacity: 0.1; }
  .au-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin-inline: -18px;
    padding: 0 18px 4px;
    -webkit-overflow-scrolling: touch;
  }
  .au-chips::-webkit-scrollbar { display: none; }
  .au-chip { flex: 0 0 auto; }
  .au-card-sub { font-size: 9px; gap: 5px; }
  .au-card-sub .au-cat { display: none; }
  .au-card-sub i:last-of-type { display: none; }
  .au-mobile { z-index: 61; }
  body.au-menu-open { overflow: hidden; }
  body.au-menu-open::before {
    content: '';
    position: fixed;
    inset: 64px 0 0;
    background: rgba(3, 5, 4, 0.74);
    backdrop-filter: blur(3px);
    z-index: 49;
  }
  body.au-menu-open #download-app-float { opacity: 0 !important; pointer-events: none !important; }
}
@media (max-width: 767px) {
  body {
    font-size: 14px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
  }
  header .sign_in,
  header [aria-label='Idioma'],
  #header-download { display: none !important; }
  header nav.au-navbar { padding-inline: 14px; height: 62px; }
  header .logo { width: 106px !important; min-width: 106px !important; height: 34px; }
  .au-burger { width: 42px; height: 42px; }
  .au-mobile { top: 62px; }

  /* ---------- hero ---------- */
  #au-hero { height: auto !important; min-height: 0; }
  .au-hero-copy { position: relative; }
  .au-hero-inner { padding: 80px 16px 26px; }
  .au-hero-eyebrow { gap: 6px; margin-bottom: 14px; }
  .au-pill { height: 24px; padding: 0 9px; font-size: 9px; letter-spacing: 0.12em; }
  .au-pill--flag svg { width: 14px; height: 9px; }
  .au-sun { display: none; }
  #au-hero h1 { font-size: clamp(30px, 9.6vw, 44px); line-height: 0.96; }
  .au-hero-sub { margin-top: 14px; font-size: 13.5px; line-height: 1.5; }
  .au-hero-actions { margin-top: 20px; gap: 8px; }
  .au-hero-actions .au-btn { flex: 1 1 100%; height: 46px; font-size: 12px; }
  .au-hero-pay { margin-top: 16px; font-size: 8.5px; letter-spacing: 0.1em; gap: 6px; }

  /* ---------- sección + filtros ---------- */
  .au-section-head { padding-top: 22px; }
  .au-section-head h2 { font-size: clamp(24px, 7vw, 32px); }
  .au-section-head p { font-size: 12px; line-height: 1.45; }
  .au-filete { margin-top: 14px; }
  .au-chips {
    gap: 7px;
    margin: 12px -16px 14px;
    padding: 0 16px 4px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }
  .au-chips::-webkit-scrollbar { display: none; }
  .au-chip {
    height: 36px;
    padding: 0 13px;
    font-size: 10.5px;
    flex: 0 0 auto;
    scroll-snap-align: start;
  }

  /* ---------- tarjetas ---------- */
  #au-grid { gap: 10px !important; }
  #au-grid > a { border-radius: 12px; }
  .au-card-meta { padding: 9px 10px 11px; gap: 4px; }
  .au-card-title { font-size: 12px; line-height: 1.32; min-height: 32px; }
  .au-card-sub {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    white-space: normal;
    font-size: 9px;
    letter-spacing: 0.05em;
  }
  .au-card-sub i,
  .au-card-sub .au-cat { display: none; }
  .au-badge { font-size: 8px; padding: 3px 5px; top: 7px; }
  .au-badge--ci { left: 7px; }

  /* ---------- precios ---------- */

  /* ---------- footer ---------- */
  #au-footer-links {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 18px;
    padding: 16px 18px !important;
  }
  #au-footer-links .flex.flex-row.flex-wrap {
    gap: 11px 16px !important;
    justify-content: center !important;
    padding: 0 2px;
  }
  #au-footer-links a {
    flex: 0 0 auto !important;
    font-size: 10.5px !important;
    letter-spacing: 0.08em !important;
  }
  footer#footer { padding-bottom: 78px; }
  .au-footer-top { padding: 30px 18px 4px; }
  footer#footer .max-w-sm { max-width: 170px !important; }
  .au-footer-legal { font-size: 9px; padding: 0 16px 24px; line-height: 1.6; }

  /* ---------- CTA flotante compacto ---------- */
  #download-app-float {
    display: flex;
    left: auto !important;
    right: 12px !important;
    bottom: calc(14px + env(safe-area-inset-bottom)) !important;
    width: auto !important;
    height: 44px !important;
    padding: 0 18px !important;
    font-size: 11px !important;
    letter-spacing: 0.08em !important;
    transform: translateY(14px) !important;
    z-index: 62;
  }
  #download-app-float.au-float-on { transform: translateY(0) !important; }
  body.au-menu-open::before { inset: 62px 0 0; }
  body::after { display: none !important; }
  .au-mobile { z-index: 61; }

  /* ---------- edad ---------- */
  #au-gate { padding: 14px; }
  .au-gate-card { padding: 28px 20px 22px; max-height: calc(100dvh - 28px); overflow-y: auto; }
  .au-gate-card h2 { font-size: clamp(26px, 8.5vw, 32px); }
  .au-gate-card p { font-size: 12.5px; }
}
@media (min-width: 768px) {
  #download-app-float { display: none; }
}
@media (min-width: 900px) {
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

#au-main, #au-chips, #footer { scroll-margin-top: 82px; }

/* ============================ UTILIDADES =============================== */

.au-reveal { opacity: 0; transform: translateY(14px); }
.au-reveal.is-in { opacity: 1; transform: none; transition: opacity 0.6s ease, transform 0.6s ease; }

.au-mobile-lang {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7F9588;
}
.au-mobile-lang .au-flag {
  width: 20px;
  height: 14px;
  border-radius: 2px;
  background: url('images/jo-flag.svg') center / cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}

/* el preflight de Tailwind rellena los SVG: forzamos íconos de línea */
.au-sun, .au-sun *,
.au-sun-sm, .au-sun-sm * { fill: none !important; stroke: currentColor; }
.au-sun { stroke-width: 1.7; }
.au-sun-sm { stroke-width: 3; }

@media (max-width: 359px) {
  header .logo { width: 94px !important; min-width: 94px !important; }
  .au-hero-inner { padding-top: 74px; }
  #au-hero h1 { font-size: 28px; }
  .au-hero-sub { font-size: 13px; }
  .au-card-title { font-size: 11.5px; }
  .au-gate-card { padding: 22px 16px 18px; }
}

/* ============================ CTA DESCARGA ============================= */
#download-app-float {
  opacity: 1 !important;
  pointer-events: auto !important;
  display: flex !important;
  align-items: center;
  gap: 10px;
  height: 56px !important;
  padding: 0 24px !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #4FD18B 0%, #007A3D 52%, #005A2D 100%) !important;
  color: #FFFFFF !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.28) inset,
    0 0 36px rgba(0, 122, 61, 0.32) !important;
  left: auto !important;
  right: 26px !important;
  bottom: 26px !important;
  transform: none !important;
  z-index: 70 !important;
}
#download-app-float::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  border: 2px solid rgba(0, 122, 61, 0.55);
  animation: au-cta-ring 2.6s ease-out infinite;
  pointer-events: none;
}
@keyframes au-cta-ring {
  0% { transform: scale(1); opacity: 0.65; }
  70% { transform: scale(1.12); opacity: 0; }
  100% { transform: scale(1.12); opacity: 0; }
}
#download-app-float .au-dl-ico { width: 20px; height: 20px; flex: none; fill: none !important; stroke: currentColor; }
#download-app-float em {
  font-style: normal;
  font-size: 9px;
  letter-spacing: 0.08em;
  background: #0D1411;
  color: #FFFFFF;
  padding: 3px 6px;
  border-radius: 5px;
}
#download-app-float.is-pulse { animation: au-cta-pop 0.5s ease; }
@keyframes au-cta-pop {
  0%, 100% { transform: scale(1); }
  35% { transform: scale(1.07); }
  65% { transform: scale(0.98); }
}

@media (max-width: 767px) {
  #download-app-float {
    left: 10px !important;
    right: 10px !important;
    bottom: calc(10px + env(safe-area-inset-bottom)) !important;
    width: auto !important;
    height: 58px !important;
    padding: 0 16px !important;
    justify-content: center;
    font-size: 12.5px !important;
    transform: none !important;
  }
  #download-app-float.is-pulse { animation: au-cta-pop-m 0.5s ease; }
  @keyframes au-cta-pop-m {
    0%, 100% { transform: scale(1); }
    35% { transform: scale(1.03); }
    65% { transform: scale(0.99); }
  }
  body { padding-bottom: 84px; }
  body.au-dl-open { padding-bottom: 0; }
}

/* ------------------------------ panel de descarga ------------------------------ */
.au-dl { position: fixed; inset: 0; z-index: 120; display: flex; align-items: flex-end; justify-content: center; }
.au-dl[hidden] { display: none; }
.au-dl__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 5, 4, 0.82);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.au-dl.is-open .au-dl__backdrop { opacity: 1; }
.au-dl__panel {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: linear-gradient(180deg, #0D1411, #070A08);
  border: 1px solid var(--au-line);
  border-radius: 24px 24px 0 0;
  padding: 34px 24px calc(20px + env(safe-area-inset-bottom));
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.25s ease;
  box-shadow: 0 -24px 70px rgba(0, 0, 0, 0.7);
}
.au-dl.is-open .au-dl__panel { transform: none; opacity: 1; }
.au-dl__panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 24px 24px 0 0;
  background: linear-gradient(90deg, #007A3D 0%, #63D6A0 42%, #CE1126 100%);
  opacity: 1;
}
.au-dl__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #D3E3DA;
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.au-dl__close:hover { background: rgba(255, 255, 255, 0.12); }
.au-dl__sun { color: #CE1126; width: 42px; height: 42px; margin-bottom: 8px; }
.au-dl__sun svg { width: 42px; height: 42px; }
.au-dl .au-kicker { color: #CE1126; font-size: 9.5px; }
.au-dl h2 {
  font-family: 'Noto Kufi Arabic', 'Cairo', sans-serif;
  font-size: 30px;
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #fff;
  margin: 8px 0 10px;
}
.au-dl p { font-size: 13px; line-height: 1.5; color: #8FA79A; margin-bottom: 18px; max-width: 340px; }
.au-store {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  border-radius: 13px;
  background: #F4F7F4;
  color: #0A0F0C;
  padding: 0 16px;
  margin-bottom: 10px;
  transition: transform 0.15s ease, background 0.15s ease;
}
.au-store:hover { background: #fff; transform: translateY(-1px); }
.au-store svg { width: 26px; height: 26px; flex: none; fill: #0A0F0C !important; }
.au-store small { display: block; font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 800; opacity: 0.55; }
.au-store b { display: block; font-size: 16px; line-height: 1.1; font-weight: 800; }
.au-dl__later {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 12px 0 4px;
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7F9588;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}
.au-dl__later:hover { color: #D3E3DA; }
body.au-dl-open { overflow: hidden; }

@media (min-width: 768px) {
  .au-dl { align-items: center; padding: 24px; }
  .au-dl__panel { border-radius: 24px; padding: 36px 32px 26px; }
  .au-dl__panel::before { border-radius: 24px 24px 0 0; }
}

@media (min-width: 768px) {
  footer#footer { padding-bottom: 96px; }
}

@media (max-width: 767px) {
  body::after {
    content: '';
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 104px;
    background: linear-gradient(180deg, rgba(8, 11, 10, 0) 0%, rgba(8, 11, 10, 0.72) 46%, #080B0A 100%);
    pointer-events: none;
    z-index: 48;
  }
}


/* ========================= MOTIVOS COSTA DE MARFIL ====================== */
/* banda superior de la bandera */
.au-flagbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  pointer-events: none;
  background: linear-gradient(90deg, #007A3D, #B9F5D6 50%, #007A3D);
  z-index: 9999;
}
/* constelación de la Cruz del Sur (detrás del hero) */
.au-constellation {
  position: absolute;
  right: -80px;
  top: 50%;
  width: 440px;
  height: 440px;
  transform: translateY(-50%);
  opacity: 0.4;
  pointer-events: none;
  z-index: -1;
  animation: au-spin 240s linear infinite;
}
.au-constellation svg { width: 100%; height: 100%; display: block; }
.au-constellation path { fill: none !important; }
@keyframes au-spin { to { transform: translateY(-50%) rotate(360deg); } }
/* banda de estrellas */
.au-starband {
  height: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='10'%3E%3Cpath d='M8 1.2l1.1 2.7 2.9.2-2.2 1.9.7 2.8-2.5-1.6-2.5 1.6.7-2.8-2.2-1.9 2.9-.2z' fill='%23FFCD00'/%3E%3Cpath d='M25 3.2l.7 1.7 1.8.1-1.4 1.2.4 1.7-1.5-1-1.5 1 .4-1.7-1.4-1.2 1.8-.1z' fill='%23FFF0B3' opacity='.75'/%3E%3C/svg%3E");
  background-size: 34px 10px;
  background-repeat: repeat-x;
  opacity: 0.9;
}
/* pie de página con la banda */
.au-footer-top { border-top: 0; }
@media (max-width: 860px) {
  .au-constellation { width: 300px; height: 300px; right: -110px; opacity: 0.28; }
}
@media (max-width: 560px) {
  .au-constellation { display: none; }
}

/* ==========================================================================
   JORDAN / ARABIC RTL OVERRIDES
   ========================================================================== */

html, body { direction: rtl; }
body {
  font-family: 'Cairo', 'Noto Kufi Arabic', system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(1000px 560px at 82% -8%, rgba(0, 122, 61, 0.26), transparent 62%),
    radial-gradient(900px 620px at 0% 48%, rgba(206, 17, 38, 0.10), transparent 62%),
    var(--au-bg) !important;
  text-align: right;
  letter-spacing: 0;
}
::selection { background: #007A3D; color: #fff; }
::-webkit-scrollbar-track { background: #040605; }
::-webkit-scrollbar-thumb { background: #1D3A2C; }
::-webkit-scrollbar-thumb:hover { background: #2B5A45; }

/* Arabic does not use uppercase or tracking */
.au-nav a, .au-logo-country, .au-mobile a, .au-mobile-lang,
.au-pill, .au-btn, .au-kicker, .au-chip, .au-count,
.au-card-title, .au-card-sub, .au-footer-tag, .au-footer-note,
.au-footer-legal, .au-gate-small, .au-store small, .au-dl__later,
#download-app-float, header .sign_in, header .js-download, #header-download {
  letter-spacing: 0 !important;
  text-transform: none !important;
}

/* ---------------- header ---------------- */
header {
  background: rgba(8, 11, 10, 0.88) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}
header::after {
  height: 3px;
  background: linear-gradient(90deg, #000 0 25%, #fff 25% 50%, #007A3D 50% 75%, #CE1126 75% 100%);
  opacity: 1;
}
header nav.au-navbar { gap: 10px; }
header .logo { margin-right: 0 !important; margin-left: auto !important; }
header .logo img { object-position: right center; filter: drop-shadow(0 2px 12px rgba(0, 122, 61, 0.45)); }
.au-logo-country {
  margin-left: 0;
  margin-right: 2px;
  padding-left: 0;
  padding-right: 14px;
  border-left: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 11px;
  color: rgba(190, 225, 205, 0.82);
}
.au-logo-country::before { background: #CE1126; box-shadow: 0 0 0 3px rgba(206, 17, 38, 0.18); }
.au-nav { margin-left: 6px; margin-right: 0; }
.au-nav a { font-size: 12.5px; padding: 9px 10px; }
.au-nav a:hover { background: rgba(0, 122, 61, 0.20); }
.au-nav a.is-active {
  color: #fff;
  background: linear-gradient(135deg, #007A3D, #005A2D);
  box-shadow: 0 6px 18px rgba(0, 122, 61, 0.38);
}
.au-nav a .au-dot { margin-left: 0; margin-right: 7px; background: #CE1126; box-shadow: 0 0 0 3px rgba(206, 17, 38, 0.18); }
header .sign_in {
  color: #EDF7F1 !important;
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.05) !important;
}
header .sign_in:hover { border-color: #63D6A0; background: rgba(0, 122, 61, 0.20) !important; }
header .js-download, #header-download {
  background: linear-gradient(135deg, #4FD18B 0%, #007A3D 52%, #005A2D 100%) !important;
  color: #fff !important;
  box-shadow: 0 8px 24px rgba(0, 122, 61, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}
header .js-download:hover, #header-download:hover {
  box-shadow: 0 12px 30px rgba(0, 122, 61, 0.50), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}
header [aria-label='Idioma'] { border-color: rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.05) !important; }
header [aria-label='Idioma']:hover { border-color: #63D6A0; }

/* ---------------- mobile menu ---------------- */
.au-mobile { background: rgba(7, 10, 8, 0.995); }
.au-mobile a { font-size: 14px; padding: 14px 2px; color: #DCE9E2; }
.au-mobile .au-mobile-cta {
  background: linear-gradient(135deg, #4FD18B 0%, #007A3D 55%, #005A2D 100%);
  color: #fff;
  box-shadow: 0 10px 26px rgba(0, 122, 61, 0.34);
}
.au-mobile-lang { justify-content: flex-start; font-size: 11.5px; color: #9FB8A9; }
.au-mobile-lang .au-flag {
  background: url('images/jo-flag.svg') center / cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

/* ---------------- hero ---------------- */
#au-hero { background: #070A08 !important; }
#au-hero::before {
  background:
    linear-gradient(270deg, rgba(8, 11, 10, 0.97) 0%, rgba(8, 11, 10, 0.84) 44%, rgba(8, 11, 10, 0.18) 100%),
    linear-gradient(0deg, var(--au-bg) 0%, rgba(8, 11, 10, 0.08) 42%, rgba(8, 11, 10, 0.38) 100%);
}
#au-hero::after {
  height: 4px;
  background: linear-gradient(90deg, #000 0 25%, #fff 25% 50%, #007A3D 50% 75%, #CE1126 75% 100%);
  opacity: 0.9;
}
#au-hero > .absolute img { object-position: center 32% !important; filter: blur(18px) brightness(0.5) saturate(1.15); }
.au-hero-inner { z-index: 2; }
.au-hero-eyebrow { gap: 8px; }
.au-pill { font-size: 11px; height: 28px; padding: 0 12px; }
.au-pill--18 { background: #CE1126; box-shadow: 0 6px 18px rgba(206, 17, 38, 0.32); }
.au-pill--flag {
  background: rgba(0, 122, 61, 0.18);
  border-color: rgba(99, 214, 160, 0.45);
  color: #D8F7E7;
}
.au-pill--flag svg { width: 17px; height: 12px; }
.au-pill--live { color: #EAF4EE; background: rgba(255, 255, 255, 0.06); }
.au-pill--live i { background: #4FD18B; box-shadow: 0 0 0 3px rgba(79, 209, 139, 0.18); }
#au-hero h1 {
  font-family: 'Noto Kufi Arabic', 'Cairo', sans-serif;
  font-weight: 800;
  font-size: clamp(34px, 4.8vw, 66px);
  line-height: 1.22;
  letter-spacing: 0;
  text-transform: none;
  max-width: 720px;
  text-shadow: 0 10px 44px rgba(0, 0, 0, 0.55);
}
#au-hero h1 em { color: #63D6A0; }
#au-hero h1 em::after { height: 0.08em; background: #CE1126; bottom: 0.04em; }
.au-hero-sub {
  max-width: 610px;
  font-size: 16px;
  line-height: 1.85;
  color: rgba(243, 247, 244, 0.80);
}
.au-hero-sub strong { color: #fff; font-weight: 800; }
.au-hero-actions { gap: 10px; }
.au-btn {
  font-family: 'Cairo', sans-serif;
  font-size: 14px;
  font-weight: 800;
  height: 50px;
  padding: 0 26px;
}
.au-btn--primary {
  background: linear-gradient(135deg, #4FD18B 0%, #007A3D 55%, #005A2D 100%);
  color: #fff;
  box-shadow: 0 14px 34px rgba(0, 122, 61, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.32);
}
.au-btn--primary:hover { box-shadow: 0 18px 44px rgba(0, 122, 61, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.32); }
.au-btn--ghost { border-color: rgba(255, 255, 255, 0.24); color: #fff; }
.au-btn--ghost:hover { border-color: #63D6A0; background: rgba(0, 122, 61, 0.18); }
.au-hero-pay { font-size: 11px; color: rgba(243, 247, 244, 0.48); gap: 9px; }
.au-hero-pay i { background: #CE1126; }

.jo-hero-mark {
  position: absolute;
  left: -60px;
  top: 50%;
  width: 430px;
  height: 430px;
  transform: translateY(-50%);
  z-index: 0;
  opacity: 0.62;
  pointer-events: none;
  filter: drop-shadow(0 0 34px rgba(0, 122, 61, 0.28));
}
@media (max-width: 1023px) {
  .jo-hero-mark { width: 320px; height: 320px; left: -100px; opacity: 0.42; }
}
@media (max-width: 560px) { .jo-hero-mark { display: none; } }

/* ---------------- section + filters ---------------- */
#au-main { text-align: right; }
.au-section-head h2 {
  font-family: 'Noto Kufi Arabic', 'Cairo', sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 2.7vw, 36px);
  line-height: 1.38;
  letter-spacing: 0;
  text-transform: none;
}
.au-kicker { font-size: 12px; color: #63D6A0; }
.au-kicker::before { background: #CE1126; width: 26px; }
.au-section-head p { font-size: 13.5px; line-height: 1.8; color: #93A89C; }
.au-filete { border-top-color: rgba(0, 122, 61, 0.55); border-bottom-color: rgba(255, 255, 255, 0.12); }
.au-filete::before { left: auto; right: 0; background: #CE1126; }
.au-chip {
  height: 38px;
  padding: 0 16px;
  border-color: rgba(99, 214, 160, 0.28);
  background: rgba(0, 122, 61, 0.08);
  color: #D6E5DC;
  font-size: 12.5px;
  font-weight: 700;
}
.au-chip:hover { border-color: #63D6A0; background: rgba(0, 122, 61, 0.20); }
.au-chip.is-active {
  background: linear-gradient(135deg, #007A3D, #005A2D);
  border-color: #007A3D;
  color: #fff;
  box-shadow: 0 8px 22px rgba(0, 122, 61, 0.32);
}
.au-chip b { font-size: 11px; opacity: 0.75; }
.au-count { text-align: right; font-size: 12px; }

/* ---------------- cards ---------------- */
#au-grid > a {
  background: linear-gradient(180deg, #0F1613 0%, #0B110E 100%);
  border-color: rgba(255, 255, 255, 0.07);
}
#au-grid > a:hover {
  border-color: rgba(99, 214, 160, 0.55);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.58), 0 0 0 1px rgba(0, 122, 61, 0.25);
}
#au-grid > a:hover .au-thumb img { filter: brightness(0.84); }
#au-grid .au-thumb::after {
  background: rgba(0, 122, 61, 0.96) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M8 5.5v13l11-6.5z' fill='%23FFFFFF'/></svg>") center / 20px 20px no-repeat;
}
.au-badge { font-size: 10px; padding: 5px 8px; }
.au-badge--jo {
  right: 9px;
  left: auto;
  background: linear-gradient(135deg, #CE1126 0%, #007A3D 100%);
  color: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.42);
  letter-spacing: 0.06em;
}
#au-grid .video_duration { right: auto; left: 0; }
#au-grid .video_duration::before { margin: 0 0 8px 8px !important; font-family: 'Cairo', sans-serif !important; }
.au-card-meta { text-align: right; }
.au-card-title {
  font-family: 'Cairo', 'Noto Kufi Arabic', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.55;
  min-height: 42px;
  color: #EAF4EE;
}
.au-card-sub {
  direction: rtl;
  justify-content: flex-start;
  font-size: 11px;
  font-weight: 600;
  gap: 6px;
  color: #8FA79A;
}
.au-card-sub .au-cat { color: #63D6A0; }
.au-card-sub i { background: rgba(143, 167, 154, 0.55); }

/* ---------------- pagination ---------------- */
.pagination { gap: 8px; }
.pagination li, .pagination a, .pagination .active { margin-left: 0 !important; margin-right: 0 !important; }
.pagination .active {
  background: linear-gradient(135deg, #007A3D, #005A2D) !important;
  color: #fff !important;
  box-shadow: 0 8px 22px rgba(0, 122, 61, 0.32);
}
.pagination a {
  background: rgba(0, 122, 61, 0.08) !important;
  border-color: rgba(99, 214, 160, 0.24) !important;
  color: #DCE9E2 !important;
}
.pagination a:hover { background: #007A3D !important; border-color: #007A3D !important; color: #fff !important; }
.pagination li span { color: #93A89C; font-size: 12.5px; }

/* ---------------- footer ---------------- */
footer#footer { background: #050706 !important; }
footer#footer::before {
  height: 4px;
  background: linear-gradient(90deg, #000 0 25%, #fff 25% 50%, #007A3D 50% 75%, #CE1126 75% 100%);
  opacity: 1;
}
.au-footer-top { gap: 10px; }
.au-footer-flag svg { box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45); }
.au-footer-tag { font-size: 13px; font-weight: 800; color: #DCE9E2; }
.au-footer-note { font-size: 13px; color: #93A89C; }
.au-footer-legal { font-size: 11.5px; color: #7F9588; }
.au-footer-legal b { color: #B9F5D6; }
footer#footer .socials-icons a { background: rgba(255, 255, 255, 0.06) !important; color: #D6E5DC; }
footer#footer .socials-icons a:hover { background: #007A3D !important; color: #fff; border-color: #007A3D; }
footer#footer .bg-card { background: rgba(255, 255, 255, 0.035) !important; }
footer#footer .bg-card a { color: rgba(243, 247, 244, 0.68) !important; }
footer#footer .bg-card a:hover { color: #63D6A0 !important; }

/* ---------------- age gate ---------------- */
#au-gate {
  background:
    radial-gradient(760px 420px at 50% 0%, rgba(0, 122, 61, 0.26), transparent 66%),
    rgba(3, 5, 4, 0.95);
}
.au-gate-card {
  border-color: rgba(99, 214, 160, 0.34);
  background: linear-gradient(180deg, #101815 0%, #0A0F0D 100%);
}
.au-gate-card::before {
  background: linear-gradient(90deg, #000 0 25%, #fff 25% 50%, #007A3D 50% 75%, #CE1126 75% 100%);
}
.au-gate-card h2 {
  font-family: 'Noto Kufi Arabic', 'Cairo', sans-serif;
  font-weight: 800;
  font-size: clamp(26px, 7vw, 34px);
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
}
.au-gate-card p { font-size: 14px; line-height: 1.85; color: #A7B8AE; }
.au-gate-card p b { color: #fff; }
.au-gate-actions .au-btn { font-size: 14px; }
.au-gate-small { font-size: 11px; color: #7F9588; }

/* ---------------- download panel ---------------- */
.au-dl__backdrop { background: rgba(3, 5, 4, 0.86); }
.au-dl__panel {
  background: linear-gradient(180deg, #101815, #070A08);
  border-color: rgba(99, 214, 160, 0.26);
  text-align: right;
}
.au-dl__panel::before {
  background: linear-gradient(90deg, #000 0 25%, #fff 25% 50%, #007A3D 50% 75%, #CE1126 75% 100%);
}
.au-dl__close { right: auto; left: 14px; }
.au-dl .au-kicker { color: #63D6A0; font-size: 11px; }
.au-dl h2 {
  font-family: 'Noto Kufi Arabic', 'Cairo', sans-serif;
  font-weight: 800;
  font-size: 28px;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
}
.au-dl p { font-size: 14px; line-height: 1.8; color: #9FB8A9; }
.au-store { direction: rtl; text-align: right; background: #F4F7F4; color: #0A0F0C; }
.au-store:hover { background: #fff; }
.au-store svg { fill: #0A0F0C !important; }
.au-store small { font-size: 10px; opacity: 0.58; }
.au-store b { font-size: 17px; }
.au-dl__later { font-size: 12px; color: #93A89C; }

/* ---------------- floating CTA ---------------- */
#download-app-float {
  background: linear-gradient(135deg, #4FD18B 0%, #007A3D 52%, #005A2D 100%) !important;
  color: #fff !important;
  font-size: 13px !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.62), 0 0 0 1px rgba(255, 255, 255, 0.24) inset,
    0 0 36px rgba(0, 122, 61, 0.42) !important;
}
#download-app-float::after { border-color: rgba(99, 214, 160, 0.62); }
#download-app-float em {
  background: #CE1126;
  color: #fff;
  font-size: 10px;
  padding: 3px 7px;
}
body::after {
  background: linear-gradient(180deg, rgba(8, 11, 10, 0) 0%, rgba(8, 11, 10, 0.72) 46%, #080B0A 100%);
}

/* ---------------- responsive tuning ---------------- */
@media (max-width: 1399px) {
  .au-nav a { font-size: 12px; padding: 9px 8px; }
  .au-logo-country { font-size: 10px; padding-right: 10px; }
}
@media (max-width: 1023px) {
  .au-hero-inner { padding: 78px 20px 32px; }
  #au-hero h1 { font-size: clamp(32px, 5.4vw, 46px); }
  .au-card-title { font-size: 13px; }
}
@media (max-width: 767px) {
  body { font-size: 14px; }
  #au-hero h1 { font-size: clamp(30px, 9vw, 42px); line-height: 1.24; }
  .au-hero-sub { font-size: 14px; line-height: 1.8; }
  .au-hero-actions .au-btn { height: 48px; font-size: 13px; }
  .au-section-head h2 { font-size: clamp(23px, 6.6vw, 30px); }
  .au-section-head p { font-size: 12.5px; }
  .au-chips { margin: 12px -16px 14px; padding: 0 16px 4px; }
  .au-chip { height: 37px; font-size: 12px; padding: 0 14px; }
  .au-card-title { font-size: 12.5px; line-height: 1.5; min-height: 38px; }
  .au-card-sub { font-size: 10px; line-height: 1.5; }
  .au-badge { font-size: 9px; padding: 4px 6px; top: 7px; }
  .au-badge--jo { right: 7px; }
  .au-gate-card h2 { font-size: clamp(24px, 7.6vw, 30px); }
  .au-gate-card p { font-size: 13px; }
  .au-dl h2 { font-size: 26px; }
  .au-dl p { font-size: 13.5px; }
  .au-footer-tag { font-size: 12px; }
  .au-footer-note { font-size: 12px; }
  .au-footer-legal { font-size: 10.5px; }
  #download-app-float { font-size: 14px !important; }
}
@media (max-width: 359px) {
  #au-hero h1 { font-size: 28px; }
  .au-card-title { font-size: 12px; }
  .au-chip { font-size: 11.5px; }
}

/* refinements after visual QA */
.au-flagbar, .au-starband { display: none !important; }
.jo-hero-mark {
  width: 380px;
  height: 380px;
  left: -72px;
  opacity: 0.40;
}
.jo-hero-mark, .jo-hero-mark * { fill: none !important; }
.jo-hero-mark circle { fill: #CE1126 !important; }
.jo-hero-mark path { opacity: 0.18 !important; stroke-width: 1 !important; }
@media (max-width: 1023px) { .jo-hero-mark { width: 300px; height: 300px; left: -105px; opacity: 0.30; } }

/* header balance + final typography */
header nav.au-navbar { justify-content: space-between; }
header .logo { margin-left: 0 !important; margin-right: 0 !important; }
.au-nav { margin-left: 0; margin-right: 0; }
header nav.au-navbar > div.justify-items-center { margin-left: auto; }
#au-hero {
  background:
    radial-gradient(620px 420px at 78% 28%, rgba(0, 122, 61, 0.22), transparent 62%),
    radial-gradient(520px 360px at 8% 72%, rgba(206, 17, 38, 0.12), transparent 64%),
    #070A08 !important;
}
.jo-hero-mark { width: 340px; height: 340px; opacity: 0.34; }
@media (max-width: 1023px) { .jo-hero-mark { width: 280px; height: 280px; opacity: 0.26; } }
@media (max-width: 767px) {
  .au-gate-card h2 { font-size: clamp(23px, 6.4vw, 27px); line-height: 1.5; }
  .pagination { gap: 6px; }
  .pagination a, .pagination .active { width: 40px !important; height: 40px !important; }
}
header nav.au-navbar > div.justify-items-center { margin-left: 0; margin-right: auto; }
header nav.au-navbar > div.justify-items-center { margin-left: 0; margin-right: 0; }
@media (min-width: 768px) and (max-width: 1023px) {
  header nav.au-navbar > div.justify-items-center { margin-right: auto; }
}

/* balanced Arabic line breaks for intro copy */
#au-hero p, .au-section-head p { text-wrap: balance; }

/* desktop header: country beside logo, nav truly centered */
@media (min-width: 1024px) {
  header nav.au-navbar { position: relative; }
  .au-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0 !important;
  }
}
@media (min-width: 1200px) {
  .au-logo-country {
    position: absolute;
    right: 160px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 !important;
  }
}

/* mobile chips: soften the clipped edge */
@media (max-width: 767px) {
  .au-chips {
    -webkit-mask-image: linear-gradient(to left, #000 0%, #000 93%, transparent 100%);
    mask-image: linear-gradient(to left, #000 0%, #000 93%, transparent 100%);
  }
}
