.slider-container {
      
    padding: 30px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 0.375rem;
}
.slider-text {
    max-width: 50%;
    text-align: right;
}
.slider-container h1 {
    font-size: 2.5rem;
    font-weight: bold;
}
.slider-container p {
    font-size: 1.25rem;
    margin-bottom: 20px;
}
.slider-container .btn {
    margin: 0 10px;
    padding: 10px 20px;
    /* border-radius: 50px; */
}
.slider-image {
    max-width: 300px;
    animation: float 3s ease-in-out infinite;
}

/* Animation for text */
.slide-up {
    opacity: 0;
    transform: translateY(50px);
    animation: slideUp 1s forwards;
}
.slide-up-1 {
    animation-delay: 0.3s;
}
.slide-up-2 {
    animation-delay: 0.6s;
}
.slide-up-3 {
    animation-delay: 0.9s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Query for Mobile Devices */
@media (max-width: 768px) {
    .slider-container {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    .slider-text {
        max-width: 100%;
        margin-bottom: 20px;
    }
    .slider-container h1 {
        font-size: 2rem;
    }
    .slider-container p {
        font-size: 1rem;
    }
    .slider-image {
        max-width: 200px;
    }
    .slider-container .btn {
        display: block;
        margin: 10px auto;
    }
}

.counter {
    text-align: center;
    margin: 20px;
  }
  .counter .count {
    font-size: 40px;
    font-weight: 200;
    /* color: #dc3545; */
  }
  .counter .label {
    font-size: 18px;
    color: #666;
  }
  .counter i {
    font-size: 40px;
    /* color: #dc3545; */
    margin-bottom: 10px;
  }


  .card {
    background-color: #f8f9fa;
    }
    .night-mode .card {
        /* background-color: #343a40; */
    }

    .card-art {
        transition: transform 0.3s ease;
      }
      
      .card-art:hover {
        transform: translateY(-10px);
      }
      

.card-art img {
    transition: transform 0.3s ease;
}

.card-art:hover img {
    transform: scale(1.04);
}

/* 4slide */

.icon-box {
    font-size: 2.5rem;
    background-color: #3b3b3b;
    color: #fff;
    width: 70px;
    height: 70px;
    border-radius: 28%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 0rem auto;
}
.section-heading {
    /* color: #fff; */
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 300;
}
.icon-text {
    /* color: #fff; */
}



.icon-box i {
    font-size: 2rem; 
}

@keyframes gentleIconBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.icon-box i.icon-bounce {
    animation: gentleIconBounce 2s ease-in-out infinite;
}

.nft-heading {
    font-size: 1rem;
    font-weight: 500;
}

.nft-heading-two {
    font-size: 1.1rem;
    font-weight: 500;
}
/* night */
.night-mode .shadow-sm {
    box-shadow: 0 .125rem .25rem rgba(255, 255, 255, .1) !important;
}

.night-mode .card-header {
    background-color: unset!important;
    border-bottom: 3px solid rgb(255 255 255 / 3%) !important;
    border-top: 2px solid rgb(255 255 255 / 3%) !important;
}


.glow-button {
    border: 2px solid #dc3545; /* قرمز */
    background-color: transparent;
    color: #dc3545;
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 0 3px rgba(220, 53, 69, 0.6), 0 0 6px rgba(220, 53, 69, 0.6); /* شفافیت کمتر */
    animation: glow-animation 3s infinite;
    transition: color 0.3s, border-color 0.3s;
}

.glow-button:hover {
    color: white;
    background-color: #dc3545;
    border-color: #dc3545;
}

@keyframes glow-animation {
    0% {
        box-shadow: 0 0 2px rgba(220, 53, 69, 0.5), 0 0 4px rgba(220, 53, 69, 0.5); /* شفافیت کمتر */
    }
    50% {
        box-shadow: 0 0 4px rgba(220, 53, 69, 0.7), 0 0 8px rgba(220, 53, 69, 0.7); /* شفافیت بیشتر */
    }
    100% {
        box-shadow: 0 0 2px rgba(220, 53, 69, 0.5), 0 0 4px rgba(220, 53, 69, 0.5); /* شفافیت کمتر */
    }
}



.glow-button-gold {
    border: 2px solid #FFD700; /* طلایی */
    background-color: #FFD700; /* طلایی */
    color: white;
    position: relative;
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 0 3px rgba(255, 215, 0, 0.6), 0 0 6px rgba(255, 215, 0, 0.6); /* شفافیت کمتر */
    animation: glow-animation-gold 3s infinite;
    transition: color 0.3s, border-color 0.3s, background-color 0.3s;
}

.glow-button-gold:hover {
    color: white;
    background-color: #FFD700;
    border-color: #FFD700;
}

@keyframes glow-animation-gold {
    0% {
        box-shadow: 0 0 2px rgba(255, 215, 0, 0.5), 0 0 4px rgba(255, 215, 0, 0.5); /* شفافیت کمتر */
    }
    50% {
        box-shadow: 0 0 4px rgba(255, 215, 0, 0.7), 0 0 8px rgba(255, 215, 0, 0.7); /* شفافیت بیشتر */
    }
    100% {
        box-shadow: 0 0 2px rgba(255, 215, 0, 0.5), 0 0 4px rgba(255, 215, 0, 0.5); /* شفافیت کمتر */
    }
}


#userMenuButton {
    position: relative;
    background-color: #dc3545!important;
    color: white;
    border: none;
    overflow: hidden;
}
#walletMenuButton {
    position: relative;
    background-color: #ffc207!important;
    color: #444444;
    border: none;
    overflow: hidden;
}

#userMenuButton::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-color: rgba(255, 255, 255, 0.3);
    transform: rotate(45deg);
    transition: all 0.5s ease-in-out;
    z-index: 0;
}

#userMenuButton:hover::before {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
}

#userMenuButton i {
    position: relative;
    z-index: 1;
}


.dropdown-menu {
    transition: max-height 0.4s ease, opacity 0.4s ease;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
}

.dropdown-menu.show {
    max-height: 500px; /* تنظیم مقدار مناسب */
    opacity: 1;
}
.dropdown-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    font-size: 14px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-item i {
    margin-left: 10px;
    font-size: 16px;
    color: #6c757d; /* رنگ آیکون‌ها */
    transition: color 0.3s ease;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #343a40;
}

.dropdown-item:hover i {
    color: #343a40; /* تغییر رنگ آیکون‌ها در حالت هاور */
}

.dropdown-item.disabled {
    opacity: 0.6;
    pointer-events: none;
    color: #adb5bd; /* رنگ برای دکمه غیرفعال */
}

.dropdown-item .badge {
    margin-left: auto;
    font-size: 10px;
    font-weight: normal;
    margin-right: 3px;
}



.night-mode .dropdown-menu {
    background-color: #333!important;
    color: #fff;
}

.dropdown-menu {
    transition: max-height 0.4s ease, opacity 0.4s ease;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
}

.dropdown-menu.show {
    max-height: 500px; 
    opacity: 1;
}
.dropdown-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    font-size: 14px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-item i {
    margin-left: 10px;
    font-size: 16px;
    color: #6c757d; 
    transition: color 0.3s ease;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #343a40;
}

.dropdown-item:hover i {
    color: #343a40;
}

.dropdown-item.disabled {
    opacity: 0.6;
    pointer-events: none;
    color: #adb5bd; 
}

.dropdown-item .badge {
    margin-left: auto;
    font-size: 10px;
    font-weight: normal;
}

/* برای حالت شب */
.night-mode .dropdown-menu {
    background-color: #343a40; /* معادل bg-dark */
    color: #ffffff !important; /* اطمینان از سفید بودن متن */
}

.night-mode .dropdown-menu a {
    color: #ffffff !important; /* اطمینان از سفید بودن لینک‌ها */
}

.night-mode .dropdown-menu a:hover {
    background-color: #495057 !important; /* پس‌زمینه تیره‌تر در hover */
    color: #f8f9fa !important; /* اطمینان از سفید ماندن متن در hover */
}

.night-mode .dropdown-menu .dropdown-item:hover {
    background-color: #495057 !important; /* تنظیم پس‌زمینه hover برای آیتم‌های منو */
    color: #f8f9fa !important; /* تنظیم رنگ متن در hover */
}

.dropdown-menu {
    transition: max-height 0.4s ease, opacity 0.4s ease;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
}

.dropdown-menu.show {
    max-height: 500px; /* تنظیم مقدار مناسب */
    opacity: 1;
}
.dropdown-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    font-size: 14px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-item i {
    margin-left: 10px;
    font-size: 16px;
    color: #6c757d; /* رنگ آیکون‌ها */
    transition: color 0.3s ease;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #343a40;
}

.dropdown-item:hover i {
    color: #343a40; /* تغییر رنگ آیکون‌ها در حالت هاور */
}

.dropdown-item.disabled {
    opacity: 0.6;
    pointer-events: none;
    color: #adb5bd; /* رنگ برای دکمه غیرفعال */
}

.dropdown-item .badge {
    margin-left: auto;
    font-size: 10px;
    font-weight: normal;
}

.dropdown-menu a:hover {
    background-color: #495057c4 !important; /* پس‌زمینه تیره‌تر در hover */
    color: #f8f9fa !important; /* اطمینان از سفید ماندن متن در hover */
}

.night-mode .shadow-sm {
    box-shadow: 0 .125rem .25rem rgba(255, 255, 255, .1) !important;
}


.night-mode .card {
    background-color: #ffffff1c !important; /* تنظیم پس‌زمینه hover برای آیتم‌های منو */
}


.night-mode .user-info-box {
    background-color: #2c2c2c;
    border: 1px solid #555;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.5);
    color: #f1f1f1;
}


.user-info-box {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
    margin-bottom: 20px;
    direction: rtl;
}

.user-info-box img {
    width: 80px;
    height: 80px;
    /* border-radius: 50%; */
    object-fit: cover;
    margin-bottom: 15px;
}

.user-info-box h5 {
    font-weight: bold;
    margin-bottom: 5px;
}

.user-info-box p {
    margin-bottom: 10px;
    color: #666;
}

.user-info-box .followers-following {
    display: flex;
    justify-content: space-between;
}

.user-info-box .followers-following div {
    width: 48%;
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
}

.user-info-box .followers-following div h6 {
    margin: 0;
    font-size: 14px;
    /* color: #333; */
}

.user-info-box .followers-following div p {
    margin: 0;
    font-size: 12px;
    color: #888;
}



.night-mode .user-info-box .followers-following div {
background-color: #3a3a3a;
color: #f1f1f1;
}



.arsha-head-card {
    background-color: #3a3a3a;
    color: #f1f1f1;
}

.form-floating.custom-class>label {
    top: 0;
    right: 0;
    transform-origin: 100% 0;
    transition: opacity .1s ease-in-out,transform .1s ease-in-out;
}
.form-floating.custom-class>.form-control-plaintext~label, .form-floating.custom-class>.form-control:focus~label, .form-floating>.form-control:not(:placeholder-shown)~label, .form-floating>.form-select~label {
    opacity: .65;
    transform: scale(.85) translateY(-0.5rem) translateX(-0.15rem);
}

body.night-mode .form-floating.custom-class>label {
/* top: -1rem; */
right: 0;
transform-origin: 100% 0;
transition: opacity .1s ease-in-out, transform .1s ease-in-out;
opacity: .65; /* شفافیت مناسب برای حالت تاریک */
}

body.night-mode .form-floating.custom-class>.form-control-plaintext~label, 
body.night-mode .form-floating.custom-class>.form-control:focus~label, 
body.night-mode .form-floating.custom-class>.form-control:not(:placeholder-shown)~label, 
body.night-mode .form-floating.custom-class>.form-select~label {
opacity: .65;
/* transform: scale(.85) translateY(-1.5rem) translateX(-0.15rem); */
}

body.night-mode .form-floating.custom-class>.form-control::placeholder {
color: transparent; /* مخفی کردن placeholder وقتی label در حالت active است */
}


.night-mode .card {
    background-color: #2c2c2c;
    color: #f1f1f1;
}

.night-mode .list-group-item {
    background-color: #2c2c2c;
    color: #f1f1f1;
}

.night-mode .night-mode-bg-dark {
    background-color: #2c2c2c !important;
}

.night-mode .night-mode-bg-secondary {
    background-color: #5a5a5a !important;
}

.night-mode .night-mode-bg-primary {
    background-color: #3b82f6 !important;
}

.night-mode .night-mode-text-light {
    color: #f1f1f1 !important;
}

.night-mode .night-mode-text-muted {
    color: #9e9e9e !important;
}

.night-mode .night-mode-text-primary {
    color: #3b82f6 !important;
}

.night-mode .night-mode-text-success {
    color: #4caf50 !important;
}

.night-mode .night-mode-text-danger {
    color: #f44336 !important;
}


.profile-header {
    text-align: center;
    margin-top: 20px;
}
.profile-header img {
    width: 250px;
    height: 250px;
    /* border-radius: 50%; */
}
.profile-info {
    margin-top: 20px;
}
.posts-section {
    margin-top: 20px;
}


.profile-header {
    text-align: center;
    margin-bottom: 30px;
}

.profile-avatar {
    width: 150px;
    height: 150px;
    /* border-radius: 50%; */
}

.profile-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.followers-list {
    margin-top: 20px;
}

.followers-list ul {
    list-style: none;
    padding: 0;
}

.followers-list li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.follower-avatar {
    width: 35px;
    height: 35px;
    /* border-radius: 50%; */
    margin-right: 10px;
    margin-left: 5px;
}


.profile-header {
    text-align: center;
    margin-bottom: 30px;
}

.profile-avatar {
    width: 150px;
    height: 150px;
    /* border-radius: 50%; */
}

.profile-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.followers-list {
    margin-top: 20px;
}

.followers-list ul {
    list-style: none;
    padding: 0;
}

.followers-list li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.follower-avatar {
    width: 35px;
    height: 35px;
    /* border-radius: 50%; */
    margin-right: 10px;
    margin-left: 5px;
}

.night-mode .bg-light {
    background-color: #343a40 !important; /* رنگ پس‌زمینه تیره */
}

.night-mode .text-muted {
    color: #adb5bd !important; /* رنگ متن روشن‌تر */
}


.modal-content {
    background-color: #fff;
    color: #000;
}

.night-mode .modal-content {
    background-color: #333;
    color: #fff;
}

.night-mode .modal-header, 
.night-mode .modal-footer {
    border-color: #444;
}



.haman-glass-dot {
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(230, 230, 230, 0.9) 25%, rgba(255, 255, 255, 1) 50%, rgba(230, 230, 230, 0.9) 75%, rgba(255, 255, 255, 1) 100%),
                radial-gradient(circle, rgba(0, 0, 0, 0.05) 1px, transparent 3px) !important;
    /* background-size: 100% 100%, 8px 8px !important; */ /* اولین مقدار برای گرادینت و دومین برای نقاط */
    background-blend-mode: overlay !important; /* ترکیب گرادینت و الگوی نقطه‌نقطه */
}

.night-mode .haman-glass-dot {
    background: linear-gradient(90deg, rgba(50, 50, 50, 1) 0%, rgba(70, 70, 70, 0.9) 25%, rgba(50, 50, 50, 1) 50%, rgba(70, 70, 70, 0.9) 75%, rgba(50, 50, 50, 1) 100%),
                radial-gradient(circle, rgba(255, 255, 255, 0.03) 1px, transparent 3px) !important;
    /* background-size: 100% 100%, 8px 8px !important; */
    background-blend-mode: overlay !important;
}



.haman-glass {

    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    /* border: 1px solid rgba(255, 255, 255, 0.2);  */
    border-radius: 10px; 
    padding: 20px; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
}


.haman-glass-title {

    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    /* border: 1px solid rgba(255, 255, 255, 0.2);  */
    border-radius: 10px; 
    padding: 8px; /* فضای داخلی */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
}



.haman-glass-no-padding {

    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    /* border: 1px solid rgba(255, 255, 255, 0.2);  */
    border: unset;
    border-radius: 10px; 
    /* padding: 20px;  */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
}