:root {
  --bg1: #181a2f;
  --bg2: #232745;
  --surface: #1f2238;
  --surface2: #262a4b;
  --text: #f4f6ff;
  --muted: rgba(244, 246, 255, 0.72);
  --shadow: 0 14px 46px rgba(0, 0, 0, 0.5);
  --radius: 18px;
  --radius2: 22px;
  --max: 1100px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;

  --ig1: #f58529;
  --ig2: #dd2a7b;
  --ig3: #8134af;
  --ig4: #515bd4;

  --igFlat: linear-gradient(135deg, var(--ig1), var(--ig2), var(--ig3), var(--ig4));
  --igFlatSoft: linear-gradient(
    135deg,
    rgba(245, 133, 41, 0.9),
    rgba(221, 42, 123, 0.85),
    rgba(129, 52, 175, 0.8),
    rgba(81, 91, 212, 0.75)
  );
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

html {
  background: linear-gradient(135deg, var(--bg1), var(--bg2));
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: linear-gradient(135deg, var(--bg1), var(--bg2));
}

/* پس‌زمینه‌ی قدیمی رو خاموش می‌کنیم که فلت بشه */
.bg {
  display: none;
}

/* HEADER / BRAND */

.top {
  max-width: var(--max);
  margin: 22px auto 0;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo {
    width: 50px;
    height: 50px;
    background: var(--igFlat);
    border-radius: 12px;
    font-size: 20px;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    position: relative;
    overflow: hidden;
}

.logo::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: 0.5s;
}

.logo:hover::after {
    transform: translateX(100%);
}

.title {
  font-weight: 900;
  letter-spacing: 0.2px;
  font-size: 18px;
}

.subtitle {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

/* LAYOUT WRAP */

.wrap {
  max-width: var(--max);
  margin: 18px auto 70px;
  padding: 0 16px;
}

/* HERO */

.hero {
  margin-top: 26px;
  padding: 28px 22px 32px;
  border-radius: var(--radius2);
  background: var(--surface2);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
  text-align: center;
}

.hero h1 {
  margin: 0 0 12px;
  font-size: 38px;
  line-height: 1.1;
  position: relative;
  letter-spacing: 0.2px;
}

.hero p {
  margin: 0 0 20px;
  color: rgba(244, 246, 255, 0.84);
  font-size: 16px;
  position: relative;
}

/* FORM + INPUT */

.form {
  width: min(900px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: center;
  position: relative;
}

.inputNeon {
  width: 100%;
  border-radius: 999px;
  padding: 2px;
  background: linear-gradient(
    90deg,
    rgba(245, 133, 41, 0.9),
    rgba(221, 42, 123, 0.85),
    rgba(129, 52, 175, 0.85),
    rgba(81, 91, 212, 0.85),
    rgba(245, 133, 41, 0.9)
  );
  background-size: 240% 100%;
  animation: neonMove 4.2s linear infinite;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(0, 0, 0, 0.5);
}

@keyframes neonMove {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 240% 50%;
  }
}

.inputBox {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #050816;
  border: 0;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.65);
  position: relative;
}

.igDot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--igFlat);
  box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.45);
  flex: 0 0 auto;
}

input {
  width: 100%;
  padding: 12px 6px;
  font-size: 16px;
  color: var(--text);
  border: 0;
  outline: none;
  background: transparent;
  text-align: center;
}

input::placeholder {
  color: rgba(244, 246, 255, 0.62);
}

/* ACTIONS + BUTTONS */

.actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.miniAction {
  height: 44px;
  border: 0;
  cursor: pointer;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.5);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition:
    transform 0.12s ease,
    background 0.12s ease,
    box-shadow 0.12s ease;
  font-weight: 900;
  letter-spacing: 0.2px;
  font-size: 14px;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.6);
}

.miniAction:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: translateY(-1px);
}

.miniAction:active {
  transform: translateY(0) scale(0.99);
}

.miniHelp .q {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  border: 0;
  font-weight: 900;
  line-height: 1;
}

.primaryBtn {
  height: 44px;
  border: 0;
  cursor: pointer;
  padding: 0 22px;
  border-radius: 999px;
  background: var(--igFlat);
  color: white;
  font-weight: 950;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.7);
  display: inline-flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.2px;
  font-size: 15px;
  min-width: 180px;
}

.primaryBtn::before {
  content: "";
  position: absolute;
  inset: -40% -20%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.18), transparent 45%);
  transform: translateY(10%);
  opacity: 0.6;
}

.primaryBtn > * {
  position: relative;
}

.primaryBtn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

/* fetch pulse animation */

.primaryBtn.btnPulse {
  animation: fetchPulse 0.42s ease-out;
}

@keyframes fetchPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05) translateY(-1px);
  }
  100% {
    transform: scale(1);
  }
}

@media (max-width: 520px) {
  .actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .miniAction,
  .primaryBtn {
    width: 100%;
    justify-content: center;
  }
}

.hint {
  margin-top: 14px;
  color: rgba(244, 246, 255, 0.82);
  font-size: 15px;
  position: relative;
  line-height: 1.6;
}

/* RESULT PANEL */

.panel {
  margin-top: 18px;
  padding: 18px;
  border-radius: var(--radius2);
  background: var(--surface);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.75);
  border: 0;
}

.panelHead {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.metaTitle {
  font-weight: 950;
  font-size: 16px;
}

.metaRow {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 14px;
}

.badge {
  background: rgba(0, 0, 0, 0.5);
  padding: 8px 12px;
  border-radius: 999px;
  border: 0;
}

.ghostBtn {
  border: 0;
  background: rgba(0, 0, 0, 0.5);
  color: var(--text);
  padding: 11px 15px;
  border-radius: 999px;
  cursor: pointer;
  transition:
    transform 0.12s ease,
    background 0.12s ease;
  font-weight: 900;
  font-size: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.ghostBtn:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: translateY(-1px);
}

.ghostBtn:active {
  transform: translateY(0) scale(0.99);
}

.ghostBtn.small {
  padding: 9px 11px;
  font-size: 12px;
}

/* MEDIA GRID */

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
  margin-top: 10px;
}

.card {
  grid-column: span 12;
  background: var(--surface2);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.8);
  border: 0;
}

@media (min-width: 720px) {
  .card {
    grid-column: span 6;
  }
}

@media (min-width: 980px) {
  .card {
    grid-column: span 4;
  }
}

.media {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: rgba(0, 0, 0, 0.4);
  display: grid;
  place-items: center;
}

.media img,
.media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media video {
  background: black;
}

.cardBody {
  padding: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
}

.cardLeft {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cardTitle {
  font-weight: 950;
  font-size: 14px;
}

.cardSub {
  font-size: 12px;
  color: rgba(244, 246, 255, 0.68);
}

/* DOWNLOAD BUTTON */

.downloadBtn {
  border: 0;
  cursor: pointer;
  padding: 14px 18px;
  border-radius: 999px;
  background: var(--igFlat);
  color: white;
  font-weight: 950;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.7);
  transition:
    transform 0.12s ease,
    filter 0.12s ease;
  letter-spacing: 0.3px;
  font-size: 14px;
  flex: 0 0 auto;
}

.downloadBtn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

.downloadBtn:active {
  transform: translateY(0) scale(0.99);
}

/* CAPTION */

.captionBox {
  margin-top: 14px;
  padding: 14px;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.5);
  border: 0;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.75);
}

.capHead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.capTitle {
  font-weight: 950;
  font-size: 15px;
}

.capText {
  white-space: pre-wrap;
  color: rgba(244, 246, 255, 0.74);
  line-height: 1.7;
  font-size: 15px;
}

/* SPINNER */

.spinner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: rgba(255, 255, 255, 1);
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* MODAL */

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: grid;
  place-items: center;
  padding: 18px;
}

.modal[hidden] {
  display: none;
}

.modalCard {
  width: min(560px, 100%);
  border-radius: var(--radius2);
  background: var(--surface);
  border: 0;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85);
  overflow: hidden;
}

.modalHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px 12px 16px;
  border-bottom: 0;
}

.modalTitle {
  font-weight: 950;
  font-size: 16px;
}

.modalBody {
  padding: 14px 16px;
  color: rgba(244, 246, 255, 0.78);
  line-height: 1.85;
  font-size: 15px;
}

.miniNote {
  margin-top: 10px;
  font-size: 12px;
  color: rgba(244, 246, 255, 0.55);
}

.iconClose {
  width: 40px;
  height: 40px;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
  color: var(--text);
  display: grid;
  place-items: center;
  transition:
    transform 0.12s ease,
    background 0.12s ease;
}

.iconClose:hover {
  background: rgba(0, 0, 0, 0.75);
  transform: translateY(-1px);
}

.iconClose:active {
  transform: translateY(0) scale(0.99);
}

/* TICKER */

.tickerBar {
  margin-top: 18px;
  padding-bottom: 18px;
}

.ticker {
  height: 40px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  overflow: hidden;
  position: relative;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.7);
  border: 0;
}

.ticker::before,
.ticker::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  pointer-events: none;
  z-index: 2;
}

.ticker::before {
  left: 0;
  background: linear-gradient(90deg, rgba(24, 26, 47, 1), rgba(24, 26, 47, 0));
}

.ticker::after {
  right: 0;
  background: linear-gradient(270deg, rgba(24, 26, 47, 1), rgba(24, 26, 47, 0));
}

.track {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 16px;
  height: 40px;
  width: max-content;
  animation: marquee 24s linear infinite;
}

.track a {
  color: rgba(244, 246, 255, 0.8);
  text-decoration: none;
  font-weight: 900;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  border: 0;
  white-space: nowrap;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* HOW-TO TITLE (How to copy...) */

.howTitle {
  margin: 26px auto 18px;
  font-size: 20px;
  font-weight: 900;
  text-align: center;
  color: rgba(244, 246, 255, 0.95);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    rgba(245, 133, 41, 0.28),
    rgba(221, 42, 123, 0.32),
    rgba(129, 52, 175, 0.34),
    rgba(81, 91, 212, 0.36)
  );
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.7);
}

/* HOW-TO CARDS */

.howTo {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  text-align: left;
}

.howCard {
  border-radius: 16px;
  background: var(--surface2);
  padding: 10px 10px 12px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.75);
  border: 0;
}

.howImgWrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.4);
  margin-bottom: 8px;
}

.howImgWrap img {
  width: 100%;
  height: 100%;
  object-fit: fit;
  display: block;
}

.howCard h3 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 900;
}

.howCard p {
  margin: 0;
  font-size: 13px;
  color: rgba(244, 246, 255, 0.8);
  line-height: 1.5;
}

@media (max-width: 780px) {
  .howTo {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .howTitle {
    font-size: 18px;
    padding: 9px 18px;
  }
}

@media (min-width: 900px) {
  .howTo {
    margin-top: 14px;
    gap: 48px;
  }

  .howCard {
    padding: 8px 8px 10px;
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.75);
  }

  .howImgWrap {
    border-radius: 10px;
    margin-bottom: 6px;
  }

  .howCard h3 {
    font-size: 13px;
  }

  .howCard p {
    font-size: 12px;
    line-height: 1.4;
  }
}




.top {
  max-width: var(--max);
  margin: 22px auto 0;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.promoBar {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 10px 22px; 
  border-radius: 999px;
  background: var(--igFlat);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 25px rgba(221, 42, 123, 0.4);
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  animation: promoBarFloat 4s ease-in-out infinite;
}


.promoBar::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 50px;
  height: 200%;
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(30deg);
  transition: none;
  animation: promoShine 4s infinite;
}

@keyframes promoShine {
  0% { left: -60%; }
  15%, 100% { left: 120%; }
}

.promoBar:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(221, 42, 123, 0.6);
  filter: brightness(1.1);
}

.promoBar:active {
  transform: translateY(0) scale(0.97);
}

.promoBarMain {
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}


.promoBarMain::before {
  content: "";
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px #fff;
  animation: dotPulse 1.5s infinite;
}

@keyframes dotPulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}

.promoBarSub {
  font-size: 11px;
  opacity: 0.85;
  font-weight: 500;
  margin-top: 1px;
}

@keyframes promoBarFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@media (max-width: 620px) {
  .promoBar {
    width: 100%;
    align-items: center;
    padding: 12px 16px;
  }
}



#resultPanel {
  text-align:center;
}

#resultPanel .panelHead {
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
}

#resultPanel .metaRow {
  justify-content:center;
}

#resultPanel .panelActions {
  width:100%;
  display:flex;
  justify-content:center;
}

#resultPanel .grid {
  justify-items:center;
}

#resultPanel .cardBody {
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap:8px;
}

#resultPanel .cardLeft {
  align-items:center;
}
 
#resultPanel .captionBox {
  text-align:center;
}

#resultPanel .capHead {
  justify-content:center;
  gap:10px;
}


.heroPromo{margin:18px auto 0;max-width:420px;padding:10px 18px;border-radius:999px;background:linear-gradient(90deg,var(--ig3),var(--ig4));color:#fff;text-decoration:none;display:flex;flex-direction:column;align-items:center;gap:3px;text-align:center;font-size:13px;transition:transform .12s ease,box-shadow .12s ease,filter .12s ease;box-shadow:0 10px 26px rgba(0,0,0,.55);animation:heroPromoPulse 2.4s ease-in-out infinite}
.heroPromoMain{font-weight:900;letter-spacing:.3px;font-size:14px}
.heroPromoSub{opacity:.9;font-size:12px}
.heroPromo:hover{transform:translateY(-3px) scale(1.01);filter:brightness(1.03);box-shadow:0 14px 32px rgba(0,0,0,.6)}
.heroPromo:active{transform:translateY(0) scale(.97)}
@keyframes heroPromoPulse{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-4px) scale(1.01)}}



#mediaGrid {
  max-width: 960px;
  margin: 10px auto 0;
  justify-items: center;
}

#mediaGrid .card {
  width: 100%;
}

@media (min-width: 720px) {
  #mediaGrid .card {
    max-width: 460px;
  }
}

@media (min-width: 980px) {
  #mediaGrid .card {
    max-width: 360px;
  }
}
.siteFooter {
    margin-top: 60px;
    padding: 40px 20px 30px;
    background: var(--surface2);
    border-radius: var(--radius2) var(--radius2) 0 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.4);
}

.footerContent {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footerLinks {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footerInfo {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 300px;
}

.footerLogo {
    width: 36px;
    height: 36px;
    background: var(--igFlatSoft);
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 14px;
}

.footerInfo p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
    margin: 0;
}



.footerLinks a {
    color: var(--text);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    opacity: 0.8;
    transition: opacity 0.2s, color 0.2s;
}

.footerLinks a:hover {
    opacity: 1;
    color: var(--ig2);
}

.footerBottom {
    max-width: var(--max);
    margin: 30px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-size: 12px;
    color: rgba(244, 246, 255, 0.4);
}

/* RESPONSIVE FOOTER */
@media (max-width: 600px) {
    .footerContent {
        flex-direction: column;
        text-align: center;
    }
    
    .footerInfo {
        align-items: center;
        max-width: 100%;
    }

    .footerLinks {
        flex-direction: column;
        gap: 15px;
    }
}
.smart-promo {
    max-width: min(900px, 100%);
    margin: 0 auto;
    background: rgba(35, 39, 69, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    padding: 16px;
    margin-top: 20px;
    position: relative;
    /* display: none;  */
    animation: slideInDown 0.5s cubic-bezier(0.18, 0.89, 0.32, 1.28);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.smart-promo.show {
    display: block;
}

.smart-promo-content {
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.smart-promo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ffcc33, #ffb347);
    border-radius: 12px;
    font-size: 24px;
    position: relative;
    z-index: 1;
    animation: promoIconMaster 2.5s ease-in-out infinite;
    box-shadow: 0 0 0 rgba(255, 204, 51, 0.4);
}

.smart-promo-icon::before {
    content: "";
    position: absolute;
    inset: -4px;
    background: inherit;
    filter: blur(8px);
    opacity: 0.6;
    border-radius: inherit;
    z-index: -1;
    animation: iconGlow 2.5s ease-in-out infinite;
}

@keyframes promoIconMaster {
    0%, 100% { 
        transform: scale(1) rotate(0deg); 
        box-shadow: 0 0 0 0 rgba(255, 204, 51, 0.4);
    }
    10% { 
        transform: scale(1.1) rotate(-10deg); 
    }
    20% { 
        transform: scale(1.1) rotate(10deg); 
    }
    30% { 
        transform: scale(1.1) rotate(-10deg); 
    }
    40% { 
        transform: scale(1.1) rotate(0deg); 
        box-shadow: 0 0 0 15px rgba(255, 204, 51, 0);
    }
    50% { 
        transform: scale(1); 
    }
}

@keyframes iconGlow {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.2); }
}

.smart-promo-info {
    flex-grow: 1;
}

.smart-tag {
    font-size: 10px;
    background: var(--igFlat);
    padding: 2px 8px;
    border-radius: 999px;
    text-transform: uppercase;
    font-weight: 900;
    margin-bottom: 4px;
    display: inline-block;
}

.smart-promo-info h3 a {
    margin: 0;
    font-size: 16px;
    font-weight: 900;
    color: #fff;
}
.smart-promo-info h3{
    margin: 0;
}

.smart-promo-info p {
    margin: 2px 0 0;
    font-size: 13px;
    color: var(--muted);
}

.smart-promo-btn {
    background: var(--igFlat);
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 14px;
    transition: transform 0.2s;
    white-space: nowrap;
}

.smart-promo-btn:hover {
    transform: scale(1.05);
}

.close-promo {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: var(--muted);
    cursor: pointer;
    font-size: 20px;
}

@keyframes slideInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .smart-promo-content { flex-direction: column; text-align: center; }
    .smart-promo-btn { width: 100%; text-align: center; }
}



.lang-selector {
    display: inline-flex;
    align-items: center;
}

.lang-selector select {
    background: #1a1a1a;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 6px 30px 6px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    outline: none;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
}

.lang-selector select option {
    background-color: #1a1a1a;
    color: #ffffff;
}

.lang-selector select:hover {
    background-color: #262626;
    border-color: #dd2a7b;
}

[lang="fa"] body, [lang="ar"] body {
    direction: rtl;
    text-align: right;
}

[lang="fa"] .footerLinks, [lang="ar"] .footerLinks {
    flex-direction: row-reverse;
}

[lang="fa"] .lang-selector select, [lang="ar"] .lang-selector select {
    background-position: left 10px center;
    padding-right: 12px;
    padding-left: 30px;
}

@media (max-width: 768px) {
    .footerContent {
        flex-direction: column;
        text-align: center;
    }
    .footerLinks {
        justify-content: center;
    }
}