@font-face {
  font-family: 'myFont';
  src: url('../fonts/Morabba-Medium.woff2');
}

*{
  padding:0;
  margin:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
  height: 100%;
}

body {
  font-family: 'myFont';
  height: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color:#121012;
  background-position: center;
  background-attachment: fixed;
  margin: 0;
  padding-bottom: 90px;
  position: relative;
  z-index: 1;
}

footer{
  color:white;
  margin-top:auto;
}

 
/* برای گوشی‌ها و صفحه‌های کوچک */
@media (max-width: 768px) {
  body {
    font-size: 12px;
  }
}

/* ============================================================
   فوتر
   ============================================================ */
.footer-custom{
    padding: 15px 0 90px;
    border-radius: 50px 50px 0 0;
    background: rgba(32,32,32,0.55);
    border: 1px solid rgba(255,225,31,.15);
    color: #fff;
}

.footer-title{
    color: #ffe11f;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-title i{
    margin-left: 8px;
}

.footer-heading{
    color: #fff;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-text{
    color: #ffe11f;
    font-size: 15px;
}

.footer-links a{
    color: #d8d8d8;
    text-decoration: none;
}

.footer-divider{
    border-color: rgba(255,225,31,.2);
    margin: 25px 0;
}

.copyright{
    color: #d0d0d0;
    font-size: 14px;
}

.copyright span{
    color: #ffe11f;
    font-weight: bold;
}

.designer-link {
    text-decoration: none;
    color: #ffe11f;
    position: relative;
    padding-bottom: 2px;
    border-bottom: 1px dashed rgba(255, 225, 31, 0.5);
}

.designer-link i {
    font-size: 0.85em;
    margin-left: 4px;
    opacity: 0.8;
}

/* ============================================================
   Bottom Navigation
   ============================================================ */
.bottom-nav{
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;

  height: 68px;

  background: #17130f;
  border-top: 1px solid rgba(217,164,65,0.14);

  display: flex;
  justify-content: space-around;
  align-items: center;

  z-index: 2000;
}

.bottom-nav a{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;

  width: 20%;
  height: 100%;

  text-decoration: none;
  color: rgba(255,255,255,0.42);

  font-size: 10.5px;
  gap: 4px;
  padding-bottom: 10px;
}

.bottom-nav a .nav-icon{
  display: flex;
  align-items: center;
  justify-content: center;

  width: 34px;
  height: 34px;
  border-radius: 50%;

  font-size: 16px;
  color: inherit;
}

.bottom-nav a.active{
  color: var(--gold, #eccb84);
}

.bottom-nav a.active .nav-icon{
  background: linear-gradient(135deg, var(--gold-light, #f4d98a), var(--gold, #eccb84));
  color: #1c1408;
}

.bottom-nav a.active .nav-label{
  font-weight: 600;
}

/* ============================================================
   هدر بالا
   ============================================================ */
.top-header{
  margin: 0 !important;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  width: 100% !important;
  padding: 15px 25px;
  padding-bottom: 50px;
  background: #111;
  border-radius: 0;
  height: 75px;
  z-index: 1000;
}

 

.top-header-inner{
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-header-logo{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
}

.logo{
  display: block;
  border-radius: 10px;
}

/* حلقه‌ی نور ملایم پشت لوگو — استاتیک، بدون بلر و انیمیشن */
.logo-glow{
  position: absolute;
  top: 50%; left: 50%;
  width: 90px;
  height: 90px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217,164,65,0.2), transparent 70%);
}

.desktop-menu{
        display:none;

}

 

.media-btn{
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  padding: 0;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  border: 1px solid rgba(217,164,65,0.35);
  background: rgba(217,164,65,0.08);
  margin-left: 10px;
  margin-bottom: 70px;
  text-align: center;
}

.media-btn i{
  font-size: 20px;
  line-height: 1;
}
.menu-toggle{
    display:block;
    border:none;
    background:none;
    color:#fff;
    font-size:28px;
    cursor:pointer;
}

 
/* ---------- Overlay ---------- */
.menu-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.45);
    opacity:0;
    visibility:hidden;
    transition:.3s;
    z-index:1998;
}

.menu-overlay.show{
    opacity:1;
    visibility:visible;
}

/* ---------- Offcanvas ---------- */
.mobile-menu{
    position:fixed;
    top:0;
    right:-300px;

    width:280px;
    max-width:80%;
    height:100vh;

    background:#1b1b1b;

    z-index:1999;

    transition:.35s ease;

    display:flex;
    flex-direction:column;

    padding:25px;
}

.mobile-menu.open{
    right:0;
}

.mobile-header{
    display:flex;
    justify-content:flex-end;
    margin-bottom:30px;
}

.mobile-header button{
    background:none;
    border:none;
    color:#fff;
    font-size:28px;
    cursor:pointer;
}

.mobile-menu a{
    color:#fff;
    text-decoration:none;

    padding:15px 0;

    display:flex;
    align-items:center;
    gap:12px;

    border-bottom:1px solid rgba(255,255,255,.08);
}


.menu-toggle{
    display:block !important;
    visibility: visible !important;
    opacity:1 !important;
    position:relative;
    z-index:200002 !important;
     font-size:30px;
}





@media(max-width:768px){
    .desktop-menu{ display:none; }
    .menu-toggle{ display:block; }
    .top-header-logo img{ width:50px; }
}



/* ============================================================
   MODERN FOOTER
   ============================================================ */

.site-footer {
    position: relative;
    margin-top: 100px;
    padding: 70px 25px 25px;

    background:
        linear-gradient(
            180deg,
            #15120e 0%,
            #0d0d0d 100%
        );

    color: #fff;
    overflow: hidden;

    border-top: 1px solid rgba(236, 203, 132, 0.12);
}


/* نور بسیار ظریف بالای فوتر */

.footer-glow {
    position: absolute;

    top: -180px;
    left: 50%;

    width: 500px;
    height: 300px;

    transform: translateX(-50%);

    background: radial-gradient(
        ellipse,
        rgba(236, 203, 132, 0.09),
        transparent 70%
    );

    pointer-events: none;
}


/* کانتینر */

.footer-container {
    position: relative;
    max-width: 1150px;
    margin: auto;
}


/* ============================================================
   BRAND
   ============================================================ */

.footer-brand {
    display: flex;
    align-items: center;
    gap: 25px;

    margin-bottom: 55px;
}


.footer-logo {
    width: 78px;
    height: 78px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 22px;

    background: rgba(236, 203, 132, 0.06);

    border: 1px solid rgba(236, 203, 132, 0.16);

    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.35);
}


.footer-logo img {
    width: 52px;
    height: auto;
}


.footer-brand-content {
    max-width: 600px;
}


.footer-overline {
    display: block;

    margin-bottom: 8px;

    color: #eccb84;

    font-size: 12px;

    opacity: 0.8;
}


.footer-brand h2 {
    margin: 0 0 10px;

    font-size: 22px;

    font-weight: 600;

    color: #f5f5f5;
}


.footer-brand p {
    margin: 0;

    color: rgba(255, 255, 255, 0.42);

    font-size: 12px;

    line-height: 2;
}


/* ============================================================
   FOOTER MENU
   ============================================================ */

.footer-menu {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 40px;

    margin-bottom: 45px;
}


.footer-column {
    display: flex;
    flex-direction: column;
}


.footer-column h4 {
    position: relative;

    margin: 0 0 20px;

    padding-right: 12px;

    font-size: 14px;

    color: #eccb84;

    font-weight: 600;
}


.footer-column h4::before {
    content: "";

    position: absolute;

    right: 0;
    top: 50%;

    width: 3px;
    height: 15px;

    transform: translateY(-50%);

    border-radius: 10px;

    background: #eccb84;
}


.footer-column a {
    display: flex;
    align-items: center;

    width: fit-content;

    gap: 10px;

    margin-bottom: 14px;

    color: rgba(255, 255, 255, 0.52);

    text-decoration: none;

    font-size: 12px;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}


.footer-column a i {
    width: 18px;

    color: rgba(236, 203, 132, 0.55);

    font-size: 12px;

    text-align: center;

    transition: color 0.25s ease;
}


.footer-column a:hover {
    color: #fff;

    transform: translateX(-5px);
}


.footer-column a:hover i {
    color: #eccb84;
}


/* ============================================================
   LINE
   ============================================================ */

.footer-line {
    width: 100%;
    height: 1px;

    margin-bottom: 25px;

    background:
        linear-gradient(
            to left,
            transparent,
            rgba(236, 203, 132, 0.18),
            transparent
        );
}


/* ============================================================
   BOTTOM
   ============================================================ */

.footer-bottom {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;
}


.footer-copy {
    color: rgba(255, 255, 255, 0.32);

    font-size: 10px;
}


.footer-copy strong {
    color: rgba(236, 203, 132, 0.7);

    font-weight: normal;
}


/* طراح */

.footer-designer {
    display: flex;

    align-items: center;

    gap: 8px;

    text-decoration: none;

    font-size: 10px;

    color: rgba(255, 255, 255, 0.3);

    transition: 0.25s;
}


.footer-designer strong {
    display: flex;

    align-items: center;

    gap: 5px;

    color: #eccb84;

    font-weight: normal;
}


.footer-designer i {
    font-size: 10px;
}


.footer-designer:hover {
    color: #fff;
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 768px) {

    .site-footer {
        margin-top: 70px;

        padding:
            50px 20px
            90px;
    }


    .footer-brand {
        flex-direction: column;

        text-align: center;

        gap: 18px;

        margin-bottom: 45px;
    }


    .footer-brand-content {
        max-width: 100%;
    }


    .footer-brand h2 {
        font-size: 18px;
    }


    .footer-brand p {
        font-size: 11px;

        line-height: 2;
    }


    .footer-menu {
        grid-template-columns:
            repeat(3, 1fr);

        gap: 15px;

        text-align: center;
    }


    .footer-column {
        align-items: center;
    }


    .footer-column h4 {
        font-size: 12px;

        padding-right: 0;
    }


    .footer-column h4::before {
        display: none;
    }


    .footer-column a {
        justify-content: center;

        gap: 6px;

        font-size: 10px;

        margin-bottom: 13px;
    }


    .footer-column a i {
        display: none;
    }


    .footer-bottom {
        flex-direction: column;

        text-align: center;

        gap: 15px;
    }


    .footer-copy {
        line-height: 2;
    }

}

/* ============================================================
   DESIGNER CTA
   ============================================================ */

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
}


.footer-designer {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-direction: column;

    gap: 8px;

    min-width: 230px;

    padding: 14px 22px;

    text-decoration: none;

    border-radius: 18px;

    background:
        linear-gradient(
            135deg,
            rgba(236, 203, 132, 0.09),
            rgba(236, 203, 132, 0.025)
        );

    border: 1px solid rgba(236, 203, 132, 0.18);

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.25);

    overflow: hidden;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


/* نور روی کارت */

.footer-designer::before {
    content: "";

    position: absolute;

    top: 0;
    right: -100%;

    width: 80%;
    height: 100%;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(255,255,255,0.08),
            transparent
        );

    transform: skewX(-20deg);

    transition: right 0.6s ease;
}


/* نوشته کوچک */

.designer-label {
    color: rgba(255,255,255,0.42);

    font-size: 10px;
}


/* نام */

.designer-name {
    position: relative;

    display: flex;

    align-items: center;

    gap: 9px;

    color: #eccb84;

    font-size: 13px;

    font-weight: 500;
}


/* آیکون کد */

.designer-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 27px;
    height: 27px;

    border-radius: 9px;

    background:
        rgba(236,203,132,0.12);

    border:
        1px solid
        rgba(236,203,132,0.2);

    color: #eccb84;

    font-size: 11px;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}


/* فلش */

.designer-arrow {
    font-size: 10px;

    opacity: 0.5;

    margin-right: 3px;

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}


/* Hover */

.footer-designer:hover {

    transform:
        translateY(-4px);

    border-color:
        rgba(236,203,132,0.45);

    box-shadow:
        0 14px 40px
        rgba(236,203,132,0.10);
}


.footer-designer:hover::before {
    right: 120%;
}


.footer-designer:hover .designer-icon {

    transform:
        rotate(-8deg)
        scale(1.08);

    background:
        rgba(236,203,132,0.18);
}


.footer-designer:hover .designer-arrow {

    opacity: 1;

    transform:
        translateX(-5px);
}


/* کلیک */

.footer-designer:active {

    transform:
        translateY(-1px)
        scale(0.98);
}


/* موبایل */

@media (max-width: 768px) {

    .footer-designer {
        min-width: 220px;

        padding: 13px 20px;

        border-radius: 16px;
    }

    .designer-name {
        font-size: 12px;
    }
    .site-footer{
      padding-bottom: 580px !important; 
    }

}


/* ============================================================
   UNIQUE VISITORS - MINI FOOTER STAT
   ============================================================ */

.footer-stats {
    display: flex;
    justify-content: center;

    width: 100%;

    margin: 5px 0 32px;
}


/* کارت کوچک */

.footer-stat-card {
    position: relative;

    display: flex;
    align-items: center;

    gap: 13px;

    padding: 9px 16px;

    min-width: 205px;

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            rgba(236, 203, 132, 0.055),
            rgba(255, 255, 255, 0.018)
        );

    border: 1px solid rgba(236, 203, 132, 0.13);

    box-shadow:
        0 6px 22px rgba(0, 0, 0, 0.18);

    transition:
        .3s ease;
}


/* خط نور ظریف */

.footer-stat-card::before {
    content: "";

    position: absolute;

    top: 0;
    right: 25%;

    width: 50%;
    height: 1px;

    background:
        linear-gradient(
            to left,
            transparent,
            rgba(236, 203, 132, 0.35),
            transparent
        );

    opacity: .7;
}


/* آیکون */

.footer-stat-icon {
    width: 34px;
    height: 34px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    color: #eccb84;

    background:
        rgba(236, 203, 132, 0.07);

    border:
        1px solid
        rgba(236, 203, 132, 0.13);

    font-size: 13px;
}


/* محتوا */

.footer-stat-content {
    display: flex;

    align-items: center;

    gap: 8px;

    direction: rtl;
}


/* عنوان */

.footer-stat-label {
    color:
        rgba(255,255,255,0.40);

    font-size: 9px;

    white-space: nowrap;
}


/* عدد */

.footer-stat-number {
    direction: ltr;

    color: #eccb84;

    font-size: 16px;

    font-weight: 600;

    line-height: 1;

    white-space: nowrap;

    text-shadow:
        0 0 12px
        rgba(236, 203, 132, 0.12);
}


/* ۳۰ روز اخیر */

.footer-stat-desc {
    color:
        rgba(255,255,255,0.22);

    font-size: 8px;

    white-space: nowrap;
}


/* Hover */

.footer-stat-card:hover {
    transform: translateY(-2px);

    border-color:
        rgba(236, 203, 132, 0.25);

    box-shadow:
        0 9px 28px rgba(236, 203, 132, 0.06);
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 768px) {

    .footer-stats {
        margin:
            0 0 28px;
    }

    .footer-stat-card {

        min-width: 0;

        padding: 8px 13px;

        gap: 10px;

        border-radius: 13px;
    }

    .footer-stat-icon {

        width: 30px;
        height: 30px;

        border-radius: 9px;

        font-size: 11px;
    }

    .footer-stat-content {
        gap: 6px;
    }

    .footer-stat-label {
        font-size: 8px;
    }

    .footer-stat-number {
        font-size: 14px;
    }

    .footer-stat-desc {
        font-size: 7px;
    }
}