*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Vazirmatn,Tahoma,sans-serif;color:#202333;background:#fff;line-height:1.9}.wrap{width:min(1120px,calc(100% - 36px));margin:auto}.hero{display:grid;grid-template-columns:1.15fr .85fr;align-items:center;gap:30px;padding:62px 0 35px}.hello{background:#efeeff;color:#5b55e8;border-radius:20px;padding:4px 13px;font-size:12px;font-weight:700}.hero h1{font-size:38px;line-height:1.45;margin:14px 0}.hero p{font-size:14px;color:#85899b;max-width:650px}.buttons{display:flex;gap:12px;margin-top:25px}.buttons a{padding:10px 19px;border-radius:11px;font-size:12px;text-decoration:none;font-weight:700}.primary{background: linear-gradient(135deg,var(--pink),var(--purple));color:white}.secondary{border:1px solid #e5e5ed;color:#656a7c}.portrait{height:310px;position:relative;display:flex;justify-content:center;align-items:flex-end}.portrait .splash{position:absolute;width:310px;height:285px;background:#ebeaff;clip-path:polygon(8% 12%,40% 4%,70% 13%,93% 7%,84% 36%,100% 60%,80% 78%,75% 99%,49% 88%,25% 100%,19% 76%,0 62%,12% 39%,3% 23%)}.portrait img{position:relative;width: 310px;;height: 310px;object-fit:cover;object-position:center top;mix-blend-mode:multiply}.developer{position:absolute;right:5px;bottom:65px;color:#656979;font-family:cursive;font-size:15px;transform:rotate(-5deg)}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.stat{border:1px solid #e9eaf2;border-radius:12px;padding:13px;display:flex;align-items:center;gap:12px}.statIcon{width:35px;height:35px;background:#f0efff;color:#5b55e8;border-radius:9px;display:grid;place-items:center}.stat b{font-size:18px}.stat span{display:block;font-size:10px;color:#85899b}.about{display:grid;grid-template-columns:.85fr 1.15fr;gap:50px;padding:70px 0}.card{border:1px solid #e7e8f0;border-radius:14px;background:#fafaff;padding:21px}.card h2,.bio h2,#skills h2,#projects h2{font-size:19px;margin:0 0 18px}.item{display:grid;grid-template-columns:35px 1fr;gap:11px;padding-bottom:18px}.dot{width:32px;height:32px;background:#efeeff;color:#5b55e8;border-radius:50%;display:grid;place-items:center}.item h3{font-size:12px;margin:0}.item span,.item p{font-size:10px;color:#85899b;margin:0}.bio p{font-size:13px;color:#72768a}.bio i{display:block;width:50px;height:3px;background:#5b55e8;border-radius:5px;margin:-8px 0 18px}.bio ul{padding:0;list-style:none;color:#777b8d;font-size:11px;display:grid;gap:8px}.signature{font-family:cursive;font-size:20px;transform:rotate(-5deg);display:inline-block;margin-top:12px}section#skills,section#projects{padding:0 0 68px}.title{margin-bottom:22px}.title p,#projects p{color:#85899b;font-size:11px;margin:0}.skills{display:grid;grid-template-columns:repeat(8,1fr);gap:12px}.skill{border:1px solid #e7e8f0;border-radius:12px;text-align:center;padding:13px 5px}.skill strong{font-size:10px}.projectTitle{display:flex;justify-content:space-between;align-items:end;margin-bottom:20px}.filters{display:flex;gap:6px}.filter{border:1px solid #e6e7ef;background:white;color:#777b8c;border-radius:8px;padding:6px 11px;font-size:10px;cursor:pointer}.filter.active{background:#efeeff;color:#5b55e8;border-color:#d9d7ff}.projects{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.project{border:1px solid #e6e7ef;border-radius:13px;overflow:hidden}.project img{display:block;width:100%;height:60%;object-fit:cover}.projectBody{padding:12px}.project h3{font-size:13px;margin:0 0 5px}.projectBody p{min-height:40px;font-size:10px!important}.tag{display:inline-block;background:#f0efff;color:#5b55e8;border-radius:5px;padding:2px 6px;font-size:8px;margin:3px}footer{border-top:1px solid #e7e8ef;padding:25px 0;display:flex;justify-content:space-between;align-items:center;gap:15px;color:#85899b;font-size:10px;flex-wrap:wrap}footer b{color:#303346}footer small{width:100%;text-align:center;color:#aaa}@media(max-width:900px){.header nav{gap:13px}.skills{grid-template-columns:repeat(4,1fr)}.hero h1{font-size:32px}}@media(max-width:700px){.wrap{width:min(100% - 24px,520px)}.header{height:68px}.menu{display:block;order:3}.header nav{display:none;position:absolute;top:67px;right:0;left:0;background:white;padding:8px 18px;flex-direction:column;gap:0;box-shadow:0 12px 25px #2221}.header nav.open{display:flex}.header nav a{padding:8px 0}.actions{margin-right:auto}.hero{grid-template-columns:1fr;padding-top:35px}.portrait{order:-1;height:250px}.portrait img{width:205px;height:230px}.portrait .splash{width:250px;height:230px}.stats{grid-template-columns:repeat(2,1fr)}.about{grid-template-columns:1fr;gap:35px}.skills{grid-template-columns:repeat(4,1fr)}.projects{grid-template-columns:1fr}.projectTitle{display:block}.filters{margin-top:12px}.hero h1{font-size:27px}.buttons{flex-direction:column}.buttons a{text-align:center}footer{justify-content:center;text-align:center}}@media(max-width:420px){.skills{grid-template-columns:repeat(2,1fr)}.hero h1{font-size:24px}}



:root {
    --pink: #ff4f9a;
    --purple: #7b61ff;
    --cyan: #20c9c5;
    --orange: #ff9b45;
    --ink: #272238;
    --soft: #fff0f7;
  }
 




.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 100%;
  }
  
  /* دکمه دسته‌بندی */
  .nav-dropdown .dropdown-btn {
    border: none;
    outline: none;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
  
    display: flex;
    align-items: center;
    gap: 6px;
  
    padding: 10px 12px;
  }
  
  /* فلش */
  .nav-dropdown .dropdown-btn span {
    font-size: 14px;
    transition: transform 0.25s ease;
  }
  
  /* منوی بازشونده */
  .nav-dropdown .dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
  
    width: 850px;
    max-width: calc(100vw - 30px);
  
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  
    padding: 25px;
  
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
  
    box-shadow:
      0 15px 45px rgba(0, 0, 0, 0.45),
      0 0 25px rgba(120, 60, 255, 0.12);
  
    z-index: 9999;
  
    /* مخفی */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
  
    transition:
      opacity 0.2s ease,
      visibility 0.2s ease,
      transform 0.2s ease;
  }
  
  
  /* باز شدن منو با Hover */
  .nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  /* چرخش فلش */
  .nav-dropdown:hover .dropdown-btn span {
    transform: rotate(180deg);
  }
  
  
  /* =========================
     ستون‌های دسته‌بندی
     ========================= */
  
  .nav-dropdown .dropdown-column {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  
  /* عنوان دسته */
  .nav-dropdown .dropdown-column h4 {
    margin: 0 0 10px;
  
    color: purple;
    font-size: 15px;
    font-weight: 700;
  
    padding-bottom: 8px;
  
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  
  
  /* لینک‌های داخل دسته‌بندی */
  .nav-dropdown .dropdown-column a {
    display: block;
  
    padding: 6px 8px;
  
    color: black;
    text-decoration: none;
  
    font-size: 13px;
  
    border-radius: 6px;
  
    transition:
      color 0.2s ease,
      background 0.2s ease,
      padding-right 0.2s ease;
  }
  
  
  /* Hover لینک */
  .nav-dropdown .dropdown-column a:hover {
    color: #ffffff;
  
    background: rgba(130, 70, 255, 0.12);
  
    padding-right: 13px;
  }
  
  
  /* =========================
     موبایل
     ========================= */
  
  @media (max-width: 768px) {
  
    .nav-dropdown {
      width: 100%;
      display: block;
    }
  
    .nav-dropdown .dropdown-btn {
      width: 100%;
      justify-content: space-between;
    }
  
    .nav-dropdown .dropdown-menu {
      position: static;
  
      width: 100%;
      max-width: none;
  
      grid-template-columns: 1fr;
  
      gap: 15px;
  
      margin-top: 8px;
      padding: 15px;
  
      border-radius: 10px;
  
      display: none;
  
      opacity: 1;
      visibility: visible;
      transform: none;
    }
  
    .nav-dropdown:hover .dropdown-menu {
      display: grid;
    }
  
  }







  /* -------------------------finish------------------- */






































































a{text-decoration:none;color:inherit}button{font:inherit;cursor:pointer}img{max-width:100%;display:block}:root{--pink:#ff4f9a;--purple:#7b61ff;--cyan:#20c9c5;--orange:#ff9b45;--ink:#272238;--soft:#fff0f7}









.navbar{position:fixed;top:0;right:0;left:0;height:74px;z-index:50;display:flex;align-items:center;justify-content:space-between;padding:0 5%;background:rgba(255,255,255,.88);backdrop-filter:blur(16px);border-bottom:1px solid #f0e4ed}.logo{font-size:23px;font-weight:900;color:var(--ink)}.logo span{color:var(--pink)}nav{display:flex;gap:30px;align-items:center}nav a{font-size:14px;font-weight:600;color:#665d73;transition:.2s}nav a:hover,nav a.active{color:var(--purple)}.nav-actions{display:flex;align-items:center;gap:14px}.cart-link{position:relative;font-size:21px}.cart-link b{position:absolute;top:-8px;right:-11px;width:18px;height:18px;border-radius:50%;display:grid;place-items:center;background:var(--pink);color:#fff;font-size:10px}.menu-btn{display:none;border:0;background:none;font-size:25px;color:var(--ink)}





















/* ==============================
   موتور جستجوی Game Sana
   ============================== */

   .site-search {
    position: relative;
    width: 330px;
    z-index: 100;
  }
  
  .search-input-wrapper {
    width: 100%;
    height: 44px;
    display: flex;
    align-items: center;
  
    background: #fff;
    border: 1px solid #eadfea;
    border-radius: 13px;
  
    padding: 0 12px;
  
    transition: .25s;
  }
  
  .search-input-wrapper:focus-within {
    border-color: var(--purple);
    box-shadow: 0 8px 25px rgba(123, 97, 255, .12);
  }
  
  .search-icon {
    color: var(--purple);
    font-size: 23px;
    line-height: 1;
    margin-left: 7px;
  }
  
  #siteSearch {
    width: 100%;
    height: 100%;
  
    border: 0;
    outline: 0;
    background: transparent;
  
    color: var(--ink);
  
    font-family: "Vazirmatn", Tahoma, sans-serif;
    font-size: 12px;
  }
  
  #siteSearch::placeholder {
    color: #aaa1ad;
  }
  
  #clearSearch {
    display: none;
  
    border: 0;
    background: transparent;
  
    color: #aaa1ad;
    font-size: 22px;
  
    cursor: pointer;
  }
  
  #clearSearch:hover {
    color: var(--pink);
  }
  
  
  /* نتایج جستجو */
  
  .search-results {
    position: absolute;
  
    top: calc(100% + 8px);
    right: 0;
    left: 0;
  
    background: #fff;
  
    border: 1px solid #eee2ed;
    border-radius: 16px;
  
    box-shadow: 0 20px 50px rgba(62, 35, 76, .15);
  
    overflow: hidden;
  
    display: none;
  
    max-height: 430px;
    overflow-y: auto;
  }
  
  
  /* هر نتیجه */
  
  .search-result {
    display: flex;
    align-items: center;
    gap: 12px;
  
    padding: 12px 14px;
  
    border-bottom: 1px solid #f2eaf1;
  
    text-decoration: none;
  
    color: var(--ink);
  
    transition: .2s;
  }
  
  .search-result:last-child {
    border-bottom: 0;
  }
  
  .search-result:hover {
    background: #fff5fa;
  }
  
  
  /* آیکن نتیجه */
  
  .search-result-icon {
    width: 42px;
    height: 42px;
  
    flex-shrink: 0;
  
    display: grid;
    place-items: center;
  
    background: linear-gradient(
      135deg,
      #fff0f7,
      #f0efff
    );
  
    border-radius: 11px;
  
    font-size: 20px;
  }
  
  
  /* متن نتیجه */
  
  .search-result-content {
    min-width: 0;
    flex: 1;
  }
  
  .search-result-title {
    display: block;
  
    font-size: 12px;
    font-weight: 800;
  
    color: var(--ink);
  
    margin-bottom: 3px;
  }
  
  .search-result-description {
    display: block;
  
    font-size: 10px;
  
    color: #8a8194;
  
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  
  /* نوع نتیجه */
  
  .search-result-type {
    font-size: 9px;
  
    padding: 4px 7px;
  
    border-radius: 7px;
  
    background: #f3efff;
  
    color: var(--purple);
  
    white-space: nowrap;
  }
  
  
  /* وقتی نتیجه‌ای پیدا نشد */
  
  .search-no-result {
    padding: 25px 15px;
  
    text-align: center;
  
    color: #8a8194;
  
    font-size: 12px;
  }
  
  
  /* تعداد نتایج */
  
  .search-count {
    padding: 9px 14px;
  
    background: #faf6fa;
  
    color: #8a8194;
  
    font-size: 10px;
  
    border-bottom: 1px solid #f0e5ed;
  }
  
  
  /* موبایل */
  
  @media (max-width: 1000px) {
  
    .site-search {
      width: 250px;
    }
  
  }
  
  
  @media (max-width: 750px) {
  
    .site-search {
      position: absolute;
  
      top: 76px;
      right: 5%;
      left: 5%;
  
      width: auto;
    }
  
    .search-input-wrapper {
      height: 46px;
    }
  
    .search-results {
      max-height: 60vh;
    }
  
  }
  
  
  @media (max-width: 520px) {
  
    .site-search {
      right: 3%;
      left: 3%;
    }
  
    #siteSearch {
      font-size: 11px;
    }
  
  }










/* =========================================================
   MOBILE NAVIGATION FIX
   ========================================================= */
@media (max-width: 700px) {
  .navbar {
    height: 68px;
    padding: 0 14px;
  }

  .navbar nav {
    display: none;
    position: absolute;
    top: 68px;
    right: 0;
    left: 0;
    width: 100%;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
    overflow-x: hidden;
    background: #fff;
    padding: 10px 16px 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    box-shadow: 0 12px 30px rgba(34, 34, 34, .12);
    border-top: 1px solid #f0e4ed;
    z-index: 9998;
  }

  .navbar nav.open {
    display: flex;
  }

  .navbar nav > a {
    display: block;
    width: 100%;
    padding: 12px 4px;
    border-bottom: 1px solid #f3edf2;
    font-size: 14px;
  }

  .nav-actions {
    margin-right: auto;
  }

  .menu-btn {
    display: block;
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 10px;
    line-height: 1;
    font-size: 27px;
    text-align: center;
  }

  .menu-btn:focus-visible {
    outline: 2px solid var(--purple);
    outline-offset: 2px;
  }

  /* دسته‌بندی‌ها در موبایل */
  .navbar .nav-dropdown {
    display: block;
    width: 100%;
    height: auto;
  }

  .navbar .nav-dropdown .dropdown-btn {
    width: 100%;
    min-height: 48px;
    padding: 12px 4px;
    justify-content: space-between;
    color: #665d73;
    border-bottom: 1px solid #f3edf2;
    font-size: 14px;
  }

  .navbar .nav-dropdown .dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 10px 8px 12px;
    grid-template-columns: 1fr;
    gap: 10px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: #faf9ff;
    opacity: 1;
    visibility: visible;
    transform: none;
    overflow: visible;
  }

  .navbar .nav-dropdown.open .dropdown-menu {
    display: grid;
  }

  /* جلوگیری از باز شدن با hover در موبایل */
  .navbar .nav-dropdown:hover .dropdown-menu {
    display: none;
  }

  .navbar .nav-dropdown.open:hover .dropdown-menu {
    display: grid;
  }

  .navbar .nav-dropdown .dropdown-column {
    width: 100%;
    gap: 2px;
    min-width: 0;
  }

  .navbar .nav-dropdown .dropdown-column h4 {
    margin: 0 0 4px;
    padding: 8px 6px;
    font-size: 13px;
    border-bottom: 1px solid #ebe7f5;
  }

  .navbar .nav-dropdown .dropdown-column a {
    width: 100%;
    padding: 7px 8px;
    font-size: 12px;
    color: #55505f;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .navbar .nav-dropdown .dropdown-column a:hover {
    padding-right: 8px;
    color: var(--purple);
    background: #f0efff;
  }
}

/* صفحه‌های خیلی باریک */
@media (max-width: 420px) {
  .navbar {
    padding: 0 10px;
  }

  .logo {
    font-size: 19px;
  }

  .cart-link {
    font-size: 19px;
  }

  .menu-btn {
    width: 38px;
    height: 38px;
    font-size: 25px;
  }

  .navbar nav {
    padding-left: 12px;
    padding-right: 12px;
  }
}


































/* ===============================
   MY PROJECTS
   =============================== */

   .my-projects-section {
    width: 100%;
    max-width: 1400px;
  
    margin: 0 auto;
    padding: 90px 25px;
  
    box-sizing: border-box;
  
    font-family: inherit;
  }
  
  
  /* Header */
  
  .my-projects-header {
    text-align: center;
  
    margin-bottom: 45px;
  }
  
  .my-projects-label {
    display: inline-block;
  
    padding: 7px 15px;
  
    border-radius: 50px;
  
    background: #eef1ff;
  
    color: #5365e8;
  
    font-size: 13px;
    font-weight: 700;
  }
  
  .my-projects-title {
    margin: 14px 0 8px;
  
    color: #172554;
  
    font-size: clamp(32px, 4vw, 48px);
  
    font-weight: 900;
  
    line-height: 1.3;
  }
  
  .my-projects-description {
    margin: 0;
  
    color: #64748b;
  
    font-size: 15px;
  
    line-height: 1.8;
  }
  
  
  /* Projects Grid */
  
  .my-projects-grid {
    display: grid;
  
    grid-template-columns: repeat(3, 1fr);
  
    gap: 25px;
  
    width: 100%;
  }
  
  
  /* Card */
  
  .my-project-card {
    display: block;
  
    text-decoration: none;
  
    background: #ffffff;
  
    border-radius: 24px;
  
    overflow: hidden;
  
    border: 1px solid #edf0f7;
  
    box-shadow:
      0 10px 35px rgba(30, 41, 90, 0.07);
  
    transition:
      transform 0.3s ease,
      box-shadow 0.3s ease;
  
    color: inherit;
  }
  
  .my-project-card:hover {
    transform: translateY(-8px);
  
    box-shadow:
      0 20px 45px rgba(30, 41, 90, 0.13);
  }
  
  
  /* Image */
  
  .my-project-image {
    position: relative;
  
    width: 100%;
  
    height: 260px;
  
    overflow: hidden;
  
    background: #eef1ff;
  }
  
  .my-project-image img {
    width: 100%;
    height: 100%;
  
    display: block;
  
    object-fit: cover;
  
    transition:
      transform 0.5s ease;
  }
  
  .my-project-card:hover .my-project-image img {
    transform: scale(1.06);
  }
  
  
  /* Overlay */
  
  .my-project-overlay {
    position: absolute;
  
    inset: 0;
  
    display: flex;
  
    align-items: center;
    justify-content: center;
  
    gap: 10px;
  
    background:
      rgba(38, 50, 130, 0.75);
  
    color: #ffffff;
  
    opacity: 0;
  
    transition: opacity 0.3s ease;
  }
  
  .my-project-card:hover .my-project-overlay {
    opacity: 1;
  }
  
  .my-project-overlay span {
    font-size: 15px;
  
    font-weight: 700;
  }
  
  .my-project-overlay b {
    font-size: 22px;
  }
  
  
  /* Info */
  
  .my-project-info {
    display: flex;
  
    align-items: center;
  
    gap: 18px;
  
    padding: 22px;
  
    box-sizing: border-box;
  }
  
  .my-project-number {
    min-width: 42px;
    height: 42px;
  
    display: flex;
  
    align-items: center;
    justify-content: center;
  
    border-radius: 13px;
  
    background: #eef1ff;
  
    color: #5365e8;
  
    font-size: 13px;
  
    font-weight: 800;
  }
  
  .my-project-info h3 {
    margin: 0 0 5px;
  
    color: #172554;
  
    font-size: 19px;
  
    font-weight: 800;
  }
  
  .my-project-info p {
    margin: 0;
  
    color: #64748b;
  
    font-size: 13px;
  }
  
  
  /* ===============================
     TABLET
     =============================== */
  
  @media (max-width: 900px) {
  
    .my-projects-section {
      padding: 70px 20px;
    }
  
    .my-projects-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  
  }
  
  
  /* ===============================
     MOBILE
     =============================== */
  
  @media (max-width: 600px) {
  
    .my-projects-section {
      padding: 55px 15px;
    }
  
    .my-projects-grid {
      grid-template-columns: 1fr;
  
      gap: 20px;
    }
  
    .my-project-image {
      height: 230px;
    }
  
    .my-projects-title {
      font-size: 32px;
    }
  
  }
  
  
  /* ===============================
     SMALL MOBILE
     =============================== */
  
  @media (max-width: 380px) {
  
    .my-project-image {
      height: 210px;
    }
  
    .my-project-info {
      padding: 18px;
    }
  
  }