*{margin:0;padding:0;box-sizing:border-box}

@font-face{
  font-family:"ResalatyArabic";
  src:url("fonts/alfont_com_ResalatyArabicDEMO-Regular.ttf") format("truetype");
}

:root{
  --gold:#f5d27a;
  --gold2:#ffe3ab;
  --white:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.72);
  --blur:18px;
}

html,body{width:100%;height:100%}

body{
  font-family:"ResalatyArabic",serif;
  background:#070510;
  color:#fff;
  overflow:hidden;
}

.scene{
  position:relative;
  width:100%;
  height:100vh;
  background:url("background.png") center/cover no-repeat;
}

#magic{
  position:absolute;
  inset:0;
  z-index:3;
}

.overlay{
  position:absolute;
  inset:0;
  z-index:2;
  background:radial-gradient(70% 55% at 50% 22%, rgba(255,215,140,.14), rgba(8,6,14,.92));
}

.vignette{
  position:absolute;
  inset:-2px;
  z-index:4;
  background:radial-gradient(60% 55% at 50% 26%, transparent, rgba(0,0,0,.75));
}

.content{
  position:relative;
  z-index:5;
  min-height:100vh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  padding:40px 20px 120px;
}

.hero{
  width:100%;
  max-width:1200px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:48px;
}

.hero-text{
  flex:1;
  text-align:center;
}

.t1{
  font-size:clamp(26px,3.4vw,52px);
  color:var(--white);
  animation:rise 1s ease forwards;
}

.t2{
  font-size:clamp(30px,4.4vw,68px);
  color:var(--gold2);
  text-shadow:0 0 10px rgba(255,215,140,.35);
  animation:rise 1s ease forwards .15s;
}

.t3{
  font-size:clamp(20px,2.3vw,30px);
  color:var(--muted);
  animation:rise 1s ease forwards .3s;
}

.t4{
  font-size:clamp(34px,5.2vw,86px);
  color:var(--gold);
  text-shadow:0 0 20px rgba(255,215,140,.4);
  animation:rise 1s ease forwards .45s, glow 3s infinite;
}

.hero-gif{
  flex:1;
  display:flex;
  justify-content:center;
  pointer-events:none;
}

.hero-gif img{
  width:min(720px,90%);
  animation:float 4s ease-in-out infinite;
  filter:drop-shadow(0 -20px 40px rgba(0,0,0,.4));
}

.social{
  position:fixed;
  bottom:14px;
  display:flex;
  gap:12px;
  padding:10px 12px;
  border-radius:999px;
  backdrop-filter:blur(var(--blur));
  background:rgba(255,255,255,.06);
}

.icon{
    width:46px;
    height:46px;
    border-radius:50%;
    display:grid;
    place-items:center;
    text-decoration:none;
    color:rgba(255,255,255,.92);
    background:rgba(255,255,255,.08);
    border:1px solid rgba(255,255,255,.12);
    animation:pulse 3.5s ease-in-out infinite;

    transition:
      transform .22s ease,
      background .22s ease,
      border-color .22s ease,
      box-shadow .22s ease,
      color .22s ease;
  }
  
  .icon:hover{
    transform:translateY(-3px) scale(1.12);
    background:rgba(255,215,140,.18);
    color:#f5d27a;
    border-color:rgba(255,215,140,.45);
    box-shadow:
      0 12px 30px rgba(245,210,122,.35),
      0 0 20px rgba(245,210,122,.25);
  }
  

@media (max-width:900px){
  .hero{
    flex-direction:column;
  }
}

@keyframes rise{
  from{opacity:0;transform:translateY(15px)}
  to{opacity:1;transform:translateY(0)}
}

@keyframes float{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-12px)}
}

@keyframes glow{
  50%{text-shadow:0 0 30px rgba(255,215,140,.6)}
}

@keyframes pulse{
    0%,100%{box-shadow:0 0 0 rgba(245,210,122,0)}
    50%{box-shadow:0 0 18px rgba(245,210,122,.18)}
  }