*{
  box-sizing:border-box;
}

body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto;
  background:linear-gradient(135deg,#0b1d26,#102a36);
  color:#fff;
}

/* Header */
.hero{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:30px 15px;
  gap:20px;
}

.side-img{
  width:90px;
  height:auto;
  border-radius:14px;
  box-shadow:0 10px 25px rgba(0,0,0,.5);
}

.verse{
  font-size:22px;
  text-align:center;
  font-family: "Amiri", system-ui, sans-serif;
  line-height:1.8;
  color:#d4af37; /* golden */
  font-weight:600;
}

/* Language cards */
.languages{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:25px;
  padding:40px 20px 60px;
  max-width:1100px;
  margin:auto;
}

.lang-card{
  background:rgba(255,255,255,.08);
  backdrop-filter:blur(10px);
  border-radius:20px;
  padding:25px;
  box-shadow:0 20px 40px rgba(0,0,0,.35);
}

.lang-card h2{
  margin-top:0;
  text-align:center;
}

.lang-card a{
  display:block;
  margin:12px 0;
  padding:14px 16px;
  background:rgba(255,255,255,.15);
  border-radius:14px;
  color:#fff;
  text-decoration:none;
  transition:.25s;
}

.lang-card a:hover{
  background:#d4af37;
  color:#111;
}

/* RTL support */
.rtl{
  direction:rtl;
  text-align:right;
}

/* English font */
.en{
  font-family: system-ui, sans-serif;
  font-size: 1.5em;
}

/* Persian font */
.fa{
  font-family:"Vazir", system-ui, sans-serif;
  font-size: 1.5em;
}

/* Pashto font */
.ps{
  font-family:"BahijNaskh", system-ui, serif;
  font-size: 1.5em;
}

/* Mobile */
@media(max-width:600px){
  .hero{
    flex-direction:column;
  }
  .side-img{
    width:70px;
  }
  .verse{
    font-size:20px;
  }
}