.live-demo {
  min-width: 0;
  background: #111214;
  border: 1px solid #e0b96f66;
  border-radius: 22px;
  box-shadow: 0 50px 120px #23160635, inset 0 1px #ffffff18;
  padding: 9px;
  direction: ltr;
  overflow: hidden;
}

.live-demo-bar {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  color: #fff;
  padding: 2px 6px 10px;
  font-size: 12px;
  font-weight: 800;
}

.live-demo-bar span { display: flex; align-items: center; gap: 8px; }
.live-demo-bar i { width: 8px; height: 8px; border-radius: 50%; background: #25d366; box-shadow: 0 0 0 5px #25d36622; }
.live-demo-bar a { color: #e8c776; border-bottom: 1px solid #e8c77655; padding-bottom: 2px; }
.demo-address{display:flex;align-items:center;gap:5px;direction:ltr;color:#77736d}.demo-address>i{width:6px;height:6px;border-radius:50%;background:#444}.demo-address>i:first-child{background:#d55a55}.demo-address>i:nth-child(2){background:#d8a84e}.demo-address>i:nth-child(3){background:#4bbd73}.demo-address small{margin-left:10px;background:#ffffff0a;border:1px solid #ffffff0d;border-radius:6px;padding:5px 45px;font:9px Arial;color:#8f8b84}

.live-demo-stage {
  position: relative;
  aspect-ratio: 1900 / 926;
  overflow: hidden;
  border-radius: 14px;
  background: #f4f6f9;
}

.live-demo-stage > img,
.live-demo-stage > iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.live-demo-stage > img { object-fit: contain; object-position: center top; filter: brightness(.55); }
.live-demo-stage > iframe { display: none; background: #fff; }

.live-demo-cover {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 35px;
  text-align: center;
  color: #fff;
  background: linear-gradient(180deg,#09090933,#090909b8);
  direction: inherit;
}

.live-demo-cover h3 { margin: 15px 0 6px; font-size: clamp(24px,3.2vw,42px); letter-spacing:-.03em; }
.live-demo-cover p { max-width: 480px; margin: 0 0 18px; color: #e2e4e8; line-height: 1.7; font-size: 13px; }
.live-badge { color: #83f0ab; background: #25d36618; border: 1px solid #25d36666; border-radius: 20px; padding: 7px 12px; font: 900 9px Arial; letter-spacing: 2px; box-shadow:0 0 25px #25d36622; }
.live-demo-start { cursor: pointer; border: 1px solid #f2cf8b88; border-radius: 13px; color: #fff; background: linear-gradient(135deg,#d29a3e,#8b5715); padding: 15px 22px; font-family: "Tajawal",sans-serif; font-weight: 900; box-shadow: 0 14px 35px #0006, inset 0 1px #fff4; transition: .2s; display:flex;align-items:center;gap:10px; }
.live-demo-start span{width:25px;height:25px;border-radius:50%;background:#ffffff1c;display:grid;place-items:center;font-size:9px}
.live-demo-start:hover { transform: translateY(-2px); }

.live-demo-loading {
  position: absolute;
  z-index: 3;
  inset: 0;
  display: none;
  place-items: center;
  color: #fff;
  background: #111214;
  font-weight: 800;
}

.live-demo-stage.is-loading .live-demo-cover { display: none; }
.live-demo-stage.is-loading .live-demo-loading { display: grid; }
.live-demo-stage.is-live > img,
.live-demo-stage.is-live .live-demo-cover,
.live-demo-stage.is-live .live-demo-loading { display: none; }
.live-demo-stage.is-live > iframe { display: block; }

[dir="rtl"] .live-demo-cover { direction: rtl; }
[dir="ltr"] .live-demo-cover { direction: ltr; }

@media (max-width: 900px) {
  .live-demo { max-width: none; margin-inline: auto; }
  .demo-address{display:none}
}

@media (max-width: 600px) {
  .live-demo { padding: 7px; border-radius: 13px; }
  .live-demo-stage { aspect-ratio: 1900 / 926; }
  .live-demo-cover { padding: 20px; }
  .live-demo-cover p { font-size: 11px; margin-bottom: 13px; }
  .live-demo-start { padding: 11px 15px; font-size: 12px; }
  .live-demo-bar span { display: none; }
  .live-demo-bar { justify-content: flex-end; }
}
