.app-bottom {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 540px;
  z-index: 25;
  box-sizing: border-box;
}

.app-bottom-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  justify-content: space-around;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid #ECE8E2;
  padding: 7px 4px calc(9px + env(safe-area-inset-bottom));
}

.app-bottom-link {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: none;
  border: none;
  padding: 5px 2px;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  color: #57544F;
  transition: color .18s ease;
}

.app-bottom-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 28px;
  border-radius: 9px;
  transition: background .18s ease, color .18s ease;
  flex-shrink: 0;
}

.app-bottom-badge {
  position: absolute;
  top: -4px;
  left: -20px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: darkgray;
  color: #fff;
  font-size: 7px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
  border: 1.5px solid #FAF8F5;
}

.app-bottom-label {
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  font-weight: 500;
  transition: color .18s ease;
}

.app-bottom-center-wrapper {
  background: #fff;
  border-radius: 20px;
  width: 56px;
  height: 56px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  overflow: visible;
  bottom: 20px;
}

.app-bottom-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  position: absolute;
  top: 4px;
}

.app-bottom-plus {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, rgb(200, 16, 46), rgb(165, 13, 36));
  color: #fff;
  font-size: 30px;
  font-weight: 300;
  box-shadow: 0 10px 25px rgba(200, 16, 46, 0.35);
}

.center-label {
  font-size: 10px;
  color: rgb(200, 16, 46);
  font-weight: 700;
  white-space: nowrap;
  margin-top: 4px;
}

.app-bottom-link.is-active {
  color: #C8102E;
}

.app-bottom-link.is-active .app-bottom-label {
  color: #C8102E;
  font-weight: 700;
}

.app-bottom-link.is-active .app-bottom-icon {
  background: rgba(200, 16, 46, .16);
}

.app-bottom-link.is-done .app-bottom-icon {
  background: #A50D24;
  color: #fff;
}

.app-bottom-link.is-done {
  color: #fff;
}

.app-bottom-link.is-done .app-bottom-label {
  color: #C8102E;
  font-weight: 700;
}

.app-bottom-link.is-gold.is-active {
  color: #C8102E;
}

.app-bottom-link.is-gold.is-active .app-bottom-label {
  color: #C8102E;
}

.app-bottom-link.is-gold.is-active .app-bottom-icon {
  background: rgba(200, 16, 46, .16);
}


.hidden-section {
  display: none;
}

.hidden-section.active {
  display: block;
}

.hidden-section {
  display: none;
}

/* وقتی فعال شد */
.hidden-section.active {
  display: block;
}

/* Toast */
.winners-toast {
  position: fixed;
  bottom: 92px;
  left: 50%;
  transform: translateX(-50%);

  background: #fff;
  border: 1px solid rgb(165, 13, 36);
  border-radius: 12px;

  padding: 12px 20px;

  color: rgb(200, 16, 46);
  font-size: 13px;
  font-weight: 600;

  z-index: 80;

  box-shadow: rgba(28, 27, 26, 0.12) 0px 16px 40px;

  white-space: nowrap;

  animation: toastIn 0.3s ease both;
}

@keyframes toastIn {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}