/* V27 — targeted refinements on the complete, unchanged V26 source. */

/* Hero: keep its animation, logo and composition; change only headline typography/copy. */
html[data-ui-lang="en"] .content {
  width:min(48vw,750px);
}
html[data-ui-lang="en"] .content h1 {
  font-size:clamp(50px,4.45vw,86px)!important;
  line-height:1.065!important;
  letter-spacing:-.068em!important;
  text-wrap:balance;
}
html[data-ui-lang="en"] .content h1 .hero-gradient {
  background:linear-gradient(92deg,#56ceff 0%,#87c5ff 34%,#b595ff 72%,#d69aff 100%);
  color:transparent;
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
}
html[data-ui-lang="en"] .content h1 .hero-gradient em {
  font-style:italic;
  color:inherit;
  -webkit-text-fill-color:inherit;
}
html[data-ui-lang="en"] .content p{max-width:560px;font-size:clamp(15px,1.13vw,18px)}

/* Match — avoid the competing purple spotlight and keep the persistent background. */
.match-odyssey .match-atmosphere {
  background:linear-gradient(180deg,rgba(30,53,107,.08),rgba(19,34,70,.10) 48%,rgba(25,29,67,.09));
  opacity:1;
}
.match-odyssey .match-atmosphere > span {display:none!important}
.match-odyssey .match-overture:before {opacity:.18!important}

/* Match — the process is an elegant typographic list, NOT three cards. */
.match-odyssey .match-explainer-path {
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:clamp(22px,3vw,50px)!important;
  margin:clamp(35px,5.4vh,52px) 0 0!important;
  padding:24px 0 0!important;
  border-top:1px solid rgba(140,180,239,.19);
}
.match-odyssey .match-explainer-flow{display:none!important}
.match-odyssey .match-explainer-step {
  position:relative;
  display:block!important;
  min-height:0!important;
  padding:0 14px 0 21px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
  overflow:visible!important;
  transform:none!important;
}
.match-odyssey .match-explainer-step:before {
  content:'';
  position:absolute;
  top:9px;
  left:0;
  width:7px;
  height:7px;
  border-radius:50%;
  background:#82cfff;
  box-shadow:0 0 12px rgba(121,197,255,.32);
}
.match-odyssey .match-explainer-step:after {display:none!important;content:none!important}
.match-odyssey .match-explainer-step:hover {
  transform:none!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
}
.match-odyssey .match-explainer-step-index {
  display:block!important;
  margin:0 0 10px!important;
  color:#85aad9;
  font:700 10px/1.2 Manrope,sans-serif!important;
  letter-spacing:.13em;
}
.match-odyssey .match-explainer-step-icon {display:none!important}
.match-odyssey .match-explainer-step .en-only,.match-odyssey .match-explainer-step .ar-only{display:none}
html[data-ui-lang="en"] .match-odyssey .match-explainer-step .en-only{display:block!important}
html[data-ui-lang="ar"] .match-odyssey .match-explainer-step .ar-only{display:block!important}
.match-odyssey .match-explainer-step strong {
  display:block;
  margin:0 0 8px!important;
  font:700 clamp(17px,1.45vw,21px)/1.25 Manrope,sans-serif!important;
  color:#e8f2ff;
  letter-spacing:-.035em;
}
.match-odyssey .match-explainer-step small {
  display:block;
  font:500 clamp(12px,.92vw,14px)/1.7 Manrope,sans-serif!important;
  color:#a9bdd5!important;
}
html[data-ui-lang="ar"] .match-odyssey .match-explainer-step{padding:0 21px 0 14px!important}
html[data-ui-lang="ar"] .match-odyssey .match-explainer-step:before {left:auto;right:0}
html[data-ui-lang="ar"] .match-odyssey .match-explainer-step strong,
html[data-ui-lang="ar"] .match-odyssey .match-explainer-step small{font-family:Tajawal,sans-serif!important}

@media(max-width:950px){
  html[data-ui-lang="en"] .content{width:min(53vw,640px)}
  html[data-ui-lang="en"] .content h1{font-size:clamp(45px,5.3vw,65px)!important}
}
@media(max-width:840px){
  html[data-ui-lang="en"] .content {width:auto;left:7%;right:7%}
  html[data-ui-lang="en"] .content h1 {font-size:clamp(36px,8.9vw,62px)!important;line-height:1.09!important;letter-spacing:-.06em!important}
  html[data-ui-lang="en"] .content p{font-size:clamp(13px,3.6vw,17px)!important}
  .match-odyssey .match-explainer-path{grid-template-columns:1fr!important;gap:17px!important;margin-top:32px!important;padding-top:23px!important}
  .match-odyssey .match-explainer-step{padding-bottom:6px!important}
}
@media(prefers-reduced-motion:reduce){.match-odyssey .match-explainer-step{transition:none!important}}
