:root{
  --bg: #f4fafa;
  --card-bg: #fff;
  --text: #183247;
  --muted: #8b98a6;
  --accent: #2873db;
}
/* Layout */
*{box-sizing: border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: 'Cairo', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background:var(--bg);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}
.container{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  min-height:100vh;
  max-width:1200px;
  margin:0 auto;
  padding:48px 20px 16px;
}
.left{display:flex;flex-direction:column;align-items:center;margin-bottom:36px}
.brand-logo{width:140px;margin-bottom:18px}
.brand-title{font-size:2.2rem;font-weight:700;margin:0 0 12px;letter-spacing:-0.5px;text-align:center}
.brand-desc{max-width:920px;text-align:center;color:var(--text);font-weight:500;line-height:1.7;margin:0}

/* Grid */
.links-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap:20px;
  width:100%;
  margin-top:18px;
}
.card{
  background:var(--card-bg);
  border-radius:14px;
  box-shadow:0 6px 18px rgba(24,50,71,0.06);
  padding:18px 12px;
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  transition: transform .18s ease, box-shadow .18s ease;
  min-height:96px;
  text-decoration:none;color:inherit;
}
.card:hover{transform:translateY(-6px);box-shadow:0 20px 50px rgba(40,115,219,0.12)}
.card img{width:52px;height:52px;border-radius:8px;object-fit:contain}
.label{font-size:1rem;font-weight:600;color:var(--text);word-break:break-word}
.label.ltr{direction:ltr;text-align:left}
.label.rtl{direction:rtl;text-align:right}
.action{font-size:0.98rem;font-weight:600;color:var(--accent);padding:6px 12px;border-radius:10px;background:#f0f7fd;display:inline-block}
.action.subscribe{background:#fff0f0;color:#df2323}
.action.tiktok{background:#2b2b2b;color:#fff}
.action.twitter{background:#eaf6fe;color:#289ee3}
.action.linkedin{background:#f4faff;color:#1566c1}
.action.threads{background:#eaeaea;color:#111}
.action[disabled]{opacity:0.6;pointer-events:none}
.desc{font-size:0.92rem;color:var(--muted)}

footer.site-footer{font-size:0.95rem;color:var(--muted);padding:28px 0;text-align:center}

@media(min-width:1000px){
  .container{padding-top:64px}
  .brand-title{font-size:2.4rem}
}
@media(max-width:480px){
  .container{padding:18px 12px}
  .brand-title{font-size:1.6rem}
}
