/* === hero.css === */

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(0, 560px);
  justify-content: center;
  align-items: center;
  gap: 56px;
  padding: 0 48px;
  position: relative;
  overflow: hidden;
}
html[dir="rtl"] .hero { padding: 0 48px; }

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    linear-gradient(to right, rgba(0,0,0,.85), rgba(0,0,0,.60), rgba(0,0,0,.30)),
    url('../assets/backgrounds/hero-football.jpg') center / cover no-repeat;
  background-color: var(--black);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    repeating-linear-gradient(90deg, rgba(153,202,60,.018) 0px, rgba(153,202,60,.018) 1px, transparent 1px, transparent 56px),
    repeating-linear-gradient(  0deg, rgba(153,202,60,.018) 0px, rgba(153,202,60,.018) 1px, transparent 1px, transparent 56px);
}
.hero-left { position: relative; z-index: 1; padding: 120px 0 80px; }



.hero h1 {
  font-family: 'Satoshi', sans-serif;
  font-size: clamp(42px, 5.5vw, 80px);
  font-weight: 900; line-height: 1.1;
  letter-spacing: -2.5px; text-transform: uppercase;
  animation: fadeUp .6s ease .08s both;
}
html[lang="ar"] .hero h1 {
  font-family: 'Cairo', sans-serif;
  letter-spacing: 0; line-height: 1.15; text-transform: none;
  font-size: clamp(36px, 4.8vw, 68px);
}

.hero h1 em { font-style: normal; color: var(--g); }
.hero-sub {
  font-size: 18px; font-weight: 400; color: var(--muted);
  max-width: 440px; line-height: 1.65; letter-spacing: -0.1px;
  margin: 22px 0 38px;
  animation: fadeUp .6s ease .16s both;
}
html[lang="ar"] .hero-sub { letter-spacing: 0; line-height: 1.85; }
.hero-sub strong { color: var(--text); font-weight: 600; }

.hero-badges {
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
  margin-top: 32px;
  animation: fadeUp .6s ease .24s both;
}
.store-badge { display: inline-block; transition: transform .2s; }
.store-badge:hover { transform: translateY(-2px); }
.store-badge svg { height: 52px; width: auto; }

.hero-right {
  position: relative; z-index: 1;
  height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 80px 5% 80px 0;
}
html[dir="rtl"] .hero-right { padding: 80px 0 80px 5%; }

/* HERO PHONES: flex side-by-side, no overlap, both sharp */
.hero-phones {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 28px;
  position: relative;
  transform: translateY(31vh);
}
/* Ambient glow - position:absolute keeps it out of flex flow */
.hero-phones::after {
  content: "";
  position: absolute;
  bottom: -24px; left: 50%;
  transform: translateX(-50%);
  width: 360px; height: 100px;
  background: radial-gradient(ellipse at 50% 100%, rgba(153,202,60,0.18) 0%, transparent 65%);
  filter: blur(28px);
  pointer-events: none; z-index: -1;
}
/* Left phone (hp-back = first flex child): tilted right, sits at baseline */
.hp-back {
  width: 190px;
  flex-shrink: 0;
  filter:
    drop-shadow(0 28px 56px rgba(0,0,0,0.80))
    drop-shadow(0 0 24px rgba(153,202,60,0.15));
  animation: floatRotB 12s ease-in-out infinite, fadePhoneIn 1s ease .5s both;
}
/* Right phone (hp-main = second flex child): slightly larger, lifted 40px */
.hp-main {
  width: 210px;
  flex-shrink: 0;
  margin-bottom: 40px;
  filter:
    drop-shadow(0 36px 72px rgba(0,0,0,0.85))
    drop-shadow(0 0 36px rgba(153,202,60,0.20));
  animation: floatRot 9s ease-in-out infinite, fadePhoneIn 1s ease .3s both;
}
html[dir="rtl"] .hero-phones { flex-direction: row-reverse; }

/* Left phone: tilted to the right (clockwise lean) */
@keyframes floatRotB {
  0%,100% { transform: perspective(900px) rotateY(-8deg) rotate(3deg) translateY(0);     }
  50%      { transform: perspective(900px) rotateY(-8deg) rotate(3deg) translateY(-14px); }
}
/* Right phone: tilted to the left (counter-clockwise lean) */
@keyframes floatRot {
  0%,100% { transform: perspective(900px) rotateY(10deg) rotate(-3deg) translateY(0);     }
  50%      { transform: perspective(900px) rotateY(10deg) rotate(-3deg) translateY(-18px); }
}
/* Opacity-only fade */
@keyframes fadePhoneIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeUp { from { opacity:0;transform:translateY(20px) } to { opacity:1;transform:translateY(0) } }

