:root{
  --bg0:#05070d;
  --bg1:#070b14;
  --panel: rgba(255,255,255,.06);
  --panel2: rgba(255,255,255,.10);
  --stroke: rgba(255,255,255,.10);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.70);
  --muted2: rgba(255,255,255,.55);
  --accent:#e0122a; /* Balas red */
  --accent2:#ff2b45;
  --navy:#0b1b32;
  --shadow: 0 26px 90px rgba(0,0,0,.55);
  --radius: 22px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  direction:rtl;
  color:var(--text);
  background:
    radial-gradient(1100px 720px at 85% 0%, rgba(224,18,42,.42), transparent 60%),
    radial-gradient(920px 640px at 20% 10%, rgba(11,27,50,.70), transparent 62%),
    radial-gradient(1200px 900px at 70% 90%, rgba(224,18,42,.18), transparent 70%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  font-family: IRANSans, "IRANSans", "IranSans", "Vazirmatn", "Segoe UI", Tahoma, sans-serif;
  overflow-x:hidden;
}

/* IRANSans font files were not included in the project. Falling back to system fonts. */
.wrap{
  min-height:100%;
  display:flex;
  flex-direction:column;
}

.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:22px clamp(16px, 4vw, 44px);
}

.brand-mini{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 0;
}
.brand-mini img{
  width:38px;height:38px;
  filter: drop-shadow(0 12px 22px rgba(224,18,42,.25));
}
.brand-mini .name{
  display:flex;
  flex-direction:column;
  line-height:1.1;
  min-width:0;
}
.brand-mini .name b{
  font-weight:800;
  letter-spacing:.2px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.brand-mini .name span{
  font-size:12.5px;
  color:var(--muted2);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.navlinks{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}
.navlinks a{
  color:var(--muted);
  text-decoration:none;
  font-size:13px;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(10px);
}
.navlinks a:hover{
  border-color: rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
}

.main{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 clamp(16px, 4vw, 44px) 48px;
}

.card{
  width:min(1120px, 100%);
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:24px;
  padding: clamp(18px, 3.4vw, 32px);
  border-radius: var(--radius);
  border:1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  position:relative;
  overflow:hidden;
}

/* Decorative grid */
.card::before{
  content:"";
  position:absolute;
  inset:-1px;
  background:
    radial-gradient(650px 420px at 100% 0%, rgba(224,18,42,.35), transparent 60%),
    linear-gradient(transparent, transparent),
    repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, transparent 1px 44px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.06) 0 1px, transparent 1px 44px);
  opacity:.28;
  pointer-events:none;
}

.card::after{
  content:"";
  position:absolute;
  width:420px;
  height:420px;
  left:-140px;
  bottom:-180px;
  background: radial-gradient(circle at 30% 30%, rgba(224,18,42,.60), transparent 64%);
  filter: blur(12px);
  opacity:.35;
  pointer-events:none;
  transform: rotate(-18deg);
}

.left{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.logo{
  width: min(520px, 100%);
  height:auto;
  margin-bottom: 18px;
  filter: drop-shadow(0 20px 36px rgba(0,0,0,.40));
}

.h1{
  font-size: clamp(26px, 3.1vw, 40px);
  margin:0 0 10px 0;
  letter-spacing:.1px;
}
.sub{
  margin:0 0 18px 0;
  color:var(--muted);
  font-size: clamp(14.5px, 1.55vw, 16.6px);
  line-height:1.9;
  max-width: 54ch;
}

.status{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.14);
  width: fit-content;
  margin-bottom: 18px;
}
.status .dot{
  width:9px;height:9px;border-radius:50%;
  background: var(--accent2);
  box-shadow: 0 0 0 0 rgba(255,43,69,.55);
  animation: pulse 1.6s infinite;
}
.status span{
  font-size:13.2px;
  color:var(--muted);
}

.cta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin: 6px 0 16px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 13px 16px;
  border-radius: 16px;
  text-decoration:none;
  color:var(--text);
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(10px);
  min-width: 190px;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.btn:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.085);
  border-color: rgba(255,255,255,.20);
}
.btn.primary{
  background: linear-gradient(180deg, rgba(224,18,42,.92), rgba(224,18,42,.70));
  border-color: rgba(255,255,255,.10);
}
.btn.primary:hover{
  background: linear-gradient(180deg, rgba(255,43,69,.92), rgba(224,18,42,.72));
}
.btn svg{
  width:18px;height:18px;flex:0 0 18px;
  opacity:.98;
}

.hints{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top: 4px;
}
.chip{
  font-size:12.3px;
  color:var(--muted2);
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.10);
}

.right{
  position:relative;
  z-index:1;
  display:flex;
  align-items:center;
  justify-content:center;
}

.art{
  width:min(360px, 82%);
  aspect-ratio: 1 / 1;
  border-radius: 26px;
  border:1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(circle at 30% 24%, rgba(255,255,255,.12), transparent 38%),
    radial-gradient(circle at 65% 60%, rgba(224,18,42,.36), transparent 56%),
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02));
  box-shadow: 0 24px 70px rgba(0,0,0,.5);
  backdrop-filter: blur(16px);
  display:flex;
  align-items:center;
  justify-content:center;
  position:relative;
  overflow:hidden;
}

.art::before{
  content:"";
  position:absolute;
  inset:-60px;
  background:
    conic-gradient(from 180deg at 50% 50%, rgba(224,18,42,.30), transparent, rgba(224,18,42,.18), transparent);
  opacity:.75;
  filter: blur(0px);
  animation: spin 12s linear infinite;
}

.art::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(120deg, transparent 0 45%, rgba(255,255,255,.10) 50%, transparent 55% 100%);
  opacity:.12;
  transform: translateX(-55%);
  animation: sweep 3.8s ease-in-out infinite;
}

.art img{
  position:relative;
  z-index:1;
  width: min(220px, 70%);
  height:auto;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.55));
}

.footer{
  padding: 18px clamp(16px, 4vw, 44px) 24px;
  display:flex;
  flex-wrap:wrap;
  gap:10px 16px;
  align-items:center;
  justify-content:space-between;
  color:var(--muted2);
  font-size: 12.5px;
}
.footer a{
  color:var(--muted);
  text-decoration:none;
  border-bottom:1px dashed rgba(255,255,255,.22);
}
.footer a:hover{
  color:rgba(255,255,255,.85);
  border-bottom-color: rgba(255,255,255,.45);
}

@media (max-width: 900px){
  .card{
    grid-template-columns: 1fr;
  }
  .right{
    order:-1;
  }
  .art{
    width:min(520px, 100%);
  }
  .btn{min-width: 160px; flex: 1;}
}

@keyframes pulse{
  0%{ box-shadow: 0 0 0 0 rgba(255,43,69,.55); }
  70%{ box-shadow: 0 0 0 10px rgba(255,43,69,0); }
  100%{ box-shadow: 0 0 0 0 rgba(255,43,69,0); }
}

@keyframes spin{
  from{ transform: rotate(0deg); }
  to{ transform: rotate(360deg); }
}

@keyframes sweep{
  0%{ transform: translateX(-55%); }
  55%{ transform: translateX(55%); }
  100%{ transform: translateX(55%); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .status .dot, .art::before, .art::after{ animation: none !important; }
  .btn{ transition:none; }
}