@font-face {
    font-family: 'Vazir';
    src: url('../css/fonts/Vazir.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
  }
  
  @font-face {
    font-family: 'Vazir';
    src: url('../css/fonts/Vazir-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
  }
  
@font-face {
  font-family: "Pixelon";
  src: url("../css/fonts/Pixelon.ttf") format("truetype");
}


/* پایه */
body {
    margin: 0;
    font-family: sans-serif;
    background: #000000;
    color: #fff;
    overflow-x: hidden;
    font-family: 'Vazir', sans-serif;
    transition: all 1s ease;
}
  
/* اسکرول‌بار برای Chrome / Edge / Safari */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #000000;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ffffff, #000000);
  border-radius: 10px;
  border: 2px solid #000000;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #494949, #000000);
}

/* اسکرول‌بار برای Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #494949 #000000;
}





  .container {
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;

  }
  
  header {
    background: #000;
    position: sticky;
    top: 0;
    z-index: 11000;
  }
  
  .site-header {
    position: fixed;
    width: 100%;
    background: black;
    z-index: 1000;
  }
  
  /* والد مشترک لوگوها */
  .logo-wrapper {
    position: relative;
    width: max-content;
    height: 90px; /* ارتفاع تقریبی لوگو */
  }
  
  /* نوشته */
  .logo-text {
    font-size: 28px;
    font-weight: bold;
    color: white;
    transition: opacity 0.6s ease;
    position: absolute;
    margin-left: 30px;
    top: 5%;
    white-space: nowrap;
  }
  
  /* لوگوی SVG */
  .logo-svg {
    position: absolute;
    width: 60px;
    height: auto;
    margin-left: 40px;
    top: 15px;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  /* حالت فعال بعد از اسکرول */
  .logo-wrapper.scrolled .logo-text {
    opacity: 0;
    pointer-events: none;
  }
  
  .logo-wrapper.scrolled .logo-svg {
    opacity: 1;
    transform: scale(1);
  }
  
  
  

  

  
  /* حالت دسکتاپ */
  .mobile-menu-side {
    position: fixed;
    top: 50px;
    left: 0;
    height: 100%;
    width: 17%;
    background: #000000;
    z-index: 9999;
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out;
    padding-top: 100px;
    box-shadow: 2px 0 10px rgba(0,0,0,0.5);
  }

  /* حالت موبایل */
  @media (max-width: 769px) {
    .mobile-menu-side {
      width: 90%;
      top: 50px;

    }

  }

  
  .mobile-menu-side.active {
    transform: translateX(0);
  }
  
  .mobile-menu-side ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .mobile-menu-side ul li {
    margin: 16px 0;
  }
  
  .mobile-menu-side ul li a {
    display: block;
    padding: 12px 20px;
    color: white;
    font-size: 16px;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
  }
  
  .mobile-menu-side ul li a:hover {
    background-color: rgba(248, 248, 248, 0.1);
  }
  @media (max-width: 769px) {
    .mobile-menu-side ul li a {
      font-size: 20px; /* یا هر سایزی که می‌خوای */
    }
  }
  
  /* Hero Section */
  .hero {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; /* تا h2 و p زیر هم قرار بگیرند */
    text-align: center;
  }
  
  
  .hero h2 {
    font-size: clamp(20px, 5vw, 40px);
    margin-bottom: 20px;
    text-align: center;
  }
  
  
  
  .hero p {
    font-size: 18px;
    margin-bottom: 30px;
  }
  
  button {
    background: #10a37f;
    border: none;
    padding: 12px 24px;
    color: #fff;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
  }
  

  

  

  




  /* دکمه منو با ۹ نقطه */
  .menu-button {
    position: fixed; /* یا absolute */
    top: 16px;        /* فاصله از بالا */
    right: 16px;      /* فاصله از راست */
    z-index: 11000;   /* بالاتر از بقیه */
    width: 32px;
    height: 32px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  
  .dot-grid {
    width: 20px;
    height: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 2px;
    transition: all 0.3s ease-in-out;
  }
  
  .dot-grid span {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #888; /* خاکستری */
    transition: background-color 0.3s ease;
  }
  
  /* هاور روی دکمه */
  .menu-button:hover .dot-grid span {
    background-color: #fff; /* سفید */
  }
  
  /* حالت فعال (منو باز شده) — فقط ۳ نقطه وسط */
  .menu-button.active .dot-grid span {
    opacity: 0;
    transform: scale(0.5);
  }
  
  .menu-button.active .dot-grid span:nth-child(5),
  .menu-button.active .dot-grid span:nth-child(2),
  .menu-button.active .dot-grid span:nth-child(8) {
    opacity: 1;
    transform: scale(1.2);
  }
  




  










  .login-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
  }
  
  
  .login-box {
    display: flex;
    width: 90%;
    border-radius: 12px;
    overflow: hidden;

  }
  
  

  
  .form-container {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: white;
    position: relative;
    direction: rtl;
  }
  
  /* محتوای قابل تغییر */
  .content-switcher {
    /* max-width: 300px; ← این خط رو بردار یا افزایش بده */
    min-height: 180px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;

  }
  
  
  .fade-in {
    opacity: 1;
  }
  
  .fade-out {
    opacity: 0;
  }
  
  .input-wrapper {
    position: relative;
    display: flex;
    justify-content: center; /* مرکز چین افقی */
    align-items: center;     /* مرکز چین عمودی (برای در یک خط بودن) */
    gap: 10px;               /* فاصله بین input و button */
    width: 100%;
    margin-top: 20px;
  }
  
  
  .initial-input {
    width: 50vw;
    padding: 0 20px 0 10px;
    padding-bottom: 30px;
    border-radius: 30px;
    font-size: 16px;
    height: 80px;
    direction: rtl;
    border: none;
    background-color: #424242;
    color: #ffffff;
    font-family: 'Vazir';
    transition: width 1s ease, background-color 1s ease, color 1s ease;
  }
  
  .initial-input.sent {
    width: 25px;
    height: 80px;
    left: 0;
    color: white;
  }
  


  .initial-input {
    border: none;
  }
  
  .initial-input:focus {
    outline: none;
    border: none;
    box-shadow: none;
  }
  

  
  .input-wrapper.centered {
    justify-content: center;
  }
  
  .initial-text {
    transition: opacity 0.4s ease;
    opacity: 1;
    position: absolute;              /* یا relative یا fixed بسته به ساختار */
    left: 50%;
    transform: translateX(-50%);
    margin-top: -50px;
    direction: rtl;

  }
  
  
  .initial-text.fade-out {
    opacity: 0;
  }
  
  .initial-text.fade-in {
    opacity: 1;
  }
  
  
  .send-btn {
    position: absolute;
    top: 80px;
    left: 10px;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    color: #ffffff;
    transition: left 1s ease, top 1s ease, transform 1s ease;

  }
  
  .send-btn svg {
    width: 40px;
    height: auto;
    fill: currentColor;
  }
  .send-btn.centered {
    left: 50%;
    top: 70%;
    transform: translate(-50%, -50%);
  }
  /* این کلاس جدید باعث میشه دکمه بره بالا */
  .send-btn.move-up {
    top: 30%; /* هر چقدر می‌خوای بالا بره */
    transform: translate(-50%, -50%);
  }
  .icon-wrapper {
    display: inline-block;
    transition: opacity 0.4s ease;
  }
  
  .icon-wrapper.fade-out {
    opacity: 0;
  }
  
  .icon-wrapper.fade-in {
    opacity: 1;
  }
  
  /* فرم ورود */
  .login-form {
    width: 300px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;

  }
  
  .login-form input {
    width: 100%;
    padding: 12px;
    border: none;
    background: #222;
    border-radius: 14px;
    color: white;
    font-family: 'Vazir';
  }
  
  .google-btn {
    background: transparent;
    border: 1px solid #f2f2f2;
    width: 325px;
    padding: 10px;
    border-radius: 50px;
    color: white;
    font-family: 'Vazir';
    cursor: pointer;
    transition: all 0.25s ease;
  }
  
  .google-btn:hover {
    background-color: #252525;
  }
  
  /* دکمه ورود اصلی */
  .main-login-btn {
    margin-top: 10px;
    width: 165px;
    height: 50px;
    padding: 10px;
    border-radius: 50px;
    background: transparent;
    color: white;
    font-size: 16px;
    border: 1px solid #f2f2f2;
    cursor: pointer;
    font-family: 'Vazir';
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.6s ease, transform 0.6s ease, width 0.4s ease;
  }
  
  .main-login-btn.expanded {
    width: 325px;
  }
  .main-login-btn.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
  
  .icon-wrapper {
    display: inline-block;
    transition: opacity 0.4s ease;
  }
  
  .icon-wrapper.fade-out {
    opacity: 0;
  }
  
  .icon-wrapper.fade-in {
    opacity: 1;
  }
  
  






  
  
  
  

  
  



  



















  /* وقتی دکمه گسترش پیدا می‌کنه */
  .main-login-btn.expanded-box-center {
    align-items: flex-start; /* محتوا داخل باکس بالا قرار بگیره */
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);


  }




  .main-login-btn {
    transform-origin: center center;
  }


  /* وقتی دکمه گسترش پیدا می‌کنه */
  .main-login-btn.expanded-box {
    height: 500px; /* ارتفاع نهایی */

  }

  /* محتوای بعد از ورود */
  .after-login {
    display: none; 
    flex-direction: column;
    align-items: center;
    gap: 20px;
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    justify-content: center;
    border-radius: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease, transform 0.6s ease-in-out;
  }

  .after-login.active {
    display: flex;
    opacity: 1;
    pointer-events: auto;
  }
  .main-login-btn.expanded-wide {
    width: 120% ;
    height: 120%;
    transition: width 3s ease, height 3s ease;
  }
  .btn-group {
    position: relative;
    height: 300px; /* ارتفاع لازم برای نگه داشتن دکمه‌ها */
    margin-top: 20px;
  }
  
  .btn-group-0 {
    width: 250px;
    z-index: 1000;
    height: 50px;
    border-radius: 50px;
    background: black;
    color: white;
    cursor: pointer;
    font-family: 'Vazir';
    font-size: 1.1rem;
    border: 1px solid #f2f2f2;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0;
    position: absolute;       /* ← همیشه absolute */
    left: 50%;
    transform: translateX(-50%);
    transition: top 2s ease, background 0.6s ease;  /* ← فقط top انیمیت بشه */
  }
  /* موقعیت اولیه هر دکمه */
  .btn-group-0:nth-child(1) { top: 0px; }
  .btn-group-0:nth-child(2) { top: 70px; }
  .btn-group-0:nth-child(3) { top: 140px; }

  /* وقتی stack می‌خوره همه میرن بالا */
  .btn-group-0.stack {
    top: -1200px;
    z-index: 1;
  }

  /* دکمه فعال بالاتر بیاد */
  .btn-group-0.active.stack {
    z-index: 10;
  }

  /* وقتی گزینه فعال است، بالاتر از بقیه بره */
  .btn-group-0.active {
    background: white;
    color: black;
    z-index: 50; /* همیشه روی بقیه باشه */
  }
  .btn-group-0.active.stack {
    z-index: 50; /* فقط وقتی stack هست بالاتر بیاد */
  }
  
  .btn-group-0.active:not(.stack) {
    z-index: 1;
  }
  




  /* login-section تمام صفحه */
  .login-section.fullscreen {
    width: 100% !important;
    height: 600px !important;
    transition: all 0.8s ease;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

  }


  .login-box.fullscreen {
    height: 600px;
    position: relative;
    top: 50%;
    transform: translateY(-50%);

  }
  .user-container {
    position: relative; /* برای موقعیت دهی مطلق تنظیمات و منو */
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .user-avatar {
    margin-top: 70px;
    margin-bottom: 20px;
    opacity: 1;
    transition: opacity 1s ease-in-out;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;

  }


  
  /* آواتار بزرگ → به گوشه بالا چپ بره */
  .user-avatar.big {
    opacity: 0;
    transition: all 0.8s ease;
  }










  #settings-btn {
    position: absolute;
    top: 40px;
    right: 120px; /* بالا سمت چپ آواتار */
    background: none;
    border: none;
    cursor: pointer;
    z-index: 100;
  }

  #settings-icon {
    width: 45px;
    transition: transform 0.5s ease;
  }

  .rotate {
    transform: rotate(90deg);
  }
  
  /* منو گزینه‌ها دقیقاً زیر دکمه */
  #menu-options {
    position: absolute;
    top: 55%; /* پایین دکمه */
    right: 50%;
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 5px;
    background: #000000;
    padding: 1px;
    border-radius: 8px;
    display: none; /* پیشفرض مخفی */
    z-index: 9999;
    width: 110px;
  }

  .menu-option {
    padding: 8px 12px;
    background: #000000;
    color: #fff;
    border: none;
    border: 1px solid #fff;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s;
    font-family: 'Vazir';
    font-size: 14px;

  }

  .menu-option:hover {
    background: #ffffff;
    color:#000;
  }
  
  /* اورلی و پنل */
  #overlayy {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,1);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s;
    z-index: 999999;

  }
  
  #panell {
    background: #000;
    color: #fff;
    width: 10%;
    height: 10%;
    transition: all 1s ease;
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-left: 1px solid #fff;
    border-top: 1px solid #fff;

  }
  
  /* محتوای پنل */
  #panel-contentt {
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-bottom: 1px solid #fff;
    border-left: 1px solid #fff;
    width: 70%;
    height: 70%;
    border-radius: 25px;
    z-index: 9999999 ;


  }
  
  /* دکمه بستن */
  #close-btnn {
    position: absolute;
    top: 0;
    right: 15px;
    font-size: 54px;
    cursor: pointer;
    user-select: none;

  }


  /* استایل باکس اسکرول‌پذیر */
  .finance-data-box {
    height: 60%;
    width: 100%;                 /* ارتفاع دلخواه */
    overflow-y: auto;              /* اسکرول عمودی */
    display: flex;
    align-items: center;           /* مرکز عمودی */
    justify-content: center;       /* مرکز افقی */
    text-align: center;
    color: #fff;
    background: transparent;   /* پس‌زمینه نیمه‌شفاف */
    border-radius: 8px;
    padding: 10px;
  }




  .pwd-form {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    width: 90%;
    height: 70%;
    overflow-y: auto;
    margin-top: 1rem;
    font-family: 'Vazir';
    align-items: center;   /* افقی وسط */
  }
  .pwd-form label {
    font-size: 0.9rem;
    font-family: 'Vazir';
  }
  .pwd-form input {
    padding: 0.5rem;
    border: 1px solid #ffffff;
    border-radius: 25px;
    background: transparent;
    color: #fff;
    font-family: 'Vazir';
    max-width: 50%;

  }
  .pwd-form button {
    padding: 8px 52px;
    background: #000000;
    border: 1px solid #fff;
    border-radius: 25px;
    color: #fff;
    cursor: pointer;
    font-family: 'Vazir';
    transition: background 0.4s ease, color 0.4s ease;
  }

  .pwd-form button:hover {
    background: #fff;
    color: #000;

  }

























  


  .section-content {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 10px;
    top: 50%;
    transform: translateY(-55%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease; /* محو/نمایان روان */
  }
  
  .section-content.show {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease; /* محو/نمایان روان */

  }
  
  #content-box {
    position: relative;
    width: 100%;
    min-height: 300px;
    margin-top: 30px;
    color: white;

  }
  
  textarea, input, select {
    padding: 5px;
    margin-bottom: 10px;
    width: 80%;
    border-radius: 5px;
    border: 1px solid #ccc;
  }
  
  button {
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
    border: none;
    background: #333;
    color: white;
  }
  
  .charts {
    display: flex;
    gap: 20px;
    margin-top: 10px;
  }
  
  .chart {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: #444;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .image-carousel {
    display: flex;
    align-items: center;
    margin-top: 10px;
  }
  
  .carousel-window {
    width: 240px;
    height: 250px;
    overflow: hidden;
    border: 1px solid #fff;
    border-radius: 5px;
    margin: 0 5px;
  }
  
  .carousel-track {
    display: flex;
    transition: transform 0.5s ease;
  }
  
  .carousel-track img {
    width: 100%;
    height: auto;
  }
  
  .carousel-btn {
    background: #000000;
    border: solid 1px white;
    color: white;
    border-radius: 50%;
    width: 50px;
    font-size: 1.5rem;
    height: 50px;
    margin: 20px;
  }
  


  /* دکمه خروج/بازگشت */
  .exit-btn {
    position: absolute;
    width: 200px;
    height: 40px;
    top: 250px;   /* موقعیت اولیه */
    left: 50%;
    transform: translateX(-50%);
    border-radius: 50px;
    background: transparent;
    border: 1px solid white;
    cursor: pointer;
    z-index: 20;
    font-family: 'Vazir';
    font-size: 1rem;
    color: white;
    display: flex;  
    align-items: center; 
    justify-content: center; /* وسط‌چین افقی */ 
    text-align: center; /* متن وسط */
    transition: top 2s ease, background 0.8s ease, color 0.4s ease;
  }

  /* وقتی به حالت "بازگشت" میره */
  .exit-btn.back-mode {
    top: 1200px;   /* 100px پایین‌تر بیاد */
    background: black;
  }







  .charts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    justify-items: center;
    margin-top: 20px;
  }
  
  .chart-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
  }
  
  .semicircle {
    width: 120px;
    height: 60px;
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
    border: 4px solid white; /* نیم‌دایره توخالی با border سفید */
    border-bottom: none;
    position: relative;
    background: transparent;
  }
  
  .percent-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, 20%);
    font-weight: bold;
    font-size: 1rem;
    color: white;
  }
  
  .arrow {
    position: absolute;
    top: -12px;  /* بالای نیم‌دایره */
    left: 50%;
    width: 0; 
    height: 0; 
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 12px solid yellow; /* فلش به سمت پایین */
    transform-origin: bottom center;
    transform: translateX(-50%) rotate(0deg); /* JS مقدار درصدش را rotate می‌کند */
  }
  





  .pay-button-wrapper {
    text-align: center;
    margin-top: 20px;
  }
  
  #pay-button {
    width: 200px;
    height: 40px;
    border-radius: 50px;
    background: transparent;
    border: 1px solid white;
    cursor: pointer;
    z-index: 20;
    font-family: 'Vazir';
    font-size: 1rem;
    color: white;
    display: flex;  
    align-items: center; 
    justify-content: center; /* وسط‌چین افقی */ 
    text-align: center; /* متن وسط */
  }
  
  
  
  #content-text {
    border-radius: 50px;
    border: 1px solid white;
    background: transparent;
    color: white;
    font-family: 'Vazir';
    font-size: 0.9rem;
    display: flex;  
    align-items: center; 
    justify-content: center; /* وسط‌چین افقی */ 
    direction: rtl;
    height: 25px;
    margin: auto;
    padding: 10px 15px; /* فاصله متن و placeholder از گوشه‌ها */
  }

  #submit-content {
    width: 200px;
    height: 40px;
    margin-top: 10px;
    margin-bottom: 20px;
    border-radius: 50px;
    background: transparent;
    border: 1px solid white;
    cursor: pointer;
    z-index: 20;
    font-family: 'Vazir';
    font-size: 1rem;
    color: white;
    display: flex;  
    align-items: center; 
    justify-content: center; /* وسط‌چین افقی */ 
    text-align: center; /* متن وسط */
  }


















  


  #assistant-content {
    flex-direction: column;
    padding: 20px;
    color: white;
    font-family: 'Vazir';
    width: 80%;
    margin: auto;
    top: 50%;
    transform: translateY(-60%);
    z-index: 1000;
    direction: rtl;
  }
  
  .custom-select {
    position: relative;
    width: 100%;
  }
  
  .custom-select .selected {
    padding: 10px 15px;
    border-radius: 12px;
    border: 1px solid white;
    background: transparent;
    color: #aaa;
    cursor: pointer;
  }
  
  .custom-select.active .selected {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
  
  .custom-select .options {
    display: none;
    position: absolute;
    width: 100%;
    background: #222;
    border: 1px solid white;
    border-top: none;
    border-radius: 0 0 12px 12px;
    z-index: 10;
  }
  
  .custom-select .options div {
    padding: 10px;
    cursor: pointer;
    color: white;
  }
  
  .custom-select .options div:hover {
    background: #444;
  }
  
  .custom-select.active .options {
    display: block;
  }
  
  .custom-select.chosen .selected {
    color: white;
  }
  
  


  .custom-dropdown {
    position: relative;
    width: 100%;
    margin-bottom: 15px;
    font-family: 'Vazir';
    color: white;
  }
  
  .dropdown-selected {
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid white;
    cursor: pointer;
    
  }
  
  .dropdown-items {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, #000000, #161616);
    border-radius: 0px 0px 22px 22px;
    display: none;
    z-index: 1000;
  }
  
  .dropdown-items div {
    padding: 10px;
    cursor: pointer;
  }
  
  .dropdown-items div:hover {
    background: #1a1a1a;
    
  }
  

  #brand-tone {
    width: 100%;
    border-radius: 50px;
    border: 1px solid white;
    background: transparent;
    font-family: 'Vazir';
    font-size: 1rem;
    cursor: text;
    box-sizing: border-box; /* مهم برای هماهنگی width */
    padding: 10px 20px;
    color: white;
    margin-bottom: -1px;
  }
  

  #register-tone {
    width: 200px;
    height: 40px;
    margin-top: 20px;
    margin-bottom: 0px;
    border-radius: 50px;
    background: transparent;
    border: 1px solid white;
    cursor: pointer;
    z-index: 20;
    font-family: 'Vazir';
    font-size: 1rem;
    color: white;
    display: flex;  
    align-items: center; 
    justify-content: center; /* وسط‌چین افقی */ 
    text-align: center; /* متن وسط */
  }



  #comment-system {
    width: 200px;
    height: 40px;
    margin-top: 20px;
    margin-bottom: -50px;
    border-radius: 50px;
    background: transparent;
    border: 1px solid white;
    cursor: pointer;
    z-index: 20;
    font-family: 'Vazir';
    font-size: 1rem;
    color: white;
    display: flex;  
    align-items: center; 
    justify-content: center; /* وسط‌چین افقی */ 
    text-align: center; /* متن وسط */
  }







































  .pricing-promo {
    padding: 40px 20px;
    display: flex;
    justify-content: center;
  }
  
  .promo-box {
    background: #222;
    border-radius: 5px;
    padding: 24px;
    max-width: 800px;
    width: 95%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: hidden;
    transition: max-height 2s ease,max-width 2s ease ;
    max-height: 130px; /* ارتفاع اولیه بدون پلن‌ها */
  }



  .promo-box.expand {
    max-height: 2000px; /* ارتفاع نهایی با پلن‌ها */
    max-width: 1000px;

  }
  
  .plans-container {
    display: flex;
    flex-wrap: wrap; 
    align-items: stretch; /* این لازمه */
    gap: 16px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    margin-top: 20px;
    pointer-events: none;
    align-items: stretch;
    justify-content: center; /* باکس‌ها در وسط قرار بگیرن وقتی کم می‌شن */
  }
  
  
  
  .plans-container.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
  }
  
  .plan-box {
    background: transparent;
    color: white;
    flex: 1 1 240px; /* flex-grow, flex-shrink, flex-basis */
    min-width: 240px; /* حداقل عرض برای جلوگیری از خیلی کوچیک شدن */
    max-width: 240px; /* حداکثر عرض برای تعادل بهتر */
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    transition: transform 2s ease, width 0.3s ease;
    will-change: transform;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

  }
  
  .price {
    font-weight: bold;
    font-size: 18px;
    margin-top: 10px;
  }
  
  

  
  .buy-btn {
    background-color: #424242;
    color: white;
    padding: 7px 20px;
    width: 50px; /* ← یا مقدار ثابت مثل 80px */
    border-radius: 50px;
    text-decoration: none;
    display: block;       /* برای اعمال margin */
    margin: 10px auto 0;  /* ← بالا: 10px، چپ و راست: auto برای وسط‌چینی */
    transition: background-color 0.3s ease;
  }
  
  
  .buy-btn:hover {
    background-color: #505050;
  }
  









  .promo-btn {
    background-color: #424242;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 16px;
    text-decoration: none;
    white-space: nowrap;
    align-self: flex-end;
    direction: rtl;
    position: relative;
    transition: box-shadow 0.15s ease, transform 0.15s ease;
    animation: promoPulse 5s infinite;
    transform-origin: center;
    animation-play-state: running;
    z-index: 11002;
    opacity: 0;


  }

  /* نمایش دکمه */
  .promo-btn.visible {
    opacity: 1;
  }
  @keyframes promoPulse {
    0% { transform: scale(1); }

    10% { transform: scale(1); }
    50% { transform: scale(1.25); }

    51% { transform: scale(1); }
    53% { transform: scale(1.09); }
    54% { transform: scale(1); }
    55% { transform: scale(1.06); }
    56% { transform: scale(1); }

    100% { transform: scale(1); }
  }

  /* وقتی ماوس روی دکمه است */
  .promo-btn:hover {
    animation-play-state: paused;
    transform: scale(1);
    animation: none; /* کاملاً انیمیشن را متوقف می‌کنیم */

  }


  
  /* کلیک */
  .promo-btn:active {
    transform: translateY(3px) scale(0.98);
    box-shadow:
      0 2px 8px rgba(255, 255, 255, 0.2);
    animation-play-state: paused;

  }
  .promo-btn.fade-out {
    opacity: 0;
  }
  .promo-text {
    direction: rtl;
    align-self: flex-end;
    text-align: right;
    display: inline-block;
    
  }
  
  /* هر کلمه */
  .promo-text span {
    display: inline-block;
    animation: wordFloat 5s infinite ease-in-out;
  }
  
  /* انیمیشن متن */
  @keyframes wordFloat {
    0% {
      transform: translateY(0);
    }
  
    /* تا پایان انیمیشن دکمه */
    53% {
      transform: translateY(0);
    }
  
    /* شروع متن دقیقاً بعد از دکمه */
    54% {
      transform: translateY(var(--offset));
    }
  
    56% {
      transform: translateY(0);
    }
  
    /* مکث */
    100% {
      transform: translateY(0);
    }
  }
  
  /* توقف انیمیشن دکمه */
  .promo-btn:hover,
  .promo-btn:active {
    animation-play-state: paused;
  }

  /* وقتی دکمه hover یا active است، انیمیشن متن متوقف شود */
  .promo-box:has(.promo-btn:hover) .promo-text span,
  .promo-box:has(.promo-btn:active) .promo-text span {
    animation-play-state: paused;
  }



  /* حالت بدون انیمیشن */
  .promo-text.no-animation span {
    animation: none !important;
  }

  /* حالت بدون انیمیشن */
  .promo-text.add-animation span {
    animation-play-state: running;

  }

  /* ترنزیشن متن */
  .promo-text {
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

  .promo-text.fade-out {
    opacity: 0;
    transform: translateY(6px);
  }

  .promo-text.fade-in {
    opacity: 1;
    transform: translateY(0);
  }


  

  .feature {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-size: 14px;
    direction: rtl;
  }
  .icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }
  
  
  
  .check {
    color: white; /* رنگ تیک سفید */
  }


  .feature::before {
    content: "✓";
    color: #fff;
  }
  .feature.disabled {
    opacity: 0.4;
  }
  .feature.disabled::before {
    content: "✕";
    color: #aaa;
  }

































  
  .gallery-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 0 auto;
    max-width: 1000px; /* اختیاری برای محدود کردن */
  }
  
  
  
  
  
  .gallery-item {
    border-radius: 10px;
    overflow: hidden;
    width: 200px;
    height: 170px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
  }
  
  .gallery-item:hover {
    transform: scale(1.03);
  }
  
  .gallery-item img {
    width: 100px;
    height: auto;
    object-fit: cover;
    display: block;
  }
  
  .like-count {
    color: #fff;
    padding: 5px;
    font-size: 22px;
    width: 100%;
    text-align: center;
  }
  









  .ai-admin-section {
    padding: 10px 20px;
    text-align: center;
    margin-top: 5%;
    margin-bottom: -3%;
  }
  
  .ai-admin-container {
    max-width: 600px;
    margin: 0 auto;
    display: block; /* مهم: flex نباشه */
  }
  
  .ai-admin-title {
    font-size: 28px;
    color: #fff;
    margin-bottom: 20px;
  }
  
  .ai-admin-text {
    font-size: 20px;
    color: #fff;
    direction: rtl;
    line-height: 1.8;
  }
  
  







  .site-footer {
    background-color: #000000;
    padding: 60px 20px;
    text-align: center;
    color: #ccc;
  }
  
  .footer-links {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
  }
  
  .link-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
  
  .link-row a {
    color: #aaa;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
  }
  
  .link-row a:hover {
    color: #fff;
  }
  
  .footer-contact p {
    margin: 4px 0;
    font-size: 14px;
    color: #aaa;
  }
  
  .footer-socials {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
  }
  
  .footer-socials a img {
    width: 24px;
    height: 24px;
    filter: grayscale(100%) brightness(0.7);
    transition: filter 0.3s;
  }
  
  .footer-socials a:hover img {
    filter: grayscale(0%) brightness(1.2);
  }
  






















  .responsive-box {
    position: relative;
    width: 80vw;
    max-width: 800px;
    min-width: 300px;
    aspect-ratio: 16 / 9;
    background-color: transparent;
    margin: 50px auto;
  }
  
  /* خط بالا */
  .line-top {
    position: absolute;
    top: 10%;
    width: 100%;
    height: auto;
  }
  
  /* خط پایین‌تر */
  .line-bottom {
    position: absolute;
    top: 12%;
    width: 100%;
    height: auto;
  }
  
  /* کنترل در پایین باکس وسط‌چین */
  .control-icon {
    position: absolute;
    top: 10%;
    left: 22%;
    transform: translateX(-50%);
    height: 30%;
    width: auto;
  }

  .lifter-wheel {
    position: absolute;
    top: 10%;
    left: 74.80%;
    transform: translateX(-50%);
    height: 15.8%;
    width: auto;
    will-change: transform;
    z-index: 10;
    animation: wheelSequence 12s ease-in-out infinite 9s; /* تاخیر 0.5 ثانیه */
  }
  
  .lifter-arm {
    position: absolute;
    top: 12%;
    left: 74.25%;
    transform: translateX(-50%);
    height: 28%;
    width: auto;
    will-change: transform;
    z-index: 9;
    animation: armSequence 12s ease-in-out infinite 9s; /* تاخیر 0 ثانیه */
  }
  
  /* بازو: پایین 50px → مکث → بالا → مکث 0.5s → راست 200px → مکث → برگشت */
  @keyframes armSequence {
    0% {
      transform: translateX(0) translateY(0);
    }
    5% {
      transform: translateX(0) translateY(48%);
    }
    15% {
      transform: translateX(0) translateY(48%);
    }
    25.5% {
      transform: translateX(0) translateY(0);
    }
    35% {
      transform: translateX(0) translateY(0);
    }
    44% {
      transform: translateX(158%) translateY(0);
    }
    44% {
      transform: translateX(158%) translateY(0);
    }
    48.889% {
      transform: translateX(0) translateY(0);
    }
    100% {
      transform: translateX(0) translateY(0);
    }
  }
  
  @keyframes wheelSequence {
    0% {
      transform: translateX(0) translateY(0);
    }
    25.5% {
      transform: translateX(0) translateY(0);
    }
    35% {
      transform: translateX(0) translateY(0);
    }
    44% {
      transform: translateX(182%) translateY(0);
    }
    44% {
      transform: translateX(182%) translateY(0);
    }
    48.889% {
      transform: translateX(0) translateY(0);
    }
    100% {
      transform: translateX(0) translateY(0);
    }
  }

  



















  

  .input-box-1, .input-box-2, .input-box-3, .input-box-4, .input-box-5 {
    position: absolute;
    top: 45.5%;
    height: 11%; /* یا هر ارتفاع دلخواه، بهتر از درصد برای کنترل دقیق */
    width: auto;
    z-index: 10;
    opacity: 0;
    animation-fill-mode: forwards;
  }
  
  .input-box-1 { animation-name: animBox1; animation-delay: 0s; }
  .input-box-2 { animation-name: animBox2; animation-delay: 2s; }
  .input-box-3 { animation-name: animBox3; animation-delay: 4s; }
  .input-box-4 { animation-name: animBox4; animation-delay: 6s; }
  .input-box-5 { animation-name: animBox4; animation-delay: 8s; }


  .input-box-1, .input-box-2, .input-box-3, .input-box-4, .input-box-5 {
    animation-duration: 10s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
  }

  @keyframes animBox1 {
    0%   { opacity: 0; transform: translateX(130%); }
    10%  { opacity: 1; transform: translateX(130%); }
    20%  { opacity: 1; transform: translateX(230%); }
    30%  { opacity: 1; transform: translateX(230%); }
    40%  { opacity: 1; transform: translateX(330%); }
    50%  { opacity: 1; transform: translateX(330%); }
    60%  { opacity: 1; transform: translateX(430%); }
    70%  { opacity: 1; transform: translateX(430%); }
    80%  { opacity: 1; transform: translateX(530%); }
    90%  { opacity: 1; transform: translateX(530%); }
    99%  { opacity: 1; transform: translateX(530%); }
    100% { opacity: 0; transform: translateX(530%); }
  }
  
  @keyframes animBox2 {
    0%   { opacity: 0; transform: translateX(130%); }
    10%  { opacity: 1; transform: translateX(130%); }
    20%  { opacity: 1; transform: translateX(230%); }
    30%  { opacity: 1; transform: translateX(230%); }
    40%  { opacity: 1; transform: translateX(330%); }
    50%  { opacity: 1; transform: translateX(330%); }
    60%  { opacity: 1; transform: translateX(430%); }
    70%  { opacity: 1; transform: translateX(430%); }
    80%  { opacity: 1; transform: translateX(530%); }
    90%  { opacity: 1; transform: translateX(530%); }
    99%  { opacity: 1; transform: translateX(530%); }
    100% { opacity: 0; transform: translateX(530%); }
  }
  
  @keyframes animBox3 {
    0%   { opacity: 0; transform: translateX(130%); }
    10%  { opacity: 1; transform: translateX(130%); }
    20%  { opacity: 1; transform: translateX(230%); }
    30%  { opacity: 1; transform: translateX(230%); }
    40%  { opacity: 1; transform: translateX(330%); }
    50%  { opacity: 1; transform: translateX(330%); }
    60%  { opacity: 1; transform: translateX(430%); }
    70%  { opacity: 1; transform: translateX(430%); }
    80%  { opacity: 1; transform: translateX(530%); }
    90%  { opacity: 1; transform: translateX(530%); }
    99%  { opacity: 1; transform: translateX(530%); }
    100% { opacity: 0; transform: translateX(530%); }
  }
  @keyframes animBox4 {
    0%   { opacity: 0; transform: translateX(130%); }
    10%  { opacity: 1; transform: translateX(130%); }
    20%  { opacity: 1; transform: translateX(230%); }
    30%  { opacity: 1; transform: translateX(230%); }
    40%  { opacity: 1; transform: translateX(330%); }
    50%  { opacity: 1; transform: translateX(330%); }
    60%  { opacity: 1; transform: translateX(430%); }
    70%  { opacity: 1; transform: translateX(430%); }
    80%  { opacity: 1; transform: translateX(530%); }
    90%  { opacity: 1; transform: translateX(530%); }
    99%  { opacity: 1; transform: translateX(530%); }
    100% { opacity: 0; transform: translateX(530%); }
  }  
  @keyframes animBox5 {
    0%   { opacity: 0; transform: translateX(130%); }
    10%  { opacity: 1; transform: translateX(130%); }
    20%  { opacity: 1; transform: translateX(230%); }
    30%  { opacity: 1; transform: translateX(230%); }
    40%  { opacity: 1; transform: translateX(330%); }
    50%  { opacity: 1; transform: translateX(330%); }
    60%  { opacity: 1; transform: translateX(430%); }
    70%  { opacity: 1; transform: translateX(430%); }
    80%  { opacity: 1; transform: translateX(530%); }
    90%  { opacity: 1; transform: translateX(530%); }
    99%  { opacity: 1; transform: translateX(530%); }
    100% { opacity: 0; transform: translateX(530%); }
  }  

  
  .output-box-1, .output-box-2, .output-box-3, .output-box-4 {
    position: absolute;
    top: 48%;
    height: 8.5%;
    width: auto;
    z-index: 1;
    opacity: 0;
    animation-duration: 12s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-fill-mode: forwards;
  }
  
  /* جای اولیه‌شون */
  .output-box-1 {
    left: 66%;
    animation-name: animOutput1;
    animation-delay: 0s;
  }
  
  .output-box-2 {
    left: 66%;
    animation-name: animOutput2;
    animation-delay: 2.4s;
  }

  .output-box-3 {
    left: 66%;
    animation-name: animOutput3;
    animation-delay: 4.8s;
  }

  .output-box-4 {
    left: 66%;
    animation-name: animOutput4;
    animation-delay: 7.2s;
  }




  @keyframes animOutput1 {
    0% {
      opacity: 0;
      transform: translateX(-200%);
    }
    10% {
      opacity: 1;
      transform: translateX(-200%);
    }
    20% {
      opacity: 1;
      transform: translateX(-100%);
    }
    30% {
      opacity: 1;
      transform: translateX(-100%);
    }
    40% {
      opacity: 1;
      transform: translateX(30%);
    }
    50% {
      opacity: 1;
      transform: translateX(30%);
    }
    60% {
      opacity: 1;
      transform: translateX(180%);
    }
    70% {
      opacity: 1;
      transform: translateX(180%);
    }
  
    /* تغییر زاویه بین 80% تا 90% */
    80% {
      opacity: 1;
      transform: translateX(300%) rotate(0deg);
    }
    82% {
      opacity: 1;
      transform: translateX(300%) rotate(5deg);
    }
    88% {
      opacity: 1;
      transform: translateX(300%) rotate(5deg);
    }
    89% {
      opacity: 1;
      transform: translateX(305%) rotate(10deg); /* اینجا زاویه تغییر می‌کنه */
    }
    90% {
      opacity: 1;
      transform: translate(310%, 10%) rotate(20deg); /* اینجا زاویه تغییر می‌کنه */
    }
    91% {
      opacity: 1;
      transform: translate(360%, 10%) rotate(30deg); /* اینجا زاویه تغییر می‌کنه */
    }
    92% {
      opacity: 1;
      transform: translate(385%, 20%) rotate(40deg); /* اینجا زاویه تغییر می‌کنه */
    }
    94% {
      opacity: 1;
      transform: translate(480%, 300%) rotate(45deg); /* اینجا زاویه تغییر می‌کنه */
    }
    96% {
      opacity: 1;
      transform: translate(480%, 300%) rotate(45deg); /* اینجا زاویه تغییر می‌کنه */
    }
  
    99% {
      opacity: 0;
      transform: translate(480%, 300%) rotate(45deg); /* اینجا زاویه تغییر می‌کنه */
    }
    100% {
      opacity: 0;
      transform: translateX(0%) rotate(0deg);
    }
  }
  
  
  
  @keyframes animOutput2 {
    0%   { opacity: 0; transform: translateX(-200%); }
    10%  { opacity: 1; transform: translateX(-200%); }
    20%  { opacity: 1; transform: translateX(-100%); }
    30%  { opacity: 1; transform: translateX(-100%); }
    40%  { opacity: 1; transform: translateX(30%); }
    50%  { opacity: 1; transform: translateX(30%); }
    60%  { opacity: 1; transform: translateX(180%); }
    70%  { opacity: 1; transform: translateX(180%); }
    80%  { opacity: 1; transform: translate(180%, -160%); }
    90%  { opacity: 1; transform: translate(180%, -160%); }
    99%  { opacity: 1; transform: translate(400%, -160%); }
    100% { opacity: 0; transform: translate(400%, -160%); }
  }

  @keyframes animOutput3 {
    0% {
      opacity: 0;
      transform: translateX(-200%);
    }
    10% {
      opacity: 1;
      transform: translateX(-200%);
    }
    20% {
      opacity: 1;
      transform: translateX(-100%);
    }
    30% {
      opacity: 1;
      transform: translateX(-100%);
    }
    40% {
      opacity: 1;
      transform: translateX(30%);
    }
    50% {
      opacity: 1;
      transform: translateX(30%);
    }
    60% {
      opacity: 1;
      transform: translateX(180%);
    }
    70% {
      opacity: 1;
      transform: translateX(180%);
    }
  
    /* تغییر زاویه بین 80% تا 90% */
    80% {
      opacity: 1;
      transform: translateX(300%) rotate(0deg);
    }
    82% {
      opacity: 1;
      transform: translateX(300%) rotate(5deg);
    }
    88% {
      opacity: 1;
      transform: translateX(300%) rotate(5deg);
    }
    89% {
      opacity: 1;
      transform: translateX(305%) rotate(10deg); /* اینجا زاویه تغییر می‌کنه */
    }
    90% {
      opacity: 1;
      transform: translate(310%, 10%) rotate(20deg); /* اینجا زاویه تغییر می‌کنه */
    }
    91% {
      opacity: 1;
      transform: translate(360%, 10%) rotate(30deg); /* اینجا زاویه تغییر می‌کنه */
    }
    92% {
      opacity: 1;
      transform: translate(385%, 20%) rotate(40deg); /* اینجا زاویه تغییر می‌کنه */
    }
    94% {
      opacity: 1;
      transform: translate(480%, 300%) rotate(45deg); /* اینجا زاویه تغییر می‌کنه */
    }
    96% {
      opacity: 1;
      transform: translate(480%, 300%) rotate(45deg); /* اینجا زاویه تغییر می‌کنه */
    }
  
    99% {
      opacity: 0;
      transform: translate(480%, 300%) rotate(45deg); /* اینجا زاویه تغییر می‌کنه */
    }
    100% {
      opacity: 0;
      transform: translateX(0%) rotate(0deg);
    }
  }

  @keyframes animOutput4 {
    0% {
      opacity: 0;
      transform: translateX(-200%);
    }
    10% {
      opacity: 1;
      transform: translateX(-200%);
    }
    20% {
      opacity: 1;
      transform: translateX(-100%);
    }
    30% {
      opacity: 1;
      transform: translateX(-100%);
    }
    40% {
      opacity: 1;
      transform: translateX(30%);
    }
    50% {
      opacity: 1;
      transform: translateX(30%);
    }
    60% {
      opacity: 1;
      transform: translateX(180%);
    }
    70% {
      opacity: 1;
      transform: translateX(180%);
    }
  
    /* تغییر زاویه بین 80% تا 90% */
    80% {
      opacity: 1;
      transform: translateX(300%) rotate(0deg);
    }
    82% {
      opacity: 1;
      transform: translateX(300%) rotate(5deg);
    }
    88% {
      opacity: 1;
      transform: translateX(300%) rotate(5deg);
    }
    89% {
      opacity: 1;
      transform: translateX(305%) rotate(10deg); /* اینجا زاویه تغییر می‌کنه */
    }
    90% {
      opacity: 1;
      transform: translate(310%, 10%) rotate(20deg); /* اینجا زاویه تغییر می‌کنه */
    }
    91% {
      opacity: 1;
      transform: translate(360%, 10%) rotate(30deg); /* اینجا زاویه تغییر می‌کنه */
    }
    92% {
      opacity: 1;
      transform: translate(385%, 20%) rotate(40deg); /* اینجا زاویه تغییر می‌کنه */
    }
    94% {
      opacity: 1;
      transform: translate(480%, 300%) rotate(45deg); /* اینجا زاویه تغییر می‌کنه */
    }
    96% {
      opacity: 1;
      transform: translate(480%, 300%) rotate(45deg); /* اینجا زاویه تغییر می‌کنه */
    }
  
    99% {
      opacity: 0;
      transform: translate(480%, 300%) rotate(45deg); /* اینجا زاویه تغییر می‌کنه */
    }
    100% {
      opacity: 0;
      transform: translateX(0%) rotate(0deg);
    }
  }
  

  /* کنترل در پایین باکس وسط‌چین */
  .main-machine {
    position: absolute;
    top: 34%;
    left: 50%;
    transform: translateX(-50%);
    height: 50%;
    width: auto;
    z-index: 10;
  }

  @keyframes rotateGear {
    from {
      transform: translateX(-50%) rotate(0deg);
    }
    to {
      transform: translateX(-50%) rotate(360deg);
    }
  }
  
  .gear-1 {
    position: absolute;
    top: 45%;
    left: 52%;
    transform: translateX(-50%);
    height: 10%;
    width: auto;
    z-index: 11;
    animation: rotateGear 10s linear infinite;
  }
  

  @keyframes rotateGearReverse {
    from {
      transform: translateX(-50%) rotate(0deg);
    }
    to {
      transform: translateX(-50%) rotate(-360deg);
    }
  }
  .gear-2 {
    position: absolute;
    top: 43.9%;
    left: 48%;
    transform: translateX(-50%);
    height: 8%;
    width: auto;
    z-index: 11;
    animation: rotateGearReverse 8s linear infinite;
  }
    
  

  .gear-3 {
    position: absolute;
    top: 51%;
    left: 48.9%;
    transform: translateX(-50%);
    height: 5%;
    width: auto;
    z-index: 11;
    animation: rotateGear 4s linear infinite;
  }
  

  .small-gear-1 {
    position: absolute;
    top: 56.5%;
    left: 15.7%;
    transform: translateX(-50%);
    height: 7%;
    width: auto;
    z-index: 11;
  }

  .small-gear-2 {
    position: absolute;
    top: 56.5%;
    left: 20.7%;
    transform: translateX(-50%);
    height: 7%;
    width: auto;
    z-index: 11;
  }

  .small-gear-3 {
    position: absolute;
    top: 56.5%;
    left: 25.7%;
    transform: translateX(-50%);
    height: 7%;
    width: auto;
    z-index: 11;
  }

  .small-gear-4 {
    position: absolute;
    top: 56.5%;
    left: 30.7%;
    transform: translateX(-50%);
    height: 7%;
    width: auto;
    z-index: 11;
  }

  .small-gear-5 {
    position: absolute;
    top: 56.5%;
    left: 35.7%;
    transform: translateX(-50%);
    height: 7%;
    width: auto;
    z-index: 11;
  }

  .small-gear-6 {
    position: absolute;
    top: 56.5%;
    left: 80.4%;
    transform: translateX(-50%);
    height: 7%;
    width: auto;
    z-index: 11;
  }

  .small-gear-7 {
    position: absolute;
    top: 56.5%;
    left: 75.4%;
    transform: translateX(-50%);
    height: 7%;
    width: auto;
    z-index: 11;
  }

  .small-gear-8 {
    position: absolute;
    top: 56.5%;
    left: 70.4%;
    transform: translateX(-50%);
    height: 7%;
    width: auto;
    z-index: 11;
  }

  .small-gear-9 {
    position: absolute;
    top: 56.5%;
    left: 65.4%;
    transform: translateX(-50%);
    height: 7%;
    width: auto;
    z-index: 11;
  }

  .small-gear-10 {
    position: absolute;
    top: 56.5%;
    left: 60.4%;
    transform: translateX(-50%);
    height: 7%;
    width: auto;
    z-index: 11;
  }

  @keyframes rotateGear {
    from {
      transform: translateX(-50%) rotate(0deg);
    }
    to {
      transform: translateX(-50%) rotate(360deg);
    }
  }
  /* پنج تای اول */
  .small-gear-1,
  .small-gear-2,
  .small-gear-3,
  .small-gear-4,
  .small-gear-5 {
    animation: rotateGear1 2s linear infinite;
  }

  @keyframes rotateGear1 {
    0%, 50% {
      transform: rotate(0deg); /* ایست */
    }
    100% {
      transform: rotate(180deg); /* یک چرخش نصفه در یک ثانیه حرکت */
    }
  }

  /* پنج تای دوم */
  .small-gear-6,
  .small-gear-7,
  .small-gear-8,
  .small-gear-9,
  .small-gear-10 {
    animation: rotateGear2 2.4s linear infinite;
  }

  @keyframes rotateGear2 {
    0%, 50% {
      transform: rotate(0deg); /* ۲ ثانیه ایست */
    }
    100% {
      transform: rotate(180deg); /* ۲ ثانیه حرکت */
    }
  }

    
  .video-icon {
    position: absolute;
    top: 38%;
    left: 22%;
    transform: translateX(-50%);
    height: 11%;
    width: auto;
    z-index: 11;
  }
  












































  .animated-section {
    display: flex;
    flex-direction: row-reverse; /* همه چیز به راست میره */
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    flex-wrap: wrap;
    margin-top: 5%;
  }
  
  .text-content {
    flex: 1;
    min-width: 180px;
    margin-top: 20%;
    color: white;
    font-size: 18px;
    line-height: 1.8;
    direction: rtl;
    margin-left: auto; /* این نوشته‌ها رو به سمت چپ می‌بره */
  }
  
  .svg-wrapper {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: auto; /* سایر بخش‌ها رو به سمت راست می‌بره */
  }
  
  .animation-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
  }
  
  .anim {
    position: absolute;
    width: 50%;
    height: auto;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    animation: slideDown 6s linear infinite;
  }
  
  .anim2 {
    animation-delay: 3s;
  }
  
  @keyframes slideDown {
    0%   { top: -100%; }
    50%  { top: 100%; }
    100% { top: 100%; }
  }
  
  .overlay-logo {
    position: absolute;
    z-index: 10;
    top: 200px;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
  }
  
  .main-logo {
    width: 40%;
    height: auto;
  }
  























































  .custom-svg-box {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin: 200px auto; /* اختیاری: وسط‌چین افقی */
    margin-bottom: 500px;
  }

  .custom-svg-box svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .svg-bottom {
    z-index: 1;
    width: 35%;
    height: auto;
  }

  .svg-top {
    width: 25%;
    height: auto;
  }

  .svg-middle {
    z-index: 4;
    margin-left: 2%;
    margin-top: 9.7%;
    width: 55%;
    height: auto;
    pointer-events: none; /* 🔥 خیلی مهم */

  }


  .svg-wrapper-2 {
    transform-origin: center center; /* مرکز wrapper */
    animation: pulse 2s infinite;
    z-index: 3;
    position: relative;
    width: 32%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    left: 36%;
    transform: translateX(-50%);
  }
  
  

  
  @keyframes pulse {
    0%   { transform: scale(1); }
    90%  { transform: scale(1); }
    95%  { transform: scale(1.1); }
    100% { transform: scale(1); }
  }
  


  /* دکمه / متن */
  .income-label {
    position: absolute;
    top: 158%;
    left: 50%;
    transform: translate(-50%, 0);
    width: 160px;
    padding: 10px 24px;
    border-radius: 999px;
    cursor: pointer;
    white-space: nowrap;
    user-select: none;

    z-index: 999999999;
    direction: rtl;

    background: transparent;

    transition:
      opacity 0.4s ease,
      transform 0.4s ease;
  }



  .income-text {
    font-size: clamp(30px, 2vw, 22px);
    font-weight: 700;
  
    background: linear-gradient(
      270deg,
      #000000,
      #000000,
      #ffffff,
      #000000
    );
  
    background-size: 600% 600%;

    -webkit-background-clip: text;
    background-clip: text;
  
    color: transparent;
    -webkit-text-fill-color: transparent;
  
    animation: gradientMove 4s ease infinite;
  }
  


  @keyframes gradientMove {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }
  




















  .video-icon {
    animation: moveDownLoop 2s infinite;
    left: 19%;
    z-index: 9;
  }
  
  @keyframes moveDownLoop {
    0% {
      transform: translateY(0);
      opacity: 1;
    }
    40% {
      transform: translateY(80%);
      opacity: 1;
    }
    45% {
      transform: translateY(80%);
      opacity: 0;
    }
    55% {
      transform: translateY(0);
      opacity: 0;
    }
    60% {
      transform: translateY(0);
      opacity: 0;
    }
    90% {
      transform: translateY(0);
      opacity: 0;
    }
    100% {
      transform: translateY(0);
      opacity: 1;
    }
  }
  






















































  .garbage-icon {
    position: absolute; /* یا fixed */
    z-index: 2000;
    width: 11%;
    height: auto;
    right: 0;
    margin-right: 1%; /* فاصله از راست */
    margin-top: 37%;
    opacity: 1;
  }
  
  .garbage-icon.hide {
    opacity: 0;
  }








  
  .prada-machine {
    position: absolute; /* یا fixed */
    z-index: 200;
    left: 0;
    width: 100%;
    height: auto;
    margin-left: -2%; /* فاصله از راست */
    margin-top: 37%;
    opacity: 1;

  }

  .prada-machine.hide {
    opacity: 0;
  }














  .prada-smoke {
    position: absolute; /* یا fixed */
    z-index: 2000;
    left: 0;
    width: 35%;
    height: auto;
    margin-left: -11%; /* فاصله از راست */
    margin-top: 71%;
  
    opacity: 0;
    animation: smokeBlink 3s infinite;
  }
  
  @keyframes smokeBlink {
    0% { opacity: 0; }
    4.5% { opacity: 0; }   
    5% { opacity: 1; }   
    6% { opacity: 0; }  
    7% { opacity: 1; }  
    8% { opacity: 0; }  
    8% { opacity: 1; }  
    90% { opacity: 1; } 
    91% { opacity: 0; }
    92% { opacity: 1; }
    93% { opacity: 0; }
  }
  












  .svg-carousel {
    position: relative;
    width: 24.5%; 
    height: 100%; 
    overflow: hidden;
    top: 123%;
    z-index: 10000;
    margin-left: -6%;
  }

  .svg-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    
  }

  .svg-slide.active {
    animation: smokeBlink2 3s linear forwards; /* فقط وقتی active شد */

  }

  @keyframes smokeBlink2 {
    0% { opacity: 0; }
    4.5% { opacity: 0; }   
    5% { opacity: 1; }   
    6% { opacity: 0; }  
    7% { opacity: 1; }  
    8% { opacity: 0; }  
    8% { opacity: 1; }  
    90% { opacity: 1; } 
    91% { opacity: 0; }
    92% { opacity: 1; }
    93% { opacity: 0; }
  }

  









  .text-content-content {
    flex: 1;
    width: 40%;
    color: white;
    font-size: 1.1rem;
    line-height: 1.8;
    direction: rtl;
    z-index: 100;
    margin-left: 38%;
    margin-top: 14%;
  }


  @media (max-width: 768px) {
    .text-content-content {
      margin-left: 0;
      position: absolute;
      width: 60%;
      margin-top: 20%;
      left: 50%;
      transform: translateX(-30%);
    }
    
  }






















  #scroll-indicator {
    position: fixed;
    bottom: 5%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;

    display: flex;             
    flex-direction: column;
    align-items: center;       
    justify-content: center;   
  }

  #scroll-indicator.show {
    opacity: 1;
    animation: fadeBlink 8s infinite;  
  }

  #scroll-indicator svg {
    width: 50px;
    height: auto;   
    display: block;
    margin: 0;      
    padding: 0;
    margin-bottom: -5px;
  }

  #line1, #line2 {
    stroke: white;
    opacity: 0;
  }

  #scroll-indicator.show #line1 {
    animation: showLine 0.5s forwards;
  }
  #scroll-indicator.show #line2 {
    animation: showLine 0.5s forwards 0.5s;
  }

  @keyframes showLine {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
  }

  #scroll-text {
    margin-bottom: 5px;
    opacity: 0;
    font-family: 'Vazir';
    font-size: 0.9rem;
  }

  #scroll-indicator.show #scroll-text {
    animation: fadeBounce 1s forwards 1s, bounce 1s infinite alternate 2s;
  }

  @keyframes fadeBounce {
    from { opacity: 0; }
    to { opacity: 1; }
  }

  @keyframes bounce {
    from { transform: translateY(0); }
    to { transform: translateY(-5px); }
  }

  @keyframes fadeBlink {
    0%  { opacity: 0; }
    5%  { opacity: 0.1; }
    10% { opacity: 0.2; }
    15% { opacity: 0.3; }
    20% { opacity: 0.4; }
    25% { opacity: 0.5; }
    30% { opacity: 0.6; }
    35% { opacity: 0.7; }
    40% { opacity: 0.8; }
    45% { opacity: 0.8; }
    50% { opacity: 0.7; }
    55% { opacity: 0.6; }
    60% { opacity: 0.5; }
    65% { opacity: 0.4; }
    70% { opacity: 0.3; }
    75% { opacity: 0.2; }
    80% { opacity: 0.1; }
    85% { opacity: 0; }
    90% { opacity: 0; }
    95% { opacity: 0; }
    100%{ opacity: 0; }
  }














































































  /* پنل اسلایدی */
  #authPanel {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 100%;
    height: 89%;
    background: #000;
    transition: right 0.6s ease;
    z-index: 99999;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  #authPanel.active { right: 0; }

  .auth-btn {
    font-size: 1.1rem;
    border: 1px solid #ffffff;
    width: 325px;
    padding: 10px;
    border-radius: 50px;
    background: #000;
    color: #ffffff;
    cursor: pointer;
    font-family: 'Vazir';
    direction: rtl;
    position: fixed;
    top: calc(50% - 40px);
  }

  /* دکمه اصلی */
  .svg-container {
    position: relative;
    margin-left: 32%;
    cursor: pointer;
  }

  #cta-text {
    color: #ffffff;
    opacity: 0;
    font-size: 18px;
    text-decoration: none;
    transition: opacity 0.5s ease-in;
    position: absolute; /* متن جدا از آیکن */
  }
  

  #final-box {
    position: absolute;
    top: 15.5%;
    left: 25px;
    width: 250px;
    height: 43px;
    border: 1px solid #3a3a3a;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: width 0.8s ease, border-radius 0.8s ease;
    overflow: hidden;
  }

  /* حالت دایره عمومی */
  #final-box.circle {
    width: 43px;
    height: 43px;
    border-radius: 50%;
  }

  /* متن در حالت دایره پنهان می‌شود */
  #final-box.circle #cta-text {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
  }

  /* متن در حالت باکس (نمایان با تاخیر نیم‌ثانیه) */
  #final-box.box #cta-text {
    opacity: 1;
    transition: opacity 2s ease;
  }


  /* آیکن مشترک */
  #icon {
    width: 24px;
    height: 24px;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 5px;
  }

  /* در حالت دایره آیکن دیده می‌شود */
  #final-box.circle #icon { opacity: 1; }
  /* در حالت باکس آیکن خاموش است */
  #final-box.box #icon { opacity: 0; }

  /* نمایش/عدم نمایش انواع آیکن */
  #icon .icon-login, #icon .icon-close { 
    display: none; 
  }

  /* دایره حالت عادی (ورود) → آیکن ورود */
  #final-box.circle:not(.is-exit) #icon .icon-login { display: block; }
  /* دایره حالت خروج (وقتی پنل باز است) → آیکن ضربدر */
  #final-box.circle.is-exit #icon .icon-close { display: block; }

  /* مستطیل SVG اولیه */
  #animated-rect {
    fill: none;
    stroke: #ffffff;
    stroke-width: 0.3;
    rx: 0; ry: 0;
    stroke-dasharray: 586;
    stroke-dashoffset: 586;
    transition: stroke-dashoffset 2s linear; /* linear برای سرعت ثابت */
  }



  #close-svg {
    width: 20px;
    height: 20px;
    stroke: #ffffff;       /* رنگ خطوط */
    stroke-width: 0.9;   /* ضخامت */
    display: block;
    margin: auto;        /* وسط‌چین در دایره */
    opacity: 0;
    transition: opacity 0.3s ease-in-out, transform 0.3s;
  }
  
  #close-svg.show {
    opacity: 1;
    transform: rotate(90deg); /* انیمیشن چرخش هنگام ظاهر شدن */
  }
  

  #loginFormContainer {
    display: none;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    width: 300px;
    align-items: center;
    direction: rtl;
    position: fixed;
    top: calc(50% - 70px);
  }
  
  #loginFormContainer.active {
    display: flex;      /* این خط الزامی است */
    opacity: 1;
  }
  

  /* کاهش ارتفاع دکمه‌ها */
  .auth-btn {
    transition: opacity 0.5s ease, top 1s ease;
  }

  /* دکمه اصلی پایین برود */
  .auth-btn.login.moved-down {
    transform: translateY(65%);
  }

  .auth-btn.login {
    margin-top: 70px;
    cursor: pointer;

  }


  #loginFormContainer input {
    width: 100%;
    padding: 12px;
    border: none;
    background: #222;
    border-radius: 14px;
    color: white;
    font-family: 'Vazir';
  }




  /* وقتی دکمه گسترش پیدا می‌کنه */
  .auth-btn.expanded-box-center {
    align-items: flex-start; /* محتوا داخل باکس بالا قرار بگیره */
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }






  #auth-forgot-wrapper {
    width: 100%;
    margin-top: 5px;
    display: flex;
    justify-content: flex-start;
  }
  

  /* متن فراموشی رمز */
  .auth-forgot-password {
    font-family: 'Vazir';
    font-size: 0.9rem;
    color: #cfcfcf;
    cursor: pointer;
    transition: color 0.25s ease, text-shadow 0.25s ease;
  }

  /* hover */
  .auth-forgot-password:hover {
    color: #ffffff;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.6);
  }




































































  #registerFormContainer {
    display: none;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    width: 300px;
    align-items: center;
    direction: rtl;
    position: fixed;
    top: calc(50% - 100px);
  }

  /* فرم ثبت نام */
  #registerFormContainer input {
    width: 100%;
    padding: 12px;
    border: none;
    background: #222;
    border-radius: 14px;
    color: white;
    font-family: 'Vazir';
  }

  #registerFormContainer input:focus {
    border: 1px solid #ffffff;
    outline: none;
  }
  

  /* OTP container */
  #otpContainer {
    justify-content: center;
    gap: 10px;
    transform: translateY(-150%); /* جبران مختصات */
  }

  /* باکس‌های OTP */
  .otpInput {
    width: 45px;
    height: 45px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    border-radius: 10px;
    border: 1px solid #fff;
    background: #111;
    color: #fff;
    transition: all 0.3s ease;
  }

  .otpInput:focus {
    border-color: #4caf50;
    outline: none;
    box-shadow: 0 0 5px #4caf50;
  }

  /* پیام‌ها */
  #message {
    color: #fff;
    font-size: 16px;
    margin-top: 15px;
    text-align: center;
    font-family: 'Vazir';
    transition: opacity 0.5s ease;
  }

  /* افکت‌های ورود/خروج فرم‌ها */
  #otpContainer {
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
  }

  #registerFormContainer.show,
  #otpContainer.show {
    opacity: 1;
  }

  #otpContainer {
    margin-top: -40px;
  }
  /* فرم ثبت نام وسط صفحه */
  #registerFormContainer {
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
  }


  /* وقتی وارد مرحله OTP شد کمی بالاتر بره */
  .register.move-up-otp {
    transform: translateY(250px); /* کمتر از move-down */
    transition: transform 0.6s ease;
  }

  /* استایل پایه دکمه */

  


  #googleMainBtn {
    opacity: 0;
    width: 210px;
    height: 51px;
    top: calc(50% + 91px);
    left: calc(50% - 105px);
    position: absolute;
    transform: rotate(0deg);
    display: flex;
    align-items: center;
    justify-content: center;
    transform-origin: left center;
    transition: all 1s ease;
    z-index: 1;
  }

  #googleMainBtn.active-left {
    opacity: 1;
    left: calc(50% - 200px);
  }

  #googleMainBtn.active-transform {
    transform: rotate(-90deg);
    top: calc(50% + 116px);
  }
  
  /* کانتینر داخلی */
  .google-inner {
    width: 100%;
    height: 100%;
    display: flex;
  }
  
  /* لوگوی گوگل (۳۰٪ بالا) */
  .google-logo {
    width: 30%;
    transform: rotate(90deg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: bold;
    font-family: Arial, sans-serif;
    background: #fff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  
  /* متن GOOGLE (۷۰٪ پایین – هر حرف زیر هم) */
  .google-text {
    gap: 5px;
    width: 70%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    transform: rotate(90deg);
  }
  
  #googleMainBtn {
    overflow: hidden;
  }
  
  /* لایه سفید روان */
  #googleMainBtn::before {
    content: "";
    position: absolute;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #fff;
    transition: left 0.6s ease;
    z-index: 1;
  }
  
  /* هاور */
  #googleMainBtn:hover::before {
    left: 0;
  }
  
  /* محتوا بالای لایه سفید */
  .google-inner {
    position: relative;
    z-index: 2;
  }
  
  /* تغییر رنگ متن */
  #googleMainBtn:hover .google-text span,
  #googleMainBtn:hover .google-text {
    color: #000;
  }
  
  /* تغییر رنگ لوگو */
  #googleMainBtn:hover .google-logo {
    background: none;
    -webkit-text-fill-color: #000;
  }
  
/*================================================*/
  #reggoogleMainBtn {
    width: 51px;
    height: 51px;
    opacity: 0;
    position: absolute;
    top: calc(50% + 123px);
    left: calc(50%);
    transform: rotate(-90deg);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transform-origin: left center;
    transition:opacity 0.5s ease, left 1s ease, width 0.5s ease, height 0.5s ease;
  }

  /* کانتینر */
  .reg-google-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform: rotate(90deg);
  }
  

  .reg-google-logo {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 30px;
    background: #fff;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  

  /* متن – مخفی */
  .reg-google-text {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    opacity: 0;
    display: flex;
    gap: 10px;
    flex-direction: column;
    font-size: 10px;
    transition: opacity 0.4s ease 0.35s,
                transform 0.4s ease 0.35s;
  }
  


  #reggoogleMainBtn:hover {
    width: 230px;
  }

  #reggoogleMainBtn.active-right {
    opacity: 1;
    left: calc(50% + 200px);
  }
  
  /* لوگو میره بالا */
  #reggoogleMainBtn:hover .reg-google-logo {
    left: 50%;
    transform:translateX(-50%) translateY(65px);
    font-size: 28px;
  }
  
  /* بعد از بزرگ شدن عرض، متن میاد */
  #reggoogleMainBtn:hover .reg-google-text {
    opacity: 1;
    transform: translateX(-50%) translateY(50px);
  }
  



















































  .button-center{
    position: absolute;          /* همیشه نسبت به صفحه */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    justify-content: center;
  }
  


  /* ظرف دکمه */
  .svg-button {
    width:var(--btn-w);
    height:var(--btn-h);
    border-radius:12px;
    background:transparent;
    display:inline-grid;
    place-items:center;
    cursor:pointer;
    border:0;
    padding:0;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    z-index: 10;
    position: relative; /* برای coming-soon */

  }
  
  
  /* قاب داخلی برای هم‌ترازی svg و متن */
  .svg-button__inner{
    width:200px; 
    height:auto; 
    display:flex; 
    align-items:center; 
    justify-content:center; 
    transition: opacity 1s ease;

  }
  
  
  /* خودِ SVG — قابل transition برای fade و حرکت */
  .svg-button svg{
    width:calc(100% - 20px);
    height:calc(100% - 20px);
    transition: opacity 1s ease;
    transform-origin:center center;
    pointer-events:none; /* کلیک‌ها روی دکمه گرفته شوند، نه روی خود svg */
    display:block;
    opacity:1;

  }
  
  
  /* کلاس fade برای محو شدن آرام */
  .svg-button.fading svg{
    opacity:0;
  }
  
  
  /* متن "به زودی!" که جایگزین می‌شود */
  .coming-soon {
    position:absolute;
    margin-top: 50px;
    display:flex;
    align-items:center;
    justify-content:center;
    pointer-events:none;
    opacity:0;
    transition: opacity 1s ease;
    font-family: 'Vazir';
    font-size:26px;
    color:#ffffff;
    direction:rtl;
  }
  
  
  .svg-button.show-text .coming-soon{
    opacity:1;
  }


























































  .triplebox-container {
    font-family: 'Vazir';
    gap: 20px;
    width: 400px;
    margin: auto;
    position: absolute;
    margin-top: -510px;
    left: 50%;
    transform: translateX(-40%);
    direction: rtl;
    z-index: 10;
  }
  
  .triplebox-item {
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
  }
  
  .triplebox-title, .triplebox-text {
    color: #fff;
    margin: 0 0 10px 0;
    opacity: 0;
  }
  
  #zoomBox {
    margin-top: -220px;
    position: absolute;
    height: 80px;
    width: 350px;
    padding: 10px;
    color: #fff;
    font-family: 'Vazir';
    border-radius: 14px;
    overflow: hidden;
    cursor: none;
    font-size: 1.3rem;
  }
  
  .magnifier {
    position: absolute;
    pointer-events: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.8);
    box-shadow: 0 0 8px rgba(0,0,0,0.4);
    display: none;
  }
  
  .magnifier span {
    margin-top: 50px;
    position: absolute;
    transform: scale(1.3);
    transform-origin: top left;
    white-space: nowrap; /* جلوگیری از شکستن خط */
  }
  
  
  .triplebox-item:hover .cursor-circle {
    width: 25px;  /* کمی بزرگ‌تر هنگام hover */
    height: 25px;
  }
  
  .triplebox-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
  }
  
  .triplebox-text {
    font-size: 14px;
    line-height: 1.8;
    color: #ffffff;
  }































  /* کانتینر اصلی */
  #uniqueAnim_container {
    width: 42px;
    height: 42px;
    overflow: hidden;
    position: relative;
    border: 4px solid #fff;
    border-radius: 12px;
  }

  /* باکس کوچک متحرک */
  #uniqueAnim_movingBox {
    position: absolute;
    top: 60%;
    left: 100%;
    width: 50px;
    height: 50px;
    transform: translateY(-50%);
  }

  /* SVG داخلی */
  #uniqueAnim_svg {
    width: 55px;
    height: 55px;
  }

  /* مستطیل داخل SVG */
  #uniqueAnim_rect {
    width: 40px;
    height: 40px;
    fill: url(#uniqueAnim_pattern);
  }


































































  .pixelpass-outer {
    width: 80px;   /* دقیقا به اندازه یک آیتم */
    height: 100px;
    background: black;
    overflow: hidden;
    position: absolute;
    margin-right: 130px;
    margin-top: 7px;
    z-index: -1;
  }
  
  .pixelpass-track {
    display: flex;
    align-items: center;
    animation: pixelpass-scroll 20s linear infinite;
  }
  
  .pixelpass-item {
    display: flex;
    align-items: center;
    font-family: "Pixelon";
    font-size: 18px;
    color: white;
    margin-right: 80px; /* فاصله بین آیتم‌ها */
  }
  
  .pixelpass-item img {
    width: 30px;
    height: auto;
  }
  
  /* انیمیشن حرکت دقیق به ازای هر آیتم */
  @keyframes pixelpass-scroll {
    0%   { transform: translateX(0); opacity: 1; }
    10%   { transform: translateX(0); opacity: 1;}
    

    20%  { transform: translateX(80px); opacity: 1;}
    30%  { transform: translateX(80px); opacity: 1;}

    40%  { transform: translateX(220px); opacity: 1;}
    50%  { transform: translateX(220px); opacity: 1;}

    60%  { transform: translateX(360px); opacity: 1;}
    70%  { transform: translateX(360px); opacity: 1;}

    80%  { transform: translateX(500px); opacity: 1;}
    90%  { transform: translateX(500px); opacity: 1;}
    99% { transform: translateX(500px); opacity: 1; } 

    100% { transform: translateX(0); opacity: 0; } 
  }
  



































  @keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.1; }
    100% { opacity: 1; }
  }
  .resend-blink {
    animation: blink 5s infinite;
    cursor: pointer;
    color: #007BFF; /* رنگ لینک */
    font-weight: bold;
  }
  



  .site-footer{margin-top:40px;padding:24px;text-align:center;color:var(--muted);font-size:14px;direction: rtl}
  .novone-link{display:inline-block;margin:0 6px;vertical-align:middle}
  .novone-logo{height:28px;width: auto;}


































































  .feed-box {
    width: 750px;
    background: #000000;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: auto;
    height: 240px;
    direction: ltr;
  }

  .feed-box.empty {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* خود نوار اسکرول */
  .feed-box::-webkit-scrollbar {
    width: 8px; /* ضخامت عمودی */
    height: 8px; /* ضخامت افقی */
  }

  /* پس‌زمینه نوار اسکرول */
  .feed-box::-webkit-scrollbar-track {
    background: transparent; /* رنگ پس‌زمینه اسکرول */
    border-radius: 12px;
  }

  /* خود دکمه اسکرول (thumb) */
  .feed-box::-webkit-scrollbar-thumb {
    background-color: #ffffff; /* رنگ دکمه */
    border-radius: 12px; /* گرد کردن گوشه‌ها */
    border: 2px solid #222; /* فاصله از track */
  }

  /* وقتی موس روی اسکرول است */
  .feed-box::-webkit-scrollbar-thumb:hover {
    background-color: #ffffff; /* رنگ وقتی هاور می‌کنیم */
  }

  .feed-item {
    box-shadow: inset 0 -0.2px 0 rgba(255,255,255,0.5);

    cursor: pointer;
    transition: background 0.2s;
  }

  .feed-item:hover {
    background: #1b1b1b;
  }

  .feed-header {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 15px;
    color: white;
  }

  .feed-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    background: #000000;
    padding: 0 15px;
  }

  .feed-item.active .feed-content {
    max-height: 200px;
    padding: 10px 15px;
  }

  .feed-content p {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: #ffffff;
  }
























  .overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,1);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 99;
    font-family: 'Vazir';
    height: 400px;
  }

  .overlay.show {
    opacity: 1;
    pointer-events: auto;
  }

  .modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%);
    background: #000000;
    color: #fff;
    width: 360px;
    padding: 25px;
    border-radius: 25px;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s ease;
    z-index: 100;
    border: 0.5px solid white;
    
  }

  .modal.show {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, -50%);
  }

  .toggle-box {
    display: flex;
    gap: 10px;
    margin-top: 25px;
  }

  .toggle-btn {
    flex: 1;
    padding: 10px 0;
    border-radius: 25px;
    background: #000000;
    color: rgb(255, 255, 255)fff;
    border: none;
    cursor: pointer;
    transition: 0.25s;
    font-family: 'Vazir';
    border: 0.5px solid white;

  }

  .toggle-btn.active {
    background: #ffffff;
    color: #000;
  }


















  .enamad-fixed {
    position: absolute;
    z-index: 9999;
    padding: 50px;
    transition: all 0.3s ease;
  }
  
  .enamad-fixed img {
    width: 70px;
    height: auto;
    display: block;
    filter: grayscale(100%) brightness(1.2);
    transition: all 0.3s ease;
    cursor: pointer;
  }
  
  /* افکت هاور */
  .enamad-fixed:hover {
    transform: translateY(-4px);
  }
  
  .enamad-fixed:hover img {
    filter: grayscale(0%) brightness(1);
    transform: scale(1.05);
  }
  





  























































  :root{
    --black: #000;
    --white: #fff;
    --transition: 0.4s cubic-bezier(.4,0,.2,1);
  }
  


  .chat-fab{
    position:fixed;
    bottom:24px;
    right:24px;
    width:64px;
    height:64px;
    border-radius:50%;
    background:#000000;              /* سفید */
    align-items:center;
    justify-content:center;
    cursor:pointer;
    z-index:99;
  }
  
  .chat-fab svg{
    width:28px;
    height:28px;
    fill:#ffffff;                     /* آیکن مشکی */
    transition:0.4s ease;
    
  }
  
  .chat-ring{
    position:absolute;
    width:52px;
    height:52px;
    border-radius:50%;
    box-shadow:0 0 0 1px #fff;
    transition:
      transform 0.6s cubic-bezier(.4,0,.2,1),
      border-radius 0.6s cubic-bezier(.4,0,.2,1),
      opacity 0.3s;
  }
  
  /* حالت فعال */
  .chat-fab.active .chat-ring{
    transform:
      translate(-134px, -250px)
      scaleX(7)
      scaleY(9);
      
    border-radius:10px 10px 0px 5px ;
    box-shadow:0 0 0 0.1px #fff;
    background:#000;
  }
  
  

  .chat-fab.active svg{
    opacity:0;
    transform:scale(0.5);
  }



  /* ===== Chat Box ===== */
  .chat-box{
    position:fixed;
    bottom:70px;
    right:44px;
    width:320px;
    max-height:420px;
    display:flex;
    flex-direction:column;
    opacity:0;
    transform:translateY(20px);
    pointer-events:none;
    transition:var(--transition);
    z-index:999998;
  }

  .chat-box.active{
    opacity:1;
    transform:translateY(0);
    pointer-events:auto;
  }

  .chat-messages{
    flex:1;
    padding:12px;
    overflow-y:auto;
    color:var(--white);
    font-size:14px;
    /* مخفی کردن اسکرول‌بار */
    scrollbar-width: none;      /* Firefox */
    -ms-overflow-style: none;   /* IE / Edge قدیمی */
  }
  
  /* Chrome, Safari, Edge */
  .chat-messages::-webkit-scrollbar{
    width:0;
    height:0;
  }
  

  .msg{
    margin-bottom:8px;
    line-height:1.6;
    
  }
  .msg.user{text-align:right;color:#ddd;}
  .msg.ai{text-align:left;color:#9f9;}

  .chat-input{
    display:flex;
    padding:8px;
  }

  .chat-input input{
    flex:1;
    background: transparent;
    border:1px solid #444;
    color:var(--white);
    padding:10px 8px;
    border-radius:25px;
    min-width: 250px;
    font-family: 'Vazir';
    direction: rtl;
  }

  .chat-input button{
    padding:6px 10px;
    cursor:pointer;
    
  }

  .chat-input button:active{transform:scale(.95);}
  










  .icon-btn1 {
    background: none;   /* هیچ پس‌زمینه‌ای */
    border: none;       /* هیچ حاشیه‌ای */
    padding: 4px;       /* کمی فاصله برای کلیک */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
    color: var(--white); /* رنگ آیکون */
    transform: rotate(-45deg);
    margin-left: -5px;

  }
  .icon-btn2 {
    background: none;   /* هیچ پس‌زمینه‌ای */
    border: none;       /* هیچ حاشیه‌ای */
    padding: 4px;       /* کمی فاصله برای کلیک */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease, color 0.2s ease;
    color: var(--white); /* رنگ آیکون */
    margin-top: -12px;
    margin-left: -5px;

  }
  .icon-btn svg {
    width: 30px;
    height: auto;
    stroke: currentColor;
  }
  
  .icon-btn1:hover {
    transform: scale(1.3);
    color: #9f9;  /* رنگ دلخواه هنگام هاور */
  }
  .icon-btn2:hover {
    transform: scale(1.3);
    color: #9f9;  /* رنگ دلخواه هنگام هاور */
  }
  
  .icon-btn:active {
    transform: scale(0.95);
  }
  
  






























  .scroll-btn {
    white-space: nowrap;
    direction: rtl;
    text-decoration: none;
    font-size: 16px;
    font-family: 'Vazir';
    padding: 10px 20px;
    border-radius: 50px;
    position: fixed;       /* همیشه fixed */
    background-color: #000000;
    border: 1px solid #fff;
    color: white;
    cursor: pointer;

    margin-right: -675px;
    transition: transform 0.3s ease,
                background-color 0.5s ease, border-color 0.5s ease;
    z-index: 11001;
    opacity: 0;          
  }

  .scroll-btn.visible {
      opacity: 1;
  }

  .scroll-btn:hover {
    transform: scale(1.05);
  }

  .scroll-btn:active {
      transform: translateY(2px);
  }


  
  
































































  /* ===== Black Transition Overlay ===== */
  #black-transition {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;

    background: rgba(0, 0, 0, 1);
    opacity: 0;

    pointer-events: none;
    z-index: 99999999999999;

    transition: opacity 3s ease;
  }

  /* وقتی فعال میشه */
  #black-transition.active {
    opacity: 1;
  }








  








































  #news-ticker {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 20px;
    background: #000;
    overflow: hidden;
    border-top: none;
    border-top: 1px solid;
    border-image: linear-gradient(
      90deg,
      #000000 0%,
      #000000 50%,
      #4b4b4b 70%,
      #ffffff 100%
    ) 1;
    transition: height 0.4s ease, border-image 1s ease;
    z-index: 9999;
  }
  
  #news-ticker.open {
    height: 40px;
    border-top: 1px solid;
    border-image: linear-gradient(
      90deg,
      #ffffff 0%,
      #ffffff 50%,
      #ffffff 50%,
      #ffffff 100%
    ) 1;
      }
  
  #news-toggle {
    position: fixed;
    bottom: 24px;
    right: 0;
    width: 7%;
    min-width: 60px;
    height: 30px;
    background: #000;
    border-left: 1px solid #fff;
    border-top: 1px solid #fff;
    color: #fff;
    border-radius: 10px 0 0 0;
    cursor: pointer;
    z-index: 10000;
    font-size: 14px;
    font-family: 'Vazir';
    transition: all 1s ease, padding 1s ease;

    display: flex;
    align-items: center;    /* وسط عمودی */
    justify-content: center; /* وسط افقی */
    padding: 12px 12px;
}


  #news-toggle.active {
    border-radius: 25px 0 0 25px;
    height: 40px;
    transform: translateY(24px);
    border-top: none;
    justify-content: flex-start;
    padding: 6px 12px;
    font-size: 16px;


  }


  
  #news-content {
    display: flex;
    flex-direction: row;
    height: 100%;
    width: 100%;
    overflow: hidden;
  }
  
  /* دکمه تلگرام فقط در حالت باز */
  #telegram-box {
    width: 30%;
    background: #000;
    border-right: 1px solid #fff;
    padding: 6px 12px;
    border-radius: 0 25px 25px 0;
    display: none;
    align-items: center;
    justify-content: flex-end;
    z-index: 999999;

  }
  /* دکمه تلگرام */
  #telegram-box a {
    color: #fff;
    text-decoration: none;
    font-family: 'Vazir';
  }
  #news-ticker.open #telegram-box {
    display: flex;
    order: 0; /* سمت چپ */
  }
  
  /* متن خبر */
  #news-text {
    color: #fff;
    font-size: 13px;
    line-height: 20px;
    white-space: nowrap;
    position: absolute;
    width: auto;   /* مهم */
    font-family: 'Vazir';
    display: block;
    z-index: 1;
    will-change: transform;
    direction: rtl;
  }
  
  #news-ticker.open #news-text {
    position: absolute; /* نه fixed */
    width: 100%;        /* متن افقی کل عرض */
    white-space: nowrap; 
    font-size: 16px;
    line-height: 10px;
    order: 1;
    animation: none;    /* فقط JS حرکت میده */
    top: 40%;              /* شروع از وسط ارتفاع */
    transform: translateY(-50%);  /* دقیقاً وسط قرار میده */
}

  


  
  /* انیمیشن افقی */
  @keyframes tickerMove {
    from { transform: translateX(var(--from-x)); }
    to   { transform: translateX(var(--to-x)); }
  }
  
  .mobile-logo-wrap {
    display: none;
  }
  



















































  /* wrapper اصلی */
  #auth-identity-switch {
    display: flex;
    gap: 32px;
    width: 100%;
    margin-left: 24px;
  }

  /* هر input داخل wrap خودش */
  .auth-identity-wrap input{
    overflow: hidden;
    border-radius: 14px;
    
  }

    /* هر input داخل wrap خودش */
    .auth-identity-wrap{
      transition: width 0.4s ease; /* این برای انیمیشن روان */
    }

  /* input */
  .auth-identity {
    background: #000;
    color: #fff;
    outline: none;
    transition: background 0.3s ease;
  }

  /* input فعال */
  .auth-identity.active {
    background: #222;
  }

  /* hover */
  .auth-identity:hover {
    background: #333;
    cursor: text;
  }










































  @media (max-width: 768px) {



    /* پنل اسلایدی */
    #authPanel {
      width: 100%;
      height: 100%;
    }
    .mobile-logo-wrap {
      display: block;
      position: relative;
      height: 50px;
    }
    
    /* لایه اصلی */
    #mobilelogo,
    #mobilelogo2 {
      position: absolute;
      right: 3%;
      font-size: 32px;
      font-weight: 800;
      letter-spacing: 1px;
      text-decoration: none;
      font-family: 'Vazir', sans-serif;
      pointer-events: none;
      margin-top: -80px;

    }
    
    /* متن پایه (خاکستری) */
    #mobilelogo {
      color: #5a5a5a;
      animation: floatLogo 3.5s ease-in-out infinite;
    }
    
    /* لایه قرمز نئونی */
    #mobilelogo2 {
      right: 2.6%;
      color: #ffffff;
      opacity: 0.75;
      text-shadow:
        0 0 5px rgba(223, 223, 223, 0.6),
        0 0 15px rgba(245, 245, 245, 0.4);
      animation: glitchLogo 2.2s infinite;
    }
    
    /* حرکت نرم بالا-پایین (مدرن و آروم) */
    @keyframes floatLogo {
      0%, 100% {
        transform: translateY(0);
      }
      50% {
        transform: translateY(-6px);
      }
    }
    
    /* افکت گلیچ خیلی ظریف */
    @keyframes glitchLogo {
      0% {
        transform: translate(0, 0);
        opacity: 0.7;
      }
      20% {
        transform: translate(-1px, 1px);
      }
      40% {
        transform: translate(1px, -1px);
        opacity: 0.9;
      }
      60% {
        transform: translate(-1px, 0);
      }
      80% {
        transform: translate(1px, 1px);
      }
      100% {
        transform: translate(0, 0);
        opacity: 0.75;
      }
    }
    
    /* دکمه‌های احراز هویت */
    .auth-btn {
      width: 90%;
      max-width: 320px;
      font-size: 1rem;
      padding: 12px;
      margin-bottom: 16px;
    }
    .logo-text,
    .logo-svg {
      transition: opacity 0.3s ease;
    }
    
    #final-box {
      transition: left 0.3s ease;
    }
    /* کانتینر دکمه اصلی */
    .svg-container {
      margin-left: 0;
      margin-top: 0;
      width: 100%;
    }

    /* باکس اصلی انیمیشنی */
    #final-box {
      margin-top: -10px;
      margin-left: -15px;
      width: 120px;
      height: 42px;
    }

    /* حالت دایره */
    #final-box.circle {
      width: 42px;
      height: 42px;
    }

    /* متن CTA */
    #cta-text {
      font-size: 15px;
      text-align: center;
      white-space: nowrap;
    }

    /* آیکن */
    #icon {
      width: 22px;
      height: 22px;
      margin-right: 0;
    }







    /* حالت گسترش‌یافته دکمه */
    .auth-btn.expanded-box-center {
      width: 90%;
      left: 50%;
      transform: translate(-50%, -50%);
    }

    /* آیکن بستن */
    #close-svg {
      width: 18px;
      height: 18px;
    }

    /* نوشته */
    .logo-text {
      font-size: 22px;
      margin-left: 120px;
      top: 3%;
      display: none;

    }
    /* نوشته */
    .logo-svg {
      font-size: 22px;
      margin-left: 120px;
      top: 3%;
      display: none;

    }

    

    .container {
      width: 80%;
    }


    .input-wrapper {
      position: relative;
      display: flex;
      justify-content: center; /* مرکز چین افقی */
      align-items: center;     /* مرکز چین عمودی (برای در یک خط بودن) */
      gap: 10px;               /* فاصله بین input و button */
      width: 100%;
      margin-top: 80px;
    }
    
    
    .initial-input {
      width: 70vw;
      font-size: 16px;
      height: 80px;
    }



    .initial-text {
      width: 100%;
      position: absolute;
      left: 82px;
      margin-top: 30px;
    }











    #animated-rect {
      width: 125px; /* نصف 250 */
    }



 























      /* فرم ورود */
    .login-form {
      width: 90%;
      max-width: 200px;
      display: flex;
      flex-direction: column;
      gap: 15px;
      align-items: center;

    }
    
    .login-form input {
      width: 100%;
      padding: 12px;
      border: none;
      background: #222;
      border-radius: 14px;
      color: white;
      font-family: 'Vazir';
    }
    
    .google-btn {
      background: transparent;
      border: 1px solid #f2f2f2;
      width: 325px;
      padding: 10px;
      border-radius: 50px;
      color: white;
      font-family: 'Vazir';
      cursor: pointer;
      transition: all 0.25s ease;
    }
    
    .google-btn:hover {
      background-color: #252525;
    }
    
    /* دکمه ورود اصلی */
    .main-login-btn {
      margin-top: 10px;
      width: 165px;
      height: 50px;
      padding: 10px;
      border-radius: 50px;
      background: transparent;
      color: white;
      font-size: 16px;
      border: 1px solid #f2f2f2;
      cursor: pointer;
      font-family: 'Vazir';
      opacity: 0;
      pointer-events: none;
      transform: translateY(10px);
      transition: opacity 0.6s ease, transform 0.6s ease, width 0.4s ease;
    }
    
    .main-login-btn.expanded {
      width: 325px;
    }
    .main-login-btn.visible {
      opacity: 1;
      pointer-events: auto;
      transform: translateY(0);
    }
    
    .icon-wrapper {
      display: inline-block;
      transition: opacity 0.4s ease;
    }
    
    .icon-wrapper.fade-out {
      opacity: 0;
    }
    
    .icon-wrapper.fade-in {
      opacity: 1;
    }




      /* دکمه منو با ۹ نقطه */
    .menu-button {
      position: fixed; /* یا absolute */
      top: 16px;        /* فاصله از بالا */
      right: 5%;      /* فاصله از راست */
      z-index: 11000;   /* بالاتر از بقیه */
      width: 32px;
      height: 32px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    /* وقتی دکمه گسترش پیدا می‌کنه */
    .main-login-btn.expanded-box {
      transform: translateY(-50%);
      height: 500px; /* ارتفاع نهایی */
    }











    .triplebox-container {
      width: 100%;
      left: 50%;
      transform: translateX(-50%);
    }




    /* لوگوی SVG */
    .logo-svg {
      position: absolute;
      width: 50px;
      height: auto;
      margin-left: 20px;
    }





    #mobileMenu {
      z-index: 999999999999999;
      margin-top: 20px;
    }



    .promo-box {
      max-height: 190px; 
    }

























    
    #scrollBtn {
      margin-right: 0;
      left: 50%;
      transform: translateX(-50%);
    }




    .promo-btn {
      align-self: center;   /* وسط‌چین افقی داخل promo-box */
      margin-left: auto;
      margin-right: auto;
    }





















    /* محتوای بعد از ورود */
    .after-login {
      display: none; 
      flex-direction: column;
      align-items: center;
      gap: 20px;
      position: fixed;
      top: 50%;
      transform: translateY(-50%);
      left: 0;
      width: 100%;
      height: 80%;
      justify-content: center;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.8s ease, transform 0.6s ease-in-out;
    }

    .after-login.active {
      display: flex;
      opacity: 1;
      pointer-events: auto;
    }


    /* دکمه‌ها */
    .btn-group-0 {
      width: 250px;
      height: 50px;
      border-radius: 50px;
      background: black;
      color: white;
      cursor: pointer;
      font-family: 'Vazir';
      font-size: 1.1rem;
      border: 1px solid #f2f2f2;

      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;

      padding: 0;

      position: fixed;                 /* ← fixed */
      left: 50%;
      transform: translateX(-50%);
      z-index: 1000;

      transition: top 0.6s ease, background 0.6s ease;
    }

    /* چیدمان عمودی – مرکز صفحه */
    .btn-group-0:nth-child(1) {
      top: calc(50% - 60px);
    }

    .btn-group-0:nth-child(2) {
      top: calc(50% + 10px);
    }

    .btn-group-0:nth-child(3) {
      top: calc(50% + 80px);
    }

    /* حالت stack */
    .btn-group-0.stack {
      top: calc(50% - 105%) !important;
      z-index: 1;
    }

    .exit-btn {
      position: fixed;
      top: calc(50% + 200px);

    }

    .user-avatar {
      right: 0;
      left: 50%;
      transform: translateX(-50%);
      position: fixed;
      top: calc(50% - 280px);
    }

    

    /* باکس اکانت‌ها */
    .account-dropdown {
      position: absolute;
      top: 10px;
      /* وسط افقی صفحه */
      left: 50%;
      transform: translateX(-50%);
      width: 280px;
      background: #000000;
      color: white;
      border: 1px solid #000000;
      border-radius: 25px;
      overflow: hidden;
  
      /* حالت بسته */
      max-height: 0;
      opacity: 0;
      pointer-events: none;
  
      /* انیمیشن */
      transition: max-height 2s ease, opacity 0.5s ease;
      z-index: 10000;
    }


    #settings-btn {
      position: fixed;
      top: calc(50% - 50px);
      right: calc(50% + 80px); /* بالا سمت چپ آواتار */
    }





      /* دکمه اضافه کردن اکانت */
    .add-account {
      padding: 14px 15px;
      background: #ffffff;
      text-align: center;
      cursor: pointer;
      font-weight: bold;
      color: #000;
      font-family: 'Vazir';

    }

    .add-account:hover {
      color: rgb(255, 255, 255);
      background: #000000;

    }

    /* حالت باز */
    .account-dropdown.active {
      max-height: 100px;
      opacity: 1;
      pointer-events: auto;
    }

    /* login-section تمام صفحه */
    .login-section.fullscreen {
      width: 100% !important;
      height: 100% !important;
      transition: all 0.8s ease;
      position: absolute;

    }


    .login-box.fullscreen {
      height: 100%;
      position: relative;
      top: 50%;
      transform: translateY(-50%);

    }
    .main-login-btn.expanded-wide {
      width: 120% ;
      max-width: 1500px;
      height: 120%;
      max-height: 1500px;
      transition: width 3s ease, height 3s ease;
    }


    #assistant-content {
      font-family: 'Vazir';
      width: 80%;
      height: 100%;
      min-height: 90vh;

      overflow-y: auto;
      overflow-x: hidden;
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      /* مخفی کردن اسکرول‌بار */
      scrollbar-width: none;      /* Firefox */
      -ms-overflow-style: none;   /* IE / Edge قدیمی */
    }

    
    /* Chrome, Safari, Edge */
    #assistant-content::-webkit-scrollbar {
      width: 0;
      height: 0;
    }

    .custom-dropdown.field {
      margin-top: 100px;
    }

    
    #comment-system {
      margin-bottom: 250px;
    }



    #dashboard-content {
      font-family: 'Vazir';
      width: 80%;
      height: 100%;
      min-height: 90vh;
    
      overflow-y: auto;
      overflow-x: hidden;
    
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
    
      /* مخفی کردن اسکرول‌بار */
      scrollbar-width: none;
      -ms-overflow-style: none;
    }
    
    /* Chrome, Safari, Edge */
    #dashboard-content::-webkit-scrollbar {
      width: 0;
      height: 0;
    }
    
    .pay-button-wrapper {
      margin-bottom: 150px;
    }


















    .charts-grid {
      display: grid;
      grid-template-columns: repeat(1, 1fr);
      gap: 40px;
      justify-items: center;
      margin-top: 120px;
    }

    .form-container {
      overflow-y: auto;
      overflow-x: hidden;
    }













    .section-content {
      display: none;
      flex-direction: column;
      align-items: center;
      gap: 10px;
      padding: 10px;
      top: 200px;
      transform: translateY(0);
      opacity: 0;
      visibility: hidden;
      transition: opacity 0.5s ease; /* محو/نمایان روان */
    }


















      /* خود باکس چت */
      .chat-box {
        width: 200px;              /* 90 درصد عرض صفحه */
        max-height: 80dvh;        /* حداکثر ارتفاع */
        right: 120px;
        bottom: 120px;
      }

      /* باکس پیام‌ها هم همیشه با عرض چت هماهنگ */
      .chat-messages {
        width: 100%;
        max-height: calc(80dvh - 60px); /* حدود ارتفاع باکس - input */
        overflow-y: auto;
      }

      /* بخش وارد کردن متن */
      .chat-input {
        width: 100%;
        min-width: 180px;
        box-sizing: border-box;
      }

      .chat-input input {
        width: 180px;
        min-width: 180px;
        max-width: 180px;

      }

      /* Floating button موبایل */
      .chat-fab {
        bottom: 16px;
        right: 16px;
      }
      /* حالت فعال */
      .chat-fab.active .chat-ring{
        transform:
          translate(-134px, -250px)
          scaleX(6)
          scaleY(7);
          
        border-radius:10px 10px 0px 5px ;
        box-shadow:0 0 0 0.1px #fff;
        background:#000;
      }
      .chat-fab svg {
        width: 24px;
        height: 24px;
      }

      /* ring داخل دکمه */
      .chat-ring {
        width: 48px;
        height: 48px;
      }
    





    .svg-bottom {
      z-index: 1;
      width: 57.27%; /* proportional */
      height: auto;
    }
    
    .svg-top {
      width: 40.91%; /* proportional */
      height: auto;
    }
    
    .svg-middle {
      z-index: 4;
      margin-left: 3.28%;  /* proportional */
      margin-top: 15.87%;  /* proportional */
      width: 90%;           /* جدید */
      height: auto;
      pointer-events: none;
    }
    
    
      
    /* دکمه / متن */
    .income-label {
      position: absolute;
      top: 220%;
      direction: rtl;

    }

    .income-text {
      font-size: clamp(1rem, 2vw, 22px);
      font-weight: 700;
      margin-right: 25%;
      background: linear-gradient(
        270deg,
        #000000,
        #000000,
        #ffffff,
        #000000
      );
      background-size: 600% 600%;
    
      -webkit-background-clip: text;
      background-clip: text;
    
      color: transparent;
      -webkit-text-fill-color: transparent;
    
      animation: gradientMove 4s ease infinite;
    }





















    .animated-section {
      margin-top: 650px;
      flex-direction: column;
      align-items: center;
      text-align: center;
      height: 100%;

    }

    .svg-wrapper {
      margin-bottom: 120px;
    }

    .space-170px {
      margin-bottom: 70px;
    }

    .space-60px {
      margin-top: -10px;
    }


    .space-top {
      margin-top: 500px;
    }

    .overlay-logo {
      width: 300px;
      min-width: 300px;
      top: 50%;
      left:50%;
      transform: translateX(-50%);
    }


    .main-logo {
      width: 60%;
    }

    .text-content {
      margin-top: -110px;
    }




    .custom-svg-box {
      margin-bottom: 300px;
    }








    .promo-box.expand {
      max-height: 5000px !important; /* ارتفاع نهایی با پلن‌ها */
  
    }



    
    

  }