:root { 
  --bg:#0b0b0f; 
  --fg:#e7e7ec; 
  --muted:#9ca3af; 
  --accent:#7c3aed; 
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }

/* Body with background + flex center */
body {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  line-height: 1.5;
  color: var(--fg);
  text-align: center;

  background: url('hero.jpg') center/cover no-repeat;
  position: relative;

  display: flex;
  align-items: center;   /* عمودي */
  justify-content: center; /* أفقي */
}

body::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(34, 0, 51, 0.6); /* Purple overlay */
  z-index: 0;
}

main {
  position: relative;
  z-index: 1;
  max-width: 600px;
  width: 100%;
  padding: 20px;
}

/* Headings */
h1 {
  font-size: clamp(42px, 6vw, 64px);
  letter-spacing: 0.02em;
  margin-bottom: 10px;
  font-weight: 800;
  background: linear-gradient(90deg, var(--fg), #c8c8ff, var(--fg));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sub {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--muted);
  margin-bottom: 28px;
}

/* Email pill */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px dashed rgba(255,255,255,0.25);
  color: var(--fg);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 28px;
}
.pill strong { font-weight: 700; }

.blink {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px var(--accent), 0 0 36px rgba(124,58,237,.6);
  animation: pulse 1.4s infinite ease-in-out;
}
@keyframes pulse {
  0%,100%{transform: scale(1); opacity: 1;}
  50%{transform: scale(0.85); opacity: .75;}
}

/* Social Icons */
.social {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 18px;
}
.social a {
  color: var(--fg);
  opacity: 0.75;
  transition: opacity 0.2s ease;
}
.social a:hover { opacity: 1; }
.social svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Footer */
.footer {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
  opacity: .9;
}
